I installed RasaX using docker, I am currently facing that issue of wrong credentials.
Things I have tried:
cd /etc/rasa
sudo python rasa_x_commands.py create --update admin me rasarasa
sudo python rasa_x_commands.py --update create admin me rasarasa
sudo python3 rasa_x_commands.py create --update admin system_user rasarasa
admin@kla-ac-bot-02:/etc/rasa$ sudo docker-compose exec rasa-x bash -c "python3 /app/scripts/manage_users.py create me welcome123 admin --update"
User me does not exist. To create a new user please run `sudo python rasa_x_commands.py create admin me <pw>`
None of them is working, i still get the same error.
@atwine Yes, that was my concern as I guess in new documentation this is no docker installation for rasa 1.x, but yes Rasa X 0.42.0 to 0.42.5 will work fine, it will also tempt you to update, please take a wise decision for the same.
@atwine This issue can be some missing packages or some error in a code that’s why It show the error, till the time rasa_app_1 stay as UP and Healthy you will not able to use custom action.
Please run the docker using this command and check the rasa_app_1 logs, and check it’s excited with 0 or 1 and the message (share with us)
docker-compose up
Note: Even mention this user: root in docker-compose.override.yml
I’m facing drafts offline issue and IP issue on forum, so my reply can be late.
app_1 | File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
app_1 | File "<frozen importlib._bootstrap>", line 991, in _find_and_load
app_1 | File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
app_1 | File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
app_1 | File "<frozen importlib._bootstrap_external>", line 848, in exec_module
app_1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
app_1 | File "/app/actions/actions.py", line 13, in <module>
app_1 | import pandas as pd
app_1 | ModuleNotFoundError: No module named 'pandas'
@atwine I guess check how to install requirements.txt file using docker-compose in google. Only putting the files in actions folder will not solve the purpose. The way I used is bit complex as I’m using Github Actions and I have my personal action server image, so I recommend to see the rasa document or take a help from google, as soon as you fix this issue you are good to go.
# Extend the official Rasa SDK image
FROM rasa/rasa-sdk:2.8.1
# Use subdirectory as working directory
WORKDIR /app
# Copy any additional custom requirements, if necessary (uncomment next line)
COPY actions/requirements-actions.txt ./
# Change back to root user to install dependencies
USER root
# Install extra requirements for actions code, if necessary (uncomment next line)
RUN pip install -r requirements-actions.txt
# Copy actions folder to working directory
COPY ./actions /app/actions
# By best practices, don't run the code with root user
USER 1001
I built it from scratch and then added it to my runtime and then it worked. Thanks