#Initially imported photos still in /photos, while new uploads go to /photos/library/admin ?

1 messages · Page 1 of 1 (latest)

lucid wraith
#

Hi all! I have an issue and I'm not sure whether it's a bug or just user error. I initially imported my existing library to a /mnt/user/photos directory (path shortened in title for succinctness). Everything show up fine. However, new uploads from the Immich app are in /mnt/user/photos/library/admin, even after running the Storage Template Migration job, which does nothing. It's my understanding that all photos should be moved to /mnt/user/photos/library/admin when running the job, even the initial import. Did I miss something? Thanks 🙏

#
[Nest] 7  - 09/02/2023, 4:51:38 PM     LOG [StorageTemplateService] Starting storage template migration
[Nest] 7  - 09/02/2023, 4:52:20 PM     LOG [StorageTemplateService] Finished storage template migration
#

I'm running server v1.76.1, by the way.

gentle nimbus
#

If you did an existing directory import, the files are internally marked as such and will not be moved by the storage template

#

Only files uploaded via the API will

lucid wraith
#

Okay thank you, that makes more sense!
In that case I guess I might be able to clear that flag with some SQL magic and re-run the migration? Or just delete everything and re-import correctly which sounds less fun

gentle nimbus
#

Yes, some SQL editing should work. IIRC it's the readOnly column in the asset table

lucid wraith
#

I'll try that, thank you so much :)