Skip to main content

๐Ÿ’ผ Job System

How does it workโ€‹

The job system gives you information about the long-running jobs, including which job is running, in a queue, how far it progressed and when it started and stopped. At the moment, there are nine 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.

Download Modelsโ€‹

This downloads the needed machine learning models to data/protected_media/data_models/.

Where to get information about previous run 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.