[AGE-1700] [Bug] Self-hosting with docker compose stops at agenta-oss-gh-web-1
Describe the bug Hi, I'm trying to run locally using docker compose as mentioned in the guide but it fails when running docker compose up.
To Reproduce
- Clone the repo.
- Run
sudo docker compose -f hosting/docker-compose/oss/docker-compose.gh.yml --env-file hosting/docker-compose/oss/.env.oss.gh --profile with-web up -d. - Fail at
Container agenta-oss-gh-web-1 StartingsayingError response from daemon: network a8694d6ed6148eab70f35d6ba132f09865b1a0dd8c434ebfe82befa03d945a02 not found
Expected behavior When I tried it before the guide was changed, it worked. (It was v0.33.X)
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS] MacOS
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 14.6.1 for mac
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Important Context
I ran docker logs agenta-oss-gh-web-1 and got this below.
Node.js v20.18.3
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module '/app/oss/server.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Thank you!
Thank you for writing us @burning-croissant We are looking into this.
@burning-croissant sorry about the delayed response here. I wasn't able to reproduce the error you posted, and just wanted to check in and see if the error still persists on your side [we've released v0.35 today].
if it is still happening, perhaps running the command with DOCKER_DEBUG=1 DOCKER_BUILDKIT=0 flags can provide us with more information to debug what's going wrong.
Hi! I think it was due to errors in building docker images. I removed all the related images, restarted and it worked. Thanks for the reply. 👍
@burning-croissant glad to hear that you have it running 🎉