Moved library and now have thumbnails in asset view - what did I mess up?

Hi, firstly, immich is fantastic - thanks to all that have contributed to it. I'm a n00b and initially setup immich a few days ago with only a small space for the library. I shut down all the containers, then moved all of the library files to a new nfs share. I updated the .env to point the library to the new location, restarted and all appeared to be good. But now I've noticed I can see all of the thumbnails in the timeline view. Have I messed it all up - is there way out of this? I tried re-running every job in the admin view one by one but that hasn't helped.
28 Replies
Immich
Immich4mo ago
:wave: Hey @alltheusernamesaregoneeventhis, 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
Immich
Immich4mo ago
Checklist I have... 1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :blue_square: 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.
GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
alltheusernamesaregoneeventhis
[Nest] 7 - 01/25/2025, 12:00:00 AM LOG [Microservices:LibraryService] Refreshing library fd4338d0-4408-484e-bd88-9e7a6454c07d for new assets
[Nest] 7 - 01/25/2025, 12:00:00 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: Message codes are not supported, error message is in msg_parm.s string
[Nest] 7 - 01/25/2025, 12:00:00 AM ERROR [Microservices:JobService] Error: VipsJpeg: Message codes are not supported, error message is in msg_parm.s string
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)
at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:161:63)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:111:25)
at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)
at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
[Nest] 7 - 01/25/2025, 12:00:00 AM LOG [Microservices:LibraryService] Refreshing library fd4338d0-4408-484e-bd88-9e7a6454c07d for new assets
[Nest] 7 - 01/25/2025, 12:00:00 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: VipsJpeg: Message codes are not supported, error message is in msg_parm.s string
[Nest] 7 - 01/25/2025, 12:00:00 AM ERROR [Microservices:JobService] Error: VipsJpeg: Message codes are not supported, error message is in msg_parm.s string
at Sharp.toBuffer (/usr/src/app/node_modules/sharp/lib/output.js:163:17)
at MediaRepository.decodeImage (/usr/src/app/dist/repositories/media.repository.js:57:68)
at MediaService.generateImageThumbnails (/usr/src/app/dist/services/media.service.js:161:63)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async MediaService.handleGenerateThumbnails (/usr/src/app/dist/services/media.service.js:111:25)
at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:148:28)
at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:134:13)
at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
There are lots of these in the logs Checking github these errors appear to be caused by Whatsapp images - that's not the end of the world for me.
Mraedis
Mraedis4mo ago
Could you post your compose/env files please
alltheusernamesaregoneeventhis
Sorry yes:
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
#UPLOAD_LOCATION=./library
UPLOAD_LOCATION=/home/ubuntu/synoimmich
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=****************
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
#UPLOAD_LOCATION=./library
UPLOAD_LOCATION=/home/ubuntu/synoimmich
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=****************
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Mraedis
Mraedis4mo ago
alright and what's inside /home/ubuntu/synoimmich ? Like ls -la /home/ubuntu/synoimmich
alltheusernamesaregoneeventhis
drwxrwxrwx 3 root root 4096 Jan 23 23:07 '#recycle'
drwxrwxrwx 10 root root 4096 Jan 23 23:12 .
drwxr-x--- 29 ubuntu ubuntu 4096 Jan 24 18:39 ..
drwxrwxrwx 2 root root 4096 Jan 25 02:01 backups
drwxrwxrwx 4 root root 4096 Jan 24 20:34 encoded-video
drwxrwxrwx 2 root root 4096 Jan 23 23:13 library
drwxrwxrwx 2 root root 4096 Jan 23 21:01 profile
drwxrwxrwx 5 root root 4096 Jan 24 20:34 thumbs
drwxrwxrwx 5 root root 4096 Jan 24 20:34 upload
drwxrwxrwx 3 root root 4096 Jan 23 23:07 '#recycle'
drwxrwxrwx 10 root root 4096 Jan 23 23:12 .
drwxr-x--- 29 ubuntu ubuntu 4096 Jan 24 18:39 ..
drwxrwxrwx 2 root root 4096 Jan 25 02:01 backups
drwxrwxrwx 4 root root 4096 Jan 24 20:34 encoded-video
drwxrwxrwx 2 root root 4096 Jan 23 23:13 library
drwxrwxrwx 2 root root 4096 Jan 23 21:01 profile
drwxrwxrwx 5 root root 4096 Jan 24 20:34 thumbs
drwxrwxrwx 5 root root 4096 Jan 24 20:34 upload
Mraedis
Mraedis4mo ago
Nothing suprising so far, what's inside upload and library? 🙂 So ls -la /home/ubuntu/synoimmich/*l*a*
alltheusernamesaregoneeventhis
library:
drwxrwxrwx 2 root root 4096 Jan 23 23:13 .
drwxrwxrwx 10 root root 4096 Jan 23 23:12 ..
-rw-r--r-- 1 root root 13 Jan 23 23:14 .immich
drwxrwxrwx 2 root root 4096 Jan 23 23:13 .
drwxrwxrwx 10 root root 4096 Jan 23 23:12 ..
-rw-r--r-- 1 root root 13 Jan 23 23:14 .immich
upload:
drwxrwxrwx 5 root root 4096 Jan 24 20:34 .
drwxrwxrwx 10 root root 4096 Jan 23 23:12 ..
-rw-r--r-- 1 root root 13 Jan 23 23:14 .immich
drwxrwxrwx 255 root root 4096 Jan 25 00:57 828462d5-5df4-4d09-bf4c-683524c92958
drwxrwxrwx 3 root root 4096 Jan 23 21:01 c3b0fba2-cdd0-4a84-8045-5fc4bedfece2
drwxrwxrwx 258 root root 4096 Jan 23 21:01 c88c5dc3-c249-468b-8d64-45d183d04d4e
drwxrwxrwx 5 root root 4096 Jan 24 20:34 .
drwxrwxrwx 10 root root 4096 Jan 23 23:12 ..
-rw-r--r-- 1 root root 13 Jan 23 23:14 .immich
drwxrwxrwx 255 root root 4096 Jan 25 00:57 828462d5-5df4-4d09-bf4c-683524c92958
drwxrwxrwx 3 root root 4096 Jan 23 21:01 c3b0fba2-cdd0-4a84-8045-5fc4bedfece2
drwxrwxrwx 258 root root 4096 Jan 23 21:01 c88c5dc3-c249-468b-8d64-45d183d04d4e
Mraedis
Mraedis4mo ago
Alright kind of was expecting a thumbs folder inside of library there, not gonna lie
alltheusernamesaregoneeventhis
thumbs is at the same level as library?
Mraedis
Mraedis4mo ago
Yes that's expected Ah you have an external library with /home/ubuntu/photo
alltheusernamesaregoneeventhis
yes - that's working fine
Mraedis
Mraedis4mo ago
Those aren't the old immich folders are they?
alltheusernamesaregoneeventhis
no thumbnails in the photo feed I didn't touch the external library just moved all the files/directories that were in immich-app/library
Mraedis
Mraedis4mo ago
Well you've got me stumped for now 😐
alltheusernamesaregoneeventhis
oh not just me then...
Mraedis
Mraedis4mo ago
Could you check for one of the thumbnails what it's filepath is
alltheusernamesaregoneeventhis
ohhhhh, wait, I'm an idiot I just found out how to see the path nothing to see here , please move along. They are not thumbnails
Mraedis
Mraedis4mo ago
Hurray I have to ask though, what were they?
alltheusernamesaregoneeventhis
They are lightroom edits of the same image I just got a lightroom publish working, d'oh!! Sorry for wasting your time That little i button is very useful
Mraedis
Mraedis4mo ago
No problem, glad we figured it out Feel free to /close when done
alltheusernamesaregoneeventhis
uh, how, one sec?
Mraedis
Mraedis4mo ago
literally /close
alltheusernamesaregoneeventhis
ha, thanks /close
Mraedis
Mraedis4mo ago
So close :p I'll do it, no worries
Immich
Immich4mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?