Faces: Error "Failed removing merged clusters for subject" seems to cause tagging of faces to become slow #1586

Closed
opened 2026-02-20 00:15:54 -05:00 by deekerman · 73 comments
Owner

Originally created by @chansearrington on GitHub (Oct 26, 2022).

Under certain conditions, inconsistent face assignments cannot be automatically resolved by the background worker, which can result in an unusually high CPU load when it is running:

  • if you use multiple browser tabs or windows for assigning faces and don't wait until saving the changes is complete, the likelihood of this problem increases, especially if you accidentally enter different names for the same face
  • another possible cause is running multiple instances (for example, parallel indexing workers started by a scheduler in the background) or modifying database content directly, as this may also lead to inconsistent faces, markers and subjects

Running the following command in a terminal can resolve problems with inconsistent data:

docker compose exec photoprism photoprism faces audit --fix

It can also be helpful to manually check for inconsistent assignments and fix them in the user interface. Alternatively, you can use the photoprism faces reset command for a clean start if you haven't invested much time in assigning faces yet.

Advanced users affected by this are welcome to privately provide us with a SQL dump of their subjects, faces, and markers database tables for debugging. Thank you very much!


1. What is not working as documented?

If there is an error of "faces: failed removing merged clusters for subject (ID)",
tagging any new faces becomes incredibly slow normally 1-3 seconds, now 2-5 minutes.
This behavior happens wether tagging a random photo through photo browser or a "new face" collection under People.

2. How can we reproduce it?

I don't know how to reproduce this error, but this is the second time that it has occurred.

The first time, I tried a bunch of a few recommendations like increasing the innodb buffersize but they didn't fix the problem.

Resetting the Face ID allowed me to tag quickly again (although it meant starting over) and it worked great over the next 60,000 photos.

Now the same error is back and the same lag is back.

Steps to reproduce the behavior:

I don't know how to FORCE the error to be created.

3. What behavior do you expect?

Some way to undo or stop the merge attempt. If a single failed removing merged cluster for a single subject can cause this much of a performance issue, make an undo button or better yet just automatically undo it. I don't know I'm just making up suggestions because I don't really know what the error means.

4. What could be the cause of your problem?

People have said this might be caused by Tagging the same person with a similar but different name. If that's true, great! It would be nice if Photo Prism stopped me from creating the conflict. or reverted the action once it realizes it is going to cause a conflict.

5. Can you provide us with example files for testing, error logs, or screenshots?

Here is a video I gave @lastzero when it happened the first time. https://1drv.ms/v/s!AjcUU9ZDJWosuu9yj-2Sf0U2_tD2tA?e=6r1SXm

6. Which software versions do you use?

(a) PhotoPrism Build Number: 220901-f493607b0

(b) Database Type & Version: MariaDB

(c) Operating System Types & Versions: Linux (Unraid + Docker)

