I
Immich•6mo ago
Dead

Docker compose windows - could not load the sharp module

34 Replies
Immich
Immich•6mo ago
:wave: Hey @Dead, Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker compose ps docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy Checklist 1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: I have read applicable release notes. 3. :ballot_box_with_check: I have reviewed the FAQs for known issues. 4. :ballot_box_with_check: I have reviewed Github for known issues. 5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting. 7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) If this ticket can be closed you can use the /close command, and re-open it later if needed. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Dead
DeadOP•6mo ago
Another set of logs
Alex Tran
Alex Tran•6mo ago
Can you try remove the immich_server image and repull it?
Dead
DeadOP•6mo ago
I've done that a few times now given the other tickets similar to this one but no luck
Alex Tran
Alex Tran•6mo ago
Can you elaborate on how did you remove the images?
Dead
DeadOP•6mo ago
I've tried deleting the images via the docker compose GUI as well as doing the docker compose down, prune, pull and then up maybe theres something else I can do to properly clear the enviroment that I'm missing?
Alex Tran
Alex Tran•6mo ago
So you can do this run docker compose down to bring down the stack then run docker image to list the images
Alex Tran
Alex Tran•6mo ago
No description
Alex Tran
Alex Tran•6mo ago
then docker rmi <image-id> to remove the image
Dead
DeadOP•6mo ago
Will try this thank you
PS F:\immich-app> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mariadb lts 139128a59e49 3 weeks ago 406MB
wolveix/satisfactory-server latest 8ba5a1f20887 4 weeks ago 357MB
viktorstrate/photoview 2 70085e216d9a 5 months ago 1.3GB
tensorchord/pgvecto-rs <none> 2e2cb40c55b8 9 months ago 676MB
containrrr/watchtower latest e7dd50d07b86 12 months ago 14.7MB
PS F:\immich-app> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
mariadb lts 139128a59e49 3 weeks ago 406MB
wolveix/satisfactory-server latest 8ba5a1f20887 4 weeks ago 357MB
viktorstrate/photoview 2 70085e216d9a 5 months ago 1.3GB
tensorchord/pgvecto-rs <none> 2e2cb40c55b8 9 months ago 676MB
containrrr/watchtower latest e7dd50d07b86 12 months ago 14.7MB
Did I miss any?
Alex Tran
Alex Tran•6mo ago
looks good now run docker compose pull
Dead
DeadOP•6mo ago
Then up?
Alex Tran
Alex Tran•6mo ago
yup
Dead
DeadOP•6mo ago
Looks stable, will test now 2024-11-26 16:53:41 immich_server | (node:19) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead. 2024-11-26 16:53:41 immich_server | (Use node --trace-deprecation ... to show where the warning was created) 2024-11-26 16:53:41 immich_server | (node:7) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead. Getting this now Thanks for the help so far
Alex Tran
Alex Tran•6mo ago
you can ignore that warning
Dead
DeadOP•6mo ago
Doesn't seem to connect via web 2024-11-26 16:55:36 immich_server | [Nest] 7 - 11/26/2024, 3:55:36 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
Alex Tran
Alex Tran•6mo ago
can you post the content of .env and docker-compose file?
Alex Tran
Alex Tran•6mo ago
looks normal to me do docker compose down and docker compose up again?
Dead
DeadOP•6mo ago
Alex Tran
Alex Tran•6mo ago
No description
Alex Tran
Alex Tran•6mo ago
did you change this value?
Dead
DeadOP•6mo ago
No, oops
Alex Tran
Alex Tran•6mo ago
oops?
Dead
DeadOP•6mo ago
Shouldn't I have?
Alex Tran
Alex Tran•6mo ago
Looks like there was a different value there when you created the stack, then it was changed is this a brand new instance?
Dead
DeadOP•6mo ago
I had an old one running but shouldve cleared it all out and used defaults for everything Do I need to change that value elsewhere?
Alex Tran
Alex Tran•6mo ago
Looks like you are still connecting to the old database to clean out the old one you will need to remove the postgres folder
Dead
DeadOP•6mo ago
That seems to have done it - thank you Now to build things from scratch again
Dead
DeadOP•6mo ago
by any chance do you know how to set up external libaries properly?
No description
Alex Tran
Alex Tran•6mo ago
What is your docker-compose file looks like>
Dead
DeadOP•6mo ago
I got it sorted, found the documentation, wasn't straight forward imo but figured it out 🙂 Thanks for your help mate
Alex Tran
Alex Tran•6mo ago
No problem man!

Did you find this page helpful?