Closed Superpiffer closed 1 year ago
Can you play these videos on Chrome?
Also, has the transcoding video job been finished yet?
Same problem with Chrome and yes, the transcoding video job is finished. I also tried to remove all videos and make it transcode only unsupported again, same problemi.
I forgot to mention that when hovering with the mouse on a video shows a red symbol:
EDIT: @alextran1502 I think I found something using Chrome debugger:
{statusCode: 500,…}
error: "ServeFile"
message: "Failed to serve video asset Error: EROFS: read-only file system, access '/mnt/photos/Phones/Poco F3/VID_20221111_194749.mp4'"
statusCode: 500
For some reason I cannot use :ro for photo volume, I removed that and videos plays correctly! I left "ro" flag for my nfs mount in order to protect my files.
I think this is a bug in our code to check for file permission. We can look to remove it to allow ro flag
Fixed by #3046
I just got the same error. Permissions should be OK, eve tested it with the permissions set to 777.
The bug
I'm using the new read only gallery functionality, I can correctly import and view ~12.000 photos but I cannot play any video of any format (AVI, MOV or MP4). Firefox shows this:
immich-server shows this message in the log:
[Nest] 167 - 06/29/2023, 3:42:20 PM ERROR [AssetService] Error serving VIDEO asset=b0aaf995-3165-4079-b908-c641b977b1bd
I can also find transcoded videos for unsupported formats, so I don't think that's the problem. Videos uploaded via web interface are played correctly. The main differences that I found analyzing the database is the deviceId (CLI or WEB) and the "read_only" flag. As an example these are 2 videos imported via the read-only import and 2 videos imported via browser:
Note: mp4 files uploaded via CLI has transcoded video because I tried to transcode all videos, but the error was exactly the same.
The OS that Immich Server is running on
Docker on Fedora CoreOS
Version of Immich Server
v1.64.0
Version of Immich Mobile App
v1.64.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response