You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to Admin -> Jobs -> Generate missing thumbnails.
Relevant log output
Initializing Immich v1.124.0
Detected CPU Cores: 4
Starting api worker
Starting microservices worker
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:MetadataService] Bootstrapping metadata service
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:MetadataService] Initializing metadata service
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:MapRepository] Initializing metadata repository
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:MetadataService] Initialized local reverse geocoder
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:ServerService] Feature Flags: {
"smartSearch": true,
"facialRecognition": true,
"duplicateDetection": true,
"map": true,
"reverseGeocoding": true,
"importFaces": false,
"sidecar": true,
"search": true,
"trash": true,
"oauth": false,
"oauthAutoLaunch": false,
"passwordLogin": true,
"configFile": false,
"email": false
}
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 7 - 01/08/2025, 11:34:35 AM LOG [Microservices:StorageService] Successfully verified system mount folder checks
[Nest] 19 - 01/08/2025, 11:34:35 AM LOG [Api:EventRepository] Initialized websocket server
[Nest] 19 - 01/08/2025, 11:34:35 AM LOG [Api:ServerService] Feature Flags: {
"smartSearch": true,
"facialRecognition": true,
"duplicateDetection": true,
"map": true,
"reverseGeocoding": true,
"importFaces": false,
"sidecar": true,
"search": true,
"trash": true,
"oauth": false,
"oauthAutoLaunch": false,
"passwordLogin": true,
"configFile": false,
"email": false
}
[Nest] 19 - 01/08/2025, 11:34:35 AM LOG [Api:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 19 - 01/08/2025, 11:34:35 AM LOG [Api:StorageService] Successfully verified system mount folder checks
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Expected integer for width but received -2 of type number
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Error: Expected integer for width but received -2 of type number
at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:135:10)
at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:483:16)
at Array.forEach (<anonymous>)
at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:478:38)
at MediaRepository.getImageDecodingPipeline (/usr/src/app/dist/repositories/media.repository.js:86:33)
at MediaRepository.generateThumbnail (/usr/src/app/dist/repositories/media.repository.js:60:20)
at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:444:36)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
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)
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Object:
{
"id": "458ee1a6-8a27-4fe8-bc3d-41c3991cba53"
}
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Expected integer for width but received -2 of type number
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Error: Expected integer for width but received -2 of type number
at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:135:10)
at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:483:16)
at Array.forEach (<anonymous>)
at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:478:38)
at MediaRepository.getImageDecodingPipeline (/usr/src/app/dist/repositories/media.repository.js:86:33)
at MediaRepository.generateThumbnail (/usr/src/app/dist/repositories/media.repository.js:60:20)
at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:444:36)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
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)
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Object:
{
"id": "34d04c0e-df23-4b7b-ac03-eb11098f938a"
}
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Expected integer for width but received -6 of type number
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Error: Expected integer for width but received -6 of type number
at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:135:10)
at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:483:16)
at Array.forEach (<anonymous>)
at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:478:38)
at MediaRepository.getImageDecodingPipeline (/usr/src/app/dist/repositories/media.repository.js:86:33)
at MediaRepository.generateThumbnail (/usr/src/app/dist/repositories/media.repository.js:60:20)
at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:444:36)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
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)
[Nest] 7 - 01/08/2025, 11:38:06 AM ERROR [Microservices:JobService] Object:
{
"id": "139be5aa-7eb4-49ea-b23d-6c62099583af"
}
Additional information
No response
The text was updated successfully, but these errors were encountered:
The bug
After updating to v1.124.0, I started seeing error while generating missing thumbnails.
The OS that Immich Server is running on
Ubuntu 20.04.6 LTS
Version of Immich Server
v1.124.0
Version of Immich Mobile App
v1.123.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Go to Admin -> Jobs -> Generate missing thumbnails.
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: