Hi, I am a new user of Rasa and I am trying to deploy a Rasa X server.
I install kubectl, kind, helm
by myself using the guide on their home page. Then I run:
curl -O https://rei.rasa.com/rei.sh && bash rei.sh -y
and then:
rasactl start --project --values-file values.yml
(my project is just a rasa init
project)
Here is my values file:
rasax:
tag: "1.1.0"
initialUser:
username: "admin"
password: "some-password"
passwordSalt: "some-password"
token: "some-password"
jwtSecret: "some-password"
eventService:
tag: "1.1.0"
dbMigrationService:
tag: "1.1.0"
rasa:
tag: "3.1.0-full"
versions:
rasaProduction:
enabled: true
rasaWorker:
enabled: true
token: "some-password"
rabbitmq:
auth:
password: "some-password"
global:
postgresql:
postgresqlPassword: "some-password"
redis:
password: "some-password"
Then I use rasactl connect rasa
.
After that, when I train new model, it is saved successfully new model to models in my project folder. Hower, when I try to add new NLU data in Rasa X interface, there is nothing happen in nlu.yml
file.
And if I stop and start rasactl namespace again, my new adding NLU data is gone.
Here is the log of rasa x:
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
INFO:rasax.community.telemetry:Skipping request to external service: telemetry key not set.
Job "DumpService.dump_changes (trigger: date[2022-05-16 10:45:16 UTC], next run at: 2022-05-16 10:45:16 UTC)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/background_dump_service.py", line 94, in dump_changes
dump_service._dump_changes(
File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/background_dump_service.py", line 116, in _dump_changes
self._dump_domain()
File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/background_dump_service.py", line 140, in _dump_domain
domain_service.dump_domain(rasa_x_config.project_name)
File "/usr/local/lib/python3.8/dist-packages/rasax/community/services/domain_service.py", line 368, in dump_domain
io_utils.write_file(domain.filename, domain_yaml)
File "/usr/local/lib/python3.8/dist-packages/rasax/community/utils/io.py", line 160, in write_file
with open(file_path, mode, encoding=encoding if "b" not in mode else None) as file:
PermissionError: [Errno 13] Permission denied: '/app/local_project/domain.yml'
I searched Google and tried to log in to rasa docker container but I can not find the “/app” folder.
Can anyone please tell me the way to solve this problem?
Thank you so much!