I
Immich9mo ago
Hax

Newly uploaded images are erroring out while loading.

I've been using immich for a while and its been fine, though yesterday when I updated immich to the latest version all the images that were uploaded after the update just started erroring out. I thought it might have been an incompatibility issue with the mobile app since google play at that time hadn't updated the version but that did not seem to be the case. I've included my slightly redacted .env and docker-compose files in the post. I can't find any errors related to the issue that i'm facing in any of the container's logs (though I have attached the logs of the main container in this post). I've also asked my friend to attempt to replicate this issue but to no avail, it seems to be limited to my system / install only.
28 Replies
Immich
Immich9mo ago
:wave: Hey @Hax, 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.
Immich
Immich9mo ago
:wave: Hey @Hax, 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. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: I have read applicable release notes. 3. :blue_square: I have reviewed the FAQs for known issues. 4. :blue_square: I have reviewed Github for known issues. 5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting. 7. :blue_square: 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.
Reverse Proxy | Immich
Users can deploy a custom reverse proxy that forwards requests to Immich. This way, the reverse proxy can handle TLS termination, load balancing, or other advanced features. All reverse proxies between Immich and the user must forward all headers and set the Host, X-Real-IP, X-Forwarded-Proto and X-Forwarded-For headers to their appropriate valu...
GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
Hax
HaxOP9mo ago
I feel like i somehow broke the bot
Immich
Immich9mo ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
bo0tzz
bo0tzz9mo ago
Your postgres database is having trouble, what do its logs say?
Hax
HaxOP9mo ago
Loads of
2024-08-27 15:17:03.146 UTC [30192] ERROR: duplicate key value violates unique constraint "UQ_assets_owner_checksum"

2024-08-27 15:17:03.146 UTC [30192] DETAIL: Key ("ownerId", checksum)=(18effd6c-b778-42df-8824-a7f98c15c8e9, \x0ae6d835c50547abcb0479eeacee78e96a89a505) already exists
2024-08-27 15:17:03.146 UTC [30192] ERROR: duplicate key value violates unique constraint "UQ_assets_owner_checksum"

2024-08-27 15:17:03.146 UTC [30192] DETAIL: Key ("ownerId", checksum)=(18effd6c-b778-42df-8824-a7f98c15c8e9, \x0ae6d835c50547abcb0479eeacee78e96a89a505) already exists
Hax
HaxOP9mo ago
here's a download of the logs themselves, tmk they should not contain any sensitive data
Hax
HaxOP9mo ago
Right, even weirder is that immich seems to have duplicated itself for the upload folder that I set it to operate in
Hax
HaxOP9mo ago
Hax
HaxOP9mo ago
Doesn't seem like the folders "exist" though, at least not according to linux
sogan
sogan9mo ago
- ${UPLOAD_LOCATION_name_redacted}:/usr/src/app/upload/library/hax - ${UPLOAD_LOCATION_name_redacted}:/usr/src/app/upload/library/name_redacted - ${UPLOAD_LOCATION_name_redacted}:/usr/src/app/upload/library/name_redacted - ${UPLOAD_LOCATION_name_redacted}:/usr/src/app/upload/library/name_redacted
Are you mounting external libraries in the library folder? That folder's only for uploaded assets; mounting external libraries under /usr/src/app/upload is a no-no
F8712748
F87127489mo ago
I'm having a similar issue and opened another duplicate thread.
Hax
HaxOP9mo ago
Nope, these folders were empty before I started using immich I only did it this way because of slight privacy reasons The external libraries that I mounted are the Nextcloud folders that you can see. Those have been propperly mounted as external libs Is this like a confirmed bug? Kinda just want to downgrade to an earlier version of immich because of this. Images uploaded using the web dashboard don't show up either and they don't appear in the folder
Hax
HaxOP9mo ago
Yes, I reran the thumbnail job right after I saw the issue occur because I thought it might have been that but it also wasn't that. I'll check the date one right now
Hax
HaxOP9mo ago
nope, still errors out
Alex Tran
Alex Tran9mo ago
I think there is a bug somewhere for some of the older instance, we will take a look this week
excetto
excetto8mo ago
mine and a friend are both experiencing the same since last update.
Alex Tran
Alex Tran8mo ago
This is the reason of the bug and it has been merged in #12225
Immich
Immich8mo ago
[Pull Request] fix(server): get assetFiles when retrieving assets WithoutProperty.THUMBNAIL (immich-app/immich#12225)
Hax
HaxOP8mo ago
Any chance you can give a rough estimate whenever this fix is going to be released? My instance doesn't work until this is fully released
bo0tzz
bo0tzz8mo ago
We'll do a hotfix release, probably early this week
Hax
HaxOP8mo ago
Imma leave this answer here for anyone that's looking for it: I managed to fix this eventually by setting my perfered image format to first be JPG for thumbnails, then clicking the "missing" button next to the thumbnails to regen those. Once that seemed to work and completed I switched the thumbnails back to WEBP and just hit "all" on the thumbnails which its now doing. Seems like this fixed my issue. Thank you to all the immich devs who have to put up with my shit for so long lol ❤️
Immich
Immich8mo ago
This thread has been closed. To re-open, use the button below.
chicane
chicane4mo ago
repair
Immich
Immich4mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?