Support » Plugin: UpdraftPlus WordPress Backup Plugin » Failed to upload to Google Drive

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi Ken,

    The log is interesting. It suggests that the filesystem is performing ‘short reads’, not returning as much data as has been requested. I have opened a task in our task tracker system to see what we can do to handle that.

    David

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Please can you try out the development version and let me know the results?

    https://updraftplus.com/faqs/devversion/

    David

    Thread Starter Ken Chan

    (@ckykenken)

    The same errors occur and I noticed that the version of the plugin downloaded from the link you provided is the same as that I installed from my website’s admin panel

    • This reply was modified 3 years, 10 months ago by Ken Chan.
    Thread Starter Ken Chan

    (@ckykenken)

    And the problem is still not resolved

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Hi Ken, Please do not create duplicate topics. I’ve removed your new one, if you have something to add do so here.

    It’s your topic and you can unresolve it in the right sidebar.

    Plugin Author David Anderson

    (@davidanderson)

    Hi Ken,

    Please can you post the log file from the attempt with the development version?

    David

    Thread Starter Ken Chan

    (@ckykenken)

    0000.000 (0) Opened log file at time: Thu, 01 Mar 2018 16:54:08 +0000 on https://www.ckykenken.net
    0000.050 (0) UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.14.4 WP: 4.9.4 PHP: 5.6.33 (litespeed, Linux web1006.dataplugs.com 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64) MySQL: 5.6.39 WPLANG: zh_HK Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 20.8M | 21.5M) multisite: N openssl: OpenSSL 1.0.2k-fips 26 Jan 2017 mcrypt: Y LANG: ZipArchive::addFile: Y
    0000.110 (0) Free space on disk containing Updraft’s temporary directory: 10324212.6 MB
    0000.411 (0) Tasks: Backup files: 0 (schedule: weekly) Backup DB: 1 (schedule: daily)
    0000.465 (0) Requesting semaphore lock (d) (apparently not via scheduler)
    0000.873 (0) Set semaphore last lock (d) time to 2018-03-01 16:54:09
    0000.900 (0) Semaphore lock (d) complete
    0001.038 (0) Backup run: resumption=0, nonce=f86549a180ff, begun at=1519923248 (1s ago), job type=backup
    0002.035 (0) Scheduling a resumption (1) after 300 seconds (1519923550) in case this run gets aborted
    0003.010 (0) This backup run is not intended for files – skipping
    0003.431 (0) Beginning creation of database dump (WordPress DB)
    0004.458 (0) Testing: /usr/bin/mysqldump
    0004.678 (0) PHP event: code E_WARNING: popen() has been disabled for security reasons (line 1538, wp-content/plugins/updraftplus/class-updraftplus.php)
    0004.743 (0) Error: popen failed
    0004.902 (0) Table ken_options: Total expected rows (approximate): 503
    0005.791 (0) Table ken_options: Total rows added: 499 in 0.84 seconds
    0005.835 (0) Table ken_options: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_options.table.gz – 42.2 KB)
    0006.136 (0) Table ken_users: Total expected rows (approximate): 1
    0006.184 (0) Table ken_users: Total rows added: 1 in 0.01 seconds
    0006.221 (0) Table ken_users: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_users.table.gz – 0.6 KB)
    0006.398 (0) Table ken_usermeta: Total expected rows (approximate): 49
    0006.420 (0) Table ken_usermeta: Total rows added: 49 in 0.00 seconds
    0006.505 (0) Table ken_usermeta: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_usermeta.table.gz – 3.7 KB)
    0006.698 (0) Table ken_commentmeta: Total expected rows (approximate): 0
    0006.782 (0) Table ken_commentmeta: Total rows added: 0 in 0.00 seconds
    0006.856 (0) Table ken_commentmeta: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_commentmeta.table.gz – 0.4 KB)
    0007.083 (0) Table ken_comments: Total expected rows (approximate): 0
    0007.156 (0) Table ken_comments: Total rows added: 0 in 0.01 seconds
    0007.202 (0) Table ken_comments: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_comments.table.gz – 0.5 KB)
    0007.351 (0) Table ken_links: Total expected rows (approximate): 0
    0007.411 (0) Table ken_links: Total rows added: 0 in 0.00 seconds
    0007.434 (0) Table ken_links: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_links.table.gz – 0.4 KB)
    0007.545 (0) Table ken_postmeta: Total expected rows (approximate): 408
    0007.737 (0) Table ken_postmeta: Total rows added: 408 in 0.12 seconds
    0007.789 (0) Table ken_postmeta: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_postmeta.table.gz – 7.3 KB)
    0007.949 (0) Table ken_posts: Total expected rows (approximate): 55
    0007.999 (0) Table ken_posts: Total rows added: 55 in 0.02 seconds
    0008.051 (0) Table ken_posts: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_posts.table.gz – 7.9 KB)
    0008.256 (0) Table ken_snippets: Total expected rows (approximate): 1
    0008.336 (0) Table ken_snippets: Total rows added: 1 in 0.00 seconds
    0008.418 (0) Table ken_snippets: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_snippets.table.gz – 0.5 KB)
    0008.639 (0) Table ken_term_relationships: Total expected rows (approximate): 28
    0008.677 (0) Table ken_term_relationships: Total rows added: 28 in 0.00 seconds
    0008.729 (0) Table ken_term_relationships: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_term_relationships.table.gz – 0.4 KB)
    0008.912 (0) Table ken_term_taxonomy: Total expected rows (approximate): 13
    0009.052 (0) Table ken_term_taxonomy: Total rows added: 13 in 0.00 seconds
    0009.121 (0) Table ken_term_taxonomy: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_term_taxonomy.table.gz – 0.5 KB)
    0009.299 (0) Table ken_termmeta: Total expected rows (approximate): 0
    0009.367 (0) Table ken_termmeta: Total rows added: 0 in 0.00 seconds
    0009.419 (0) Table ken_termmeta: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_termmeta.table.gz – 0.4 KB)
    0009.653 (0) Table ken_terms: Total expected rows (approximate): 13
    0009.725 (0) Table ken_terms: Total rows added: 13 in 0.00 seconds
    0009.763 (0) Table ken_terms: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_terms.table.gz – 0.7 KB)
    0009.848 (0) Table ken_itsec_lockouts: Total expected rows (approximate): 0
    0009.864 (0) Table ken_itsec_lockouts: Total rows added: 0 in 0.00 seconds
    0009.883 (0) Table ken_itsec_lockouts: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_itsec_lockouts.table.gz – 0.4 KB)
    0009.961 (0) Table ken_itsec_logs: Total expected rows (approximate): 9
    0009.983 (0) Table ken_itsec_logs: Total rows added: 9 in 0.01 seconds
    0009.999 (0) Table ken_itsec_logs: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_itsec_logs.table.gz – 2.9 KB)
    0010.115 (0) Table ken_itsec_temp: Total expected rows (approximate): 18
    0010.171 (0) Table ken_itsec_temp: Total rows added: 18 in 0.02 seconds
    0010.201 (0) Table ken_itsec_temp: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_itsec_temp.table.gz – 0.7 KB)
    0010.319 (0) Table ken_slim_events: Total expected rows (approximate): 0
    0010.363 (0) Table ken_slim_events: Total rows added: 0 in 0.00 seconds
    0010.420 (0) Table ken_slim_events: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_events.table.gz – 0.4 KB)
    0010.489 (0) Table ken_slim_events_archive: Total expected rows (approximate): 0
    0010.543 (0) Table ken_slim_events_archive: Total rows added: 0 in 0.00 seconds
    0010.613 (0) Table ken_slim_events_archive: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_events_archive.table.gz – 0.4 KB)
    0010.795 (0) Table ken_slim_stats: Total expected rows (approximate): 18
    0010.864 (0) Table ken_slim_stats: Total rows added: 18 in 0.01 seconds
    0010.929 (0) Table ken_slim_stats: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_stats.table.gz – 1.7 KB)
    0011.122 (0) Table ken_slim_stats_archive: Total expected rows (approximate): 0
    0011.186 (0) Table ken_slim_stats_archive: Total rows added: 0 in 0.00 seconds
    0011.241 (0) Table ken_slim_stats_archive: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_stats_archive.table.gz – 0.6 KB)
    0011.508 (0) Table ken_yoast_seo_links: Total expected rows (approximate): 12
    0011.558 (0) Table ken_yoast_seo_links: Total rows added: 12 in 0.00 seconds
    0011.610 (0) Table ken_yoast_seo_links: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_yoast_seo_links.table.gz – 0.7 KB)
    0011.868 (0) Table ken_yoast_seo_meta: Total expected rows (approximate): 63
    0011.951 (0) Table ken_yoast_seo_meta: Total rows added: 63 in 0.00 seconds
    0012.007 (0) Table ken_yoast_seo_meta: finishing file (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_yoast_seo_meta.table.gz – 0.5 KB)
    0012.194 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_options.table.gz (1/22): adding to final database dump
    0012.278 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_users.table.gz (2/22): adding to final database dump
    0012.313 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_usermeta.table.gz (3/22): adding to final database dump
    0012.398 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_commentmeta.table.gz (4/22): adding to final database dump
    0012.483 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_comments.table.gz (5/22): adding to final database dump
    0012.551 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_links.table.gz (6/22): adding to final database dump
    0012.611 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_postmeta.table.gz (7/22): adding to final database dump
    0012.694 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_posts.table.gz (8/22): adding to final database dump
    0012.792 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_snippets.table.gz (9/22): adding to final database dump
    0012.861 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_term_relationships.table.gz (10/22): adding to final database dump
    0012.930 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_term_taxonomy.table.gz (11/22): adding to final database dump
    0012.975 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_termmeta.table.gz (12/22): adding to final database dump
    0013.052 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_terms.table.gz (13/22): adding to final database dump
    0013.116 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_itsec_lockouts.table.gz (14/22): adding to final database dump
    0013.219 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_itsec_logs.table.gz (15/22): adding to final database dump
    0013.304 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_itsec_temp.table.gz (16/22): adding to final database dump
    0013.373 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_events.table.gz (17/22): adding to final database dump
    0013.452 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_events_archive.table.gz (18/22): adding to final database dump
    0013.524 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_stats.table.gz (19/22): adding to final database dump
    0013.592 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_slim_stats_archive.table.gz (20/22): adding to final database dump
    0013.655 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_yoast_seo_links.table.gz (21/22): adding to final database dump
    0013.692 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db-table-ken_yoast_seo_meta.table.gz (22/22): adding to final database dump
    0013.725 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db.gz: finished writing out complete database file (48 KB)
    0014.016 (0) Total database tables backed up: 22 (backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db.gz, size: 68576, sha256)
    0015.817 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db.gz: db: This file has not yet been successfully uploaded: will queue
    0015.865 (0) Saving backup history. Total backup size: 67 KB
    0015.944 (0) Requesting upload of the files that have not yet been successfully uploaded (1)
    0016.056 (0) Cloud backup selection (1/1): googledrive with instance (1/1) (last)
    0016.096 (0) Beginning dispatch of backup to remote (googledrive) (instance identifier s-b2d4b7b02da3dc61dd2b1ad8d398c1f2)
    0020.195 (0) Google Drive quota usage: used=8440.3 MB, total=15360 MB, available=6919.7 MB
    0020.227 (0) backup_2018-03-02-0054_Ken_Ken__f86549a180ff-db.gz: Attempting to upload to Google Drive (into folder id: 0B7DVqBpHDEyZamZJeE9neUNVWDQ)
    0020.856 (0) ERROR: Google Drive upload error (Google_Service_Exception): Error calling PUT https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&upload_id=AEnB2UoO430RPHzX372CmXkMet_JrTaQU7G7FddaG2PwfAozRiRA979FQ6XrVvVborFnZZJcs6u1rN8oGwUt3zZB69BJ55pyegNJ8fZegZc8etosQgPy1Sg: (400) Invalid request. The number of bytes uploaded is required to be equal or greater than 262144, except for the final request (it’s recommended to be the exact multiple of 262144). The received request contained 52567 bytes, which does not meet this requirement. (line: 110, file: /home/potsmcne/ckykenken.net/wp-content/plugins/updraftplus/includes/Google/Http/REST.php)
    0021.587 (0) ERROR: Google Drive upload error (Google_Service_Exception): Error calling PUT https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&upload_id=AEnB2UpzZfarkwIqTqn8RBCu8gXPIFJGM6yJUbEHCN4M2fqEjHEUc0QuGcwHL3dr-PoHMTq24vAjQlYMLn1upPgK227JgbvhcEwXVgGb1Yis2nBKafuns2I: (400) Invalid request. The number of bytes uploaded is required to be equal or greater than 262144, except for the final request (it’s recommended to be the exact multiple of 262144). The received request contained 52567 bytes, which does not meet this requirement. (line: 110, file: /home/potsmcne/ckykenken.net/wp-content/plugins/updraftplus/includes/Google/Http/REST.php)
    0021.635 (0) ERROR: Google Drive upload error: Error calling PUT https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&upload_id=AEnB2UpzZfarkwIqTqn8RBCu8gXPIFJGM6yJUbEHCN4M2fqEjHEUc0QuGcwHL3dr-PoHMTq24vAjQlYMLn1upPgK227JgbvhcEwXVgGb1Yis2nBKafuns2I: (400) Invalid request. The number of bytes uploaded is required to be equal or greater than 262144, except for the final request (it’s recommended to be the exact multiple of 262144). The received request contained 52567 bytes, which does not meet this requirement. (line: 110, file: /home/potsmcne/ckykenken.net/wp-content/plugins/updraftplus/includes/Google/Http/REST.php)
    0021.666 (0) An error condition has occurred for the first time during this job
    0021.795 (0) Retain: beginning examination of existing backup sets; user setting: retain_files=3, retain_db=7
    0021.868 (0) Number of backup sets in history: 2; groups (db): 1
    0021.926 (0) Examining (for databases) backup set with group_id=0, nonce=f86549a180ff, datestamp=1519923248 (Mar 01 2018 16:54:08)
    0021.975 (0) This backup set is the backup set just made, so will not be deleted.
    0021.975 (0) Examining (for databases) backup set with group_id=0, nonce=74cc5924876e, datestamp=1519887618 (Mar 01 2018 07:00:18)
    0021.975 (0) This backup set remains non-empty (f=0/d=1); will retain in history
    0022.041 (0) Number of backup sets in history: 2; groups (files): 1
    0022.059 (0) Examining (for files) backup set with nonce=f86549a180ff, datestamp=1519923248 (Mar 01 2018 16:54:08)
    0022.059 (0) This backup set remains non-empty (f=0/d=1); will retain in history
    0022.111 (0) Examining (for files) backup set with nonce=74cc5924876e, datestamp=1519887618 (Mar 01 2018 07:00:18)
    0022.111 (0) This backup set remains non-empty (f=0/d=1); will retain in history
    0022.111 (0) Retain: saving new backup history (sets now: 2) and finishing retain operation
    0022.255 (0) Resume backup (f86549a180ff, 0): finish run
    0022.432 (0) Decremented the semaphore (d) by 1
    0022.551 (0) Semaphore (d) unlocked
    0022.585 (0) There were errors in the uploads, so the ‘resume’ event is remaining scheduled
    0022.749 (0) Rescheduling resumption 1: moving to 120 seconds from now (1519923391)
    0022.824 (0) No email will/can be sent – the user has not configured an email address.
    0022.872 (0) The backup has not finished; a resumption is scheduled

    Plugin Author David Anderson

    (@davidanderson)

    Hi Ken,

    Does your PHP install have the mbstring.func_overload option turned on?

    David

    Thread Starter Ken Chan

    (@ckykenken)

    I’m afraid that such option is disabled by my web hosting company.

    • This reply was modified 3 years, 10 months ago by Ken Chan.
    Thread Starter Ken Chan

    (@ckykenken)

    UPDATE: it become error 500 after I inserted the code

    • This reply was modified 3 years, 10 months ago by Ken Chan.
    Thread Starter Ken Chan

    (@ckykenken)

    mbstring.func_overload set to 0
    Same error

    Plugin Author David Anderson

    (@davidanderson)

    Hi Ken,

    Do you get the same problem if you try a different storage destination, e.g. Dropbox?

    David

    Thread Starter Ken Chan

    (@ckykenken)

    What is this?
    Failed to load phpseclib classes (mbstring_func_overload): Overloading of string functions using mbstring.func_overload is not supported by phpseclib.

    Plugin Author David Anderson

    (@davidanderson)

    Sorry; I should have explained that I didn’t want you to use that setting; I just wanted you to confirm that it was not in use.

    Thread Starter Ken Chan

    (@ckykenken)

    Still pops that error message though I removed that line

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Failed to upload to Google Drive’ is closed to new replies.