Good for you for having taken this security ! Loosing data should not happen and I need to think and give feedback to the Yunohost team on this. Beginning of discussion here : https://github.com/YunoHost/issues/issues/1231#issuecomment-437377911
This file is directly linked to Dokuwiki so there might be a bug in the package itself and it should be investigated . The previous person to have a similar issue was because of a previous app so I though that the package was ok and out of scope. Which is not the case apparently …
It is still weird to me that the upgrade went fine on the first Wiki (should look a the logs)
I do not have much energy to look at all the logs these days.
My answers sorted by order
- Not much more I guess. You gave all the logs asked and you are answering quickly to questions Maybe posting in the support section or going to the support chat to get more people involved. (I lack energy these days)
- Before your answer about the php file, I would have said yes. Now, there might be a bug. All I can say is that “it works on my system” and during the tests made by myself and people who tested the code I made.
- The “backup” script has been installed and it works. At least while I tested it myself.
- You can test them too (and you should) and will be interested to get your feedback.