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 am using Immich in a docker container on a Truenas server. My images are stored in an external library. I'm using the Immich app to automatically upload images from my Iphone to the immich server, on the internal library, using templates. As I like to have all assests in one library, I created this script with help of Claude. Feel free to use it at your own risk.
The script:
moves files from the internal library (library/admin location and subfolders) to the external library
cleans up the internal library database and the external database and checks for orphans.
There is still one open issue: The immich app is syncing from the Iphone, so for images that are moved by the script to the external storage, these are synced by the app again but removed afterwards by the script. However in the app these images are showing double and with any new sync will be uploaded (and removed) again. This is behaviour of the app that i cant change, I guess.
Does anyone have a solution for this app behaviour?
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 am using Immich in a docker container on a Truenas server. My images are stored in an external library. I'm using the Immich app to automatically upload images from my Iphone to the immich server, on the internal library, using templates. As I like to have all assests in one library, I created this script with help of Claude. Feel free to use it at your own risk.
The script:
immich_migrate_library_def_github.sh
There is still one open issue: The immich app is syncing from the Iphone, so for images that are moved by the script to the external storage, these are synced by the app again but removed afterwards by the script. However in the app these images are showing double and with any new sync will be uploaded (and removed) again. This is behaviour of the app that i cant change, I guess.
Does anyone have a solution for this app behaviour?
Beta Was this translation helpful? Give feedback.
All reactions