Hi Boris,
Syncloud Health works GREAT and to me it is a crucial feature. I would like to create a script like the following one - I beg you pardon for the “non-shell-like” language. Here follows the idea
The call to the script: my_script[scan_options;kill_time]
The contents:
execute photoprism_scan [scan_options];
if photoprism_web.killtime < [kill_time]
then
execute photoprism_scan [scan_options];
else
{
execute photoprism_clean;
printout "completed successfully";
}
Do you think it is doable or additional developments on your side are required? On the Photoprism side, I think that photoprism.cli offers all the required commands. Here follows an example of an item in the stability events list.
hi Boris,
here follows what I usually do to scan my media in Photoprism, PTP from now on. Being that it is an iterative process, I’m thinking to a script. I’m looking forward to receiving your opinion.
Here is the process:
I start the media scan in PTP (important: “complete rescan” is unchecked);
I open Syncloud Health;
every 10-20 minutes I check that Health has not killed the process “photoprism.web”;
if the process is running, I do nothing;
if the process has been killed, I start the media scan in PTP once again.
Being that I do not perform a complete rescan, every time the process goes ahead and scans new media. If I spend few hours a week in doing this (while I do other things!!!), I can complete the scan in a couple of months.
Let’s try few system level things before that.
Just pushed a fix for memory swap, can you upgrade from settings updates, then send the error report when photoprism is killed again (it may survive with swap).
Then I have a nother potential fix, I think we can make photoprism not die.
Hi,
for sure the stability is now amazing compared to the previous version. I have started the process 30 m ago and it is still running. It never happened before.
In case I get a message about a killed process, I’ll share the logs. Thanks a lot