© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
6 replies
rbapo

Unable to change Face Thumbnail

Hey folks,

Ever since the ability to change the face thumbnail I've been trying to change some of the feature photos... but I always run into the below error in
immich_microservces
immich_microservces
regardless of the photo that I choose:

[Nest] 7  - 08/05/2023, 3:55:05 AM   ERROR [JobService] Unable to run job handler: Error: Expected integer for width but received -2 of type number
[Nest] 7  - 08/05/2023, 3:55:05 AM   ERROR [JobService] Error: Expected integer for width but received -2 of type number
    at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:124:10)
    at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:442:16)
    at Array.forEach (<anonymous>)
    at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:437:38)
    at MediaRepository.crop (/usr/src/app/dist/infra/repositories/media.repository.js:19:14)
    at FacialRecognitionService.handleGenerateFaceThumbnail (/usr/src/app/dist/domain/facial-recognition/facial-recognition.services.js:149:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/dist/domain/job/job.service.js:104:37
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:342:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:525:24)
[Nest] 7  - 08/05/2023, 3:55:05 AM   ERROR [JobService] Object:
[Nest] 7  - 08/05/2023, 3:55:05 AM   ERROR [JobService] Unable to run job handler: Error: Expected integer for width but received -2 of type number
[Nest] 7  - 08/05/2023, 3:55:05 AM   ERROR [JobService] Error: Expected integer for width but received -2 of type number
    at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:124:10)
    at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:442:16)
    at Array.forEach (<anonymous>)
    at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:437:38)
    at MediaRepository.crop (/usr/src/app/dist/infra/repositories/media.repository.js:19:14)
    at FacialRecognitionService.handleGenerateFaceThumbnail (/usr/src/app/dist/domain/facial-recognition/facial-recognition.services.js:149:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/dist/domain/job/job.service.js:104:37
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:342:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:525:24)
[Nest] 7  - 08/05/2023, 3:55:05 AM   ERROR [JobService] Object:


Is this a known issue?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Face thumbnail
ImmichIImmich / help-desk-support
3y ago
Change Thumbnail Path
ImmichIImmich / help-desk-support
3mo ago
Is there a way to change people (face recognition) thumbnails?
ImmichIImmich / help-desk-support
11mo ago
Existing server , thumbnail location wont change.
ImmichIImmich / help-desk-support
9mo ago