paulpierre / RasaGPT

💬 RasaGPT is the first headless LLM chatbot platform built on top of Rasa and Langchain. Built w/ Rasa, FastAPI, Langchain, LlamaIndex, SQLModel, pgvector, ngrok, telegram
https://rasagpt.dev
MIT License
2.25k stars 216 forks source link

[Issue] - Cannot start service rasa-actions #4

Open felixnguyen258 opened 1 year ago

felixnguyen258 commented 1 year ago

Hi,

I cannot find where to define $PATH, could you please help to troubleshoot this issue?

Failed LOG:

ERROR: for chat_rasa_actions  Cannot start service rasa-actions: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "run": executable file not found in $PATH: unknown

ERROR: for rasa-actions  Cannot start service rasa-actions: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "run": executable file not found in $PATH: unknown
ERROR: Encountered errors while bringing up the project.
make[2]: *** [Makefile:115: rasa-start] Error 1
make[2]: Leaving directory '/root/RasaGPT'
make[1]: *** [Makefile:290: rasa-train] Error 2
make[1]: Leaving directory '/root/RasaGPT'
make: *** [Makefile:57: install] Error 2

Thanks & Regards, Felix Nguyen

paulpierre commented 1 year ago

Hi,

I cannot find where to define $PATH, could you please help to troubleshoot this issue?

Failed LOG:

ERROR: for chat_rasa_actions  Cannot start service rasa-actions: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "run": executable file not found in $PATH: unknown

ERROR: for rasa-actions  Cannot start service rasa-actions: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "run": executable file not found in $PATH: unknown
ERROR: Encountered errors while bringing up the project.
make[2]: *** [Makefile:115: rasa-start] Error 1
make[2]: Leaving directory '/root/RasaGPT'
make[1]: *** [Makefile:290: rasa-train] Error 2
make[1]: Leaving directory '/root/RasaGPT'
make: *** [Makefile:57: install] Error 2

Thanks & Regards, Felix Nguyen

hi @felixepiklah ... could you provide a few more details:

  1. what is your host OS?
  2. it is possible that the rasa base image is not compatible with your host OS. if you're not running MacOS please change the image from khalosa/rasa-aarch64:3.5.2 to rasa/rasa:latest both in docker-compose.yml line #64 as well as app/rasa/actions/Dockerfile on line #1 see this similar issue
  3. Restart your docker daemon
  4. After multiple restarts, your allocated cache could be fully so run docker prune and try again

let me know if the issue persists. im available on TG via the same as my twitter handle

felixnguyen258 commented 1 year ago

Hi,

  1. I am using Ubuntu 20.04 TLS on Linode Akamai VPS.

  2. Edit the file from your guide at (2) but still cannot start the rase_actions.

    image
  3. I am also trying to restart and the issue still happens.

  4. remove docker and reinstalled it 3 times and got the same issue.

LOG

Creating chat_rasa_credentials ... done
Creating chat_ngrok            ... done
Creating chat_db               ... done
Creating chat_rasa_actions     ... error
Creating chat_pgadmin          ... done
Creating chat_dozzle           ... done
Creating chat_api              ... done

ERROR: for chat_rasa_actions  Cannot start service rasa-actions: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "run": executable file not found in $PATH: unknown

ERROR: for rasa-actions  Cannot start service rasa-actions: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "run": executable file not found in $PATH: unknown
ERROR: Encountered errors while bringing up the project.
make[1]: *** [Makefile:83: run] Error 1
make[1]: Leaving directory '/root/RasaGPT'
make: *** [Makefile:99: restart] Error 2

Thanks & Regards, Felix