Closed farvardin closed 2 years ago
Hello,
The dolibarr.main permission is created automatically by Yunohost. I tried to reproduce the problem with the latest version of Yunohost (v 4.2.6.1). The installation and restoration worked.
Can you redo the scenario with the latest version of Yunohost and give me the result?
Thanks
Sorry for the late reply.
I think I understand why it did that. It happens if you try to restore dolibarr (or another app) without deleting / uninstalling it first. Then after this first warning, if you uninstall dolibarr, there will be this kind of error.
Sorry for the delay. There is a new version that has redesigned the installation system to be consistent with the Yunohost requirements.
Is it possible to do a test?
Describe the bug
We can't directly delete and then restore dolibarr in a simple way.
Context
I already had this error on a previous instance of this server, and I've erased it because of this error, I though my installation was broken :(
Steps to reproduce
removing dolibarr will give this log:
we'll no longer see the dolibarr app in the yunohost interface.
But when trying to restore a backup (or install a new instance) we'll get this error:
So from the command line I've run a second time the uninstaller:
so I got a second time this same error with the dolibarr.main permission.
Here is the log: https://paste.yunohost.org/raw/wemobizuvu
But this time if try to remove it again, I got:
Then only this time I could restore dolibarr from my backup!
Expected behavior
Dolibarr should delete without error and restore from backup without having to delete it two times from the command line.
Logs
https://paste.yunohost.org/raw/wemobizuvu