Open babasahebpinjar opened 1 year ago
I have changed
sudo chmod +x app/rasa/wait-for-it.sh
FROM khalosa/rasa-aarch64:3.5.2 to FROM rasa/rasa:latest in app/rasa/actions/Dockerfile
rasa-core:
#image: khalosa/rasa-aarch64:3.5.2
image: rasa/rasa:latest
in docker-compose.yml
Even added user: 1000:1000 in docker-compose.yml as below
rasa-credentials: user: 1000:1000
db: user: 1000:1000
restarted the service but still getting the error as below in ubuntu machine
=> ERROR [rasa-actions 4/4] RUN pip install python-dotenv rasa-sdk requests
Same error! Any fix? @babasahebpinjar
No. I guess it works only on MACos.
i have same error, install in linux.
can resovle add root user .
modify app/rasa/actions/Dockerfile:
`
FROM rasa/rasa:latest
COPY . /app
WORKDIR /app USER root
RUN pip3 install python-dotenv &&\ pip3 install --no-cache-dir rasa-sdk requests USER rasa EXPOSE 5055
CMD ["run", "actions", "--debug"] `
Thanks fjcondy.
it is working only with
USER root
@babasahebpinjar, @fjcondy : Are you able to successfully install it?
Hey @nitishymtpl I was able to solve it with USER as root.
@babasahebpinjar : Oh, It works, thanks! that error got fixed.
But there seem issue with DB. Do we need to make changes?
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute cursor.execute(statement, parameters) psycopg2.errors.UndefinedFunction: operator does not exist: entity_status = integer LINE 3: ...splay_name = 'project-pepetamine.md' AND document.status = 2 ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
I got it up and did a POC which didnt move forward so I am not working on that anymore.
I didn't get this DB error back then.
oh, I see. It doesn't seems to work. Need to check it :).
I am getting this error on make install
[+] Building 2.7s (8/8)
=> [rasa-actions internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [rasa-actions internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [rasa-actions internal] load metadata for docker.io/khalosa/rasa-aarc 0.3s => [rasa-actions internal] load build context 0.0s => => transferring context: 555B 0.0s => [rasa-actions 1/4] FROM docker.io/khalosa/rasa-aarch64:3.5.2@sha256:4 0.0s => CACHED [rasa-actions 2/4] COPY . /app 0.0s => CACHED [rasa-actions 3/4] WORKDIR /app 0.0s => ERROR [rasa-actions 4/4] RUN pip install python-dotenv rasa-sdk reque 0.4s ^Z