Closed Leslie5205912 closed 1 year ago
Please try
docker-compose down
First then
docker-compose up
@alextran1502 I've try this before stil
immich_server | immich_server | Error: Cannot find module '/usr/src/app/start.sh' immich_server | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) immich_server | at Function.Module._load (node:internal/modules/cjs/loader:778:27) immich_server | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) immich_server | at node:internal/main/run_main_module:17:47 { immich_server | code: 'MODULE_NOT_FOUND', immich_server | requireStack: [] immich_server | }
Try bring down the container then pull and finally up again
The error is because you have a misconfiguration with the command/entrypoint of the images you are running vs the docker compose file you are using. Make sure you are running the latest images and your docker compose file is update to date and this error will go away.
@alextran1502 Great!After runing docker-compose pull I solved the problem!Thanks! @jrasm91 It may indeed not be the latest version, but I re-downloaded the latest docker-compose.yml yesterday and pulled it again. I don’t know why it didn’t work, but it’s OK now. Anyway, thank you very much!
The bug
At the beginning, because the mobile phone uploaded photos and reported an error "Bad request", I thought it might be necessary to update the server
After using the command docker-compose pull && docker-compose up -d to update, ip: 2283 entered and started reporting error 502 Bad Gateway Then I tried to upgrade the docker version to the latest, upgrade the docker-compose version to the latest, delete immich and re-install according to the official website https://immich.app/docs/install/docker-compose, the error remains
Immich_microservices and immich_server report errors
node:internal/modules/cjs/loader:936
throw err; ^ Error: Cannot find module '/usr/src/app/start.sh' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
immich_proxy reports an error 2023/08/14 03:26:54 [error] 40#40: *1 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.0.107, server: , request: "GET / HTTP/1.1", upstream: "http://172.20.0.4:3000/", host: "192.16x.x.xxx:2283"
The OS that Immich Server is running on
Debian 10
Version of Immich Server
latest
Version of Immich Mobile App
v1.72.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response