7
[Feature] Add a job detecting missing assets and removing broken database entries
Source: immich-app/immich#3816 · opened by @boobin
The feature
I used a tool [czkawka]( to detect and remove duplicate or very similar photos directly from the filesystem. Then i made a script to get the list of assets with path from the database, validate all the paths and listing all asset ids pointing to deleted paths, and sending the id list to DELETE asset api endpoint.
I worked as intended AFAIK, but it could be added as a maintenance command on the server.
Platform
• Server
• Web
• Mobile
I used a tool [czkawka]( to detect and remove duplicate or very similar photos directly from the filesystem. Then i made a script to get the list of assets with path from the database, validate all the paths and listing all asset ids pointing to deleted paths, and sending the id list to DELETE asset api endpoint.
I worked as intended AFAIK, but it could be added as a maintenance command on the server.
Platform
• Server
• Web
• Mobile
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature] Allow locking certain Shared Albums so that assets cannot be deleted in them by any (non-admin) members
6 votes · 0 comments
[Feature] extend documentation on https://immich.app/docs/administration/jobs
8 votes · 0 comments
[Feature] option to disable timezone correction based on geo coordinates
4 votes · 0 comments
[Feature] Run jobs on all assets for specific user
1 vote · 0 comments
[Feature] Load local assets to search results if available
1 vote · 0 comments
No comments yet.