#Thumbnails broken

1 messages · Page 1 of 1 (latest)

worldly hound
#

Hello,

I had noticed that my thumbnail for the memories was missing ( 2 years since )...
I decided to run the generate thumbnails job and looked at my docker log and found that it was spamming a thousand errors. All of them just like this. Is this normal? How do i get the thumbnail working?

immich_microservices     | [Nest] 10  - 02/27/2024, 11:04:21 AM   ERROR [JobService] Error: Input file is missing: upload/library/a1bf7387-b289-452c-954a-c22066bee84a/2024/2024-01-26/Screenshot_2024-01-26-16-39-33-467_org.mozilla.firefox.jpg
immich_microservices     |     at Sharp.toFile (/usr/src/app/node_modules/sharp/lib/output.js:89:19)
immich_microservices     |     at MediaService.generateThumbnail (/usr/src/app/dist/domain/media/media.service.js:129:44)
immich_machine_learning  | | 31.5M/174M [00:03<00:14, 9.68MB/s]
immich_microservices     |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich_microservices     |     at async MediaService.handleGenerateJpegThumbnail (/usr/src/app/dist/domain/media/media.service.js:116:28)
immich_microservices     |     at async /usr/src/app/dist/domain/job/job.service.js:137:37
immich_microservices     |     at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
immich_microservices     |     at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
immich_microservices     | [Nest] 10  - 02/27/2024, 11:04:21 AM   ERROR [JobService] Object:
immich_microservices     | {
immich_microservices     |   "id": "106fa076-0f36-4f4e-8173-21efa1da617e"
immich_microservices     | }
immich_microservices     |
#

Running v 1.95.1 inside docker with docker compose.

#

I have just noticed that i cant see any of my old pictures anymore

fast summit
#

Seems like your mount for either the external library or default library isn't working

worldly hound
#

My mount is an external USB drive

#

lsblk:

#
loop0                          7:0    0  1000G  0 loop /mnt/fotos-usb
#

.env file

#

docker compose file

#

ls -la /mnt/fotos-usb/

total 36
drwxr-xr-x 9 root   root    4096 Feb  8 16:41 .
drwxr-xr-x 4 root   root    4096 Aug 22  2022 ..
drwxr-xr-x 4 nobody nogroup 4096 Feb 25 11:53 dump
drwxr-xr-x 3 root   root    4096 Feb  8 16:41 encoded-video
drwxr-xr-x 2 nobody nogroup 4096 Feb  7 09:00 images
drwxr-xr-x 3 root   root    4096 Feb  8 16:38 library
drwxr-xr-x 3 root   root    4096 Feb 27 12:15 thumbs
drwxr-xr-x 3 root   root    4096 Feb  8 16:38 upload
drwxr-xr-x 2 nobody nogroup 4096 Feb 25 11:53 zipped
fast summit
#

If you go into the server container and run find ./upload/ -name Screenshot_2024-01-26-16-39-33-467_org.mozilla.firefox.jpg what is the output?

worldly hound
#
find: './upload/dump/vzdump-lxc-101-2024_02_07-09_59_00.tmp/mnt/fotos-usb/dump/vzdump-qemu-100-2024_02_07-09_07_57.tmp': Permission denied
#

ignore the /dump/ folder

#

thats not important

#

but he cant find the image

#

in what folder are the pictures supposed to be saved?

fast summit
#

Depends. If you have the storeage template turned on they will be in the library folder, otherwise they should be in the upload folder I believe.

#

But yeah in that case seems like a mount issue somewhere in the chain.

worldly hound
#

In the upload folder there is one directory

#

same for the library folder

#
a1bf7387-b289-452c-954a-c22066bee84a
#
root@d308a6720972:/usr/src/app/upload/library# ls -la
total 12
drwxr-xr-x 3 root root 4096 Feb  8 16:38 .
drwxr-xr-x 9 root root 4096 Feb  8 16:41 ..
drwxr-xr-x 4 root root 4096 Feb 25 20:12 a1bf7387-b289-452c-954a-c22066bee84a
fast summit
#

Do you have the storage template on?

worldly hound
#

Yes

fast summit
#

Then library is where photos that have completed upload will be.

worldly hound
#

Only shows 2018 2024

fast summit
#

Do those folders exist on your external drive? Did docker boot before your external drive was mounted or something? I'm not sure other than the mount between the host and docker obviously isn't right.

worldly hound
#

Yeah they do.

#

Strange

worldly hound
#

Any idea what i could do to recover the missing pictures?

edgy trail
worldly hound
#

What would be the best way to remove all lost images (year 2019 - 2023 )

edgy trail
#

select from the web, move to 2019 hit shift and select one in that year