Warning: This document is for an old version of Rasa Platform. The latest version is 0.18.0.


Common Commands

This is a collection of commands that are useful for debugging and inspecting the Rasa Platform as well as the integrated services

Querying the internal database

This will start an interactive shell that allows you to use usual MongoDB queries, e.g. show dbs

sudo docker exec -i -t mongo mongo

Debugging and Troubleshooting Containers

If Rasa Platform doesn’t start, you can take a look at the log files to see why it is not working. Open a terminal session on the server and run:

sudo docker ps -a

This will show you which docker container has been stopped. Run

sudo docker logs <container_id>

To grab the logs of that docker container.

Obtaining logs over HTTPS

If you cannot open a terminal session on the server, you can use the /api/logs?api_token=<your_api_token> admin endpoint to obtain a zip file of the Platform logs. You can find your api token at the bottom of the Training Data tab of the NLU Training page. This will only work if the api, mongo, and nginx services are healthy.