I
Immich•2y ago
suntribe

Unable to run immich after latest upgrade (1.58.0)

After upgrade to 1.58.0, two of the containers can't run and are constantly complaining of these two errors microservices:
No description
29 Replies
suntribe
suntribeOP•2y ago
server:
No description
suntribe
suntribeOP•2y ago
other containers seems to run normally
Punky_Chuckles
Punky_Chuckles•2y ago
Just confirming, did you make the required changes to docker-compose.yml?
suntribe
suntribeOP•2y ago
yes two changes and one deletion actually three deletions but you know what i mean
Punky_Chuckles
Punky_Chuckles•2y ago
Okay, not sure if it's exactly the same errors but those two containers kept restarting for me until I brought the entire compose stack down and back up again (I posted in general-discussion)
suntribe
suntribeOP•2y ago
i have this setup via portainer does that mean i need to stop the stack, or delete it or what, and then create it ?
Punky_Chuckles
Punky_Chuckles•2y ago
I believe just stopping the stack then restarting it, though I'm not 100% sure.
suntribe
suntribeOP•2y ago
yeah, that didn't work ... will see what else i can do here
jrasm91
jrasm91•2y ago
You might have to do compose down then up again
Punky_Chuckles
Punky_Chuckles•2y ago
It's worded differently in Portainer though, trying to remember the equiv. of compose down & up I think it's just the "Stop this stack" then "Start this stack" button within the immich stack, but if that's not working maybe something else is going on for @suntribe
suntribe
suntribeOP•2y ago
yeah, i'm checking if there's some other wording in portainer i think you might be right stop this stack aka down and start this stack aka up
Punky_Chuckles
Punky_Chuckles•2y ago
but still no dice, eh?
suntribe
suntribeOP•2y ago
no you were right, start/stop is down/up but that didn't help
Punky_Chuckles
Punky_Chuckles•2y ago
crap, you may have run into something yuckier then. I yield to the immich experts.
suntribe
suntribeOP•2y ago
tnx for your help i just rolled back the changes from entrypoint to command i rolled back to entrypoint: ["/bin/sh", "./start-server.sh"] and in immich-web i left the requested change (deleted the entrypoint) and everything came back to life
Morethanevil
Morethanevil•2y ago
my server is starting fine, but can not connect to database [Nest] 1 - 05/27/2023, 11:06:06 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)... Error: getaddrinfo EAI_AGAIN immich_postgres Did not change anything on this
suntribe
suntribeOP•2y ago
what do logs from postgres container say?
Morethanevil
Morethanevil•2y ago
ready to accept connections 🙂
suntribe
suntribeOP•2y ago
is postgres part of the same network as the rest of the stack?
jrasm91
jrasm91•2y ago
I have portainer as well. I deleted all the containers, updated the entry point config, the deployed the stack and it all is working fine
suntribe
suntribeOP•2y ago
don't know what to say, i also did the same, but it complained
jrasm91
jrasm91•2y ago
You could try restarting immich server container. Maybe the database came up after the server Did you change entry point to command?
suntribe
suntribeOP•2y ago
then, i actually went back from command to entrypoint and that's what brought back the app to life why? will this cause any issues in the future - i think it might... but i don't know what else to try atm
jrasm91
jrasm91•2y ago
It's not a big deal either way. We default the entry point in the docker file now so this is just a change to make it still use the same command to start the container.
suntribe
suntribeOP•2y ago
i was thinking, maybe there might be some info, some clue, when the 'upgrade` popup appears, that would indicate that a breaking change is in current release and that one should not just blindly update the stack...
jrasm91
jrasm91•2y ago
Yeah docker versioning is not standardized so I'm not sure how they'd even know if it was breaking change or not. Best to always look over the release notes.
suntribe
suntribeOP•2y ago
especially, not without updating the docker-compose.yaml file yeah, i know
Morethanevil
Morethanevil•2y ago
Restarted docker service on host helped. Maybe something was broken
Rohit
Rohit•2y ago
Needed to do another pull to get the latest images.

Did you find this page helpful?