Hardware: : MacbookAir
YunoHost version: 18.104.22.168
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no - Some docker container installed but should not interfere
Last error: Error: DELETE locks/1_1_0f5a643a6edb41548f543321abf6b864.json: (Exception Sabre\DAV\Exception\Forbidden) (403): <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre\DAV\Exception\Forbidden</s:exception> <s:message/> </d:error>
I thought it was a nextcloud issue base on the error and initial googling. In fact, the lock table was empty and it was just the file itself that could not be removed, (yes, you should have better read the error message). I tried to delete the
/media/Data/AppData/Joplin_notes/locks/1_1_0f5a643a6edb41548f543321abf6b864.json using the nextcloud web interface, I could not. it happened to be a permission issue again. And I have not fixed it yet as I am unsure how to handle it safely.
Right after I failed at upgrading nextcloud I have installed #dolibarr an ERP/CRM as I wanted to start some personal business. The app is ranked 7 so I thought it was safe to install. It turns out it was not.
On my nextcloud installation, I have an External hard drive connected for additional space which is mounted in
/media/Data. This is where most of my files are located --including Joplin Notes
After Dolibarr’s installation, all the
/media/Data ownership changed to
Dolibarr:Dolibarr. Not sure whether permissions changed. This is why, the lock file cannot be removed, nextcloud does not have the permission anymore.
So few questions :
- Is it safe to
chown nextcloud:nextcloud /media/Data -R *, or should it be another user ? maybe www-data ?
- How should I report it to the packaged team ?
- I assume Dolibarr expected to use a
/media/Datadirectory to function, but by doing my chown command it might break ?
What are your thought on it and where is the best place to report that ?
I can switch to French if needed also
Edit : I should mention that of course, I did the standart Dolibarr installation through the webadmin page and did not touch anything else