dotfortun3
IImmich
•Created by dotfortun3 on 4/7/2025 in #help-desk-support
External Library - Unable to remove file from disk
I recently deleted an external library from my admin account so I can create an account for me instead of using that. After deleting, I see a ton of these error messages in the logs
I am wondering if this will go away as each file throws that error or if this will just keep happening. The mount is read only which looks like that was a good choice because I think it would be deleting my external library.
16 replies
IImmich
•Created by dotfortun3 on 4/3/2025 in #help-desk-support
deleteAssets endpoint not deleting orphaned assets
I made a mistake which lead to many images being deleted from the file system (it turns out using ProtonDrive as one of your backups is less than ideal because it syncs from the cloud back to the client). I am trying to remove the assets from Immich that were accidentally deleted by using the deleteAssets endpoint. The API is returning 204 as expected, but when I check the repair admin page after running the script, it still lists many of the assets as still being orphaned.
I am hoping someone can help me figure out what to do. I thought maybe a job would have to be run after purging the assets, but my initial run of the script removed about 10k of the orphaned files, but it just does nothing with the remaining 70k orphaned files.
22 replies
IImmich
•Created by dotfortun3 on 1/8/2025 in #help-desk-support
Finding assets by ownerId
I am working on modifying a python script I found to organize screenshots and archive them, and I am trying to find out how to get the libraryId of a user so I can retrieve only the assets the user owns because when the script tries to archive images that it doesn't own, it fails.
Right now I am using users/me to get the user and I tried using the id returned for the user when calling /search/metadata but it returns nothing. It does match the folder name for the user in the library folder.
Am I missing something?
10 replies
IImmich
•Created by dotfortun3 on 11/20/2024 in #help-desk-support
iOS app - Backup trying to upload photo that doesn't exist
I have run into an issue recently where the automated backup is trying to upload a file that doesn't exist. It always fails and I cannot find the photo it is trying to upload anywhere. It is from November 25, 2014 and I have no photos or videos on my phone from that date. I checked in iCloud and I don't have a photo on that date either. The main problem is that this causes the backup process to hang for a very long time before uploading the rest of the photos, forcing me to manually upload them.
Is there anyway I can force Immich to ignore that image or reset the app DB so it doesn't try to upload that file?
24 replies