Done. Same errors…
Here is a screenshot of the client:
- there are multiple “403 Forbidden on PUT”
- there are also some “500 Internal Server Error on PUT”
In nextcloud.log:
{“reqId”:“4BlsQh5C6vP2MBxfXjqm”,“level”:3,“time”:“2023-06-19T15:37:31+00:00”,“remoteAddr”:“2a01:e0a:3cc:f370:279d:d5d8:2aa8:e9bc”,“user”:“lara”,“app”:“PHP”,“method”:“PUT”,“url”:“/nextcloud/remote.php/dav/files/lara/4.%20Journal/2023/2023-06/2023-06-10-samedi.md”,“message”:“file_put_contents(/home/yunohost.app/nextcloud/data/lara/files/4. Journal/2023/2023-06/2023-06-10-samedi.md.ocTransferId1396588444.part): Failed to open stream: Permission denied at /var/www/nextcloud/lib/private/Files/Storage/Local.php#313”,“userAgent”:“Mozilla/5.0 (Linux) mirall/3.9.0-20230616.170352.c6c6c61f5-1.0~jammy1 (Nextcloud, linuxmint-5.15.0-75-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“26.0.2.1”,“data”:{“app”:“PHP”}}
(I think it’s the 403 errors: permission denied)
{“reqId”:“iKr8hb6UEbkTL4DfY1iz”,“level”:3,“time”:“2023-06-19T15:37:31+00:00”,“remoteAddr”:“2a01:e0a:3cc:f370:279d:d5d8:2aa8:e9bc”,“user”:“lara”,“app”:“webdav”,“method”:“PUT”,“url”:“/nextcloud/remote.php/dav/files/lara/4.%20Journal/2023/2023-06-revue.md”,“message”:“Erreur en copiant le fichier \u00e0 destination (copi\u00e9 : -1 octet, taille du fichier attendue : 860 octets)”,“userAgent”:“Mozilla/5.0 (Linux) mirall/3.9.0-20230616.170352.c6c6c61f5-1.0~jammy1 (Nextcloud, linuxmint-5.15.0-75-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“26.0.2.1”,“exception”:{“Exception”:“Sabre\DAV\Exception”,“Message”:“Erreur en copiant le fichier \u00e0 destination (copi\u00e9 : -1 octet, taille du fichier attendue : 860 octets)”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1137,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:492,“function”:“updateFile”,“class”:“Sabre\DAV\Server”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpPut”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:253,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:321,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/lib/Server.php”,“line”:366,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/var/www/nextcloud/remote.php”,“line”:172,“args”:[“/var/www/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php”,“Line”:279,“message”:“Erreur en copiant le fichier \u00e0 destination (copi\u00e9 : -1 octet, taille du fichier attendue : 860 octets)”,“exception”:{},“CustomMessage”:“Erreur en copiant le fichier \u00e0 destination (copi\u00e9 : -1 octet, taille du fichier attendue : 860 octets)”}}
This file (2023-06-revue.md) weights indeed 860 bytes. I don’t know if it’s the same issue.