I
Immich2y ago
ghost

/bin/sh: 0: cannot open ./entrypoint.sh: No such file

After upgrading (from a fairly old version from December 2022), the image altran1502/immich-machine-learning:release is no longer working, docker logs shows the error in the title, in a loop.
4 Replies
Alex Tran
Alex Tran2y ago
You will have to check your docker-compose file, it is probably out of date
ghost
ghostOP2y ago
Yes it was severely out of date, thank you, I managed to resolve this but I also had to update my .env file by uncommenting (and fixing from previous old defaults) the following 3 lines:
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003
jrasm91
jrasm912y ago
Why did you have to uncomment those?
ghost
ghostOP2y ago
It kept returning Error 500, which was weird... I say weird, because running docker-compose logs -f shows no errors But uncommenting those lines just fixed it I have to say, I do have an uncommon setup because I have external PostgreSQL and Redis servers, so each one of my images in docker-compose.yml has the following extra lines:
extra_hosts:
- "host.docker.internal:host-gateway"
extra_hosts:
- "host.docker.internal:host-gateway"
(I'm trying to conserve memory by reusing the same PG and Redis services, since that same VM is also running a Mastodon server)

Did you find this page helpful?