Originally created by @chansearrington on GitHub (Oct 26, 2022). Under certain conditions, inconsistent face assignments cannot be automatically resolved by the background worker, which can result in an unusually high CPU load when it is running: - if you use multiple browser tabs or windows for assigning faces and don't wait until saving the changes is complete, the likelihood of this problem increases, especially if you accidentally enter different names for the same face - another possible cause is running multiple instances (for example, parallel indexing workers started by a scheduler in the background) or modifying database content directly, as this may also lead to inconsistent faces, markers and subjects Running the following command [in a terminal](https://docs.photoprism.app/getting-started/docker-compose/#command-line-interface) can resolve problems with inconsistent data: ```bash docker compose exec photoprism photoprism faces audit --fix ``` It can also be helpful to manually check for inconsistent assignments and fix them in the user interface. Alternatively, you can use the `photoprism faces reset` command for a clean start if you haven't invested much time in assigning faces yet. *Advanced users affected by this are welcome to [privately provide us](https://photoprism.app/contact) with a SQL dump of their subjects, faces, and markers database tables for debugging. Thank you very much!* --- #### 1. What is not working as documented? If there is an error of "faces: failed removing merged clusters for subject (ID)", tagging any new faces becomes incredibly slow normally 1-3 seconds, now 2-5 minutes. This behavior happens wether tagging a random photo through photo browser or a "new face" collection under People. #### 2. How can we reproduce it? I don't know how to reproduce this error, but this is the second time that it has occurred. The first time, I tried a bunch of a few recommendations like increasing the innodb buffersize but they didn't fix the problem. [Resetting the Face ID ](https://docs.photoprism.app/getting-started/updates/#face-recognition) allowed me to tag quickly again (although it meant starting over) and it worked great over the next 60,000 photos. Now the same error is back and the same lag is back. Steps to reproduce the behavior: I don't know how to FORCE the error to be created. #### 3. What behavior do you expect? Some way to undo or stop the merge attempt. If a single failed removing merged cluster for a single subject can cause this much of a performance issue, make an undo button or better yet just automatically undo it. I don't know I'm just making up suggestions because I don't really know what the error means. #### 4. What could be the cause of your problem? People have said this might be caused by Tagging the same person with a similar but different name. If that's true, great! It would be nice if Photo Prism stopped me from creating the conflict. or reverted the action once it realizes it is going to cause a conflict. #### 5. Can you provide us with example files for testing, error logs, or screenshots? Here is a video I gave @lastzero when it happened the first time. https://1drv.ms/v/s!AjcUU9ZDJWosuu9yj-2Sf0U2_tD2tA?e=6r1SXm #### 6. Which software versions do you use? (a) PhotoPrism Build Number: 220901-f493607b0 (b) Database Type & Version: MariaDB (c) Operating System Types & Versions: Linux (Unraid + Docker)
deekerman 2026-02-20 00:15:54 -05:00
Author
Owner

@chansearrington commented on GitHub (Oct 26, 2022):

Another user had a similar experience here, and the same error.... but the thread is focused on the other error of "has ambiguous subject jr1e4i93ltym0svq" versus the failed removing failed cluster.

In both of my experiences of this happening, I have never had a "has ambiguous subject jr1e4i93ltym0svq" error.

Only "failed removing merged clusters for subject" errors.

The first time was ~10 different IDs.

This time it is only one ID causing the same performance impact.

@chansearrington commented on GitHub (Oct 26, 2022): Another user had a similar experience here, and the same error.... but the thread is focused on the other error of "has ambiguous subject jr1e4i93ltym0svq" versus the failed removing failed cluster. In both of my experiences of this happening, I have never had a "has ambiguous subject jr1e4i93ltym0svq" error. Only "failed removing merged clusters for subject" errors. The first time was ~10 different IDs. This time it is only one ID causing the same performance impact.
Author
Owner

@lastzero commented on GitHub (Oct 26, 2022):

Have you discovered the "photoprism faces audit" CLI command yet and the trace log mode? There's a big chance these can give you a clue as to what is wrong. It's absolutely true that failing to remove merged clusters would lead to this kind of behavior. We could be more aggressive here, but that could lead to data loss in rare cases, for example when the user provides inconsistent assignments that don't make sense.

@lastzero commented on GitHub (Oct 26, 2022): Have you discovered the "photoprism faces audit" CLI command yet and the trace log mode? There's a big chance these can give you a clue as to what is wrong. It's absolutely true that failing to remove merged clusters would lead to this kind of behavior. We could be more aggressive here, but that could lead to data loss in rare cases, for example when the user provides inconsistent assignments that don't make sense.
Author
Owner

@chansearrington commented on GitHub (Oct 26, 2022):

@lastzero was actually waiting for it to complete. Here's the audit log

CleanShot 2022-10-26 at 21 59 47@2x

@chansearrington commented on GitHub (Oct 26, 2022): @lastzero was actually waiting for it to complete. Here's the audit log ![CleanShot 2022-10-26 at 21 59 47@2x](https://user-images.githubusercontent.com/123082/198180726-2caf75b3-d39f-43de-8878-79d6fcc0881d.png)
Author
Owner

@lastzero commented on GitHub (Oct 26, 2022):

See also: https://github.com/photoprism/photoprism/discussions/2022#discussioncomment-3977078

@lastzero commented on GitHub (Oct 26, 2022): See also: https://github.com/photoprism/photoprism/discussions/2022#discussioncomment-3977078
Author
Owner

@lastzero commented on GitHub (Oct 27, 2022):

Could it be that these faces have been marked as "hidden" in the UI? A look at the code (note the arguments of the FacesByID function!) would explain why this warning is displayed further down, and also why they could not be matched or merging might fail:

faces

It comes down to better understanding what you did and what behavior is expected. Perhaps we should still work with these hidden faces when the alternative is poor performance or other problems.

@lastzero commented on GitHub (Oct 27, 2022): Could it be that these faces have been marked as "hidden" in the UI? A look at the code (note the arguments of the FacesByID function!) would explain why this warning is displayed further down, and also why they could not be matched or merging might fail: ![faces](https://user-images.githubusercontent.com/301686/198294956-a3ceb603-ba39-49ca-85d9-e9a4d9697d74.png) It comes down to better understanding what you did and what behavior is expected. Perhaps we should still work with these hidden faces when the alternative is poor performance or other problems.
Author
Owner

@lastzero commented on GitHub (Oct 29, 2022):

We look forward to an answer to the above question so we can find out what is causing this.

@lastzero commented on GitHub (Oct 29, 2022): We look forward to an answer to the above question so we can find out what is causing this.
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Tuning in from #1598, I just ran photoprism audit --fix with the following output:

INFO[2022-11-10T15:37:30Z] PhotoPrism® needs your support!              
INFO[2022-11-10T15:37:30Z] Visit https://photoprism.app/membership to learn more. 
INFO[2022-11-10T15:37:30Z] migrate: executing pre migrations            
INFO[2022-11-10T15:37:31Z] migrate: executing main migrations           
INFO[2022-11-10T15:37:31Z] faces: found 8 subjects                      
INFO[2022-11-10T15:37:31Z] faces: found no invalid marker subjects      
INFO[2022-11-10T15:37:31Z] faces: found no invalid marker faces         
INFO[2022-11-10T15:37:37Z] faces: found no ambiguous subjects           
INFO[2022-11-10T15:37:37Z] faces: found no orphan face clusters         
INFO[2022-11-10T15:37:37Z] faces: found no orphan people                
INFO[2022-11-10T15:37:37Z] completed in 6.645229213s                    
INFO[2022-11-10T15:37:37Z] closed database connection

15 minutes later, I still see this in logs:

time="2022-11-10T15:49:33Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:34Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:34Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:35Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:36Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:36Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:38Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:39Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:39Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:39Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:40Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:41Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:42Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:42Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:43Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:43Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:44Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k"
time="2022-11-10T15:49:44Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i"
time="2022-11-10T15:49:44Z" level=info msg="faces: merged 88 clusters [11.152160011s]"
@QrchackOfficial commented on GitHub (Nov 10, 2022): Tuning in from #1598, I just ran `photoprism audit --fix` with the following output: ``` INFO[2022-11-10T15:37:30Z] PhotoPrism® needs your support! INFO[2022-11-10T15:37:30Z] Visit https://photoprism.app/membership to learn more. INFO[2022-11-10T15:37:30Z] migrate: executing pre migrations INFO[2022-11-10T15:37:31Z] migrate: executing main migrations INFO[2022-11-10T15:37:31Z] faces: found 8 subjects INFO[2022-11-10T15:37:31Z] faces: found no invalid marker subjects INFO[2022-11-10T15:37:31Z] faces: found no invalid marker faces INFO[2022-11-10T15:37:37Z] faces: found no ambiguous subjects INFO[2022-11-10T15:37:37Z] faces: found no orphan face clusters INFO[2022-11-10T15:37:37Z] faces: found no orphan people INFO[2022-11-10T15:37:37Z] completed in 6.645229213s INFO[2022-11-10T15:37:37Z] closed database connection ``` 15 minutes later, I still see this in logs: ``` time="2022-11-10T15:49:33Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:34Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:34Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:35Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:36Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:36Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:37Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:38Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:39Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:39Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:39Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:40Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:41Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:42Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:42Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:43Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:43Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:44Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k" time="2022-11-10T15:49:44Z" level=warning msg="faces: failed removing merged clusters for subject jrjcvbm24uvqe65i" time="2022-11-10T15:49:44Z" level=info msg="faces: merged 88 clusters [11.152160011s]" ```
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Alright, did you read my last comment? See question:

Could it be that these faces have been marked as "hidden" in the UI?

@lastzero commented on GitHub (Nov 10, 2022): Alright, did you read my last comment? See question: > Could it be that these faces have been marked as "hidden" in the UI?
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Also enable the debug or trace mode when you run the audit command, as it displays additional logs that can be helpful.

Edit: In every event, there should never be "88 clusters" to merge every 15 minutes. One more thing that would be good to know for debugging is what database (version) you use and if you know how we might reproduce this (what did you do?).

@lastzero commented on GitHub (Nov 10, 2022): Also enable the debug or trace mode when you run the audit command, as it displays additional logs that can be helpful. Edit: In every event, there should never be "88 clusters" to merge every 15 minutes. One more thing that would be good to know for debugging is what database (version) you use and if you know how we might reproduce this (what did you do?).
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Don't recall specifically hiding or seeing a hide button, though anything is possible as I've been fumbling my way through the software just clicking things and seeing what happens. That said I can say for sure that I:

  • went to People tab, switched to New
  • saw "No people found" every time, even after adding photos, so I clicked for "Show all new faces"
  • clicked on the photo date/camera EXIF data portion of the lower half of thumbnails (this is absurdly unintuitive btw, found it by accident)
  • typed names into the boxes for a couple dozen photos
  • pretty sure a few times I had some autocorrect typos on my phone, or just keyboard on mobile popped up and I chose the wrong person
  • I remember it locking up the UI for a second or so after saving every face
  • for fixing the mistake, if I recall correctly I pressed on the X in the box I typed into

Might have also jumped around between edit photo view and gallery/thumbnail view while doing this

@QrchackOfficial commented on GitHub (Nov 10, 2022): Don't recall specifically hiding or seeing a hide button, though anything is possible as I've been fumbling my way through the software just clicking things and seeing what happens. That said I can say for sure that I: - went to People tab, switched to New - saw "No people found" every time, even after adding photos, so I clicked for "Show all new faces" - clicked on the photo date/camera EXIF data portion of the lower half of thumbnails (this is absurdly unintuitive btw, found it by accident) - typed names into the boxes for a couple dozen photos - pretty sure a few times I had some autocorrect typos on my phone, or just keyboard on mobile popped up and I chose the wrong person - I remember it locking up the UI for a second or so after saving every face - for fixing the mistake, if I recall correctly I pressed on the X in the box I typed into Might have also jumped around between edit photo view and gallery/thumbnail view while doing this
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Also enable the debug or trace mode when you run the audit command, as it displays additional logs that can be helpful.

How do I debug/trace with a docker-compose based deploy?

Edit: In every event, there should never be "88 clusters" to merge every 15 minutes.

Agreed, and it is exactly 88 clusters, every 15 minutes and maxes disk I/O plus takes the exact same ~12 seconds - every time.

One more thing that would be good to know for debugging is what database (version) you use and if you know how we might reproduce this (what did you do?).

The docker-compose stack runs mariadb:10.9 (as copied from the install instructions on the website) with photoprism/photoprism:latest and I'm sure all images have been recently pulled as the stack has watchtower for auto-updates as well.

@QrchackOfficial commented on GitHub (Nov 10, 2022): > Also enable the debug or trace mode when you run the audit command, as it displays additional logs that can be helpful. How do I debug/trace with a docker-compose based deploy? > Edit: In every event, there should never be "88 clusters" to merge every 15 minutes. Agreed, and it is exactly 88 clusters, every 15 minutes and maxes disk I/O plus takes the exact same ~12 seconds - every time. > One more thing that would be good to know for debugging is what database (version) you use and if you know how we might reproduce this (what did you do?). The docker-compose stack runs `mariadb:10.9` (as copied from the install instructions on the website) with `photoprism/photoprism:latest` and I'm sure all images have been recently pulled as the stack has `watchtower` for auto-updates as well.
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Using different names for the same face ("typos") could cause conflict resolution issues, although we improved that a lot earlier this year.

You can enable trace mode and run commands like this: photoprism --trace command [subcommand] [--subcommand-flag] [argument]

@lastzero commented on GitHub (Nov 10, 2022): Using different names for the same face ("typos") could cause conflict resolution issues, although we improved that a lot earlier this year. You can enable trace mode and run commands like this: `photoprism --trace command [subcommand] [--subcommand-flag] [argument]`
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

See also the built-in command help: https://docs.photoprism.app/getting-started/docker-compose/#command-line-interface

@lastzero commented on GitHub (Nov 10, 2022): See also the built-in command help: https://docs.photoprism.app/getting-started/docker-compose/#command-line-interface
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

You're losing bropoints for the management script ignoring output redirection to a file, but fine - here's trace:

root@221105-jammy:/photoprism$ photoprism --trace faces audit --fix     
TRAC[2022-11-10T16:11:26Z] config: defaults file /etc/photoprism/defaults.yml does not exist 
DEBU[2022-11-10T16:11:26Z] config: overriding config with values from /photoprism/storage/config/options.yml 
DEBU[2022-11-10T16:11:26Z] config: running on 'Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz', 33 GB memory detected 
DEBU[2022-11-10T16:11:26Z] settings: loaded from /photoprism/storage/config/settings.yml 
INFO[2022-11-10T16:11:26Z] PhotoPrism® needs your support!              
INFO[2022-11-10T16:11:26Z] Visit https://photoprism.app/membership to learn more. 
DEBU[2022-11-10T16:11:26Z] config: successfully initialized [3.20584ms] 
INFO[2022-11-10T16:11:26Z] migrate: executing pre migrations            
DEBU[2022-11-10T16:11:26Z] migrate: found 2 previous migrations         
DEBU[2022-11-10T16:11:26Z] migrate: 20221015-100000 skipped             
DEBU[2022-11-10T16:11:26Z] migrate: 20221015-100100 skipped              
INFO[2022-11-10T16:11:27Z] migrate: executing main migrations           
DEBU[2022-11-10T16:11:27Z] migrate: found 21 previous migrations         
DEBU[2022-11-10T16:11:27Z] migrate: 20211121-094727 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20211124-120008 skipped              
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-030000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-040000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-050000 skipped              
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-060000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-061000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-070000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-071000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-080000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-081000 skipped              
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-083000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-090000 skipped 
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-091000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220329-093000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220421-200000 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220521-000001 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220521-000002 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220521-000003 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20220927-000100 skipped             
DEBU[2022-11-10T16:11:27Z] migrate: 20221002-000100 skipped              
TRAC[2022-11-10T16:11:27Z] migrate: errors migrated                     
TRAC[2022-11-10T16:11:27Z] migrate: files_sync migrated                  
TRAC[2022-11-10T16:11:27Z] migrate: albums migrated                     
TRAC[2022-11-10T16:11:27Z] migrate: photos_labels migrated              
TRAC[2022-11-10T16:11:27Z] migrate: photos_keywords migrated            
TRAC[2022-11-10T16:11:27Z] migrate: reactions migrated                  
TRAC[2022-11-10T16:11:27Z] migrate: countries migrated                  
TRAC[2022-11-10T16:11:27Z] migrate: keywords migrated                   
TRAC[2022-11-10T16:11:27Z] migrate: auth_users_shares migrated          
TRAC[2022-11-10T16:11:27Z] migrate: auth_sessions migrated              
TRAC[2022-11-10T16:11:27Z] migrate: passwords migrated                  
TRAC[2022-11-10T16:11:27Z] migrate: folders migrated                     
TRAC[2022-11-10T16:11:27Z] migrate: files migrated                                                    
TRAC[2022-11-10T16:11:27Z] migrate: photos migrated                                                   
TRAC[2022-11-10T16:11:27Z] migrate: places migrated                                                   
TRAC[2022-11-10T16:11:27Z] migrate: faces migrated                                                    
TRAC[2022-11-10T16:11:27Z] migrate: auth_users_settings migrated             
TRAC[2022-11-10T16:11:27Z] migrate: duplicates migrated                 
TRAC[2022-11-10T16:11:27Z] migrate: photos_albums migrated                                   
TRAC[2022-11-10T16:11:27Z] migrate: labels migrated                                                                                                                                                          
TRAC[2022-11-10T16:11:27Z] migrate: migrations migrated                                                                                                                                                      
TRAC[2022-11-10T16:11:27Z] migrate: auth_users_details migrated                          
TRAC[2022-11-10T16:11:27Z] migrate: services migrated                   
TRAC[2022-11-10T16:11:27Z] migrate: files_share migrated                          
TRAC[2022-11-10T16:11:27Z] migrate: categories migrated                 
TRAC[2022-11-10T16:11:27Z] migrate: subjects migrated                   
TRAC[2022-11-10T16:11:27Z] migrate: auth_users migrated                 
TRAC[2022-11-10T16:11:27Z] migrate: photos_users migrated               
TRAC[2022-11-10T16:11:27Z] migrate: details migrated                     
TRAC[2022-11-10T16:11:27Z] migrate: cells migrated                      
TRAC[2022-11-10T16:11:27Z] migrate: cameras migrated                     
TRAC[2022-11-10T16:11:27Z] migrate: lenses migrated                     
TRAC[2022-11-10T16:11:27Z] migrate: albums_users migrated                
TRAC[2022-11-10T16:11:27Z] migrate: links migrated                      
TRAC[2022-11-10T16:11:27Z] migrate: markers migrated                    
DEBU[2022-11-10T16:11:27Z] migrate: completed in 674.150323ms            
INFO[2022-11-10T16:11:27Z] faces: found 8 subjects                      
INFO[2022-11-10T16:11:27Z] faces: found no invalid marker subjects      
INFO[2022-11-10T16:11:27Z] faces: found no invalid marker faces         
INFO[2022-11-10T16:11:32Z] faces: found no ambiguous subjects           
INFO[2022-11-10T16:11:32Z] faces: found no orphan face clusters         
INFO[2022-11-10T16:11:32Z] faces: found no orphan people                 
INFO[2022-11-10T16:11:32Z] completed in 6.59606644s                     
INFO[2022-11-10T16:11:32Z] closed database connection

Let me know if this helps anything, or if there's anything else I can run to help. For reference, this is running on Proxmox, in a LXC with Alpine Linux installed, that has Docker installed in it, and PhotoPrism runs in that Docker environment as a docker-compose stack.

@QrchackOfficial commented on GitHub (Nov 10, 2022): You're losing bropoints for the management script ignoring output redirection to a file, but fine - here's trace: ``` root@221105-jammy:/photoprism$ photoprism --trace faces audit --fix TRAC[2022-11-10T16:11:26Z] config: defaults file /etc/photoprism/defaults.yml does not exist DEBU[2022-11-10T16:11:26Z] config: overriding config with values from /photoprism/storage/config/options.yml DEBU[2022-11-10T16:11:26Z] config: running on 'Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz', 33 GB memory detected DEBU[2022-11-10T16:11:26Z] settings: loaded from /photoprism/storage/config/settings.yml INFO[2022-11-10T16:11:26Z] PhotoPrism® needs your support! INFO[2022-11-10T16:11:26Z] Visit https://photoprism.app/membership to learn more. DEBU[2022-11-10T16:11:26Z] config: successfully initialized [3.20584ms] INFO[2022-11-10T16:11:26Z] migrate: executing pre migrations DEBU[2022-11-10T16:11:26Z] migrate: found 2 previous migrations DEBU[2022-11-10T16:11:26Z] migrate: 20221015-100000 skipped DEBU[2022-11-10T16:11:26Z] migrate: 20221015-100100 skipped INFO[2022-11-10T16:11:27Z] migrate: executing main migrations DEBU[2022-11-10T16:11:27Z] migrate: found 21 previous migrations DEBU[2022-11-10T16:11:27Z] migrate: 20211121-094727 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20211124-120008 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-030000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-040000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-050000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-060000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-061000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-070000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-071000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-080000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-081000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-083000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-090000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-091000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220329-093000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220421-200000 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220521-000001 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220521-000002 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220521-000003 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20220927-000100 skipped DEBU[2022-11-10T16:11:27Z] migrate: 20221002-000100 skipped TRAC[2022-11-10T16:11:27Z] migrate: errors migrated TRAC[2022-11-10T16:11:27Z] migrate: files_sync migrated TRAC[2022-11-10T16:11:27Z] migrate: albums migrated TRAC[2022-11-10T16:11:27Z] migrate: photos_labels migrated TRAC[2022-11-10T16:11:27Z] migrate: photos_keywords migrated TRAC[2022-11-10T16:11:27Z] migrate: reactions migrated TRAC[2022-11-10T16:11:27Z] migrate: countries migrated TRAC[2022-11-10T16:11:27Z] migrate: keywords migrated TRAC[2022-11-10T16:11:27Z] migrate: auth_users_shares migrated TRAC[2022-11-10T16:11:27Z] migrate: auth_sessions migrated TRAC[2022-11-10T16:11:27Z] migrate: passwords migrated TRAC[2022-11-10T16:11:27Z] migrate: folders migrated TRAC[2022-11-10T16:11:27Z] migrate: files migrated TRAC[2022-11-10T16:11:27Z] migrate: photos migrated TRAC[2022-11-10T16:11:27Z] migrate: places migrated TRAC[2022-11-10T16:11:27Z] migrate: faces migrated TRAC[2022-11-10T16:11:27Z] migrate: auth_users_settings migrated TRAC[2022-11-10T16:11:27Z] migrate: duplicates migrated TRAC[2022-11-10T16:11:27Z] migrate: photos_albums migrated TRAC[2022-11-10T16:11:27Z] migrate: labels migrated TRAC[2022-11-10T16:11:27Z] migrate: migrations migrated TRAC[2022-11-10T16:11:27Z] migrate: auth_users_details migrated TRAC[2022-11-10T16:11:27Z] migrate: services migrated TRAC[2022-11-10T16:11:27Z] migrate: files_share migrated TRAC[2022-11-10T16:11:27Z] migrate: categories migrated TRAC[2022-11-10T16:11:27Z] migrate: subjects migrated TRAC[2022-11-10T16:11:27Z] migrate: auth_users migrated TRAC[2022-11-10T16:11:27Z] migrate: photos_users migrated TRAC[2022-11-10T16:11:27Z] migrate: details migrated TRAC[2022-11-10T16:11:27Z] migrate: cells migrated TRAC[2022-11-10T16:11:27Z] migrate: cameras migrated TRAC[2022-11-10T16:11:27Z] migrate: lenses migrated TRAC[2022-11-10T16:11:27Z] migrate: albums_users migrated TRAC[2022-11-10T16:11:27Z] migrate: links migrated TRAC[2022-11-10T16:11:27Z] migrate: markers migrated DEBU[2022-11-10T16:11:27Z] migrate: completed in 674.150323ms INFO[2022-11-10T16:11:27Z] faces: found 8 subjects INFO[2022-11-10T16:11:27Z] faces: found no invalid marker subjects INFO[2022-11-10T16:11:27Z] faces: found no invalid marker faces INFO[2022-11-10T16:11:32Z] faces: found no ambiguous subjects INFO[2022-11-10T16:11:32Z] faces: found no orphan face clusters INFO[2022-11-10T16:11:32Z] faces: found no orphan people INFO[2022-11-10T16:11:32Z] completed in 6.59606644s INFO[2022-11-10T16:11:32Z] closed database connection ``` Let me know if this helps anything, or if there's anything else I can run to help. For reference, this is running on Proxmox, in a LXC with Alpine Linux installed, that has Docker installed in it, and PhotoPrism runs in that Docker environment as a docker-compose stack.
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

There's also the faces optimize and index subcommands you might want to try. Use the command help please, these do have descriptions including descriptions for different flags you can use.

What are "bropoints" and why do I lose them? I'm on my phone and preparing dinner right now 😋

@lastzero commented on GitHub (Nov 10, 2022): There's also the faces optimize and index subcommands you might want to try. Use the command help please, these do have descriptions including descriptions for different flags you can use. What are "bropoints" and why do I lose them? I'm on my phone and preparing dinner right now 😋
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Hah, sure will have a look around. Bropoints as in buddy/friend points, not being able to redirect to a file and copypasta straight to you (vs piecing together one screen of terminal at a time in a text editor) makes me a sad panda

@QrchackOfficial commented on GitHub (Nov 10, 2022): Hah, sure will have a look around. Bropoints as in buddy/friend points, not being able to redirect to a file and copypasta straight to you (vs piecing together one screen of terminal at a time in a text editor) makes me a sad panda
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Enjoy your meal tho! No peeking at github randoms 👀

@QrchackOfficial commented on GitHub (Nov 10, 2022): Enjoy your meal tho! No peeking at github randoms 👀
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

That's intentional, because otherwise you'll have debug logs in your SQL dump, or CSV export. This would make all our other users sad, and they wouldn't notice until they need the backup.

@lastzero commented on GitHub (Nov 10, 2022): That's intentional, because otherwise you'll have debug logs in your SQL dump, or CSV export. This would make all our other users sad, and they wouldn't notice until they need the backup.
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Database migrations all say OK. I'm getting 8 faces matched to the same person in stats.

root@221105-jammy:/photoprism$ photoprism faces stats
INFO[2022-11-10T16:23:37Z] migrate: executing pre migrations            
INFO[2022-11-10T16:23:37Z] migrate: executing main migrations           
INFO[2022-11-10T16:23:38Z] faces: computing distance of 2023 samples    
INFO[2022-11-10T16:23:41Z] faces: min Ø 0.130527 < median 0.395307 < 1.159296 
INFO[2022-11-10T16:23:41Z] faces: max Ø 1.539482 < median 1.636065 < 1.756611 
INFO[2022-11-10T16:23:41Z] faces: computing distance of faces matching to the same person 
INFO[2022-11-10T16:23:42Z] faces: 8 faces match to the same person      
INFO[2022-11-10T16:23:42Z] faces: jrjcvbj2hkua2p7k Ø min 0.000798, max 1.253921 
INFO[2022-11-10T16:23:42Z] faces: jrjcvbm24uvqe65i Ø min 0.058338, max 0.968240 
INFO[2022-11-10T16:23:42Z] faces: jrjcvfo22ij4mh1d Ø min 0.434862, max 1.213797 
INFO[2022-11-10T16:23:42Z] faces: jrjdqhzy4d7hfmiu Ø min 0.813886, max 0.813886 
INFO[2022-11-10T16:23:42Z] faces: jrjdrfx2atteb9ex Ø min 0.663006, max 0.746730 
INFO[2022-11-10T16:23:42Z] faces: jrjcv4ffauojtasv Ø min 0.451921, max 1.332812 
INFO[2022-11-10T16:23:42Z] faces: jrjcv7b3hladq4l1 Ø min 0.376884, max 1.220350 
INFO[2022-11-10T16:23:42Z] faces: jrjcvbfq24luirjt Ø min 0.362785, max 1.546963 
INFO[2022-11-10T16:23:42Z] completed in 5.186810182s                    
INFO[2022-11-10T16:23:42Z] closed database connection         

That's intentional, because otherwise you'll have debug logs in your SQL dump, or CSV export. This would make all our other users sad, and they wouldn't notice until they need the backup.

Does this mean the management script outputs SQL dumps / CSV to stdout instead of taking an output file to write to? Sounds a bit crazy...

@QrchackOfficial commented on GitHub (Nov 10, 2022): Database migrations all say OK. I'm getting 8 faces matched to the same person in stats. ``` root@221105-jammy:/photoprism$ photoprism faces stats INFO[2022-11-10T16:23:37Z] migrate: executing pre migrations INFO[2022-11-10T16:23:37Z] migrate: executing main migrations INFO[2022-11-10T16:23:38Z] faces: computing distance of 2023 samples INFO[2022-11-10T16:23:41Z] faces: min Ø 0.130527 < median 0.395307 < 1.159296 INFO[2022-11-10T16:23:41Z] faces: max Ø 1.539482 < median 1.636065 < 1.756611 INFO[2022-11-10T16:23:41Z] faces: computing distance of faces matching to the same person INFO[2022-11-10T16:23:42Z] faces: 8 faces match to the same person INFO[2022-11-10T16:23:42Z] faces: jrjcvbj2hkua2p7k Ø min 0.000798, max 1.253921 INFO[2022-11-10T16:23:42Z] faces: jrjcvbm24uvqe65i Ø min 0.058338, max 0.968240 INFO[2022-11-10T16:23:42Z] faces: jrjcvfo22ij4mh1d Ø min 0.434862, max 1.213797 INFO[2022-11-10T16:23:42Z] faces: jrjdqhzy4d7hfmiu Ø min 0.813886, max 0.813886 INFO[2022-11-10T16:23:42Z] faces: jrjdrfx2atteb9ex Ø min 0.663006, max 0.746730 INFO[2022-11-10T16:23:42Z] faces: jrjcv4ffauojtasv Ø min 0.451921, max 1.332812 INFO[2022-11-10T16:23:42Z] faces: jrjcv7b3hladq4l1 Ø min 0.376884, max 1.220350 INFO[2022-11-10T16:23:42Z] faces: jrjcvbfq24luirjt Ø min 0.362785, max 1.546963 INFO[2022-11-10T16:23:42Z] completed in 5.186810182s INFO[2022-11-10T16:23:42Z] closed database connection ``` > That's intentional, because otherwise you'll have debug logs in your SQL dump, or CSV export. This would make all our other users sad, and they wouldn't notice until they need the backup. Does this mean the management script outputs SQL dumps / CSV to stdout instead of taking an output file to write to? Sounds a bit crazy...
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Try photoprism --trace faces optimize. The backup command will output a SQL dump, for example. Since you normally use docker exec, stdout is used by default, otherwise you will have to use a temporary file in a mounted directory, which I would not recommend unless you hate yourself.

@lastzero commented on GitHub (Nov 10, 2022): Try `photoprism --trace faces optimize`. The backup command will output a SQL dump, for example. Since you normally use docker exec, stdout is used by default, otherwise you will have to use a temporary file in a mounted directory, which I would not recommend unless you hate yourself.
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

If you want to know details about the backup command, please check the command help :)

@lastzero commented on GitHub (Nov 10, 2022): If you want to know details about the backup command, please check the command help :)
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Also, if you're nice, I might eventually show you how to pipe the logs to a file.

@lastzero commented on GitHub (Nov 10, 2022): Also, if you're nice, I might eventually show you how to pipe the logs to a file.
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Hmm. Full on faces index also failed:

