Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transcoding all videos does not affect archived videos #15482

Open
1 of 3 tasks
sprkweb opened this issue Jan 21, 2025 · 0 comments
Open
1 of 3 tasks

Transcoding all videos does not affect archived videos #15482

sprkweb opened this issue Jan 21, 2025 · 0 comments

Comments

@sprkweb
Copy link

sprkweb commented Jan 21, 2025

The bug

I was moving my upload folder and deleted encoded-video in the process. After that I transcoded all videos and noticed that all non-archived videos are successfully transcoded and can be seen in a web browser, while all archived videos show an error because they are missing in upload/encoded-video

I have found similar resolved issues about thumbnails generation and face recognition, so I'm guessing this is not expected behavior for video transcoding either.

The OS that Immich Server is running on

Ubuntu 24.04.1 LTS

Version of Immich Server

v1.124.2

Version of Immich Mobile App

v1.124.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

default

Your .env content

default

Reproduction steps

  1. Upload videos
  2. Archive some of them
  3. Delete encoded videos from disk
  4. Press "Transcode videos" - "All" and wait
  5. Open archived videos in a browser
  6. Get an error because they are missing in upload/encoded-video

Relevant log output

[Nest] 17  - 01/21/2025, 10:41:10 AM   ERROR [Api:LoggerRepository~nuhypvwh] Unable to send file: Error
Error: ENOENT: no such file or directory, access 'upload/encoded-video/b5858bf4-4b4d-4b43-b88a-9eba56fc1728/02/09/02093c51-2786-4365-8486-aca1557bed2f.mp4'
    at async access (node:internal/fs/promises:605:10)
    at async sendFile (/usr/src/app/dist/utils/file.js:54:9)
    at async AssetMediaController.playAssetVideo (/usr/src/app/dist/controllers/asset-media.controller.js:61:9)
[Nest] 17  - 01/21/2025, 10:41:10 AM   ERROR [Api:GlobalExceptionFilter~nuhypvwh] Unknown error: Error: ENOENT: no such file or directory, access 'upload/encoded-video/b5858bf4-4b4d-4b43-b88a-9eba56fc1728/02/09/02093c51-2786-4365-8486-aca1557bed2f.mp4'
Error: ENOENT: no such file or directory, access 'upload/encoded-video/b5858bf4-4b4d-4b43-b88a-9eba56fc1728/02/09/02093c51-2786-4365-8486-aca1557bed2f.mp4'
    at async access (node:internal/fs/promises:605:10)
    at async sendFile (/usr/src/app/dist/utils/file.js:54:9)
    at async AssetMediaController.playAssetVideo (/usr/src/app/dist/controllers/asset-media.controller.js:61:9)

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant