Open Maryam-Nasseri opened 4 months ago
Hi, could you please provide the value of OPENAI_RESPONSE_LOG_PATH that you set in your .env file when the error occurred?
Ensure that ${OPENAI_RESPONSE_LOG_PATH} is set to an absolute path within the Docker container. For example, you might set it as follows in your .env file:
OPENAI_RESPONSE_LOG_PATH=/app/logs
After updating your .env file, try running the docker-compose command again. Thank you for your reporting the issue, and please let us know if the issue persists.
Dear Weize/ other IOA developers,
Thanks for the IOA code and instructions. At command:
docker-compose -f dockerfiles/compose/open_instruction.yaml up
I run into this error:
ERROR: for autogpt-client Cannot create container for service AutoGPT: invalid volume specification: '/home/IoA-main/dockerfiles/compose/volumes/openai_response_log:.:rw': invalid mount config for type "bind": invalid mount path: '.' mount path must be a Creating open-interpreter-client ... error
ERROR: for open-interpreter-client Cannot create container for service OpenInterpreter: invalid volume specification: '/home/IoA-main/dockerfiles/compose/dockerfile/compose/volumes/openai_response_log:dockerfile/compose/.env:rw': invalid mount config for type "bind": invalid mount path: 'dockerfile/compose/.env' mount path must be absolute
ERROR: for AutoGPT Cannot create container for service AutoGPT: invalid volume specification: '/home/IoA-main/dockerfiles/compose/volumes/openai_response_log:.:rw': invalid mount config for type "bind": invalid mount path: '.' mount path must be absolute
ERROR: for OpenInterpreter Cannot create container for service OpenInterpreter: invalid volume specification: '/home/IoA-main/dockerfiles/compose/dockerfile/compose/volumes/openai_response_log:dockerfile/compose/.env:rw': invalid mount config for type "bind": invalid mount path: 'dockerfile/compose/.env' mount path must be absolute ERROR: Encountered errors while bringing up the project.
-- When I checked the open_instruction.yaml file, I can see that for both AutoGPT and Open Interpreter, in the volumes is set to:
./volumes/openai_response_log:${OPENAI_RESPONSE_LOG_PATH}
-- I tried to set the path to absolute (as indicated by the error message) but got the same error again! PS: system Linux Ubuntu 20.04.1 LTS 64-bit
Thanks for any help.