• Resolved homu9

    (@homu9)


    Hi,
    After upgrade to 1.16.43.
    Updraftplus stops send backups to remote FTP.
    It keeps backups at localhost which makes the disk full.
    The situation only occurs when using cronjob to manually backup.

    
    <?php
    define('UPDRAFTPLUS_CONSOLELOG', true);
    define('DOING_CRON', true);
    require_once('wp-load.php');
    do_action('updraft_backup_all');
    

    Backup Now and schedule still works.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    To help us find out the cause of the issue, please could you send us a copy of the full backup log? This can be found in the UpdraftPlus 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 link here.

    Regards,
    Bryle

    Thread Starter homu9

    (@homu9)

    
    0032.420 (0) Requesting upload of the files that have not yet been successfully uploaded (6)
    0032.457 (0) Cloud backup selection (1/1): none with instance (1/1) (last)
    0032.472 (0) No remote despatch: user chose no remote backup service
    

    Hi,
    the log shows No remote despatch: user chose no remote backup service.
    But FTP has been set as remote backup destination.
    I checked the other sites’ plugin update log, it’s working on 1.16.34, after update to 1.16.41, the backups were left on localhost.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Can you make sure that FTP is selected in the UpdraftPlus “Settings” tab? Also, please update to latest version is 1.16.42.

    Best Wishes,
    Bryle

    Thread Starter homu9

    (@homu9)

    Hi,
    Yes, FTP is selected.
    Updraftplus has already been updated to 1.16.43 before opening topic.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Apologies for the delay over the weekend.

    Please can you run a new backup, let it run for a while and send us a copy of the log here.

    Best Wishes,
    Bryle

    Thread Starter homu9

    (@homu9)

    Hi,
    Thank you for reply!
    Just found that another virtual server disk is used up.
    The log is here:
    https://pastebin.com/C8JkjQsw
    Backup Now and schedule still works.
    Only crontab have upload problem.
    Version 1.16.34 is fine.

    Hi,

    I have a same problem as mentioned. Version: 1.16.43

    When I run backup with cron it is not uploaded to remote server.

    This problem occurs only on ful backup. When I run DB backup with cron, there is no problem with uploading to remote server.

    Also if full backup is runned manually from WP dashboard, it will uploads to remote server.

    A.D.: updraft_backup_database works as expected, problem is only with full backup.
    A.D2: tested on 1.16.34 and works without problem

    • This reply was modified 4 years, 2 months ago by c4ni.
    • This reply was modified 4 years, 2 months ago by c4ni.

    PHP Warning: Illegal string offset ‘remote_storage_instances’ in /var/www/vhosts/****/httpdocs/wp-content/plugins/updraftplus/class-updraftplus.php on line 3155
    PHP Warning: Illegal string offset ‘remote_storage_instances’ in /var/www/vhosts/****/httpdocs/wp-content/plugins/updraftplus/class-updraftplus.php on line 3158
    PHP Warning: array_keys() expects parameter 1 to be array, string given in /var/www/vhosts/****z/httpdocs/wp-content/plugins/updraftplus/class-updraftplus.php on line 3158

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Please can you send us a copy of the backup log using the latest version 1.16.43?

    Best Wishes,
    Bryle

    Hi,

    log: https://pastebin.com/aiCqRtM0

    In log is message “No remote despatch: user chose no remote backup service)” but remote backup is configured and works with dabate only cron backup.

    c4ni

    (@c4ni)

    I debugged the process and the problem is in method boot_backup()

    Last parameter is $options with defaut value set as empty array.

    When action updraft_backupnow_backup_all is called without args this function will get empty string as $options value, so the default empty array value will not be set. This is the reason why assigning at class-updraftplus.php:3194 will not work.

    Solution for this is passing empty array when calling do_action:

    do_action('updraft_backupnow_backup_all', []);

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Backuped but not upload’ is closed to new replies.