[...]
WARN[2022-11-10T16:45:42Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:42Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:43Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:43Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:44Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:44Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:45Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:45Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:46Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:46Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:47Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:48Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:48Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:48Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:49Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:50Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:51Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:51Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:51Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:52Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
WARN[2022-11-10T16:45:53Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
WARN[2022-11-10T16:45:53Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
INFO[2022-11-10T16:45:53Z] faces: merged 88 clusters [11.734218074s]    
INFO[2022-11-10T16:45:56Z] indexed 8,642 files in 21m2.487376532s       
INFO[2022-11-10T16:45:56Z] closed database connection 
@QrchackOfficial commented on GitHub (Nov 10, 2022): Hmm. Full on `faces index` also failed: ``` [...] WARN[2022-11-10T16:45:42Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:42Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:43Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:43Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:44Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:44Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:45Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:45Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:46Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:46Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:47Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:48Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:48Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:48Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:49Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:50Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:51Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:51Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:51Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:52Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i WARN[2022-11-10T16:45:53Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k WARN[2022-11-10T16:45:53Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i INFO[2022-11-10T16:45:53Z] faces: merged 88 clusters [11.734218074s] INFO[2022-11-10T16:45:56Z] indexed 8,642 files in 21m2.487376532s INFO[2022-11-10T16:45:56Z] closed database connection ```
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

OK, so we know as much as before. Thanks for trying though! 👍

@lastzero commented on GitHub (Nov 10, 2022): OK, so we know as much as before. Thanks for trying though! 👍
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

I tried the faces optimize though and it seems to say more:

DEBU[2022-11-10T16:50:01Z] migrate: completed in 772.315762ms                                                                                                                                       [37/1841]
DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849                                                    
DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948                                                    
DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611                                                    
DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:02Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k                                                                                                               
DEBU[2022-11-10T16:50:02Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338                                                
DEBU[2022-11-10T16:50:02Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338                                                
WARN[2022-11-10T16:50:03Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i                                                                                                               
DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849                                                    
DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948                                                    
DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611                                                    
DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:03Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k                                                                                                               
DEBU[2022-11-10T16:50:03Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338                                                
DEBU[2022-11-10T16:50:03Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338                                                
WARN[2022-11-10T16:50:04Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i                                                                                                               
DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849                                                    
DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948                                                    
DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611                                                    
DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:05Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k                                                                                                               
DEBU[2022-11-10T16:50:05Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338                                                
DEBU[2022-11-10T16:50:05Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338                                                
WARN[2022-11-10T16:50:05Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i                                                                                                               
DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849     
DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948                                                    
DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611                                                    
DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:06Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k                                                                                                               
DEBU[2022-11-10T16:50:06Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 
DEBU[2022-11-10T16:50:06Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 
WARN[2022-11-10T16:50:06Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i                                                                                                               
DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849     
DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948     
DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611                                                    
DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:07Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k                                                                                                               
DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338                                                
DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 
WARN[2022-11-10T16:50:07Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 
DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 
DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 
DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:07Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 
DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 
WARN[2022-11-10T16:50:08Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i 
DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 
DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 
DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 
DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 
WARN[2022-11-10T16:50:08Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k 
@QrchackOfficial commented on GitHub (Nov 10, 2022): I tried the `faces optimize` though and it seems to say more: ``` DEBU[2022-11-10T16:50:01Z] migrate: completed in 772.315762ms [37/1841] DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:01Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:02Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k DEBU[2022-11-10T16:50:02Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 DEBU[2022-11-10T16:50:02Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 WARN[2022-11-10T16:50:03Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:03Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:03Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k DEBU[2022-11-10T16:50:03Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 DEBU[2022-11-10T16:50:03Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 WARN[2022-11-10T16:50:04Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:04Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:05Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k DEBU[2022-11-10T16:50:05Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 DEBU[2022-11-10T16:50:05Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 WARN[2022-11-10T16:50:05Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:05Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:06Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k DEBU[2022-11-10T16:50:06Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 DEBU[2022-11-10T16:50:06Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 WARN[2022-11-10T16:50:06Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:06Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:07Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 WARN[2022-11-10T16:50:07Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:07Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:07Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with ROPJIYOPDY53UJLNNVLQCJ27JVRIUMRN, subject '[REDACTED NAME 2]', dist 0.058338 DEBU[2022-11-10T16:50:07Z] faces: can merge Q6KDB4NTEQL5LIW5HTDUO4K4VYZGVKPC with KG5BBRSTZBPUPCYC6IA236KPRZLDMYC3, subject '[REDACTED NAME 2]', dist 0.058338 WARN[2022-11-10T16:50:08Z] faces: failed removing merged clusters for subject jrjcvbm24uvqe65i DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with DFT4MR7T6XHJH33SU2XGLSECYEYDMAN5, subject '[REDACTED NAME 1]', dist 0.063849 DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with FWR3MXGZBG5AHUD4V4QF33X2XRCDE54F, subject '[REDACTED NAME 1]', dist 0.045948 DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with M2KG3Z5ANA24XDCI25GUBXFDGQMITLTN, subject '[REDACTED NAME 1]', dist 0.043611 DEBU[2022-11-10T16:50:08Z] faces: can merge EAYZDSS72XVMMHK6CCDTVJMYJTGBYYSC with SVDGKIZ6JGVRZNVUDW4TQDUZAGF7M2NA, subject '[REDACTED NAME 1]', dist 0.064647 WARN[2022-11-10T16:50:08Z] faces: failed removing merged clusters for subject jrjcvbj2hkua2p7k ```
Author
Owner

@QrchackOfficial commented on GitHub (Nov 10, 2022):

Seems like it's failing on 2 people specifically, and I presume this means they have what PhotoPrism thinks are multiple different faces, assigned to the same person. This would be for things like with/without sunglasses, in poor lighting etc.

@QrchackOfficial commented on GitHub (Nov 10, 2022): Seems like it's failing on 2 people specifically, and I presume this means they have what PhotoPrism thinks are multiple different faces, assigned to the same person. This would be for things like with/without sunglasses, in poor lighting etc.
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Note you can use the "photoprism faces reset" command for a clean start without these warnings. Of course not an option if you already put a lot of time in labeling faces.

@lastzero commented on GitHub (Nov 10, 2022): Note you can use the "photoprism faces reset" command for a clean start without these warnings. Of course not an option if you already put a lot of time in labeling faces.
Author
Owner

@lastzero commented on GitHub (Nov 10, 2022):

Multiple faces for the same person are OK. The same face belonging to different people is what MAY cause conflicts, which could not always be resolved as they should. That makes it difficult to reproduce as most users never have such issues.

@lastzero commented on GitHub (Nov 10, 2022): Multiple faces for the same person are OK. The same face belonging to different people is what MAY cause conflicts, which could not always be resolved as they should. That makes it difficult to reproduce as most users never have such issues.
Author
Owner

@ER-EPR commented on GitHub (Nov 12, 2022):

I have the same issue, which has tortured me for a month. I have labeled hundreds of photos already, I can't just reset all and start again. Can you display the file and the person that is causing the problem instead of a random serial number. And provide a command to reset the label on that file or person.

@ER-EPR commented on GitHub (Nov 12, 2022): I have the same issue, which has tortured me for a month. I have labeled hundreds of photos already, I can't just reset all and start again. Can you display the file and the person that is causing the problem instead of a random serial number. And provide a command to reset the label on that file or person.
Author
Owner

@ER-EPR commented on GitHub (Nov 12, 2022):

I have used every index/face related command, including ones from above comments, but the log keeps showing:

2022-11-12 20:28:34 INFO faces: merged 99 clusters [23.948163444s]
2022-11-12 20:28:34 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:34 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:33 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:32 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:31 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:31 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:30 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:29 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:29 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:28 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:27 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:26 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:26 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:25 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:24 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:23 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:23 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:22 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:21 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:21 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:20 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:19 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:18 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:18 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:17 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:16 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:16 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:15 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:14 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:13 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:28:13 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:28:12 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:28:11 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu

2022-11-12 20:13:34 INFO faces: merged 99 clusters [23.819441976s]
2022-11-12 20:13:34 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:33 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:32 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:32 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:31 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:30 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:30 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:29 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:28 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:27 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:27 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:26 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:25 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:25 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:24 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:23 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:22 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:22 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:21 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:20 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:19 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:19 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:18 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:17 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:17 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:16 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:15 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:14 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:14 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:13 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu
2022-11-12 20:13:12 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 20:13:12 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
2022-11-12 20:13:11 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu

2022-11-12 19:58:35 INFO faces: merged 99 clusters [23.871609956s]
2022-11-12 19:58:35 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz
2022-11-12 19:58:34 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
...

@ER-EPR commented on GitHub (Nov 12, 2022): I have used every index/face related command, including ones from above comments, but the log keeps showing: ``` 2022-11-12 20:28:34 INFO faces: merged 99 clusters [23.948163444s] 2022-11-12 20:28:34 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:34 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:33 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:32 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:31 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:31 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:30 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:29 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:29 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:28 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:27 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:26 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:26 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:25 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:24 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:23 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:23 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:22 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:21 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:21 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:20 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:19 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:18 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:18 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:17 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:16 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:16 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:15 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:14 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:13 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:28:13 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:28:12 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:28:11 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:34 INFO faces: merged 99 clusters [23.819441976s] 2022-11-12 20:13:34 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:33 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:32 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:32 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:31 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:30 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:30 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:29 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:28 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:27 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:27 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:26 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:25 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:25 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:24 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:23 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:22 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:22 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:21 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:20 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:19 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:19 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:18 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:17 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:17 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:16 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:15 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:14 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:14 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:13 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 20:13:12 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 20:13:12 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc 2022-11-12 20:13:11 WARN faces: failed removing merged clusters for subject jrkswmaf2wasphnu 2022-11-12 19:58:35 INFO faces: merged 99 clusters [23.871609956s] 2022-11-12 19:58:35 WARN faces: failed removing merged clusters for subject jrktnjotbfcdp7qz 2022-11-12 19:58:34 WARN faces: failed removing merged clusters for subject jrkt1u9mid82s8uc ... ```
Author
Owner

@ER-EPR commented on GitHub (Nov 12, 2022):

docker exec -it photoprism photoprism faces audit -f
shows:

INFO[2022-11-12T11:47:46Z] migrate: executing pre migrations
INFO[2022-11-12T11:47:46Z] migrate: executing main migrations
INFO[2022-11-12T11:47:46Z] faces: found 173 subjects
INFO[2022-11-12T11:47:46Z] faces: found no invalid marker subjects
INFO[2022-11-12T11:47:46Z] faces: found no invalid marker faces
INFO[2022-11-12T11:52:35Z] faces: found no ambiguous subjects
INFO[2022-11-12T11:52:35Z] faces: marker mrksd71ssfe98e0k with unknown subject (manual) conflicts with face 6AI5WBTB44BKYCU3IKPKW6SXVA6ODVOH (auto) of subject XXX (jrf5k1o7bgo3j9gp)
WARN[2022-11-12T11:52:35Z] faces: marker mrjbjes3jl46cb33 has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3z3ms9m8i7i has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3r37nang8kw has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd4n11316s5za has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3utqs80hw6o has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3w3s15qe9rb has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3s29b4r1vbr has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3v2ju7ueb0n has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdb62n47zalcp has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbd1gg8wrt9b has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrksa4y31tcrkb7a with unknown subject (manual) conflicts with face PMP3BE7M5W2LQQUDD6X42NEC63DE3DWS (auto) of subject YYY (jrkt27r33aldkzpl)
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbs2sxauv62b has invalid face QK7TCLJDKJJBMIHA63M72C6TV7VGZECB of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrksah51uuyxssls with unknown subject (manual) conflicts with face QSNPU46UICEUMAOEQHRR5FT7T4CQBJVW (auto) of subject ZZ (jrkt3342jky02x68)
WARN[2022-11-12T11:52:35Z] faces: marker mrksah91r7p0fw1c has invalid face RESPQ4JW7FIPFFZDEGOL4GYJEVQT7LMI of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrkscz71k9jymjp0 with unknown subject (manual) conflicts with face ROPWLBNDHMGERHWMTA6B4XMZQ5LQ5BPZ (auto) of subject AAA (jrkt1vk3or92jzez)
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbr3hdd4y5zr has invalid face S7GPXULHL73FCJH77OW6ZQMLIP3ZML65 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdba1osp9qrev has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbaydxgwrne0 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbb3epk4eox3 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbcr9jv87bpr has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd462pvt4rxvc has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd4l2jv75kwqv has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrksas935f7fsd8y with unknown subject (manual) conflicts with face YEFOQYDEHWK2I54IO6ACQJNPMN5ZA4BH (auto) of subject BB (jrkt3bd6yu5wqesa)
INFO[2022-11-12T11:52:35Z] faces: found no orphan face clusters
INFO[2022-11-12T11:52:35Z] faces: found no orphan people
INFO[2022-11-12T11:52:35Z] completed in 4m49.406283062s
INFO[2022-11-12T11:52:35Z] closed database connection
@ER-EPR commented on GitHub (Nov 12, 2022): docker exec -it photoprism photoprism faces audit -f shows: ``` INFO[2022-11-12T11:47:46Z] migrate: executing pre migrations INFO[2022-11-12T11:47:46Z] migrate: executing main migrations INFO[2022-11-12T11:47:46Z] faces: found 173 subjects INFO[2022-11-12T11:47:46Z] faces: found no invalid marker subjects INFO[2022-11-12T11:47:46Z] faces: found no invalid marker faces INFO[2022-11-12T11:52:35Z] faces: found no ambiguous subjects INFO[2022-11-12T11:52:35Z] faces: marker mrksd71ssfe98e0k with unknown subject (manual) conflicts with face 6AI5WBTB44BKYCU3IKPKW6SXVA6ODVOH (auto) of subject XXX (jrf5k1o7bgo3j9gp) WARN[2022-11-12T11:52:35Z] faces: marker mrjbjes3jl46cb33 has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd3z3ms9m8i7i has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd3r37nang8kw has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd4n11316s5za has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd3utqs80hw6o has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd3w3s15qe9rb has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd3s29b4r1vbr has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd3v2ju7ueb0n has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksdb62n47zalcp has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksdbd1gg8wrt9b has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () INFO[2022-11-12T11:52:35Z] faces: marker mrksa4y31tcrkb7a with unknown subject (manual) conflicts with face PMP3BE7M5W2LQQUDD6X42NEC63DE3DWS (auto) of subject YYY (jrkt27r33aldkzpl) WARN[2022-11-12T11:52:35Z] faces: marker mrksdbs2sxauv62b has invalid face QK7TCLJDKJJBMIHA63M72C6TV7VGZECB of subject <unknown> () INFO[2022-11-12T11:52:35Z] faces: marker mrksah51uuyxssls with unknown subject (manual) conflicts with face QSNPU46UICEUMAOEQHRR5FT7T4CQBJVW (auto) of subject ZZ (jrkt3342jky02x68) WARN[2022-11-12T11:52:35Z] faces: marker mrksah91r7p0fw1c has invalid face RESPQ4JW7FIPFFZDEGOL4GYJEVQT7LMI of subject <unknown> () INFO[2022-11-12T11:52:35Z] faces: marker mrkscz71k9jymjp0 with unknown subject (manual) conflicts with face ROPWLBNDHMGERHWMTA6B4XMZQ5LQ5BPZ (auto) of subject AAA (jrkt1vk3or92jzez) WARN[2022-11-12T11:52:35Z] faces: marker mrksdbr3hdd4y5zr has invalid face S7GPXULHL73FCJH77OW6ZQMLIP3ZML65 of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksdba1osp9qrev has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksdbaydxgwrne0 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksdbb3epk4eox3 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksdbcr9jv87bpr has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd462pvt4rxvc has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> () WARN[2022-11-12T11:52:35Z] faces: marker mrksd4l2jv75kwqv has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> () INFO[2022-11-12T11:52:35Z] faces: marker mrksas935f7fsd8y with unknown subject (manual) conflicts with face YEFOQYDEHWK2I54IO6ACQJNPMN5ZA4BH (auto) of subject BB (jrkt3bd6yu5wqesa) INFO[2022-11-12T11:52:35Z] faces: found no orphan face clusters INFO[2022-11-12T11:52:35Z] faces: found no orphan people INFO[2022-11-12T11:52:35Z] completed in 4m49.406283062s INFO[2022-11-12T11:52:35Z] closed database connection ```
Author
Owner

@lastzero commented on GitHub (Nov 12, 2022):

If you know a little SQL you can check the subjects, faces and markers tables for the related records. As I said earlier, there's probably something inconsistent or missing. Like when you have hidden face clusters that have already been matched to a subject. Or used different names for the same face cluster. I can just guess, which takes months without your help.

@lastzero commented on GitHub (Nov 12, 2022): If you know a little SQL you can check the subjects, faces and markers tables for the related records. As I said earlier, there's probably something inconsistent or missing. Like when you have hidden face clusters that have already been matched to a subject. Or used different names for the same face cluster. I can just guess, which takes months without your help.
Author
Owner

@lastzero commented on GitHub (Nov 12, 2022):

Also make sure to run the commands with --trace or --debug as that may show more information if needed.

@lastzero commented on GitHub (Nov 12, 2022): Also make sure to run the commands with --trace or --debug as that may show more information if needed.
Author
Owner

@ER-EPR commented on GitHub (Nov 12, 2022):

If you know a little SQL you can check the subjects, faces and markers tables for the related records. As I said earlier, there's probably something inconsistent or missing. Like when you have hidden face clusters that have already been matched to a subject. Or used different names for the same face cluster. I can just guess, which takes months without your help.

I know the basics, but I am not a SQL expert. Most of all, I don't know what to look for. Would you please provide a query / an example SQL command for me?

@ER-EPR commented on GitHub (Nov 12, 2022): > If you know a little SQL you can check the subjects, faces and markers tables for the related records. As I said earlier, there's probably something inconsistent or missing. Like when you have hidden face clusters that have already been matched to a subject. Or used different names for the same face cluster. I can just guess, which takes months without your help. I know the basics, but I am not a SQL expert. Most of all, I don't know what to look for. Would you please provide a query / an example SQL command for me?
Author
Owner

@lastzero commented on GitHub (Nov 12, 2022):

You would find the names for the subject UIDs, so you can look those people in the UI and fix issues if needed. The UID is in the subject_uid colum, and the name in the subject_name column of the subjects table. "Select * from subjects" would be the query.

@lastzero commented on GitHub (Nov 12, 2022): You would find the names for the subject UIDs, so you can look those people in the UI and fix issues if needed. The UID is in the subject_uid colum, and the name in the subject_name column of the subjects table. "Select * from subjects" would be the query.
Author
Owner

@ER-EPR commented on GitHub (Nov 12, 2022):

OK, I have found those names. But I can't see anything unusual. What should I do next?

MariaDB [photoprism]> select * from subjects where subj_uid = 'jrktnjotbfcdp7qz' or subj_uid = 'jrkt1u9mid82s8uc' or subj_uid = 'jrkswmaf2wasphnu';
+------------------+-----------+----------+-------------+-----------+------------+----------+------------+---------------+-------------+--------------+---------------+------------+-------------+-------------------------------------------------------+-----------+---------------+---------------------+---------------------+------------+
| subj_uid         | subj_type | subj_src | subj_slug   | subj_name | subj_alias | subj_bio | subj_notes | subj_favorite | subj_hidden | subj_private | subj_excluded | file_count | photo_count | thumb                                                 | thumb_src | metadata_json | created_at          | updated_at          | deleted_at |
+------------------+-----------+----------+-------------+-----------+------------+----------+------------+---------------+-------------+--------------+---------------+------------+-------------+-------------------------------------------------------+-----------+---------------+---------------------+---------------------+------------+
| jrkswmaf2wasphnu | person    | manual   | AAAA     | AAAA      |            |          |            |             0 |           0 |            0 |             0 |         47 |          47 | 1d34a1c197d980fe37315618647e1de8f373abf5-0aa06d25e1c6 |           | NULL          | 2022-11-04 02:08:34 | 2022-11-04 02:08:34 | NULL       |
| jrkt1u9mid82s8uc | person    | manual   | BBBB     | BBBB      |            |          |            |             0 |           0 |            0 |             0 |         59 |          59 | 8a2d81e6b9e29a0df096d417639557360f76d969-1270dc0980cb |           | NULL          | 2022-11-04 04:01:21 | 2022-11-04 04:01:21 | NULL       |
| jrktnjotbfcdp7qz | person    | manual   | CCCC     | CCCC      |            |          |            |             0 |           0 |            0 |             0 |         12 |          12 | 6b78f3c1cf740c35961905735965616a4a03deb5-17a13e06a0bc |           | NULL          | 2022-11-04 11:50:12 | 2022-11-04 11:50:12 | NULL       |
+------------------+-----------+----------+-------------+-----------+------------+----------+------------+---------------+-------------+--------------+---------------+------------+-------------+-------------------------------------------------------+-----------+---------------+---------------------+---------------------+------------+
3 rows in set (0.001 sec)
@ER-EPR commented on GitHub (Nov 12, 2022): OK, I have found those names. But I can't see anything unusual. What should I do next? ``` MariaDB [photoprism]> select * from subjects where subj_uid = 'jrktnjotbfcdp7qz' or subj_uid = 'jrkt1u9mid82s8uc' or subj_uid = 'jrkswmaf2wasphnu'; +------------------+-----------+----------+-------------+-----------+------------+----------+------------+---------------+-------------+--------------+---------------+------------+-------------+-------------------------------------------------------+-----------+---------------+---------------------+---------------------+------------+ | subj_uid | subj_type | subj_src | subj_slug | subj_name | subj_alias | subj_bio | subj_notes | subj_favorite | subj_hidden | subj_private | subj_excluded | file_count | photo_count | thumb | thumb_src | metadata_json | created_at | updated_at | deleted_at | +------------------+-----------+----------+-------------+-----------+------------+----------+------------+---------------+-------------+--------------+---------------+------------+-------------+-------------------------------------------------------+-----------+---------------+---------------------+---------------------+------------+ | jrkswmaf2wasphnu | person | manual | AAAA | AAAA | | | | 0 | 0 | 0 | 0 | 47 | 47 | 1d34a1c197d980fe37315618647e1de8f373abf5-0aa06d25e1c6 | | NULL | 2022-11-04 02:08:34 | 2022-11-04 02:08:34 | NULL | | jrkt1u9mid82s8uc | person | manual | BBBB | BBBB | | | | 0 | 0 | 0 | 0 | 59 | 59 | 8a2d81e6b9e29a0df096d417639557360f76d969-1270dc0980cb | | NULL | 2022-11-04 04:01:21 | 2022-11-04 04:01:21 | NULL | | jrktnjotbfcdp7qz | person | manual | CCCC | CCCC | | | | 0 | 0 | 0 | 0 | 12 | 12 | 6b78f3c1cf740c35961905735965616a4a03deb5-17a13e06a0bc | | NULL | 2022-11-04 11:50:12 | 2022-11-04 11:50:12 | NULL | +------------------+-----------+----------+-------------+-----------+------------+----------+------------+---------------+-------------+--------------+---------------+------------+-------------+-------------------------------------------------------+-----------+---------------+---------------------+---------------------+------------+ 3 rows in set (0.001 sec) ```
Author
Owner

@ER-EPR commented on GitHub (Nov 12, 2022):

I maybe found the solution. I found 3 out-of-focus image of the third person, and un-label them. And init face update, the third subject warning disappeared. I try the same thing with the first two, but it did not work.

WARN[2022-11-13T03:47:21Z] faces: failed removing merged clusters for subject jrkt1u9mid82s8uc
DEBU[2022-11-13T03:47:21Z] faces: can merge LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT with WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH, subject AAAA, dist 0.238425
WARN[2022-11-13T03:47:22Z] faces: failed removing merged clusters for subject jrkswmaf2wasphnu
DEBU[2022-11-13T03:47:22Z] faces: can merge LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S with DVYDUDXQHMLBKTTMMQQIMJPW5SUIDB4N, subject BBBB, dist 0.082132
DEBU[2022-11-13T03:47:22Z] faces: can merge LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S with RY7KHOR3EVGDTRUF6VMLOLWQIJD5ODE2, subject BBBB, dist 0.006318
DEBU[2022-11-13T03:47:22Z] faces: can merge LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S with SDFJCXAPT2YDYRDNKPX4RKWGK245NYGV, subject BBBB, dist 0.025271

Where can I look up these IDs
SDFJCXAPT2YDYRDNKPX4RKWGK245NYGV
LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT
LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S

Are they image file IDs?

@ER-EPR commented on GitHub (Nov 12, 2022): I maybe found the solution. I found 3 out-of-focus image of the third person, and un-label them. And init face update, the third subject warning disappeared. I try the same thing with the first two, but it did not work. ``` WARN[2022-11-13T03:47:21Z] faces: failed removing merged clusters for subject jrkt1u9mid82s8uc DEBU[2022-11-13T03:47:21Z] faces: can merge LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT with WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH, subject AAAA, dist 0.238425 WARN[2022-11-13T03:47:22Z] faces: failed removing merged clusters for subject jrkswmaf2wasphnu DEBU[2022-11-13T03:47:22Z] faces: can merge LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S with DVYDUDXQHMLBKTTMMQQIMJPW5SUIDB4N, subject BBBB, dist 0.082132 DEBU[2022-11-13T03:47:22Z] faces: can merge LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S with RY7KHOR3EVGDTRUF6VMLOLWQIJD5ODE2, subject BBBB, dist 0.006318 DEBU[2022-11-13T03:47:22Z] faces: can merge LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S with SDFJCXAPT2YDYRDNKPX4RKWGK245NYGV, subject BBBB, dist 0.025271 ``` Where can I look up these IDs SDFJCXAPT2YDYRDNKPX4RKWGK245NYGV LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT LUFXBOJB7VBJJVVFJA7THXD5YN2LGT7S Are they image file IDs?
Author
Owner

@lastzero commented on GitHub (Nov 12, 2022):

faces table and markers table. These are face IDs.

@lastzero commented on GitHub (Nov 12, 2022): faces table and markers table. These are face IDs.
Author
Owner

@ER-EPR commented on GitHub (Nov 13, 2022):

from makers and files table, I found the file names. I untag all those files, the second person's warning disappear. But still the first warning stays.
Can you add a new web UI for conflict resolve, to review those image and untag them all? At least you could integrate those info in the debug log in the future.

MariaDB [photoprism]> select files.file_name from files where file_uid in (select markers.file_uid from markers where face_id = 'WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH' or  face_id = 'DVYDUDXQHMLBKTTMMQQIMJPW5SUIDB4N' or face_id = 'RY7KHOR3EVGDTRUF6VMLOLWQIJD5ODE2' or face_id = 'SDFJCXAPT2YDYRDNKPX4RKWGK245NYGV');
+-------------------------------------------------------------------+
| file_name                                                         |
+-------------------------------------------------------------------+
| 存档/1MyStory/2005毕业了/2006_02_11/P2110014.JPG                  |
| 存档/1MyStory/2009.5.23长春聚会/照片 040.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 062.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 118.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 162.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 172.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 186.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 210.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 063.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 115.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 121.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 122.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 160.jpg                      |
| 存档/1MyStory/2005毕业了/2006_02_11/P2110008.JPG                  |
| 存档/1MyStory/2005毕业了/2006_02_11/P2110012.JPG                  |
| 存档/1MyStory/2005毕业了/2006_02_11/P2110027.JPG                  |
| 存档/1MyStory/2006堡石图 -- 卧虎 -- 郑家屯/P8190103.JPG           |
| 存档/1MyStory/2006堡石图 -- 卧虎 -- 郑家屯/P8190102.JPG           |
| 存档/1MyStory/2008冬-聚会/DSC00102s.jpg                           |
| 存档/1MyStory/2009.5.23长春聚会/照片 014.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 019.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 021.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 026.jpg                      |
| 存档/1MyStory/2009.5.23春聚会/照片 027.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 028.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 029.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 055.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 056.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 057.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 065.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 064.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 092.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 102.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 101.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 103.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 105.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 113.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 114.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 125.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 126.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 136.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 153.jpg                      |
| 存档/1MyStory/2009.5.23长春聚会/照片 211.jpg                      |
| 存档/1MyStory/2010.2.11聚会/DSC00699.JPG                          |
| 存档/1MyStory/2010.2.11聚会/DSC00748.JPG                          |
| 存档/1MyStory/2009.5.23长春聚会/照片 185.jpg                      |
+-------------------------------------------------------------------+
46 rows in set (0.001 sec)

Now the face update log still show warnnings for the two people. I looked up the faces in the database, and found out they don't even have a marker. Or maybe it's an empty/NULL marker? Is it possible this is the problem?

MariaDB [photoprism]> select marker_uid,file_uid,marker_type ,marker_src ,marker_name ,marker_review ,marker_invalid ,subj_uid,subj_src ,face_id,face_dist,landmarks_json ,x,y,w,h,q,size ,score ,matched_at,created_at,updated_at from markers where (face_id = 'LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT' or face_id = '6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G' or face_id ='WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH');
+------------------+------------------+-------------+------------+-------------+---------------+----------------+------------------+----------+----------------------------------+---------------------+----------------+----------+-----------+-----------+-----------+------+------+-------+---------------------+---------------------+---------------------+
| marker_uid       | file_uid         | marker_type | marker_src | marker_name | marker_review | marker_invalid | subj_uid         | subj_src | face_id                          | face_dist           | landmarks_json | x        | y         | w         | h         | q    | size | score | matched_at          | created_at          | updated_at          |
+------------------+------------------+-------------+------------+-------------+---------------+----------------+------------------+----------+----------------------------------+---------------------+----------------+----------+-----------+-----------+-----------+------+------+-------+---------------------+---------------------+---------------------+
| mrks9wh26zscfg32 | frks9wh37gkwymk3 | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.38068907637115856 |                | 0.346875 |   0.20625 |  0.210938 |   0.28125 |  189 |  270 |    28 | 2022-11-13 06:37:43 | 2022-11-03 17:57:53 | 2022-11-13 06:37:31 |
| mrks9wh3b5tyas72 | frks9wh1jrzvgk0f | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G |  0.2140493624787018 |                | 0.461719 |  0.242708 |  0.253906 |  0.338542 |  398 |  325 |   125 | 2022-11-13 06:37:43 | 2022-11-03 17:57:53 | 2022-11-13 06:37:31 |
| mrks9wi1txkjg6gc | frks9wi2djqpbmtg | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.20730506848745184 |                | 0.355469 |  0.351042 |  0.132031 |  0.176042 |  113 |  169 |   164 | 2022-11-13 06:37:43 | 2022-11-03 17:57:54 | 2022-11-13 06:37:31 |
| mrks9wj19u2vmvf8 | frks9wj18bgr42kr | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.44520249660306005 |                | 0.403125 |  0.434375 | 0.0828125 |  0.110417 |   48 |  106 |   246 | 2022-11-13 06:37:43 | 2022-11-03 17:57:55 | 2022-11-13 06:37:31 |
| mrks9wj229zcmkng | frks9wjxsgmmfoe2 | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G |  0.4142914174392127 |                | 0.421094 |  0.389583 |  0.104687 |  0.139583 |   61 |  134 |    81 | 2022-11-13 06:37:43 | 2022-11-03 17:57:55 | 2022-11-13 06:37:31 |
| mrks9y01bavdkv8m | frks9y01iwc8ky6y | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G |  0.4667300847761112 |                | 0.296094 |  0.308333 |    0.1625 |  0.216667 |  166 |  208 |   139 | 2022-11-13 06:37:43 | 2022-11-03 17:58:48 | 2022-11-13 06:37:31 |
| mrksadu2uzpyg4lj | frksadukx5imd8oy | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G |  0.5882863713276977 |                | 0.727344 |  0.446875 | 0.0429688 | 0.0572917 |   10 |   55 |    81 | 2022-11-13 06:37:43 | 2022-11-03 18:08:18 | 2022-11-13 06:37:31 |
| mrksdkv263bt1o9t | frksdkv2047fdy33 | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G |  0.5404862201034469 |                | 0.170833 |  0.109375 |   0.60625 |  0.454688 |  812 |  291 |   100 | 2022-11-13 06:37:43 | 2022-11-03 19:17:19 | 2022-11-13 06:37:31 |
| mrksa0h3mae08wgb | frksa0h35k3v2ckb | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT |  0.5921647591949672 |                |  0.58125 |  0.347917 | 0.0710938 | 0.0947917 |   30 |   91 |   105 | 2022-11-13 06:37:32 | 2022-11-03 18:00:17 | 2022-11-05 09:16:04 |
| mrksa0m1b7bs4hri | frksa0m21bc759p5 | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT |  0.6065599977965848 |                | 0.282813 |  0.367708 | 0.0992187 |  0.132292 |   71 |  127 |   282 | 2022-11-13 06:37:32 | 2022-11-03 18:00:22 | 2022-11-05 09:16:04 |
| mrksacfy30k6m2n9 | frksacf2sdoz6pil | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT |  0.6010230937055442 |                | 0.909375 |  0.267708 | 0.0851562 |  0.113542 |   30 |  109 |    26 | 2022-11-13 06:37:35 | 2022-11-03 18:07:27 | 2022-11-05 09:16:04 |
| mrksacl1p5bs7psl | frksacl1wi0g2xzp | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT |  0.5909936112962262 |                |  0.40625 |  0.476042 | 0.0460938 | 0.0614583 |   13 |   59 |   135 | 2022-11-13 06:37:35 | 2022-11-03 18:07:33 | 2022-11-05 09:16:04 |
| mrksacs2268ghmdg | frksacs1vndjn9xs | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT |  0.5749205519377576 |                | 0.432813 |  0.372917 | 0.0835937 |  0.111458 |   38 |  107 |    76 | 2022-11-13 06:37:35 | 2022-11-03 18:07:40 | 2022-11-05 09:16:04 |
| mrksaep3ra2ba221 | frksaep31w0tpjd6 | face        | image      |             |             0 |              0 | jrkswmaf2wasphnu |          | WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH |  0.6259586609480874 |                | 0.624219 | 0.0854167 | 0.0890625 |   0.11875 |   44 |  114 |    79 | 2022-11-13 06:37:35 | 2022-11-03 18:08:49 | 2022-11-05 09:16:03 |
+------------------+------------------+-------------+------------+-------------+---------------+----------------+------------------+----------+----------------------------------+---------------------+----------------+----------+-----------+-----------+-----------+------+------+-------+---------------------+---------------------+---------------------+

How can I clear those markers/tags without a marker/tag…………?It's really weird. I mean the marker_name column is empty.

@ER-EPR commented on GitHub (Nov 13, 2022): from makers and files table, I found the file names. I untag all those files, the second person's warning disappear. But still the first warning stays. Can you add a new web UI for conflict resolve, to review those image and untag them all? At least you could integrate those info in the debug log in the future. ``` MariaDB [photoprism]> select files.file_name from files where file_uid in (select markers.file_uid from markers where face_id = 'WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH' or face_id = 'DVYDUDXQHMLBKTTMMQQIMJPW5SUIDB4N' or face_id = 'RY7KHOR3EVGDTRUF6VMLOLWQIJD5ODE2' or face_id = 'SDFJCXAPT2YDYRDNKPX4RKWGK245NYGV'); +-------------------------------------------------------------------+ | file_name | +-------------------------------------------------------------------+ | 存档/1MyStory/2005毕业了/2006_02_11/P2110014.JPG | | 存档/1MyStory/2009.5.23长春聚会/照片 040.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 062.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 118.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 162.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 172.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 186.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 210.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 063.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 115.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 121.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 122.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 160.jpg | | 存档/1MyStory/2005毕业了/2006_02_11/P2110008.JPG | | 存档/1MyStory/2005毕业了/2006_02_11/P2110012.JPG | | 存档/1MyStory/2005毕业了/2006_02_11/P2110027.JPG | | 存档/1MyStory/2006堡石图 -- 卧虎 -- 郑家屯/P8190103.JPG | | 存档/1MyStory/2006堡石图 -- 卧虎 -- 郑家屯/P8190102.JPG | | 存档/1MyStory/2008冬-聚会/DSC00102s.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 014.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 019.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 021.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 026.jpg | | 存档/1MyStory/2009.5.23春聚会/照片 027.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 028.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 029.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 055.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 056.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 057.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 065.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 064.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 092.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 102.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 101.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 103.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 105.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 113.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 114.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 125.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 126.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 136.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 153.jpg | | 存档/1MyStory/2009.5.23长春聚会/照片 211.jpg | | 存档/1MyStory/2010.2.11聚会/DSC00699.JPG | | 存档/1MyStory/2010.2.11聚会/DSC00748.JPG | | 存档/1MyStory/2009.5.23长春聚会/照片 185.jpg | +-------------------------------------------------------------------+ 46 rows in set (0.001 sec) ``` Now the face update log still show warnnings for the two people. I looked up the faces in the database, and found out they don't even have a marker. Or maybe it's an empty/NULL marker? Is it possible this is the problem? ``` MariaDB [photoprism]> select marker_uid,file_uid,marker_type ,marker_src ,marker_name ,marker_review ,marker_invalid ,subj_uid,subj_src ,face_id,face_dist,landmarks_json ,x,y,w,h,q,size ,score ,matched_at,created_at,updated_at from markers where (face_id = 'LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT' or face_id = '6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G' or face_id ='WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH'); +------------------+------------------+-------------+------------+-------------+---------------+----------------+------------------+----------+----------------------------------+---------------------+----------------+----------+-----------+-----------+-----------+------+------+-------+---------------------+---------------------+---------------------+ | marker_uid | file_uid | marker_type | marker_src | marker_name | marker_review | marker_invalid | subj_uid | subj_src | face_id | face_dist | landmarks_json | x | y | w | h | q | size | score | matched_at | created_at | updated_at | +------------------+------------------+-------------+------------+-------------+---------------+----------------+------------------+----------+----------------------------------+---------------------+----------------+----------+-----------+-----------+-----------+------+------+-------+---------------------+---------------------+---------------------+ | mrks9wh26zscfg32 | frks9wh37gkwymk3 | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.38068907637115856 | | 0.346875 | 0.20625 | 0.210938 | 0.28125 | 189 | 270 | 28 | 2022-11-13 06:37:43 | 2022-11-03 17:57:53 | 2022-11-13 06:37:31 | | mrks9wh3b5tyas72 | frks9wh1jrzvgk0f | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.2140493624787018 | | 0.461719 | 0.242708 | 0.253906 | 0.338542 | 398 | 325 | 125 | 2022-11-13 06:37:43 | 2022-11-03 17:57:53 | 2022-11-13 06:37:31 | | mrks9wi1txkjg6gc | frks9wi2djqpbmtg | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.20730506848745184 | | 0.355469 | 0.351042 | 0.132031 | 0.176042 | 113 | 169 | 164 | 2022-11-13 06:37:43 | 2022-11-03 17:57:54 | 2022-11-13 06:37:31 | | mrks9wj19u2vmvf8 | frks9wj18bgr42kr | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.44520249660306005 | | 0.403125 | 0.434375 | 0.0828125 | 0.110417 | 48 | 106 | 246 | 2022-11-13 06:37:43 | 2022-11-03 17:57:55 | 2022-11-13 06:37:31 | | mrks9wj229zcmkng | frks9wjxsgmmfoe2 | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.4142914174392127 | | 0.421094 | 0.389583 | 0.104687 | 0.139583 | 61 | 134 | 81 | 2022-11-13 06:37:43 | 2022-11-03 17:57:55 | 2022-11-13 06:37:31 | | mrks9y01bavdkv8m | frks9y01iwc8ky6y | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.4667300847761112 | | 0.296094 | 0.308333 | 0.1625 | 0.216667 | 166 | 208 | 139 | 2022-11-13 06:37:43 | 2022-11-03 17:58:48 | 2022-11-13 06:37:31 | | mrksadu2uzpyg4lj | frksadukx5imd8oy | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.5882863713276977 | | 0.727344 | 0.446875 | 0.0429688 | 0.0572917 | 10 | 55 | 81 | 2022-11-13 06:37:43 | 2022-11-03 18:08:18 | 2022-11-13 06:37:31 | | mrksdkv263bt1o9t | frksdkv2047fdy33 | face | image | | 0 | 0 | jrkswmaf2wasphnu | | 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G | 0.5404862201034469 | | 0.170833 | 0.109375 | 0.60625 | 0.454688 | 812 | 291 | 100 | 2022-11-13 06:37:43 | 2022-11-03 19:17:19 | 2022-11-13 06:37:31 | | mrksa0h3mae08wgb | frksa0h35k3v2ckb | face | image | | 0 | 0 | jrkswmaf2wasphnu | | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT | 0.5921647591949672 | | 0.58125 | 0.347917 | 0.0710938 | 0.0947917 | 30 | 91 | 105 | 2022-11-13 06:37:32 | 2022-11-03 18:00:17 | 2022-11-05 09:16:04 | | mrksa0m1b7bs4hri | frksa0m21bc759p5 | face | image | | 0 | 0 | jrkswmaf2wasphnu | | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT | 0.6065599977965848 | | 0.282813 | 0.367708 | 0.0992187 | 0.132292 | 71 | 127 | 282 | 2022-11-13 06:37:32 | 2022-11-03 18:00:22 | 2022-11-05 09:16:04 | | mrksacfy30k6m2n9 | frksacf2sdoz6pil | face | image | | 0 | 0 | jrkswmaf2wasphnu | | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT | 0.6010230937055442 | | 0.909375 | 0.267708 | 0.0851562 | 0.113542 | 30 | 109 | 26 | 2022-11-13 06:37:35 | 2022-11-03 18:07:27 | 2022-11-05 09:16:04 | | mrksacl1p5bs7psl | frksacl1wi0g2xzp | face | image | | 0 | 0 | jrkswmaf2wasphnu | | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT | 0.5909936112962262 | | 0.40625 | 0.476042 | 0.0460938 | 0.0614583 | 13 | 59 | 135 | 2022-11-13 06:37:35 | 2022-11-03 18:07:33 | 2022-11-05 09:16:04 | | mrksacs2268ghmdg | frksacs1vndjn9xs | face | image | | 0 | 0 | jrkswmaf2wasphnu | | LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT | 0.5749205519377576 | | 0.432813 | 0.372917 | 0.0835937 | 0.111458 | 38 | 107 | 76 | 2022-11-13 06:37:35 | 2022-11-03 18:07:40 | 2022-11-05 09:16:04 | | mrksaep3ra2ba221 | frksaep31w0tpjd6 | face | image | | 0 | 0 | jrkswmaf2wasphnu | | WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH | 0.6259586609480874 | | 0.624219 | 0.0854167 | 0.0890625 | 0.11875 | 44 | 114 | 79 | 2022-11-13 06:37:35 | 2022-11-03 18:08:49 | 2022-11-05 09:16:03 | +------------------+------------------+-------------+------------+-------------+---------------+----------------+------------------+----------+----------------------------------+---------------------+----------------+----------+-----------+-----------+-----------+------+------+-------+---------------------+---------------------+---------------------+ ``` How can I clear those markers/tags without a marker/tag…………?It's really weird. I mean the marker_name column is empty.
Author
Owner

@ER-EPR commented on GitHub (Nov 13, 2022):

I guess they are automatically tagged markers, I untag faces belong to LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT and WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH (which have less number of images then 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G ). And the warning disappears. Would you add this kind of function? Based on how many images in each face_id, untag the small groups of images and try to resolve the conflict.

@ER-EPR commented on GitHub (Nov 13, 2022): I guess they are automatically tagged markers, I untag faces belong to LQTVVRLFE5BXPAFSJCLR7W4Z5IMGOHJT and WOOJCFSIGUGZAZLRD5L4TH7VCOPSVLMH (which have less number of images then 6UDBI4YVRK6WV7U7XUSVRP6JIIP3FH7G ). And the warning disappears. Would you add this kind of function? Based on how many images in each face_id, untag the small groups of images and try to resolve the conflict.
Author
Owner

@lastzero commented on GitHub (Nov 13, 2022):

Thanks for your analysis! We will try to improve the auto resolution based on your findings. Note, however, that this will take time. We also welcome pull requests with specific improvements.

@lastzero commented on GitHub (Nov 13, 2022): Thanks for your analysis! We will try to improve the auto resolution based on your findings. Note, however, that this will take time. We also welcome pull requests with specific improvements.
Author
Owner

@ER-EPR commented on GitHub (Nov 13, 2022):

docker exec -it photoprism photoprism faces audit -f shows:

INFO[2022-11-12T11:47:46Z] migrate: executing pre migrations
INFO[2022-11-12T11:47:46Z] migrate: executing main migrations
INFO[2022-11-12T11:47:46Z] faces: found 173 subjects
INFO[2022-11-12T11:47:46Z] faces: found no invalid marker subjects
INFO[2022-11-12T11:47:46Z] faces: found no invalid marker faces
INFO[2022-11-12T11:52:35Z] faces: found no ambiguous subjects
INFO[2022-11-12T11:52:35Z] faces: marker mrksd71ssfe98e0k with unknown subject (manual) conflicts with face 6AI5WBTB44BKYCU3IKPKW6SXVA6ODVOH (auto) of subject XXX (jrf5k1o7bgo3j9gp)
WARN[2022-11-12T11:52:35Z] faces: marker mrjbjes3jl46cb33 has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3z3ms9m8i7i has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3r37nang8kw has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd4n11316s5za has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3utqs80hw6o has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3w3s15qe9rb has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3s29b4r1vbr has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd3v2ju7ueb0n has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdb62n47zalcp has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbd1gg8wrt9b has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrksa4y31tcrkb7a with unknown subject (manual) conflicts with face PMP3BE7M5W2LQQUDD6X42NEC63DE3DWS (auto) of subject YYY (jrkt27r33aldkzpl)
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbs2sxauv62b has invalid face QK7TCLJDKJJBMIHA63M72C6TV7VGZECB of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrksah51uuyxssls with unknown subject (manual) conflicts with face QSNPU46UICEUMAOEQHRR5FT7T4CQBJVW (auto) of subject ZZ (jrkt3342jky02x68)
WARN[2022-11-12T11:52:35Z] faces: marker mrksah91r7p0fw1c has invalid face RESPQ4JW7FIPFFZDEGOL4GYJEVQT7LMI of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrkscz71k9jymjp0 with unknown subject (manual) conflicts with face ROPWLBNDHMGERHWMTA6B4XMZQ5LQ5BPZ (auto) of subject AAA (jrkt1vk3or92jzez)
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbr3hdd4y5zr has invalid face S7GPXULHL73FCJH77OW6ZQMLIP3ZML65 of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdba1osp9qrev has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbaydxgwrne0 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbb3epk4eox3 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksdbcr9jv87bpr has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd462pvt4rxvc has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> ()
WARN[2022-11-12T11:52:35Z] faces: marker mrksd4l2jv75kwqv has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> ()
INFO[2022-11-12T11:52:35Z] faces: marker mrksas935f7fsd8y with unknown subject (manual) conflicts with face YEFOQYDEHWK2I54IO6ACQJNPMN5ZA4BH (auto) of subject BB (jrkt3bd6yu5wqesa)
INFO[2022-11-12T11:52:35Z] faces: found no orphan face clusters
INFO[2022-11-12T11:52:35Z] faces: found no orphan people
INFO[2022-11-12T11:52:35Z] completed in 4m49.406283062s
INFO[2022-11-12T11:52:35Z] closed database connection

Thanks for your help. The lag when tagging people is gone now. But the audit log shows some problems, and it probably causes the regular background job acting weird. It consumes 100% of 1 CPU core, but my CPU fan sounds crazy because of it.
How can I fix

faces: marker mrjbjes3jl46cb33 has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> ()

and

 faces: marker mrksd71ssfe98e0k with unknown subject (manual) conflicts with face 6AI5WBTB44BKYCU3IKPKW6SXVA6ODVOH (auto) of subject XXX (jrf5k1o7bgo3j9gp)

I'm new to github, do I have to start a new issue for this?

@ER-EPR commented on GitHub (Nov 13, 2022): > docker exec -it photoprism photoprism faces audit -f shows: > > ``` > INFO[2022-11-12T11:47:46Z] migrate: executing pre migrations > INFO[2022-11-12T11:47:46Z] migrate: executing main migrations > INFO[2022-11-12T11:47:46Z] faces: found 173 subjects > INFO[2022-11-12T11:47:46Z] faces: found no invalid marker subjects > INFO[2022-11-12T11:47:46Z] faces: found no invalid marker faces > INFO[2022-11-12T11:52:35Z] faces: found no ambiguous subjects > INFO[2022-11-12T11:52:35Z] faces: marker mrksd71ssfe98e0k with unknown subject (manual) conflicts with face 6AI5WBTB44BKYCU3IKPKW6SXVA6ODVOH (auto) of subject XXX (jrf5k1o7bgo3j9gp) > WARN[2022-11-12T11:52:35Z] faces: marker mrjbjes3jl46cb33 has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd3z3ms9m8i7i has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd3r37nang8kw has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd4n11316s5za has invalid face ECJN67GMHAUILYIDEBKA7KEVXHAE7UA4 of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd3utqs80hw6o has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd3w3s15qe9rb has invalid face MA7764ASSYTNYIR5STZB3BVGBX47RHTJ of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd3s29b4r1vbr has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd3v2ju7ueb0n has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksdb62n47zalcp has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksdbd1gg8wrt9b has invalid face N7JMO2OIBFF3XU556K7ZQ5G3FOCO23XG of subject <unknown> () > INFO[2022-11-12T11:52:35Z] faces: marker mrksa4y31tcrkb7a with unknown subject (manual) conflicts with face PMP3BE7M5W2LQQUDD6X42NEC63DE3DWS (auto) of subject YYY (jrkt27r33aldkzpl) > WARN[2022-11-12T11:52:35Z] faces: marker mrksdbs2sxauv62b has invalid face QK7TCLJDKJJBMIHA63M72C6TV7VGZECB of subject <unknown> () > INFO[2022-11-12T11:52:35Z] faces: marker mrksah51uuyxssls with unknown subject (manual) conflicts with face QSNPU46UICEUMAOEQHRR5FT7T4CQBJVW (auto) of subject ZZ (jrkt3342jky02x68) > WARN[2022-11-12T11:52:35Z] faces: marker mrksah91r7p0fw1c has invalid face RESPQ4JW7FIPFFZDEGOL4GYJEVQT7LMI of subject <unknown> () > INFO[2022-11-12T11:52:35Z] faces: marker mrkscz71k9jymjp0 with unknown subject (manual) conflicts with face ROPWLBNDHMGERHWMTA6B4XMZQ5LQ5BPZ (auto) of subject AAA (jrkt1vk3or92jzez) > WARN[2022-11-12T11:52:35Z] faces: marker mrksdbr3hdd4y5zr has invalid face S7GPXULHL73FCJH77OW6ZQMLIP3ZML65 of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksdba1osp9qrev has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksdbaydxgwrne0 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksdbb3epk4eox3 has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksdbcr9jv87bpr has invalid face UAVPZHCQRUM62LRVFVNW4IOGOD4FLYXF of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd462pvt4rxvc has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> () > WARN[2022-11-12T11:52:35Z] faces: marker mrksd4l2jv75kwqv has invalid face VHEWZQG74XI336NXY7BJORMC7A3X3QXT of subject <unknown> () > INFO[2022-11-12T11:52:35Z] faces: marker mrksas935f7fsd8y with unknown subject (manual) conflicts with face YEFOQYDEHWK2I54IO6ACQJNPMN5ZA4BH (auto) of subject BB (jrkt3bd6yu5wqesa) > INFO[2022-11-12T11:52:35Z] faces: found no orphan face clusters > INFO[2022-11-12T11:52:35Z] faces: found no orphan people > INFO[2022-11-12T11:52:35Z] completed in 4m49.406283062s > INFO[2022-11-12T11:52:35Z] closed database connection > ``` Thanks for your help. The lag when tagging people is gone now. But the audit log shows some problems, and it probably causes the regular background job acting weird. It consumes 100% of 1 CPU core, but my CPU fan sounds crazy because of it. How can I fix ``` faces: marker mrjbjes3jl46cb33 has invalid face CR557NGZELUIOOKAFHWI25CUH3UOB453 of subject <unknown> () ``` and ``` faces: marker mrksd71ssfe98e0k with unknown subject (manual) conflicts with face 6AI5WBTB44BKYCU3IKPKW6SXVA6ODVOH (auto) of subject XXX (jrf5k1o7bgo3j9gp) ``` I'm new to github, do I have to start a new issue for this?
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

This might be related to the changes you performed and comes closer to the original issue. Maybe it also was there from the start. Resolving this is possible, but you either need to wait for an update from us (will take a little) or you also figure out how to fix it manually.

@lastzero commented on GitHub (Nov 14, 2022): This might be related to the changes you performed and comes closer to the original issue. Maybe it also was there from the start. Resolving this is possible, but you either need to wait for an update from us (will take a little) or you also figure out how to fix it manually.
Author
Owner

@ER-EPR commented on GitHub (Nov 14, 2022):

This might be related to the changes you performed and comes closer to the original issue. Maybe it also was there from the start. Resolving this is possible, but you either need to wait for an update from us (will take a little) or you also figure out how to fix it manually.

It is there from the start before I do anything. It is a separate problem. The lag when adding tags is gone now.
I need some insight, into what I should and not do. Can I safely delete those markers from the database just by SQL? Or Do I have to edit other files as well? I see the debug info is all about makers having invalid data.
But it is possible that these warnings are the true reason that the original issue cannot be auto-solved. Anyway, I need to be point to a direction.

@ER-EPR commented on GitHub (Nov 14, 2022): > This might be related to the changes you performed and comes closer to the original issue. Maybe it also was there from the start. Resolving this is possible, but you either need to wait for an update from us (will take a little) or you also figure out how to fix it manually. It is there from the start before I do anything. It is a separate problem. The lag when adding tags is gone now. I need some insight, into what I should and not do. Can I safely delete those markers from the database just by SQL? Or Do I have to edit other files as well? I see the debug info is all about makers having invalid data. But it is possible that these warnings are the true reason that the original issue cannot be auto-solved. Anyway, I need to be point to a direction.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

Deleting those markers might work. You could also try to empty the face id value of those markers instead of deleting the complete row. Please create a backup before you do that, so you can revert any changes if needed.

@lastzero commented on GitHub (Nov 14, 2022): Deleting those markers might work. You could also try to empty the face id value of those markers instead of deleting the complete row. Please create a backup before you do that, so you can revert any changes if needed.
Author
Owner

@ER-EPR commented on GitHub (Nov 14, 2022):

I clear the face_id using update markers set face_id = '' where marker_uid='mrksd3s29b4r1vbr' or marker_uid='mrjbjes3jl46cb33' or marker_uid='mrksd3z3ms9m8i7i' or marker_uid='mrksd 3r37nang8kw' or marker_uid='mrksd4n11316s5za' or marker_uid='mrksd3utqs80hw6o' or marker_uid='mrksd3w3s15qe9rb' or marker_uid='mrksd3s29b4r1vbr' or marker_uid='mrksd3v2ju7ueb0 ' or marker_uid='mrksdb62n47zalcp' or marker_uid='mrksdbd1gg8wrt9b' or marker_uid='mrksdbs2sxauv62b' or marker_uid='mrksah91r7p0fw1c' or marker_uid='mrksdbr3hdd4y5zr' or marke _uid='mrksdba1osp9qrev' or marker_uid='mrksdbaydxgwrne0' or marker_uid='mrksdbb3epk4eox3' or marker_uid='mrksdbcr9jv87bpr' or marker_uid='mrksd462pvt4rxvc' or marker_uid='mrks 4l2jv75kwqv'; the warnings are gone but the face update and face audit process still running too long(5 minutes with one cpu core at 100%, I set worker to 8 actually, but only one running). The face optimize command only takes 548ms though. I have more than 15000 files, most jpeg, less than 100 of them are videos. Is it normal? It seems the faces: found no ambiguous subjects takes 5min to complete from the time stamp in the logs. Anything else I can do to figure out what process/file is causing the problem?
the face update log:

root@docker ~# docker exec -it photoprism photoprism --trace faces update
TRAC[2022-11-14T08:44:26Z] config: defaults file /etc/photoprism/defaults.yml does not exist
DEBU[2022-11-14T08:44:26Z] config: overriding config with values from /photoprism/storage/config/options.yml
DEBU[2022-11-14T08:44:26Z] config: running on 'AMD Ryzen 7 5700U with Radeon Graphics', 67 GB memory detected
DEBU[2022-11-14T08:44:26Z] settings: loaded from /photoprism/storage/config/settings.yml
DEBU[2022-11-14T08:44:26Z] config: successfully initialized [3.085036ms]
INFO[2022-11-14T08:44:26Z] migrate: executing pre migrations
DEBU[2022-11-14T08:44:26Z] migrate: found 2 previous migrations
DEBU[2022-11-14T08:44:26Z] migrate: 20221015-100000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20221015-100100 skipped
INFO[2022-11-14T08:44:26Z] migrate: executing main migrations
DEBU[2022-11-14T08:44:26Z] migrate: found 21 previous migrations
DEBU[2022-11-14T08:44:26Z] migrate: 20211121-094727 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20211124-120008 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-030000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-040000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-050000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-060000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-061000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-070000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-071000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-080000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-081000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-083000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-090000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-091000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220329-093000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220421-200000 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220521-000001 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220521-000002 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220521-000003 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20220927-000100 skipped
DEBU[2022-11-14T08:44:26Z] migrate: 20221002-000100 skipped
TRAC[2022-11-14T08:44:26Z] migrate: auth_users_details migrated
TRAC[2022-11-14T08:44:26Z] migrate: auth_sessions migrated
TRAC[2022-11-14T08:44:26Z] migrate: details migrated
TRAC[2022-11-14T08:44:26Z] migrate: photos_labels migrated
TRAC[2022-11-14T08:44:26Z] migrate: markers migrated
TRAC[2022-11-14T08:44:26Z] migrate: photos_users migrated
TRAC[2022-11-14T08:44:26Z] migrate: albums_users migrated
TRAC[2022-11-14T08:44:26Z] migrate: labels migrated
TRAC[2022-11-14T08:44:26Z] migrate: links migrated
TRAC[2022-11-14T08:44:26Z] migrate: passwords migrated
TRAC[2022-11-14T08:44:26Z] migrate: auth_users_settings migrated
TRAC[2022-11-14T08:44:26Z] migrate: files_sync migrated
TRAC[2022-11-14T08:44:26Z] migrate: photos migrated
TRAC[2022-11-14T08:44:26Z] migrate: countries migrated
TRAC[2022-11-14T08:44:26Z] migrate: services migrated
TRAC[2022-11-14T08:44:26Z] migrate: places migrated
TRAC[2022-11-14T08:44:26Z] migrate: cameras migrated
TRAC[2022-11-14T08:44:26Z] migrate: faces migrated
TRAC[2022-11-14T08:44:26Z] migrate: folders migrated
TRAC[2022-11-14T08:44:26Z] migrate: files_share migrated
TRAC[2022-11-14T08:44:26Z] migrate: cells migrated
TRAC[2022-11-14T08:44:26Z] migrate: photos_keywords migrated
TRAC[2022-11-14T08:44:26Z] migrate: migrations migrated
TRAC[2022-11-14T08:44:26Z] migrate: auth_users migrated
TRAC[2022-11-14T08:44:26Z] migrate: categories migrated
TRAC[2022-11-14T08:44:26Z] migrate: auth_users_shares migrated
TRAC[2022-11-14T08:44:26Z] migrate: errors migrated
TRAC[2022-11-14T08:44:26Z] migrate: photos_albums migrated
TRAC[2022-11-14T08:44:26Z] migrate: keywords migrated
TRAC[2022-11-14T08:44:26Z] migrate: reactions migrated
TRAC[2022-11-14T08:44:26Z] migrate: duplicates migrated
TRAC[2022-11-14T08:44:26Z] migrate: files migrated
TRAC[2022-11-14T08:44:26Z] migrate: lenses migrated
TRAC[2022-11-14T08:44:26Z] migrate: albums migrated
TRAC[2022-11-14T08:44:26Z] migrate: subjects migrated
DEBU[2022-11-14T08:44:26Z] migrate: completed in 409.136079ms
DEBU[2022-11-14T08:44:26Z] faces: found no orphan markers [20.882537ms]
DEBU[2022-11-14T08:44:26Z] markers: found no invalid references [43.578256ms]
DEBU[2022-11-14T08:44:26Z] markers: found no missing subjects [1.023085ms]
DEBU[2022-11-14T08:49:18Z] faces: found no ambiguous subjects [4m51.908490358s]
DEBU[2022-11-14T08:49:19Z] faces: found no clusters to be merged [140.210573ms]
DEBU[2022-11-14T08:49:19Z] faces: skipped clustering
DEBU[2022-11-14T08:49:19Z] faces: found no new faces [10.766722ms]
DEBU[2022-11-14T08:49:19Z] faces: found no unmatched markers
DEBU[2022-11-14T08:49:19Z] faces: updated 0 markers, recognized 0 faces, 0 unknown [334.322992ms]
INFO[2022-11-14T08:49:19Z] completed in 4m52.876551067s
INFO[2022-11-14T08:49:19Z] closed database connection

and the audit log:

root@docker ~# docker exec -it photoprism photoprism --trace faces audit --fix
TRAC[2022-11-14T09:07:52Z] config: defaults file /etc/photoprism/defaults.yml does not exist
DEBU[2022-11-14T09:07:52Z] config: overriding config with values from /photoprism/storage/config/options.yml
DEBU[2022-11-14T09:07:52Z] config: running on 'AMD Ryzen 7 5700U with Radeon Graphics', 67 GB memory detected
DEBU[2022-11-14T09:07:52Z] settings: loaded from /photoprism/storage/config/settings.yml
DEBU[2022-11-14T09:07:52Z] config: successfully initialized [3.472922ms]
INFO[2022-11-14T09:07:52Z] migrate: executing pre migrations
DEBU[2022-11-14T09:07:52Z] migrate: found 2 previous migrations
DEBU[2022-11-14T09:07:52Z] migrate: 20221015-100000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20221015-100100 skipped
INFO[2022-11-14T09:07:52Z] migrate: executing main migrations
DEBU[2022-11-14T09:07:52Z] migrate: found 21 previous migrations
DEBU[2022-11-14T09:07:52Z] migrate: 20211121-094727 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20211124-120008 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-030000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-040000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-050000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-060000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-061000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-070000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-071000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-080000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-081000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-083000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-090000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-091000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220329-093000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220421-200000 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220521-000001 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220521-000002 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220521-000003 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20220927-000100 skipped
DEBU[2022-11-14T09:07:52Z] migrate: 20221002-000100 skipped
TRAC[2022-11-14T09:07:52Z] migrate: auth_users migrated
TRAC[2022-11-14T09:07:52Z] migrate: duplicates migrated
TRAC[2022-11-14T09:07:52Z] migrate: cameras migrated
TRAC[2022-11-14T09:07:52Z] migrate: lenses migrated
TRAC[2022-11-14T09:07:52Z] migrate: labels migrated
TRAC[2022-11-14T09:07:52Z] migrate: auth_users_details migrated
TRAC[2022-11-14T09:07:52Z] migrate: auth_sessions migrated
TRAC[2022-11-14T09:07:52Z] migrate: services migrated
TRAC[2022-11-14T09:07:52Z] migrate: folders migrated
TRAC[2022-11-14T09:07:52Z] migrate: details migrated
TRAC[2022-11-14T09:07:52Z] migrate: cells migrated
TRAC[2022-11-14T09:07:52Z] migrate: photos_labels migrated
TRAC[2022-11-14T09:07:52Z] migrate: keywords migrated
TRAC[2022-11-14T09:07:52Z] migrate: links migrated
TRAC[2022-11-14T09:07:52Z] migrate: reactions migrated
TRAC[2022-11-14T09:07:52Z] migrate: passwords migrated
TRAC[2022-11-14T09:07:52Z] migrate: auth_users_settings migrated
TRAC[2022-11-14T09:07:52Z] migrate: photos migrated
TRAC[2022-11-14T09:07:52Z] migrate: countries migrated
TRAC[2022-11-14T09:07:52Z] migrate: categories migrated
TRAC[2022-11-14T09:07:52Z] migrate: markers migrated
TRAC[2022-11-14T09:07:52Z] migrate: errors migrated
TRAC[2022-11-14T09:07:52Z] migrate: files_sync migrated
TRAC[2022-11-14T09:07:52Z] migrate: photos_users migrated
TRAC[2022-11-14T09:07:52Z] migrate: files migrated
TRAC[2022-11-14T09:07:52Z] migrate: albums migrated
TRAC[2022-11-14T09:07:52Z] migrate: albums_users migrated
TRAC[2022-11-14T09:07:52Z] migrate: subjects migrated
TRAC[2022-11-14T09:07:52Z] migrate: faces migrated
TRAC[2022-11-14T09:07:52Z] migrate: auth_users_shares migrated
TRAC[2022-11-14T09:07:52Z] migrate: migrations migrated
TRAC[2022-11-14T09:07:52Z] migrate: files_share migrated
TRAC[2022-11-14T09:07:52Z] migrate: places migrated
TRAC[2022-11-14T09:07:52Z] migrate: photos_albums migrated
TRAC[2022-11-14T09:07:52Z] migrate: photos_keywords migrated
DEBU[2022-11-14T09:07:52Z] migrate: completed in 388.626739ms
INFO[2022-11-14T09:07:52Z] faces: found 176 subjects
INFO[2022-11-14T09:07:52Z] faces: found no invalid marker subjects
INFO[2022-11-14T09:07:52Z] faces: found no invalid marker faces
INFO[2022-11-14T09:12:43Z] faces: found no ambiguous subjects
INFO[2022-11-14T09:12:43Z] faces: found no orphan face clusters
INFO[2022-11-14T09:12:43Z] faces: found no orphan people
INFO[2022-11-14T09:12:43Z] completed in 4m51.915787254s
INFO[2022-11-14T09:12:43Z] closed database connection
@ER-EPR commented on GitHub (Nov 14, 2022): I clear the face_id using `update markers set face_id = '' where marker_uid='mrksd3s29b4r1vbr' or marker_uid='mrjbjes3jl46cb33' or marker_uid='mrksd3z3ms9m8i7i' or marker_uid='mrksd 3r37nang8kw' or marker_uid='mrksd4n11316s5za' or marker_uid='mrksd3utqs80hw6o' or marker_uid='mrksd3w3s15qe9rb' or marker_uid='mrksd3s29b4r1vbr' or marker_uid='mrksd3v2ju7ueb0 ' or marker_uid='mrksdb62n47zalcp' or marker_uid='mrksdbd1gg8wrt9b' or marker_uid='mrksdbs2sxauv62b' or marker_uid='mrksah91r7p0fw1c' or marker_uid='mrksdbr3hdd4y5zr' or marke _uid='mrksdba1osp9qrev' or marker_uid='mrksdbaydxgwrne0' or marker_uid='mrksdbb3epk4eox3' or marker_uid='mrksdbcr9jv87bpr' or marker_uid='mrksd462pvt4rxvc' or marker_uid='mrks 4l2jv75kwqv';` the warnings are gone but the face update and face audit process still running too long(5 minutes with one cpu core at 100%, I set worker to 8 actually, but only one running). The face optimize command only takes 548ms though. I have more than 15000 files, most jpeg, less than 100 of them are videos. Is it normal? It seems the `faces: found no ambiguous subjects` takes 5min to complete from the time stamp in the logs. Anything else I can do to figure out what process/file is causing the problem? the face update log: ``` root@docker ~# docker exec -it photoprism photoprism --trace faces update TRAC[2022-11-14T08:44:26Z] config: defaults file /etc/photoprism/defaults.yml does not exist DEBU[2022-11-14T08:44:26Z] config: overriding config with values from /photoprism/storage/config/options.yml DEBU[2022-11-14T08:44:26Z] config: running on 'AMD Ryzen 7 5700U with Radeon Graphics', 67 GB memory detected DEBU[2022-11-14T08:44:26Z] settings: loaded from /photoprism/storage/config/settings.yml DEBU[2022-11-14T08:44:26Z] config: successfully initialized [3.085036ms] INFO[2022-11-14T08:44:26Z] migrate: executing pre migrations DEBU[2022-11-14T08:44:26Z] migrate: found 2 previous migrations DEBU[2022-11-14T08:44:26Z] migrate: 20221015-100000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20221015-100100 skipped INFO[2022-11-14T08:44:26Z] migrate: executing main migrations DEBU[2022-11-14T08:44:26Z] migrate: found 21 previous migrations DEBU[2022-11-14T08:44:26Z] migrate: 20211121-094727 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20211124-120008 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-030000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-040000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-050000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-060000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-061000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-070000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-071000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-080000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-081000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-083000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-090000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-091000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220329-093000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220421-200000 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220521-000001 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220521-000002 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220521-000003 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20220927-000100 skipped DEBU[2022-11-14T08:44:26Z] migrate: 20221002-000100 skipped TRAC[2022-11-14T08:44:26Z] migrate: auth_users_details migrated TRAC[2022-11-14T08:44:26Z] migrate: auth_sessions migrated TRAC[2022-11-14T08:44:26Z] migrate: details migrated TRAC[2022-11-14T08:44:26Z] migrate: photos_labels migrated TRAC[2022-11-14T08:44:26Z] migrate: markers migrated TRAC[2022-11-14T08:44:26Z] migrate: photos_users migrated TRAC[2022-11-14T08:44:26Z] migrate: albums_users migrated TRAC[2022-11-14T08:44:26Z] migrate: labels migrated TRAC[2022-11-14T08:44:26Z] migrate: links migrated TRAC[2022-11-14T08:44:26Z] migrate: passwords migrated TRAC[2022-11-14T08:44:26Z] migrate: auth_users_settings migrated TRAC[2022-11-14T08:44:26Z] migrate: files_sync migrated TRAC[2022-11-14T08:44:26Z] migrate: photos migrated TRAC[2022-11-14T08:44:26Z] migrate: countries migrated TRAC[2022-11-14T08:44:26Z] migrate: services migrated TRAC[2022-11-14T08:44:26Z] migrate: places migrated TRAC[2022-11-14T08:44:26Z] migrate: cameras migrated TRAC[2022-11-14T08:44:26Z] migrate: faces migrated TRAC[2022-11-14T08:44:26Z] migrate: folders migrated TRAC[2022-11-14T08:44:26Z] migrate: files_share migrated TRAC[2022-11-14T08:44:26Z] migrate: cells migrated TRAC[2022-11-14T08:44:26Z] migrate: photos_keywords migrated TRAC[2022-11-14T08:44:26Z] migrate: migrations migrated TRAC[2022-11-14T08:44:26Z] migrate: auth_users migrated TRAC[2022-11-14T08:44:26Z] migrate: categories migrated TRAC[2022-11-14T08:44:26Z] migrate: auth_users_shares migrated TRAC[2022-11-14T08:44:26Z] migrate: errors migrated TRAC[2022-11-14T08:44:26Z] migrate: photos_albums migrated TRAC[2022-11-14T08:44:26Z] migrate: keywords migrated TRAC[2022-11-14T08:44:26Z] migrate: reactions migrated TRAC[2022-11-14T08:44:26Z] migrate: duplicates migrated TRAC[2022-11-14T08:44:26Z] migrate: files migrated TRAC[2022-11-14T08:44:26Z] migrate: lenses migrated TRAC[2022-11-14T08:44:26Z] migrate: albums migrated TRAC[2022-11-14T08:44:26Z] migrate: subjects migrated DEBU[2022-11-14T08:44:26Z] migrate: completed in 409.136079ms DEBU[2022-11-14T08:44:26Z] faces: found no orphan markers [20.882537ms] DEBU[2022-11-14T08:44:26Z] markers: found no invalid references [43.578256ms] DEBU[2022-11-14T08:44:26Z] markers: found no missing subjects [1.023085ms] DEBU[2022-11-14T08:49:18Z] faces: found no ambiguous subjects [4m51.908490358s] DEBU[2022-11-14T08:49:19Z] faces: found no clusters to be merged [140.210573ms] DEBU[2022-11-14T08:49:19Z] faces: skipped clustering DEBU[2022-11-14T08:49:19Z] faces: found no new faces [10.766722ms] DEBU[2022-11-14T08:49:19Z] faces: found no unmatched markers DEBU[2022-11-14T08:49:19Z] faces: updated 0 markers, recognized 0 faces, 0 unknown [334.322992ms] INFO[2022-11-14T08:49:19Z] completed in 4m52.876551067s INFO[2022-11-14T08:49:19Z] closed database connection ``` and the audit log: ``` root@docker ~# docker exec -it photoprism photoprism --trace faces audit --fix TRAC[2022-11-14T09:07:52Z] config: defaults file /etc/photoprism/defaults.yml does not exist DEBU[2022-11-14T09:07:52Z] config: overriding config with values from /photoprism/storage/config/options.yml DEBU[2022-11-14T09:07:52Z] config: running on 'AMD Ryzen 7 5700U with Radeon Graphics', 67 GB memory detected DEBU[2022-11-14T09:07:52Z] settings: loaded from /photoprism/storage/config/settings.yml DEBU[2022-11-14T09:07:52Z] config: successfully initialized [3.472922ms] INFO[2022-11-14T09:07:52Z] migrate: executing pre migrations DEBU[2022-11-14T09:07:52Z] migrate: found 2 previous migrations DEBU[2022-11-14T09:07:52Z] migrate: 20221015-100000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20221015-100100 skipped INFO[2022-11-14T09:07:52Z] migrate: executing main migrations DEBU[2022-11-14T09:07:52Z] migrate: found 21 previous migrations DEBU[2022-11-14T09:07:52Z] migrate: 20211121-094727 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20211124-120008 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-030000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-040000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-050000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-060000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-061000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-070000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-071000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-080000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-081000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-083000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-090000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-091000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220329-093000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220421-200000 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220521-000001 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220521-000002 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220521-000003 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20220927-000100 skipped DEBU[2022-11-14T09:07:52Z] migrate: 20221002-000100 skipped TRAC[2022-11-14T09:07:52Z] migrate: auth_users migrated TRAC[2022-11-14T09:07:52Z] migrate: duplicates migrated TRAC[2022-11-14T09:07:52Z] migrate: cameras migrated TRAC[2022-11-14T09:07:52Z] migrate: lenses migrated TRAC[2022-11-14T09:07:52Z] migrate: labels migrated TRAC[2022-11-14T09:07:52Z] migrate: auth_users_details migrated TRAC[2022-11-14T09:07:52Z] migrate: auth_sessions migrated TRAC[2022-11-14T09:07:52Z] migrate: services migrated TRAC[2022-11-14T09:07:52Z] migrate: folders migrated TRAC[2022-11-14T09:07:52Z] migrate: details migrated TRAC[2022-11-14T09:07:52Z] migrate: cells migrated TRAC[2022-11-14T09:07:52Z] migrate: photos_labels migrated TRAC[2022-11-14T09:07:52Z] migrate: keywords migrated TRAC[2022-11-14T09:07:52Z] migrate: links migrated TRAC[2022-11-14T09:07:52Z] migrate: reactions migrated TRAC[2022-11-14T09:07:52Z] migrate: passwords migrated TRAC[2022-11-14T09:07:52Z] migrate: auth_users_settings migrated TRAC[2022-11-14T09:07:52Z] migrate: photos migrated TRAC[2022-11-14T09:07:52Z] migrate: countries migrated TRAC[2022-11-14T09:07:52Z] migrate: categories migrated TRAC[2022-11-14T09:07:52Z] migrate: markers migrated TRAC[2022-11-14T09:07:52Z] migrate: errors migrated TRAC[2022-11-14T09:07:52Z] migrate: files_sync migrated TRAC[2022-11-14T09:07:52Z] migrate: photos_users migrated TRAC[2022-11-14T09:07:52Z] migrate: files migrated TRAC[2022-11-14T09:07:52Z] migrate: albums migrated TRAC[2022-11-14T09:07:52Z] migrate: albums_users migrated TRAC[2022-11-14T09:07:52Z] migrate: subjects migrated TRAC[2022-11-14T09:07:52Z] migrate: faces migrated TRAC[2022-11-14T09:07:52Z] migrate: auth_users_shares migrated TRAC[2022-11-14T09:07:52Z] migrate: migrations migrated TRAC[2022-11-14T09:07:52Z] migrate: files_share migrated TRAC[2022-11-14T09:07:52Z] migrate: places migrated TRAC[2022-11-14T09:07:52Z] migrate: photos_albums migrated TRAC[2022-11-14T09:07:52Z] migrate: photos_keywords migrated DEBU[2022-11-14T09:07:52Z] migrate: completed in 388.626739ms INFO[2022-11-14T09:07:52Z] faces: found 176 subjects INFO[2022-11-14T09:07:52Z] faces: found no invalid marker subjects INFO[2022-11-14T09:07:52Z] faces: found no invalid marker faces INFO[2022-11-14T09:12:43Z] faces: found no ambiguous subjects INFO[2022-11-14T09:12:43Z] faces: found no orphan face clusters INFO[2022-11-14T09:12:43Z] faces: found no orphan people INFO[2022-11-14T09:12:43Z] completed in 4m51.915787254s INFO[2022-11-14T09:12:43Z] closed database connection ```
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

Yeah, the audit command always takes a while to complete. This is to be expected.

@lastzero commented on GitHub (Nov 14, 2022): Yeah, the audit command always takes a while to complete. This is to be expected.
Author
Owner

@ER-EPR commented on GitHub (Nov 14, 2022):

But it wasn't this noisy last month. Considering there is nothing to audit, nothing changed, I think there probably something wrong with the faces: found no ambiguous subjects process. How can I find more info about this. Now I have to set the background job to 24h to prevent the noisy sound it produces.

@ER-EPR commented on GitHub (Nov 14, 2022): But it wasn't this noisy last month. Considering there is nothing to audit, nothing changed, I think there probably something wrong with the `faces: found no ambiguous subjects` process. How can I find more info about this. Now I have to set the background job to 24h to prevent the noisy sound it produces.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

The logs look good. The message "faces: found no ambiguous subjects" means that everything seems to be fine. We run a lot of servers for our own use and have never observed any performance problems (unless you are dealing with millions of files) and the CPU fans are also not audible unless you do a full rescan.

A good way to avoid fan noise would be to buy a suitable cooler that is not so noisy or change the BIOS setting.

It is not possible to NOT use the CPU for an application like this. We can improve it if we have enough time and money, but we can't avoid it completely. Disabling the background worker or just running it every day can cause problems, as discussed in the endless comments in other Issues and GitHub Discussions. My recommendation is not to do this.

@lastzero commented on GitHub (Nov 14, 2022): The logs look good. The message "faces: found no ambiguous subjects" means that everything seems to be fine. We run a lot of servers for our own use and have never observed any performance problems (unless you are dealing with millions of files) and the CPU fans are also not audible unless you do a full rescan. **A good way to avoid fan noise would be to buy a suitable cooler that is not so noisy or change the BIOS setting.** It is not possible to NOT use the CPU for an application like this. We can improve it if we have enough time and money, but we can't avoid it completely. Disabling the background worker or just running it every day can cause problems, as discussed in the endless comments in other Issues and GitHub Discussions. My recommendation is not to do this.
Author
Owner

@ER-EPR commented on GitHub (Nov 14, 2022):

#2022
#1618
#1872
#2176
I searched all related problems, and I come to a conclusion. The two problems we discussed in this post are all because of lots of manually tagged photos. The second problem '1 CPU core at 100%' for several minutes is mentioned by other users several times, and all of them have tag the photos a a lot. It is mainly related to the number of the tags. The first problem 'tag person delay' I guess is because of tagging too many photos between two background task, especially for the same person. And maybe even during the background task make it worse. All those tag broke the algorithm somehow.
I have a possible solution for those two problems. Just delete repeated tags that already belongs to a merged cluster. I want to test the theory, but my SQL knowledge seems not enough. How can I retain only one manual tag for a face cluster while delete all else using SQL?

@ER-EPR commented on GitHub (Nov 14, 2022): #2022 #1618 #1872 #2176 I searched all related problems, and I come to a conclusion. The two problems we discussed in this post are all because of lots of manually tagged photos. The second problem '1 CPU core at 100%' for several minutes is mentioned by other users several times, and all of them have tag the photos a a lot. It is mainly related to the number of the tags. The first problem 'tag person delay' I guess is because of tagging too many photos between two background task, especially for the same person. And maybe even during the background task make it worse. All those tag broke the algorithm somehow. I have a possible solution for those two problems. Just delete repeated tags that already belongs to a merged cluster. I want to test the theory, but my SQL knowledge seems not enough. How can I retain only one manual tag for a face cluster while delete all else using SQL?
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

The reason the worker currently runs independent of actual changes in the main instance is that some users directly change database contents or run additional instances, for example for indexing. That's a problem that CAN be solved, but it takes time. If we just ignore this fact and don't consistently run the worker, it will lead to bug reports and support requests we need to handle. I didn't code a single line today because I was just busy pointing out technical details and explaining things. We thought about the implementation a lot and, like I said before already, will improve it as our time and budget allows.

@lastzero commented on GitHub (Nov 14, 2022): The reason the worker currently runs independent of actual changes in the main instance is that some users directly change database contents or run additional instances, for example for indexing. That's a problem that CAN be solved, but it takes time. If we just ignore this fact and don't consistently run the worker, it will lead to bug reports and support requests we need to handle. I didn't code a single line today because I was just busy pointing out technical details and explaining things. We thought about the implementation a lot and, like I said before already, will improve it as our time and budget allows.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

As for your question about the exact SQL statements, I'm smart but not a computer that can just print out validated statements that work for you. I'll think about it when my time permits, but that's not possible if I'm constantly answering questions, since I can only focus on one thing at a time.

@lastzero commented on GitHub (Nov 14, 2022): As for your question about the exact SQL statements, I'm smart but not a computer that can just print out validated statements that work for you. I'll think about it when my time permits, but that's not possible if I'm constantly answering questions, since I can only focus on one thing at a time.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

In fact, one possible cause of the problems you and other users describe is that they are running multiple instances or directly modify database contents, as this MAY result in inconsistent faces, markers, and subjects. If you would like to help us resolve this issue, please let us know if this might apply to you. Thank you very much!

@lastzero commented on GitHub (Nov 14, 2022): **In fact, one possible cause of the problems you and other users describe is that they are running multiple instances or directly modify database contents, as this MAY result in inconsistent faces, markers, and subjects. If you would like to help us resolve this issue, please let us know if this might apply to you. Thank you very much!**
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

PS: As you found out, it is also possible that manually tagged faces play a role. However, these should be represented by a cluster (instead of many individual faces that need to be compared). This is exactly what the background worker does. Hence my advice (see above) not to disable it, or run it less frequently. That would be exactly what causes the problems in the first place.

@lastzero commented on GitHub (Nov 14, 2022): PS: As you found out, it is also possible that manually tagged faces play a role. However, these should be represented by a cluster (instead of many individual faces that need to be compared). This is exactly what the background worker does. Hence my advice (see above) not to disable it, or run it less frequently. That would be exactly what causes the problems in the first place.
Author
Owner

@QrchackOfficial commented on GitHub (Nov 14, 2022):

Wow, quite the traffic in here recently. I'll add that in my specific case there's just one instance running, but the manual tagging was most certainly done fast and to avoid waiting for the UI blocking progress bar I would close out of the tab and tag in another. Meaning there's a decent chance that there were several tags being applied while the database was updating in the background.

@QrchackOfficial commented on GitHub (Nov 14, 2022): Wow, quite the traffic in here recently. I'll add that in my specific case there's just one instance running, but the manual tagging was most certainly done fast and to avoid waiting for the UI blocking progress bar I would close out of the tab and tag in another. Meaning there's a decent chance that there were several tags being applied while the database was updating in the background.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

Another known issue is that children and Asian faces can't be compared properly because our model doesn't work well for them due to lack of training data (i.e., images that could be used - note that parents don't usually give away pictures of their children). Since we keep explaining this, maybe it would be best if I sit down now and add this to our docs on the "Known Issues" page so I can finally get back to coding something instead of explaining things. Appreciate your efforts!

@lastzero commented on GitHub (Nov 14, 2022): Another known issue is that children and Asian faces can't be compared properly because our model doesn't work well for them due to lack of training data (i.e., images that could be used - note that parents don't usually give away pictures of their children). Since we keep explaining this, maybe it would be best if I sit down now and add this to our docs on the "Known Issues" page so I can finally get back to coding something instead of explaining things. Appreciate your efforts!
Author
Owner

@ER-EPR commented on GitHub (Nov 14, 2022):

In fact, one possible cause of the problems you and other users describe is that they are running multiple instances or directly modify database contents, as this MAY result in inconsistent faces, markers, and subjects. If you would like to help us resolve this issue, please let us know if this might apply to you. Thank you very much!

I'm sure I only run one instance, in docker. And I only learned to modify database today with your guidance. And those modifications work well. The problems were there for several weeks. And it's getting better after today's modification. The only problem left now is as #1872 describes. The comparison process of faces may take too much time, especially when nothing has changed since the last index. As you said, it can be done, just don't do face compare when no new changes in the index are enough.

As for your question about the exact SQL statements, I'm smart but not a computer that can just print out validated statements that work for you. I'll think about it when my time permits, but that's not possible if I'm constantly answering questions, since I can only focus on one thing at a time.

I know I may ask a lot, but I really want to see this project works well. I put photos of my life in this photoprism server. I'll try to write some python script to clear the database to see whether it will improve the background job.

PS: As you found out, it is also possible that manually tagged faces play a role. However, these should be represented by a cluster (instead of many individual faces that need to be compared). This is exactly what the background worker does. Hence my advice (see above) not to disable it, or run it less frequently. That would be exactly what causes the problems in the first place.

I constantly check the face update or face optimize or face audit output, no new merges after the initial run. So I don't think it will happen afterward when no input is changed. Unless your algorism uses a random start point for machine learning.

To conclude, I think stopping face recognition background job when no new index or tags is the easy solution. And will satisfy most people. Other background job works fine, just disable this one faces: found no ambiguous subjects when no index change will reduce the time consumption dramatically.

@ER-EPR commented on GitHub (Nov 14, 2022): > **In fact, one possible cause of the problems you and other users describe is that they are running multiple instances or directly modify database contents, as this MAY result in inconsistent faces, markers, and subjects. If you would like to help us resolve this issue, please let us know if this might apply to you. Thank you very much!** I'm sure I only run one instance, in docker. And I only learned to modify database today with your guidance. And those modifications work well. The problems were there for several weeks. And it's getting better after today's modification. The only problem left now is as #1872 describes. The comparison process of faces may take too much time, especially when nothing has changed since the last index. As you said, it can be done, just don't do face compare when no new changes in the index are enough. > As for your question about the exact SQL statements, I'm smart but not a computer that can just print out validated statements that work for you. I'll think about it when my time permits, but that's not possible if I'm constantly answering questions, since I can only focus on one thing at a time. I know I may ask a lot, but I really want to see this project works well. I put photos of my life in this photoprism server. I'll try to write some python script to clear the database to see whether it will improve the background job. > PS: As you found out, it is also possible that manually tagged faces play a role. However, these should be represented by a cluster (instead of many individual faces that need to be compared). This is exactly what the background worker does. Hence my advice (see above) not to disable it, or run it less frequently. That would be exactly what causes the problems in the first place. I constantly check the face update or face optimize or face audit output, no new merges after the initial run. So I don't think it will happen afterward when no input is changed. Unless your algorism uses a random start point for machine learning. To conclude, I think stopping face recognition background job when no new index or tags is the easy solution. And will satisfy most people. Other background job works fine, just disable this one `faces: found no ambiguous subjects` when no index change will reduce the time consumption dramatically.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

@ER-EPR Based on your profile picture, I think the user experience would be much better for you if our model worked better with Asian faces. Except for the noise your fan might make. We want to solve these and many other problems, but it takes time and money to build a team of specialists.

Be aware that I have only studied Physics and read research papers, I am not a full time face recognition specialist who does nothing else in his life. We certainly can't hire someone like that with our current resources. So our next goal is to improve funding instead of introducing more and more workarounds and tiny improvements, like experimenting with the worker schedule. That ties up resources we need for the bigger goals.

@lastzero commented on GitHub (Nov 14, 2022): @ER-EPR Based on your profile picture, I think the user experience would be much better for you if our model worked better with Asian faces. Except for the noise your fan might make. We want to solve these and many other problems, but it takes time and money to build a team of specialists. Be aware that I have only studied Physics and read research papers, I am not a full time face recognition specialist who does nothing else in his life. We certainly can't hire someone like that with our current resources. So our next goal is to improve funding instead of introducing more and more workarounds and tiny improvements, like experimenting with the worker schedule. That ties up resources we need for the bigger goals.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

Wow, quite the traffic in here recently. I'll add that in my specific case there's just one instance running, but the manual tagging was most certainly done fast and to avoid waiting for the UI blocking progress bar I would close out of the tab and tag in another. Meaning there's a decent chance that there were several tags being applied while the database was updating in the background.

Using multiple tabs instead of waiting would almost certainly cause the behavior you observed. Thanks for letting us know! We should include that as a note in our docs.

@lastzero commented on GitHub (Nov 14, 2022): > Wow, quite the traffic in here recently. I'll add that in my specific case there's just one instance running, but the manual tagging was most certainly done fast and to avoid waiting for the UI blocking progress bar I would close out of the tab and tag in another. Meaning there's a decent chance that there were several tags being applied while the database was updating in the background. Using multiple tabs instead of waiting would almost certainly cause the behavior you observed. Thanks for letting us know! We should include that as a note in our docs.
Author
Owner

@ER-EPR commented on GitHub (Nov 14, 2022):

@QrchackOfficial The merge fail can be cured by untagging small clusters of one subject as I did in the above posts using MySQL. You can search in the markers table for a subj_uid, and see the face_id listed in the warning, and clear the tags of the small groups and let them merge with the big group.(don't untag the big group) But remember to backup your database first. It's a dangerous act.

@ER-EPR commented on GitHub (Nov 14, 2022): @QrchackOfficial The merge fail can be cured by untagging small clusters of one subject as I did in the above posts using MySQL. You can search in the markers table for a subj_uid, and see the face_id listed in the warning, and clear the tags of the small groups and let them merge with the big group.(don't untag the big group) But remember to backup your database first. It's a dangerous act.
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

You are welcome to privately provide us with a SQL dump of the subjects, faces, and markers tables for debugging. This would save us hours of reverse-engineering your (potential) database content based on the GitHub issue comments, which could eventually lead us to solutions that don't work for you because we got it wrong. Thank you very much!

@lastzero commented on GitHub (Nov 14, 2022): *You are welcome to [privately provide us](https://photoprism.app/contact) with a SQL dump of the subjects, faces, and markers tables for debugging. This would save us hours of reverse-engineering your (potential) database content based on the GitHub issue comments, which could eventually lead us to solutions that don't work for you because we got it wrong. Thank you very much!*
Author
Owner

@lastzero commented on GitHub (Nov 14, 2022):

The documentation has been updated for you:

Legacy Hardware

It is a known issue that the user interface and backend operations, especially face recognition, can be slow or even crash on older hardware due to a lack of resources.

Like most applications, PhotoPrism has certain requirements and our development process does not include testing on unsupported or unusual hardware.

Asian Faces and Children

It is a known issue that children and Asian-looking faces cannot be recognized reliably. Detection without automatic recognition should not be affected by that.

This is because the model we use was trained with North American images, which unfortunately do not include many Asians. The absence of children in the training data comes from the fact that parents do not usually share such images under a public license (and may not have the right to do so).

We will continue to improve our models over time as our resources allow.

Background Worker

Face recognition was developed and tested under the assumption that the background worker runs every 15 minutes, unless the backend is busy with other tasks like indexing. It has not been tested with much longer intervals and is not designed for that.

PhotoPrism's background worker groups new faces by similarity, compares faces with clusters, and optimizes existing clusters as needed. Without these routine tasks, the number of faces to be processed becomes too large. The first and next time the worker runs, it can then cause a heavy server load until all the faces, face clusters, and related pictures have been updated. The longer you wait, the more CPU is required and the longer it takes.

An important reason for the worker to run independently of actual changes in the main instance is that some users change the database content directly or run additional instances, for example for indexing. It is a problem that can be solved, but it takes time. If we were to ignore this and don't run the worker at all times, it could lead to many additional support requests, further reducing the amount of time we can spend on development.

The handling of changes in multiple instances will be improved over time so that the worker can be run less frequently in future releases.

Removing Merged Clusters Fails

Under certain conditions, inconsistent face assignments cannot be automatically resolved by the background worker, which can result in an unusually high CPU load when it is running:

  • if you use multiple browser tabs or windows for assigning faces and don't wait until saving the changes is complete, the likelihood of this problem increases, especially if you accidentally enter different names for the same face
  • another possible cause is running multiple instances (for example, parallel indexing workers started by a scheduler in the background) or modifying database content directly, as this may also lead to inconsistent faces, markers and subjects
  • see Faces: Error "Failed removing merged clusters for subject" seems to cause tagging of faces to become slow #2806

Running the following command in a terminal can resolve problems with inconsistent data:

docker compose exec photoprism photoprism faces audit --fix

It can also be helpful to manually check for inconsistent assignments and fix them in the user interface. Alternatively, you can use the photoprism faces reset command for a clean start if you haven't invested much time in assigning faces yet.

Advanced users affected by this are welcome to privately provide us with a SQL dump of their subjects, faces, and markers database tables for debugging. Thank you very much!

@lastzero commented on GitHub (Nov 14, 2022): The documentation has been updated for you: ## [Legacy Hardware](https://docs.photoprism.app/known-issues/#legacy-hardware) It is a [known issue](https://docs.photoprism.app/getting-started/troubleshooting/performance/#legacy-hardware) that the user interface and backend operations, especially face recognition, can be slow or even crash on older hardware due to a lack of resources. *Like most applications, PhotoPrism has certain requirements and our development process does not include testing on unsupported or unusual hardware.* ## [Asian Faces and Children](https://docs.photoprism.app/known-issues/#asian-faces-and-children) It is a known issue that children and Asian-looking faces cannot be recognized reliably. Detection without automatic recognition should not be affected by that. This is because the model we use was trained with North American images, which unfortunately do not include many Asians. The absence of children in the training data comes from the fact that parents do not usually share such images under a public license (and may not have the right to do so). *We will continue to improve our models over time as our resources allow.* ## [Background Worker](https://docs.photoprism.app/known-issues/#background-worker) [Face recognition](https://docs.photoprism.app/user-guide/organize/people/) was developed and tested under the assumption that the [background worker](https://docs.photoprism.app/getting-started/config-options/#index-workers) runs every 15 minutes, unless the backend is busy with other tasks like indexing. It has not been tested with much longer intervals and is not designed for that. PhotoPrism's background worker groups new faces by similarity, compares faces with clusters, and optimizes existing clusters as needed. Without these routine tasks, the number of faces to be processed becomes too large. The first and next time the worker runs, it can then cause a heavy server load until all the faces, face clusters, and related pictures have been updated. The longer you wait, the more CPU is required and the longer it takes. An important reason for the worker to run independently of actual changes in the main instance is that some users change the database content directly or run additional instances, for example for indexing. It is a problem that can be solved, but it takes time. If we were to ignore this and don't run the worker at all times, it could lead to many additional support requests, further reducing the amount of time we can spend on development. *The handling of changes in multiple instances will be improved over time so that the worker can be run less frequently in future releases.* ## [Removing Merged Clusters Fails](https://docs.photoprism.app/known-issues/#removing-merged-clusters-fails) Under certain conditions, inconsistent face assignments cannot be automatically resolved by the background worker, which can result in an unusually high CPU load when it is running: - if you use multiple browser tabs or windows for assigning faces and don't wait until saving the changes is complete, the likelihood of this problem increases, especially if you accidentally enter different names for the same face - another possible cause is running multiple instances (for example, parallel indexing workers started by a scheduler in the background) or modifying database content directly, as this may also lead to inconsistent faces, markers and subjects - see [Faces: Error "Failed removing merged clusters for subject" seems to cause tagging of faces to become slow #2806](https://github.com/photoprism/photoprism/issues/2806) Running the following command [in a terminal](https://docs.photoprism.app/getting-started/docker-compose/#command-line-interface) can resolve problems with inconsistent data: ```bash docker compose exec photoprism photoprism faces audit --fix ``` It can also be helpful to manually check for inconsistent assignments and fix them in the user interface. Alternatively, you can use the `photoprism faces reset` command for a clean start if you haven't invested much time in assigning faces yet. *Advanced users affected by this are welcome to [privately provide us](https://photoprism.app/contact) with a SQL dump of their subjects, faces, and markers database tables for debugging. Thank you very much!*
Author
Owner

@lastzero commented on GitHub (Nov 17, 2022):

I am closing this issue as we have not received any further feedback from the original reporter and there are now too many comments, making it difficult for anyone who has not participated in the discussion to understand. Everything important is now covered in the Known Issues. If someone affected provides us with a dump of the database tables, we can fix the problem - otherwise it requires too much time and luck:

👉 https://docs.photoprism.app/known-issues/#removing-merged-clusters-fails

@lastzero commented on GitHub (Nov 17, 2022): I am closing this issue as we have not received any further feedback from the original reporter and there are now too many comments, making it difficult for anyone who has not participated in the discussion to understand. Everything important is now covered in the Known Issues. If someone affected provides us with a dump of the database tables, we can fix the problem - otherwise it requires too much time and luck: :point_right: https://docs.photoprism.app/known-issues/#removing-merged-clusters-fails
Author
Owner

@ER-EPR commented on GitHub (Nov 18, 2022):

I have sent you two emails containing download links for the mysql dump for the three tables. The first link may have expired, please use the second one.

@ER-EPR commented on GitHub (Nov 18, 2022): I have sent you two emails containing download links for the mysql dump for the three tables. The first link may have expired, please use the second one.
Author
Owner

@pjft commented on GitHub (Jan 2, 2023):

@lastzero happy new year. I'm happy to provide you with the database files for debugging, but I'd probably need some guidance in getting them. I am running into the exact same issues.

Single instance, on docker. I did not manually edit the database.

Happy to help in any way here.

@pjft commented on GitHub (Jan 2, 2023): @lastzero happy new year. I'm happy to provide you with the database files for debugging, but I'd probably need some guidance in getting them. I am running into the exact same issues. Single instance, on docker. I did not manually edit the database. Happy to help in any way here.
Author
Owner

@maxime1992 commented on GitHub (Jan 14, 2023):

Same over here. It takes sometimes about a minute or maybe 2 to add someone, when it works. It sometimes says it's "busy" or just "Have you lost network" (can't remember exactly but anyway, like something went wrong).
If there's a step by step guide I'm willing to provide some data as well as this feature is fantastic but pretty much unusable at all for me at the moment as I've started to use photoprism recently and I'm massively adding pictures, and have a lot to tag as well.

PS: I've tried to run the commands and work arounds from that issue but none of them worked for me.

@maxime1992 commented on GitHub (Jan 14, 2023): Same over here. It takes sometimes about a minute or maybe 2 to add someone, when it works. It sometimes says it's "busy" or just "Have you lost network" (can't remember exactly but anyway, like something went wrong). If there's a step by step guide I'm willing to provide some data as well as this feature is fantastic but pretty much unusable at all for me at the moment as I've started to use photoprism recently and I'm massively adding pictures, and have a lot to tag as well. PS: I've tried to run the commands and work arounds from that issue but none of them worked for me.
Author
Owner

@pjft commented on GitHub (Jan 14, 2023):

I reset my faces, even though I already had a meaningful amount of faces tagged - no more clusters to tag, from 780 original clusters, as well as individual faces that needed to be fixed in clusters where they had been mis-tagged.

I am now first taking care of organizing my full library, with albums and whatnot, and then I'll do a backup and try to go after the face tagging.

The commands didn't really help.

@pjft commented on GitHub (Jan 14, 2023): I reset my faces, even though I already had a meaningful amount of faces tagged - no more clusters to tag, from 780 original clusters, as well as individual faces that needed to be fixed in clusters where they had been mis-tagged. I am now first taking care of organizing my full library, with albums and whatnot, and then I'll do a backup and try to go after the face tagging. The commands didn't really help.
Author
Owner

@lastzero commented on GitHub (Jan 14, 2023):

Unfortunately, even after 5 years, I'm still the only full-time developer. I'll took into it as soon as possible.

@lastzero commented on GitHub (Jan 14, 2023): Unfortunately, even after 5 years, I'm [still the only full-time developer](https://photoprism.app/membership). I'll took into it as soon as possible.
Author
Owner

@pjft commented on GitHub (Jan 14, 2023):

Hi @lastzero . Never meant this to be taken in any way other than just updating here.

My last post still stands: happy to share my "broken" database if it helps, though I think it's still around 1GB.

Thanks for building Photoprism. It's a fantastic app. I know there are other priorities on the table.

Just let us know how we can help.

@pjft commented on GitHub (Jan 14, 2023): Hi @lastzero . Never meant this to be taken in any way other than just updating here. My last post still stands: happy to share my "broken" database if it helps, though I think it's still around 1GB. Thanks for building Photoprism. It's a fantastic app. I know there are other priorities on the table. Just let us know how we can help.
Author
Owner

@lastzero commented on GitHub (Jan 14, 2023):

The dump might be really helpful. However, the subjects, markers and faces tables should be enough for debugging. That will reduce the size so you can send a link or attach it as a zip to an email. Thank you! ❤️

@lastzero commented on GitHub (Jan 14, 2023): The dump might be really helpful. However, the subjects, markers and faces tables should be enough for debugging. That will reduce the size so you can send a link or attach it as a zip to an email. Thank you! ❤️
Author
Owner

@pjft commented on GitHub (Jan 14, 2023):

Just sent it to the hello@ email address, with a link to download the database.

Hope it helps - let me know if you don't get it for some reason.

Have a great weekend!

@pjft commented on GitHub (Jan 14, 2023): Just sent it to the hello@ email address, with a link to download the database. Hope it helps - let me know if you don't get it for some reason. Have a great weekend!
Author
Owner

@maxime1992 commented on GitHub (Jan 15, 2023):

Hello @lastzero 👋

Unfortunately, even after 5 years, I'm still the only full-time developer. I'll took into it as soon as possible.

Same as what @pjft said, we very much appreciate your time on the project and we know there are some priorities. We're just here to help so that if you feel looking back into this issue at one point, you've got the data you need. Sorry if my previous message came across the wrong way!

I just sent you on the hello address a dump of the 3 tables you asked for. Hope it helps 🤞 !

I am closing this issue as we have not received any further feedback from the original reporter [...]. If someone affected provides us with a dump of the database tables, we can fix the problem [...]

Based on this comment and the fact that you shall now have the data you need to debug, would you consider reopening the issue maybe?

Have a good weekend

@maxime1992 commented on GitHub (Jan 15, 2023): Hello @lastzero :wave: > Unfortunately, even after 5 years, I'm [still the only full-time developer](https://photoprism.app/membership). I'll took into it as soon as possible. Same as what @pjft [said](https://github.com/photoprism/photoprism/issues/2806#issuecomment-1382933170), we very much appreciate your time on the project and we know there are some priorities. We're just here to help so that if you feel looking back into this issue at one point, you've got the data you need. Sorry if my previous message came across the wrong way! I just sent you on the hello address a dump of the [3 tables you asked for](https://github.com/photoprism/photoprism/issues/2806#issuecomment-1382935790). Hope it helps :crossed_fingers: ! > I am closing this issue as we have not received any further feedback from the original reporter [...]. If someone affected provides us with a dump of the database tables, we can fix the problem [...] Based on [this comment](https://github.com/photoprism/photoprism/issues/2806#issuecomment-1318580866) and the fact that you shall now have the data you need to debug, would you consider reopening the issue maybe? Have a good weekend
Author
Owner

@lastzero commented on GitHub (Jan 15, 2023):

Given the long list of comments, it seems best to open a new issue. The new issue should contain a summary of everything that seems important to get to a solution and, for example, has been mentioned here, but also in GitHub Discussions. Feel free to move ahead with this, as I'm drowning in work right now and don't know when I'll get to it. Thank you very much, also for the kind words!

@lastzero commented on GitHub (Jan 15, 2023): Given the long list of comments, it seems best to open a new issue. The new issue should contain a summary of everything that seems important to get to a solution and, for example, has been mentioned here, but also in GitHub Discussions. Feel free to move ahead with this, as I'm drowning in work right now and don't know when I'll get to it. Thank you very much, also for the kind words!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#1586
No description provided.