Now Available: Integrated Version Control for Rasa X

@ruiconti Thanks for the hint! Did you also just copy paste it from the file to json file? Which OS are you on? It works fine for me without replacing the newlines :thinking:

@tiziano What command did you use to generate the ssh keys?

Hi @Tobias_Wochinger thank you for replying. I used ssh-keygen -t rsa -b 4096 -f git-deploy-key as specified in the docs.

@ruiconti I verified all the 3 points, but I’m still getting the same error…

@tiziano Did you set a password for the private key? If so, please try generating new keys without a password.

It worked!! Thank you so much :pray:

Awesome! What did you do in the end to make it work?

Exactly what you told me, I just didn’t set any password.

By the way, now that I could set it all, nothing is working :sweat_smile:

I connected to GitHub and I have all my conversational data, but if I press Train nothing happens (it says it starts training but it never creates the new model); I can’t talk with my bot, every time I text something it appears the icon of texting looping over and over.

Maybe I miss some steps? Do I need to run rasa from my server somehow? Or the custom action server? Thank you

By the way, now that I could set it all, nothing is working :sweat_smile:

This is weird :smiley: Can you share some logs of rasa-x instance and the rasa-worker? How did you install Rasa X - ansible script, manual or Helm chart?

Where can I get the logs? That could be pretty useful :thinking:

I installed Rasa X with docker-compose following this guide. p.s. I raised another issue for that here.

Thank you!

Ok I found the error, I missed the intent “out_of_scope” which is necessary with the TwoStageFallback policy. I had to check the Network tab of my browser inspector in order to realize it. It could be nice to have a better way to notice this kind of errors.

Now I can train the model and talk with my bot, but the custom actions are not working. Can you please tell me how to enable them? How do I run the action server? @Tobias_Wochinger

Thank you

Awesome! Check step 3 of this guide Docker-Compose Quick Install for the action server :slight_smile:

I did, but still not working :confused:

I’m still trying to figure out why the git controls are not showing for me. I’ve enabled -vv in the init script and now I can see the output when I add a git repo with curl:

git.repo.base  - Cmd(['git', 'clone', '-v', 'git@github.com:XXXXXXXX/XXXXXXXX-model.git', '/tmp/tmp3ivd2rf4'])'s unused stdout: 
git.cmd  - Popen(['git', 'cat-file', '--batch-check'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=<valid stream>)
git.cmd  - Popen(['git', 'fetch', '-v', 'origin'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=True, shell=None, istream=None)
git.cmd  - Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=None)
git.cmd  - Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=None)
git.cmd  - Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=None)
git.cmd  - Popen(['git', 'checkout', 'Rasa-test-branch-c75845f1-4e09-46be-8a29-f0cfd091ef6c'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=None)
rasax.community.services.git_service  - Checked out branch 'Rasa-test-branch-c75845f1-4e09-46be-8a29-f0cfd091ef6c'.
git.cmd  - Popen(['git', 'add', '-A'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=None)
git.cmd  - Popen(['git', 'cat-file', '--batch'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=False, shell=None, istream=<valid stream>)
git.cmd  - Popen(['git', 'push', '--porcelain', 'origin', 'Rasa-test-branch-c75845f1-4e09-46be-8a29-f0cfd091ef6c'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=True, shell=None, istream=None)
git.cmd  - Popen(['git', 'push', '--porcelain', 'origin', ':Rasa-test-branch-c75845f1-4e09-46be-8a29-f0cfd091ef6c'], cwd=/tmp/tmp3ivd2rf4, universal_newlines=True, shell=None, istream=None)

No errors (and no git output showing either, unfortunately).

I’ve also logged into the Docker container and tried to see if I could find any clues but this /tmp/tmp3ivd2rf4 folder is not there anymore right after the operation. There is no /tmp folder with a .git subfolder in it.

With -vv on I see errors coming every 2 seconds:

rasa.core.agent  - Requesting model from server http://localhost:5002/api/projects/default/models/tags/production...
sanic.root  - CORS: Request to '/api/projects/default/models/tags/production' matches CORS resource '/*'. Using options: {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': 'X-Total-Count', 'supports_credentials': False, 'max_age': 1800, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': '/*', 'intercept_exceptions': True, 'always_send': True}
rasa.core.agent  - Model server returned 204 status code, indicating that no new model is available. Current fingerprint: f5412ed063fa57edc67c62f909e61707
rasa.core.agent  - No new model found at URL http://localhost:5002/api/projects/default/models/tags/production

Note: I’m able to chat with the bot in the Rasa-X interface.

Any help would be much appreciated. Thanks!

Any error logs in rasa-production, or the app container?

why the git controls are not showing for me.

Did you enable the experimental feature through the UI (step 1 here Integrated Version Control)

How do I check for error logs?

Hi @tiziano,

you can do docker-compose logs or to get specific logs for a service docker-compose logs <name of the service> (e.g. rasa-x, rasa-production)

1 Like