Corrupted storage/file missing #27692
Unanswered
AntonVonDelta
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Why was this transformed into a discussion? Why is the issue being hidden? There are files that have been deleted by immich @bo0tzz |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.
The bug
File is missing from the upload folder. Errors are thrown when thumbnail generation is ran. All error reports about this failure seem to have been closed unresolved.
The error in the logs:
Error: Input file is missing: /usr/src/app/upload/upload/7b2addd3-1624-46a9-8edf-4b7e7da66faf/67/2f/672fa79b-f0af-4bb7-af79-a3f5f15bd826.jpg","context":"{\"id\":\"80997df8-55b4-4b00-8b32-2e940e8c0e21\"}".File is nowhere to be found in the entire app\upload folder.
The database shows that the file has been created a some time ago but updated recently:
I found files that had an even older fileCreatedAt date and all of the files that were missing had the 2026-04-08 date. I believe I have updated the immich server around this date.
The OS that Immich Server is running on
Ubuntu 25.10
Version of Immich Server
v2.7.3
Version of Immich Mobile App
v2.6.3 build.3041
Platform with the issue
Device make and model
No response
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
{"level":"error","pid":7,"timestamp":1775840783317,"message":"Unable to run job handler (AssetGenerateThumbnails): Error: Input file is missing: /usr/src/app/upload/upload/7b2addd3-1624-46a9-8edf-4b7e7da66faf/67/2f/672fa79b-f0af-4bb7-af79-a3f5f15bd826.jpg","context":"{\"id\":\"80997df8-55b4-4b00-8b32-2e940e8c0e21\"}","stack":"Error: Input file is missing: /usr/src/app/upload/upload/7b2addd3-1624-46a9-8edf-4b7e7da66faf/67/2f/672fa79b-f0af-4bb7-af79-a3f5f15bd826.jpg\n at Sharp.toBuffer (/usr/src/app/server/node_modules/.pnpm/sharp@0.34.5/node_modules/sharp/lib/output.js:163:17)\n at MediaRepository.decodeImage (/usr/src/app/server/dist/repositories/media.repository.js:120:31)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async MediaService.decodeImage (/usr/src/app/server/dist/services/media.service.js:186:32)\n at async MediaService.extractOriginalImage (/usr/src/app/server/dist/services/media.service.js:197:44)\n at async MediaService.generateImageThumbnails (/usr/src/app/server/dist/services/media.service.js:213:32)\n at async MediaService.handleGenerateThumbnails (/usr/src/app/server/dist/services/media.service.js:153:25)\n at async JobService.onJobRun (/usr/src/app/server/dist/services/job.service.js:51:30)\n at async EventRepository.onEvent (/usr/src/app/server/dist/repositories/event.repository.js:91:13)\n at async /usr/src/app/server/node_modules/.pnpm/bullmq@5.71.0/node_modules/bullmq/dist/cjs/classes/worker.js:570:32"} id | 80997df8-55b4-4b00-8b32-2e940e8c0e21 deviceAssetId | 1000078109 ownerId | 7b2addd3-1624-46a9-8edf-4b7e7da66faf deviceId | 76b7f8da3c48037294e79a9e0df55ae6bedc0c5954771628d5505a8d31c59c28 type | IMAGE originalPath | /usr/src/app/upload/upload/7b2addd3-1624-46a9-8edf-4b7e7da66faf/67/2f/672fa79b-f0af-4bb7-af79-a3f5f15bd826.jpg fileCreatedAt | 2026-02-20 11:48:39.215+00 fileModifiedAt | 2026-02-20 11:48:40+00 isFavorite | f duration | checksum | \xf3c948f6acec8cf259f4a36cea1a85ba199fabcc livePhotoVideoId | updatedAt | 2026-04-08 18:23:16.364066+00 createdAt | 2026-02-21 17:49:38.308477+00 originalFileName | IMG_20260220_134838309.jpg thumbhash | \x5b08060d02991a8788f5146974986768bd90d25a0a isOffline | f libraryId | isExternal | f deletedAt | localDateTime | 2026-02-20 13:48:39.215+00 stackId | duplicateId | status | active updateId | 019d6e55-978c-7065-ae63-25c16f458859 visibility | timeline width | 3072 height | 4096 isEdited | f checksumAlgorithm | sha1Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions