• Hi,
    I use XCloner (Version 4.2.163) and “XCloner Google Drive” (Version 1.0.6) on WP 5.7.2 and got an internal Server Error while sending a Backup to the Drive. The error occurs on manual sending and on scheduled backup generation

    The backup process itself works perfect. The backup size is 92MB.

    Log (*** = hidden Data):

    [2021-06-30 05:15:44] php_system.ERROR: E_ERROR: array ( 'type' => 1, 'message' => 'Out of memory (allocated 191565824) (tried to allocate 785912584 bytes)', 'file' => '***/wp-content/plugins/xcloner-google-drive/vendor/league/flysystem/src/Util/MimeType.php', 'line' => 209, ) [] []
    [2021-06-30 05:15:44] xcloner_remote_storage.INFO: Transferring backup ***-d3221.tgz to remote storage GDRIVE [""] []
    [2021-06-30 05:15:44] xcloner_file_system.INFO: Cleaning the backup storage GDRIVE on matching rules [] []
    [2021-06-30 05:15:44] xcloner_remote_storage.INFO: Using target folder with ID *** on the remote storage [] []
    [2021-06-30 05:15:43] xcloner_remote_storage.INFO: Doing a Google Drive emptyTrash call [""] []
    [2021-06-30 05:15:43] xcloner_remote_storage.INFO: Creating the Google Drive remote storage connection [""] []

    I have some other websites (partly on same server with same php settings) where it works perfectly. The backups there are already larger.
    In addition I tried to increase the php memory_limit=1024M, but didn’t help.

    Thank you for helping!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support jimiero

    (@jimiero)

    Hello,

    From what I see in those logs, seems you’re website cant connect to Gdrive, have you verified the connection for that remote storage in website admin area at Xcloner remote storages?

    Thread Starter cmeiersoftware

    (@cmeiersoftware)

    Hello,
    Yes the connection is valid and verified.

    Plugin Support jimiero

    (@jimiero)

    Hello,

    Is this still an issue for you?

    Regards

    Thread Starter cmeiersoftware

    (@cmeiersoftware)

    Hi, yes it is.

    Running the backup via wp-cron causes following error:

    Warning: Illegal string offset 'refreh_token' in *****/wp-content/plugins/xcloner-backup-and-restore/vendor/watchfulli/xcloner-core/src/Xcloner_Remote_Storage.php on line 847
    
    Fatal error: Out of memory (allocated 211361792) (tried to allocate 793297544 bytes) in ****/wp-content/plugins/xcloner-google-drive/vendor/league/flysystem/src/Util/MimeType.php on line 209
    Plugin Support jimiero

    (@jimiero)

    Hello,

    Please contact your hosting company and ask them to increase your php memory_limit then try again, seems you’re out of memory.

    Thread Starter cmeiersoftware

    (@cmeiersoftware)

    HI,

    I tried to contact the hoster, but the maximum memory_limit is 768M, which is controlled by the system. The memory_limit is set to -1 (seen by the phpinfo())

    On a different server with a different hoster, the memory_limit is 256M. The Backup has 61MB.
    On the same server with the same php settings on a different website, the plugin works. Backups size: 530MB

    But why does the plugin tries to allocate 793MB of Data? The Backup is still 93MB.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Internal Server Error on sending backup to Google Drive’ is closed to new replies.