UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › webdav unexpected response code 404
Tagged: subversion, webdav
- This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago by Dee Nutbourne.
-
AuthorPosts
-
May 27, 2017 at 11:05 pm #211224mlewinskiParticipant
I’m unable to backup to my subversion / webdav server. I can use tortoisesvn to upload the same .gz file manually via tortoisesvn. So I know that the svn server allows uploads and can write to the repo. This is what I have logged on the webserver:
May 27 16:55:37 www updraftplus[27335]: (f97915129584) Cloud backup selection (1/1): webdav (last) May 27 16:55:37 www updraftplus[27335]: (f97915129584) Beginning dispatch of backup to remote (webdav) May 27 16:55:37 www updraftplus[27335]: (f97915129584) WebDAV upload: attempt: backup_2017-05-27-1655_munged_f97915129584-db.gz May 27 16:55:37 www updraftplus[27335]: (f97915129584) PHP event: code E_USER_NOTICE: file not found: 404 (line 194, wp-content/plugins/Updraft/includes/PEAR/HTTP/WebDAV/Client/Stream.php) May 27 16:55:38 www updraftplus[27335]: (f97915129584) PHP event: code E_USER_NOTICE: Unexpected HTTP response code: 404 (line 417, wp-content/plugins/Updraft/includes/PEAR/HTTP/WebDAV/Client/Stream.php) May 27 16:55:38 www updraftplus[27335]: (f97915129584) An error condition has occurred for the first time during this job May 27 16:55:38 www updraftplus[27335]: (f97915129584) ERROR: WebDAV: Failed to upload file: backup_2017-05-27-1655_munged_f97915129584-db.gz
On my webdav server here’s the logs from the web server failing:
10.1.1.1 - www [27/May/2017:16:45:56 -0600] "OPTIONS /www/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 200 - "-" "PEAR::HTTP_WebDAV_Client" 10.1.1.1 - www [27/May/2017:16:45:56 -0600] "PROPFIND /www/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 404 268 "-" "PEAR::HTTP_WebDAV_Client" 10.1.1.1 - www [27/May/2017:16:45:56 -0600] "OPTIONS /www/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 200 - "-" "PEAR::HTTP_WebDAV_Client" 10.1.1.1 - www [27/May/2017:16:45:56 -0600] "PROPFIND /www/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 404 268 "-" "PEAR::HTTP_WebDAV_Client" 10.1.1.1 - www [27/May/2017:16:45:56 -0600] "PUT /www/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 404 306 "-" "PEAR::HTTP_WebDAV_Client"
And tortoisesvn succeeding with the same file:
192.168.1.1 - www [27/May/2017:16:46:43 -0600] "HEAD /www/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 404 - "-" "SVN/1.9.5 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.9.5.27581" 192.168.1.1 - www [27/May/2017:16:46:43 -0600] "PUT /www/!svn/txr/6-3z/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 201 257 "-" "SVN/1.9.5 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.9.5.27581" 192.168.1.1 - www [27/May/2017:16:46:47 -0600] "PROPPATCH /www/!svn/txr/6-3z/updraft/backup_2017-05-27-1638_My_Site_87203a649ae9-db.gz HTTP/1.1" 207 494 "-" "SVN/1.9.5 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.9.5.27581"
May 27, 2017 at 11:13 pm #211225mlewinskiParticipantI see this error also:
WebDAV: Chunk 1: A write error occurred Error: WebDAV: Failed to upload to backup_2017-05-27-1655_My_Site_f97915129584-db.gz
I’ve tried define(‘UPDRAFTPLUS_WEBDAV_NEVER_CHUNK’, true);. That Chunk error goes away, and then Updraft claims the backup succeeds. However, I never have any files appearing in my webdav repository. This is especially concerning since by all appearances the backups worked.
The backup apparently succeeded and is now complete (May 27 17:10:33)
I control the webdav server, which is latest patched CentOS 7. The apache configuration isn’t anything too special, and I can modify if needed to make this work. These are versions:
httpd.x86_64 2.4.6-45.el7.centos.4 @updates mod_dav_svn.x86_64 1.7.14-10.el7 @base
May 29, 2017 at 1:26 pm #211399Dee NutbourneModeratorHi,
Please could you send us a copy of the full backup logs from the chunked and non-chunked backups?
These can be found in the Existing Backups tab.The contents will be too long to post here directly, but you can use an online service such as Dropbox or Pastebin, and post the links here.
Best Wishes,
David N -
AuthorPosts
- The topic ‘webdav unexpected response code 404’ is closed to new replies.