Good morning everyone, I was thinking of building a cloud platform for backing up my devices on Nextcloud, which I really like. However, I donāt like the photo management solution and I want to use Imich instead, but only as a viewer and not for anything else, as itās still very unstable and not secureā¦ So I thought to set up Imich as an external library for the photo backup folder, so that I have them on a fast viewer and so onā¦ Iāve managed to do this and it works great, and Iāve also discovered that if I delete photos on Imich, theyāre also deleted on the directory that points to them, and therefore also on Nextcloudā¦ Now, I want to know if deleting photos directly from the directory on Unraid will be appreciated by Nextcloud and MariaDB (the DB Iām using for NC) or could it cause problems? My fear is that modifying files without going through the NC interface could cause chaos and bugs inside NCā¦"
Please let me know if you have any questions or if thereās anything else I can help with!
Iām interested in your setup with Immich. Could you please tell me if itās possible to set up multiple accounts and manage them separately? For example, I would like to set up my motherās photos to be managed by her Immich app, while my photos are managed by my own Immich app, keeping them separate. Have you done this before, and if so, could you share how you did it?
I have looked over the Imich project and it doesnāt look like one can simply install both projects and connect them to each other via a protocol (such as WebDAV) it will need a realy good developed immich integration app to be developed from someone with deep knowledge of both projects.
Maybe you? Since you already made some experiences!
How did you do it? Did you integrate the files as āexternal libraryā to immich?
Your fear is justified. All files are stored in the database under a unique fileid. All changes made at file system level must also be reflected in the oc_filecache table in the database.
However, there is an occ command to do that. If you want to quickly put something together using simple scripting tools, you should do the database integration with ā occ files:scan ā . That command will remove deleted files from the oc_filecache, update changed (size, mtime, storage_mtime) files and add new files to it, so those changes wil become visible to the nextcloud ecosystem.
You can use occ files:scan very finegrained, not just for --all files - which can be a verry time consuming task - but it is possible to only scan one directory or even one single file, which is very fast.
I just have this hybrid up and running. Using Nextcloud for FileSynch and also Photo and Video upload, but Immich as viewer and the Immich AI Features. The Facedetection outperforms anything on nextcloud by a huge amount.
Iām very interested in a solution like this. I discovered immich and am a Nextcloud user since many years ago. I have been wanting for something like immich and now want to integrate the two.
I thought one way could be to sync images to immich with rsync or similar (not carrying about the extra space) but it would be nice to be able to manage, e.g. delete pictures from immich.