Unable to run job handler: Error: Input file contains unsupported image format
Hi
Pulling my hair out!
I have a fresh install following the docker-compose method at "https://immich.app/docs/install/docker-compose". I have really stuck to the letter of the law excluding all the extras like traefik just to keep it simple!
The uploads all fail with the immich_microservices the only container with errors in the logs
[Nest] 7 - 09/05/2023, 10:35:54 AM ERROR [JobService] Unable to run job handler: Error: Input file contains unsupported image format
[Nest] 7 - 09/05/2023, 10:35:54 AM ERROR [JobService] Error: Input file contains unsupported image format
[Nest] 7 - 09/05/2023, 10:35:54 AM ERROR [JobService] Object:
{
"id": "1b43e4ae-f0d3-428e-9cf1-590eab457f50",
"source": "upload"
}
When I look at the "Uploaded" files on the actual filesystem they are 0 kb.
Docker Compose and .env file attached
Any advice would be sincerely appreciated!
Thanks!
16 Replies
Which are the original file format of these files?
Hi. I have tried various PNG and JPG images from various timeframes.
Also did take ownership of the files to ensure that this was not the issue. I did neglect to mention that I have mounted an NFS volume from my TrueNAS. At an OS level I can access the share and have sufficient permissions to copy, paste, and delete from within the "immich_microservices" container. The images are in the "upload" directory but the "library" directory is still empty.
This means that the microservice container is not running properly so the thumbnails aren’t generated
What version of the server are you on? Is there a photo in the group above that you can share for troubleshooting purposes?
Hi. I am just out. I will confirm the version and share an image the moment I get home. Thank you!
v1.76.1

with Debug logging

Seem to have found the issue... It is related to permissions. I have tried 2 approaches to setting the PUID/GUID set (via the .env and via "environment" in compose.). Neither seems to solve the root as owner issue.



I have the same problem. I uploaded via command line to a fresh docker-compose installed Immich server and around 5000 photos will not upload. They remain in the upload folder and display as grey tiles in the web frontend. microservices log output yields the following : [Nest] 6 - 09/05/2023, 5:24:05 PM ERROR [JobService] Unable to run job handler: Error: Input file contains unsupported image format
[Nest] 6 - 09/05/2023, 5:24:05 PM ERROR [JobService] Error: Input file contains unsupported image format
[Nest] 6 - 09/05/2023, 5:24:05 PM ERROR [JobService] Object:
{
"id": "edafb97d-5113-41b9-bcc2-9b94ea861831"
most of the photos are .heic format
@fod65000 can you share a "ls -alR" of your "upload" directory? I just want to see if you have the same ownership issues that I am having. Thanks
ownership of upload is root:root and ownership of folder that i was uploading from was myuser:myuser. the other 75000 photos from the same directory structure uploaded no problem.

root:root same/similar issue.
We’re you able to resolve it? Strange is that the other 75,000 files all mixed Heic jpg etc. uploaded just find
Not yet... I suspect that there is a permissions problem. My target library is on my NAS and then using root:root is an issue. I need to figure out a way to enforce PUID:GUID as 1000:1000. The usual methods don't seem to be working.

Im not convinced for me it’s a permissions issue as the exact same permission were in place for the other 75000 assets uploaded
Understood