• Resolved Steve Cliff

    (@stevecliff)


    I’m taking another look at setting Xcloner up to WebDav (now that I have a nice shiny NextCloud 12 server up and running rather than a very old version 8 OwnCloud!)

    I can verify the WebDav set up fine within the plugin but when it comes to actually back up, I get the following error:
    [2017-06-09 14:50:52] php_system.INFO: E_USER_DEPRECATED: array ( 'type' => 16384, 'message' => 'Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead.', 'file' => '/var/www/html/wp-content/plugins/wunderground/vendor/twig/twig/lib/Twig/Autoloader.php', 'line' => 30, ) [] []

    If I disable the Wunderground plugin and re-run, I get another error:
    [2017-06-09 14:54:56] php_system.INFO: E_NOTICE: array ( 'type' => 8, 'message' => 'Undefined index: login_form_bottom', 'file' => '/var/www/html/wp-content/plugins/custom-login-page/class-lib/CLP_ShortcodeClass.php', 'line' => 21, ) [] []

    If I then disable the A5 Custom Login plugin, I get the standard error with no other info, I.E.:
    [2017-06-09 14:56:16] xcloner_remote_storage.INFO: Could not transfer file backup_chasearchers.org.uk-2017-06-09_14-34-sql-a2ddf.tgz [] []

    Any thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Steve Cliff

    (@stevecliff)

    Hmmm – I’ve just checked the logs on some other sites too – and although the backup appears to have worked on those, I can see a lot of errors similar to this:

    [2017-06-09 17:06:34] php_system.INFO: E_NOTICE: array ( 'type' => 8, 'message' => 'Undefined variable: matches', 'file' => '/var/www/html/wp-content/plugins/bulletproof-security/includes/general-functions.php', 'line' => 498, ) [] []

    I’m wondering if I’ve set something up wrong – or whether something has changed in the latest WordPress Docker container I’m using ….

    The errors you have there, except the wunderground plugin one, are just notices and can be ignored, they are generated by third party plugins.

    With wunderground , seems there is a plugin conflict with their composer, they might need to update their twig library

    Thread Starter Steve Cliff

    (@stevecliff)

    Ok, thanks – I will ignore then ??

    But unfortunately I’m still stuck where I can’t use WebDav. I’ve tried on another site while watching the access log on the NextCloud server. I can see sabre-dav calls being processed when I click Verify in the plugin (a put followed by a get – presumably it’s just testing whether it has the right access permissions to verify?) and that’s fine.

    The backup itself though still stops almost immediately after triggering it as you can see from below.

    [2017-06-09 18:13:35] xcloner_remote_storage.INFO: Could not transfer file backup_sue.familycliff.co.uk-2017-06-09_16-01-sql-a118a.tgz [] []
    [2017-06-09 18:13:34] xcloner_remote_storage.INFO: Transferring backup backup_sue.familycliff.co.uk-2017-06-09_16-01-sql-a118a.tgz to remote storage WEBDAV [""] []
    [2017-06-09 18:13:33] xcloner_remote_storage.INFO: Doing WEBDAV remote storage cleanup for 30 days limit [] []
    [2017-06-09 18:13:33] xcloner_remote_storage.INFO: Creating the WEBDAV remote storage connection [""] []

    It could be that it doesn’t like how XCloner sends the file using a Stream object, in the verify option XCloner simply makes a PUT request to webdav. You should check if streaming support is enabled for uploading partial file requests.

    Thread Starter Steve Cliff

    (@stevecliff)

    I’m not getting any response from the Nextcloud forum unfortunately. I’ve tested your plugin against a demo Nextcloud site and it works fine but for some reason it won’t work on my Docker version (which as they are both pushed out by Nextcloud I would have expected to work the same ?? )

    Either way as it doesn’t seem to be your plugin I will close this ticket … and probably never touch WebDav again as it’s doing my head in – lol!

    Thanks,
    Steve.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Xcloner to WebDav (NextCloud)’ is closed to new replies.