You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a record in the photos table no longer exists, the corresponding record in the photos_albums table is not flagged as missing, because the corresponding query only checks if photos.deleted_at is not NULL.
To fix the album entry counts displayed in the UI, the query must additionally check if the photos_albums.photo_uid exists in the photos table or if it is unknown e.g. after a photo has been permanently deleted with the photoprism purge command or manually with SQL.
The text was updated successfully, but these errors were encountered:
lastzero
changed the title
Albums: Deleted and/or unknown pictures must be flagged as missing
Albums: Deleted and/or unknown entries must be flagged as missing
Jun 15, 2023
lastzero
changed the title
Albums: Deleted and/or unknown entries must be flagged as missing
Albums: Invalid entries must be automatically flagged as missing
Jun 19, 2023
When a record in the
photos
table no longer exists, the corresponding record in thephotos_albums
table is not flagged as missing, because the corresponding query only checks ifphotos.deleted_at
is notNULL
.To fix the album entry counts displayed in the UI, the query must additionally check if the
photos_albums.photo_uid
exists in thephotos
table or if it is unknown e.g. after a photo has been permanently deleted with thephotoprism purge
command or manually with SQL.The text was updated successfully, but these errors were encountered: