Sebclem / hassio-nextcloud-backup

Hass.io Add-on: Backup your snapshots to Nextcloud
GNU General Public License v3.0
118 stars 15 forks source link

Can't create new snapshot (Response code 400 (Bad Request)) #229

Closed Tobus closed 5 months ago

Tobus commented 5 months ago

Describe the bug When I try to make a backup, it shows "Can't create new snapshot (Response code 400 (Bad Request))".

To Reproduce Steps to reproduce the behavior:

Expected behavior A successfull backup

System information

Additional context Add any other context about the problem here.

[14:01:25] INFO: Starting Node...
[2024-01-18 14:01:30] [info]:   Log level: info
[2024-01-18 14:01:30] [info]:   Backup timeout: 5400000
[2024-01-18 14:01:30] [info]:   Satus : Go !
[2024-01-18 14:01:30] [info]:   Initializing and checking webdav client...
[2024-01-18 14:01:30] [info]:   Starting auto clean cron...
[2024-01-18 14:01:30] [info]:   Starting Cron...
[2024-01-18 14:01:30] [info]:   Hassio API : Go !
[2024-01-18 14:01:32] [info]:   Nextcloud connection : Go !
[2024-01-18 14:01:34] [info]:   Stopping addons...
[2024-01-18 14:01:34] [info]:   ... Ok
[2024-01-18 14:01:34] [info]:   Creating new snapshot...
[2024-01-18 14:01:34] [error]:  Can't create new snapshot (Response code 400 (Bad Request))
{"reqId":"voW0vSDeuQ0U3sSgRCWs","level":0,"time":"2024-01-18T12:58:24+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"ieWRiAOkh6dEJhszh4Fy","level":0,"time":"2024-01-18T12:58:24+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/backups/hassio/Manual/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"hif3GWxQCNnUQPrTWnAf","level":0,"time":"2024-01-18T12:58:24+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"MKCOL","url":"/remote.php/webdav/backups/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"hif3GWxQCNnUQPrTWnAf","level":0,"time":"2024-01-18T12:58:25+00:00","remoteAddr":IP,"user":"User","app":"webdav","method":"MKCOL","url":"/remote.php/webdav/backups/","message":"The resource you tried to create already exists","userAgent":"axios/0.27.2","version":"28.0.1.1","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":88,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/remote.php","line":172,"args":["/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"message":"The resource you tried to create already exists","exception":{},"CustomMessage":"The resource you tried to create already exists"}}
{"reqId":"6Wymijha6NjSvEsVUPur","level":0,"time":"2024-01-18T12:58:25+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"MKCOL","url":"/remote.php/webdav/backups/hassio/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"fDKsnJqX28LFvykOotou","level":0,"time":"2024-01-18T12:58:25+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/backups/hassio/Auto/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"6Wymijha6NjSvEsVUPur","level":0,"time":"2024-01-18T12:58:25+00:00","remoteAddr":IP,"user":"User","app":"webdav","method":"MKCOL","url":"/remote.php/webdav/backups/hassio/","message":"The resource you tried to create already exists","userAgent":"axios/0.27.2","version":"28.0.1.1","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":88,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/remote.php","line":172,"args":["/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"message":"The resource you tried to create already exists","exception":{},"CustomMessage":"The resource you tried to create already exists"}}
{"reqId":"40qy4MjUPgbCdVmtokWH","level":0,"time":"2024-01-18T12:58:25+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"MKCOL","url":"/remote.php/webdav/backups/hassio/Auto/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"40qy4MjUPgbCdVmtokWH","level":0,"time":"2024-01-18T12:58:25+00:00","remoteAddr":IP,"user":"User","app":"webdav","method":"MKCOL","url":"/remote.php/webdav/backups/hassio/Auto/","message":"The resource you tried to create already exists","userAgent":"axios/0.27.2","version":"28.0.1.1","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":88,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/remote.php","line":172,"args":["/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"message":"The resource you tried to create already exists","exception":{},"CustomMessage":"The resource you tried to create already exists"}}
{"reqId":"8gB0HiE836gnqoTYtvpf","level":0,"time":"2024-01-18T12:58:26+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"MKCOL","url":"/remote.php/webdav/backups/hassio/Manual/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"8gB0HiE836gnqoTYtvpf","level":0,"time":"2024-01-18T12:58:26+00:00","remoteAddr":IP,"user":"User","app":"webdav","method":"MKCOL","url":"/remote.php/webdav/backups/hassio/Manual/","message":"The resource you tried to create already exists","userAgent":"axios/0.27.2","version":"28.0.1.1","exception":{"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":[{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php","line":88,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/app/www/public/remote.php","line":172,"args":["/config/www/nextcloud/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php","Line":1184,"message":"The resource you tried to create already exists","exception":{},"CustomMessage":"The resource you tried to create already exists"}}
{"reqId":"7rxnUJuveka3w4gwkDuE","level":0,"time":"2024-01-18T12:58:29+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/backups/hassio/Manual/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"OKNCwrR2YzrnN1w9Xlh8","level":0,"time":"2024-01-18T12:58:30+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/backups/hassio/Auto/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"isWxJbZl7KqUkuTimOwO","level":0,"time":"2024-01-18T12:58:31+00:00","remoteAddr":IP,"user":"User","app":"encryption","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"aygH6PWoISI2saMhtZLi","level":0,"time":"2024-01-18T12:58:34+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/backups/hassio/Manual/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
{"reqId":"pCAzrjQx26pPDi7GOhxc","level":0,"time":"2024-01-18T12:58:34+00:00","remoteAddr":IP,"user":"--","app":"encryption","method":"PROPFIND","url":"/remote.php/webdav/backups/hassio/Auto/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"axios/0.27.2","version":"28.0.1.1","data":{"app":"encryption"}}
Sebclem commented 5 months ago

duplicate of #224