I have a user who has a personal instance of ZenPhoto to manage Neuropathology images. He has been building his image atlas for over 10 years and the collection has over 30,000 images in it. Since January, random sub sets of albums have been having all of their meta data erased. It has happened four times in two months, and I can't seem to track down what is causing it.
I initially thought it was him breaking or changing things, but the most recent incident happened when I know for a fact that he had not been making any changes as I was still restoring the data from the last time information went missing. This rules out user interference, as he is the only user, and tells me it must be a ZenPhoto software or server problem.
Reviewing the Database in MySQL, it looks like all the entries for the affected albums have been deleted and then recreated. The IDs for the albums are all the newest listed. The only information in ZenPhoto is the date the images were changed, which is identical for all of them, and the Last Change by: ZenphotoCMS internal request.
This leads me to believe that ZenPhoto is seeing these albums as new or edited and removing / recreating the entries in the Database for them. If they are new though, why would the old data be deleted and not simply new data created? And if they were just edited, why is it deleting the meta data completely and making a new DB entry?
If anyone has any insights or suggestions on what could be causing this, it would be greatly appreciated.
ZenPhoto: 1.6.1
Server: Windows Server 2022 Standard
MySQL: 8.1