Replies: 2 comments 8 replies
-
The error indicates the move is being attempted, but a permission issue on the network mount is preventing the move from being completed. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I read the issue. If that’s the case, you didn’t share any logs from when you actually try to run the migration job, which we need. We would also need to see the issue replicated on a local storage to confirm it’s not a network mount issue. |
Beta Was this translation helpful? Give feedback.
6 replies
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.
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
When media is uploaded, it's temporarily saved in the
/upload/upload
directory. If moving it to the/upload/library
fails (for whatever reason), the file is stuck forever in upload, the migration job won't try to move it to the storage template location.I mount library on a network drive and this can sometimes happen, rarely, but it happens (network issues, power outage, etc...) . Uploads are still successful, just never moved to the library.
I think keeping files in the upload directory is confusing also for making backups, I never thought I had to backup upload too... IMHO Immich should try to move any files left in the upload dir regularly or on startup but if that's not possible we should at least be able to use the migration job to move them.
The OS that Immich Server is running on
Ubuntu 24.04.2 LTS
Version of Immich Server
v1.131.3
Platform with the issue
Reproduction steps
chattr -R +i upload/library/
Unable to complete move. Error renaming file
chattr -R -i upload/library/
Relevant log output
Removed not to cause confusion on what's the actual issue
Beta Was this translation helpful? Give feedback.
All reactions