You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was doing some server space management and was surprised to see that my upload folder is 15G. I have a storage template defined and I triggered the storage template migration job but nothing moved (I verified with du on the directory before and after). If I grab one of the photos from the upload path, I can find it (I think it's it at least) in my library, and it says it's saved according to my template. I browse the server and I see the file is in fact at the template location. The files in the upload folder structure are of course named with UUIDs, is there a way to search the database by that UUID to see why these are sitting in the upload path still? EDIT: Found in the docs the steps to query the database. I did: sudo -u postgres psql -d immich -c "Select * from asset where id = '8ac67394-85c9-4b71-bd0c-00edfe784f38';" but this returned 0 rows
When I browse in the web (by folders), I see one file that's listed as in the upload directory. When I find that file, all that it is in the directory is the xmp file:
How can I verify the 15G sitting in my upload folder is duplicated data?
Why do I have one xmp file that is "stuck" and not moving to the actual user template directory?
All of the other discussions I found on files stuck in upload pointed to the migration job - but I've already run that when I changed my upload path a few days ago and when I run it now, nothing new moves. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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 was doing some server space management and was surprised to see that my upload folder is 15G. I have a storage template defined and I triggered the storage template migration job but nothing moved (I verified with
duon the directory before and after). If I grab one of the photos from the upload path, I can find it (I think it's it at least) in my library, and it says it's saved according to my template. I browse the server and I see the file is in fact at the template location. The files in the upload folder structure are of course named with UUIDs, is there a way to search the database by that UUID to see why these are sitting in the upload path still? EDIT: Found in the docs the steps to query the database. I did:sudo -u postgres psql -d immich -c "Select * from asset where id = '8ac67394-85c9-4b71-bd0c-00edfe784f38';"but this returned 0 rowsWhen I browse in the web (by folders), I see one file that's listed as in the upload directory. When I find that file, all that it is in the directory is the xmp file:
If I look in the templated location, I see the actual JPG file:
I guess my question is two fold:
All of the other discussions I found on files stuck in upload pointed to the migration job - but I've already run that when I changed my upload path a few days ago and when I run it now, nothing new moves. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions