Comments (15)
Would running the thumbnail generation job for missing help with this issue?
from immich.
You can probably find the file by going to http://your-instance/photos/468412be-b26d-402f-99fb-63cb2354f41f
from immich.
Thanks for the answer. I tried that, but that wasnt helpful either. I only get this:
Not found or no asset.read access - 400
Error: Error: 400
at Object.he [as ok] (https://your-instance/_app/immutable/chunks/fetch-client.C5U4i6mn.js:1:2876)
at async vt (https://your-instance/_app/immutable/nodes/15.C3xyfxk-.js:1:2145)
at async ke (https://your-instance/_app/immutable/chunks/entry.BRVSVuJG.js:1:13443)
I also tried recreating immich from scratch, and now there are even more images with this issue
from immich.
I do have the same issue, but not with an external library. It started with seven assets, and I'm now at 36 different assets that say:
[Nest] 7 - 06/04/2024, 12:00:01 AM VERBOSE [ImmichMicroservices] [PersonService] Cropping face for person: 9e34737f-6bd6-4ea1-bd0b-fd37b28346ee
[Nest] 7 - 06/04/2024, 12:00:01 AM ERROR [ImmichMicroservices] [JobService] Unable to run job handler (thumbnailGeneration/generate-person-thumbnail): Error: Input file contains unsupported image format
[Nest] 7 - 06/04/2024, 12:00:01 AM ERROR [ImmichMicroservices] [JobService] Error: Input file contains unsupported image format
at Sharp.toFile (/usr/src/app/node_modules/sharp/lib/output.js:89:19)
at MediaRepository.generateThumbnail (/usr/src/app/dist/repositories/media.repository.js:69:14)
at PersonService.handleGeneratePersonThumbnail (/usr/src/app/dist/services/person.service.js:427:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /usr/src/app/dist/services/job.service.js:145:36
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 - 06/04/2024, 12:00:01 AM ERROR [ImmichMicroservices] [JobService] Object:
{
"id": "9e34737f-6bd6-4ea1-bd0b-fd37b28346ee"
}
Can't check what image/video it is. The log won't say even in debug/verbose mode.
Also with http://your-instance/photos/9e34737f-6bd6-4ea1-bd0b-fd37b28346ee
I get the same:
Error - Something went wrong
Not found or no asset.read access (400)
Stacktrace
me@http://your-instance/_app/immutable/chunks/fetch-client.C5U4i6mn.js:1:2952
he@http://your-instance/_app/immutable/chunks/fetch-client.C5U4i6mn.js:1:2876
from immich.
Same issue here, I am not sure if there is a fix for this. I am frustrated with this error, it is on thousands of files for me.
from immich.
What about /api/asset/file/[assetId]?isThumb=false&isWeb=false
where [assetId]
is one of the IDs giving the error?
Alternately query the database:
docker exec -it immich_postgres /bin/bash
psql -t -U postgres immich -c "select \"originalPath\" FROM assets WHERE id = '[assetid]'"
(replacing container name, username and adding a password where necessary; [assetId]
is the asset UUID)
from immich.
With /api/asset/file/[assetId]?isThumb=false&isWeb=false
I get {"message":"Not found or no asset.view access","error":"Bad Request","statusCode":400}
And the database query
docker exec -it immich_postgres /bin/bash
psql -U postgres immich
SELECT "originalPath" FROM "assets" WHERE id = '12345678-1234-1234-1234-123456789012';
resulted in (0 rows)
on those I tested
from immich.
Same for me The SQL request do not have a result on failed IDs.
from immich.
Maybe the ID isn't an asset ID but a person ID? If so, there should be a way to get assets linked to that person ID.
Maybe this? (Haven't tested nor do I know the table structure)
SELECT "thumbnailPath", "faceAssetId" FROM "person" WHERE id = '[id]';
from immich.
for uuid in $(docker logs immich_server 2>&1 | grep '"id":' | cut -d ":" -f 2 | tr -d '"' | uniq); do docker exec immich_pg psql -U postgres immich -c "SELECT \"thumbnailPath\", \"faceAssetId\" FROM person WHERE id = '$uuid'" ; done
Indeed, for some I have results like:
thumbnailPath | faceAssetId
---------------+--------------------------------------
| fb084db8-34e7-40b6-8e99-8eea15f5dcb4
(1 row)
And others
----------------------------------------------------------------------------------------------------+--------------------------------------
upload/thumbs/2078d332-65ae-4f1b-aeb3-2280a79eb8d7/87/11/87119b86-8465-477d-8f84-37a8386620a9.jpeg | b398757a-e111-4045-b001-1de203a08b55
(1 row)
from immich.
I encountered this as well. This seems to be caused when Immich attempts to generate person thumbnails from persons only identified in videos. If I go to https://[immich_url]/people/[id_from_error] I can see the person with a broken thumbnail and only video clips.
from immich.
With SELECT "thumbnailPath", "faceAssetId" FROM "person" WHERE id = 'personsthumbsIDs;
I get the faceAssetId without thumbnailPath. Not sure what I can do with that information.
/edit: Thank you. 1.106.4 fixed it :)
from immich.
I'm having this same issue!
from immich.
I got this error when I re-ran the job, so no :)
An example of a person with a broken thumbnail only appearing in a single video. This is after re-running the thumbnail generation job.
from immich.
I think this one #10240 fixed this issue.
from immich.
Related Issues (20)
- New/edited library files appear in trash HOT 1
- Sony RAW(.arw) file thumbnail generation failed HOT 3
- tensorchord/pgvecto-rs:pg14-v0.2.0 keeps restarting
- getAllAssets has been removed from the typescript API
- Android App - No error reported when trying to create an album but the server is disconnected
- immich_server keep restarting
- The Android Motion Photos in my library only display as photos. HOT 1
- Smart Search broken after 1.106 update
- Mobile: search results display date when scrubbing scroll bar
- immich-cli --recursive "No files found"
- Generating all thumbnails do not generate thumbs of archived images
- The CSS for smartphones in the shared album is not appropriate.
- The icons in the header of the shared album are confusing.
- iOS App – Resuming the app (warm, in memory) resets the timeline to the top
- iOS Backup stuck on group of images
- IPv6 Support on Kubernetes HOT 5
- videos recoreded on tiktok have messed up metadata HOT 1
- RuntimeError: /onnxruntime_src/onnxruntime/core/providers/cuda/cuda_call.cc
- Thumbnails not generating and All jobs going to waiting state HOT 3
- IOS Crash HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immich.