September photos appear to be uploaded in the iOS app but are nowhere to be found in the filesystem

This is on v1.142.1, but started before that. Already logged out and back in and cleared cache.
58 Replies
Immich
Immich•2w ago
:wave: Hey @yeahnoforsure, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. 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 ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Alex Tran
Alex Tran•2w ago
What is your server version?
yeahnoforsure
yeahnoforsureOP•2w ago
v1.142.1
shenlong-tanwen
shenlong-tanwen•2w ago
What is the issue btw? The mobile app says that an asset is uploaded but you cannot find it on the web version?
Mraedis
Mraedis•2w ago
Please post your compose, env and output of df -hT @yeahnoforsure
yeahnoforsure
yeahnoforsureOP•2w ago
Compose: https://pastebin.com/Zb7Ed50q env: https://pastebin.com/ja4SmG5y Output of df -h (T didn't work)
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk5s1 477Mi 48Ki 475Mi 1% 40 4.9M 0% /Volumes/All at Once
/dev/disk7s1 1.8Ti 833Gi 1.0Ti 45% 2.1M 11G 0% /Volumes/Blitz
/dev/disk8s4 37Gi 36Gi 1.4Gi 97% 257 4.3G 0% /Volumes/Bother
/dev/disk8s2 9.1Ti 7.4Ti 1.6Ti 83% 555k 4.3G 0% /Volumes/Dimepiece
/dev/disk11s2 11Ti 6.4Ti 4.5Ti 59% 205k 4.3G 0% /Volumes/Duzzin
/dev/disk3s1s1 228Gi 11Gi 45Gi 21% 447k 469M 0% /
/dev/disk9s2 16Ti 14Ti 2.5Ti 85% 368k 4.3G 0% /Volumes/Venti
/dev/disk10s1 18Ti 13Ti 5.6Ti 70% 498k 4.3G 0% /Volumes/Vision
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk5s1 477Mi 48Ki 475Mi 1% 40 4.9M 0% /Volumes/All at Once
/dev/disk7s1 1.8Ti 833Gi 1.0Ti 45% 2.1M 11G 0% /Volumes/Blitz
/dev/disk8s4 37Gi 36Gi 1.4Gi 97% 257 4.3G 0% /Volumes/Bother
/dev/disk8s2 9.1Ti 7.4Ti 1.6Ti 83% 555k 4.3G 0% /Volumes/Dimepiece
/dev/disk11s2 11Ti 6.4Ti 4.5Ti 59% 205k 4.3G 0% /Volumes/Duzzin
/dev/disk3s1s1 228Gi 11Gi 45Gi 21% 447k 469M 0% /
/dev/disk9s2 16Ti 14Ti 2.5Ti 85% 368k 4.3G 0% /Volumes/Venti
/dev/disk10s1 18Ti 13Ti 5.6Ti 70% 498k 4.3G 0% /Volumes/Vision
Pastebin
WARNING: Make sure to use the docker-compose.yml of the current ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
You can find documentation for all the supported env variables at...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
yeahnoforsure
yeahnoforsureOP•2w ago
The mobile app says assets are uploaded, their thumbnails don't appear in the webUI on desktop, and there's nothing in the filesystem under September
yeahnoforsure
yeahnoforsureOP•2w ago
No description
yeahnoforsure
yeahnoforsureOP•2w ago
No description
yeahnoforsure
yeahnoforsureOP•2w ago
No description
yeahnoforsure
yeahnoforsureOP•2w ago
No description
yeahnoforsure
yeahnoforsureOP•2w ago
No description
yeahnoforsure
yeahnoforsureOP•2w ago
This is actually for one of my users' accounts but it's the same for my own too
Mraedis
Mraedis•2w ago
The error loading image means the thumbs aren't loaded
yeahnoforsure
yeahnoforsureOP•2w ago
Right.
Mraedis
Mraedis•2w ago
They either are inaccessible (the mount has failed) or they were never generated You can go to a single image and trigger "refresh thumbnails" to see which it probably is
yeahnoforsure
yeahnoforsureOP•2w ago
So why are they appearing as uploaded on iOS but I don't see them in Finder
Mraedis
Mraedis•2w ago
Well that would mean the mount has failed So they are getting uploaded directly into the docker image I'm guessing you are doing docker desktop on macos?
yeahnoforsure
yeahnoforsureOP•2w ago
Yes I'm using OrbStack. If the mount failed the container wouldn't start, though. I also have other containers mounted to this drive and they function normally. I believe this started happening when I updated the server to 1.140.0, then I updated to 1.142.0 then 1.142.1
Mraedis
Mraedis•2w ago
Yes and no, if the mount fails while the container is running you get this kind of effect Easy way to confirm would be to dive into the container through CLI and list the contents of those folders
yeahnoforsure
yeahnoforsureOP•2w ago
root@1a36d98de6f8:/usr/src/app/upload/library/Mom/2025# ls
01 02 03 04 05 06 07 08
root@1a36d98de6f8:/usr/src/app/upload/library/Mom/2025# ls
01 02 03 04 05 06 07 08
Mraedis
Mraedis•2w ago
mmmm is there a /data/library ?
yeahnoforsure
yeahnoforsureOP•2w ago
No. I believe I started using Immich before those paths were changed, if we're talking about the same thing So I've just kept them as /usr/src/app/etcetera
Mraedis
Mraedis•2w ago
Yes, but you can change to it live, which is why I was asking
yeahnoforsure
yeahnoforsureOP•2w ago
Hmm I don't understand, sorry
Mraedis
Mraedis•2w ago
Wait this isn't right
- ${UPLOAD_UPLOAD_LOCATION}:/usr/src/app/upload/upload
- ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
- ${UPLOAD_LOCATION}/library:/usr/src/app/upload/library
- ${UPLOAD_UPLOAD_LOCATION}:/usr/src/app/upload/upload
- ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
- ${UPLOAD_LOCATION}/library:/usr/src/app/upload/library
What it is:
UPLOAD_LOCATION=/Volumes/Vision/Docker/Immich
# Normal Locations
...
UPLOAD_LOCATION=/Volumes/Vision/Docker/Immich
# Normal Locations
...
What it should be:
UPLOAD_LOCATION=/Volumes/Vision/Docker/Immich
# Normal Locations
LIBRARY_LOCATION=/Volumes/NVME/Stack/Docker/immich/library
...
UPLOAD_LOCATION=/Volumes/Vision/Docker/Immich
# Normal Locations
LIBRARY_LOCATION=/Volumes/NVME/Stack/Docker/immich/library
...
What is the full path of your library folder in this screenshot? ah missed the part where you added /library there
yeahnoforsure
yeahnoforsureOP•2w ago
/Volumes/Vision/Docker/Immich/library/Mom/2025
Mraedis
Mraedis•2w ago
but you are missing an actual top level folder mount šŸ¤” not sure that matters though at this point
yeahnoforsure
yeahnoforsureOP•2w ago
I recall that yeah but it never seemed to be a problem
Mraedis
Mraedis•2w ago
As an aside, it's much simpler like this:
UPLOAD_LOCATION=/Volumes/NVME/Stack/Docker/immich
LIBRARY_LOCATION=/Volumes/Vision/Docker/Immich/library
UPLOAD_LOCATION=/Volumes/NVME/Stack/Docker/immich
LIBRARY_LOCATION=/Volumes/Vision/Docker/Immich/library
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
########## External Libraries ###########
- ${EXTERNAL_PATH_HOME}:/usr/src/app/external
- ${EXTERNAL_PATH_ME}:/external
########## Actual Files ##########
- ${LIBRARY_LOCATION}:/usr/src/app/upload/library
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
########## External Libraries ###########
- ${EXTERNAL_PATH_HOME}:/usr/src/app/external
- ${EXTERNAL_PATH_ME}:/external
########## Actual Files ##########
- ${LIBRARY_LOCATION}:/usr/src/app/upload/library
Same effect with less administration But on to the problem at hand
yeahnoforsure
yeahnoforsureOP•2w ago
I'll take note and make some changes later, thanks I have to go in a little bit but I'll come back to this thread. I appreciate the help. Thank you! Is there a way I can maybe force a backup from the iPhone again? Maybe that'll help?
Mraedis
Mraedis•2w ago
Are there any images that were uploaded today or after the last upgrade at least? Just really want to see where (it thinks) it's sending them before we try drastic measures šŸ™‚
yeahnoforsure
yeahnoforsureOP•2w ago
Hi sorry for the late reply. No, nothing appearing in Finder for me, my mom, or any other users. I saw on Reddit today that a new mobile app version may be released today that might fix it?
Mraedis
Mraedis•2w ago
No that won't fix it because they already are uploaded, and that's where it went wrong If you click one of the errrored images what does it think the storage location is?
Mraedis
Mraedis•2w ago
No description
yeahnoforsure
yeahnoforsureOP•2w ago
/usr/src/app/upload/upload/cee37dfe-8277-414d-8ff5-793f70c9370f/be/75/be75e914-792d-4daa-903c-a7c1714a8279.JPEG Why aren't they being moved to library?
Mraedis
Mraedis•2w ago
That's a question for the storage template, or it's job, and the logs
yeahnoforsure
yeahnoforsureOP•2w ago
Okay...I mean I've changed nothing except consecutively update the Immich server. I'm getting all these Unable to get template path for <asset>: Error: Template not initialized But in the settings, my storage template is there {{y}}/{{MM}}/{{y}}.{{MM}}.{{dd}}_{{HH}}.{{mm}}.{{ss}}_{{filename}}
Mraedis
Mraedis•2w ago
Yep I see, I assume you've restarted the containers already just in case?
yeahnoforsure
yeahnoforsureOP•2w ago
I just did, yes Same error And I have Enable storage template engine enabled I'm currently on v1.143.0 for both the server and iOS app
Mraedis
Mraedis•2w ago
@bo0tzz any ideas here? This is beyond the basics šŸ‘€
yeahnoforsure
yeahnoforsureOP•2w ago
As an aside I noticed recently I often get "Server Offline" on the bottom left. That didn't used to happen before.
Mraedis
Mraedis•2w ago
Either your container is constantly restarting or your proxy isn't happy
yeahnoforsure
yeahnoforsureOP•2w ago
Hmm, got it, thanks.
Mraedis
Mraedis•2w ago
Easy to check with docker ps -a and noting the uptime
yeahnoforsure
yeahnoforsureOP•2w ago
The container doesn't appear to be restarting so I guess it's the proxy. The server offline appears for like a second or two then disappears Well I'll await further support with the storage template. Thanks for your time. Actually now that I watch the server logs it does appear to be restarting. I keep seeing error: PostgresError: pgvecto.rs: IPC connection is closed unexpected. Postgres says: 2025-09-23 17:50:10.151 UTC [1] LOG: database system is ready to accept connections 2025-09-23 17:50:36.626 UTC [288] ERROR: pgvecto.rs: IPC connection is closed unexpected. It seems to kind of do that in a loop I gave postgres limits of CPU 2.00 and Memory 4096M is that not enough maybe?
Mraedis
Mraedis•2w ago
It should be plenty The curious part here is the pgvectors message we use vectorchord these days, your container has both to support migration but after that's done it should be using vectorchord So I wonder if something went wrong with the migration there
Turns out I was not allocating enough memory to the container.
šŸ¤” Maybe temporarily give it some more? ah wait try increasing shm_size: 128mb to 256mb first in your compose @yeahnoforsure
yeahnoforsure
yeahnoforsureOP•2w ago
Hmm it appears to be more of the same loop
Mraedis
Mraedis•2w ago
Ugh, invalid record length at F/85A6E640 is starting to sound like a corrupt database
yeahnoforsure
yeahnoforsureOP•2w ago
Bummer. Well I can try restoring from backup if you and your colleague don't think anything else is going on. I appreciate the help. But would it be a problem if my backup is from before any migration but my server is now at 1.143.0?
Mraedis
Mraedis•2w ago
That should work unless the previous version was pretty old
yeahnoforsure
yeahnoforsureOP•2w ago
Weird now that I look at my backups the last one was on 8/29 v1.137.1 I guess it didn't do any backups since then for some reason
Mraedis
Mraedis•2w ago
the some reason being it constantly restarting and getting interrupted in the backup process? šŸ™ƒ
yeahnoforsure
yeahnoforsureOP•2w ago
right lol Do you think I should just restore? Or wait to see if there's something else I might try
Mraedis
Mraedis•2w ago
Well it would be the most surefire way, the annoying part comes after, trying to re-upload the images
yeahnoforsure
yeahnoforsureOP•2w ago
Oh would they not just be noticed as not synced to the server?
Mraedis
Mraedis•2w ago
Though I guess you can sort of see them all stuck in upload/upload anyway šŸ¤” If you log out/in in the app that could work, I'm not too versed on the sync mechanisms there
yeahnoforsure
yeahnoforsureOP•2w ago
I'm restoring. Will let you know how it goes.

Did you find this page helpful?