๐ผ Job System
How does it workโ
The job system manages all long-running jobs. It gives information, which job is running, which job is in the queue, how far it progressed and when it started and stopped. At the moment, there are eight long-running jobs:
Scan Photosโ
Scan photos will look at all media files in your scan directory and will add them to the library.
Generate Auto Albumsโ
This job will look at all media files that already exist. It tries to find common events by looking at the timestamp and grouping the images. If the media files are in a 1 day and 12 hour interval, they will appear in the same auto album.
Generate Auto Albums Titlesโ
This will create a title for the auto album based on the information of the media files in the auto album.
Train Facesโ
This will look at all faces and its groups and will give us a certainty value for the image in the group.
Delete Missing Photosโ
Finds all missing media files and removes them from the database.
Calculate Clip Embeddingโ
Calculates the CLIP value for all images. This is used for semantic search and for finding similar images.
Scan Facesโ
Looks for faces in the images and save them to the database
Cluster All Facesโ
Clusters the faces into known and unknown groups.
Where to manage the jobsโ
When you are logged in as an admin, click on the profile picture in the top right corner and then navigate to Admin Area
. You should see the jobs at the bottom of the page in a table called Worker Logs
What to do when a job gets stuckโ
When a job gets stuck, that usually means, that it crashed, and we could not catch the error correctly. You can just remove the entry from the list to start another job.
Current Limitationsโ
Right now, queuing does not work. It forgets all jobs that are queued after a bit of time. Another recurring issue is that when a job crashes, it usually does not represent it correctly in the view.