• Resolved alexis888

    (@alexis888)


    Hello.
    I’m having issue sending my backups to Google Drive for the two websites I have hosted by PlanetHoster. When sending to Google Drive, these take up to 10 minutes to be complete and are very always stopped and resumed multiple times, showing errors in Updraft Logs.
    I have no problem when uploading the same backup to Dropbox in less than a minute (but can’t keep this as an option, GG drive offers 15 GB of free storage when Dropbox only 2)

    I’m using the latest version of WordPress, latest of UpdraftPlus and have very few plugins on these websites as they are really simple WooCommerce stores. My backup files are pretty small ( uploads : 21.2Mo, DB : 3Mo, Others : 2.2Mo, Themes : 4.3Mo, Plugins: 56.4 Mo)
    I’m using PlanetHoster’s WorldLS plan (shared hosting on LiteSpeed servers) with PHP 7.4.5.

    I know Litespeed servers can cause issues when backing up so I did what you FAQ suggested : add the code to my .htaccess, add the code to my wp-config.php but nothing changed.
    So I got in touch with PlanetHost support who first advised me to increase memory_limit, post_max_size et le upload_max_filesize (which I did, up to 1GB to be sure) and add the following code to my .htaccess :

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteRule .* - [E=noconntimeout:1]
    RewriteRule .* - [E=noabort:1]
    </IfModule>
    
    <IfModule litespeed>
    RewriteRule .* - [E=noabort:1]
    </IfModule>

    It didn’t work. I then gave them my login information so they can test it out themselves directly in my wordpress. They noticed it was not working but told me several times on their end their logs (server / php logs, firewall etc) don’t show any issues.

    Eventually before posting here and after reading a lot of similar posts about Google Drive, I tried to reduce the backup archive split size down to 40Mo instead of 400Mo but still have the same issues with Google Drive.

    I have other WordPress / WooCommerce websites running on more or less the same set up (with more plugins than these two who are causing me problems though) and on LitesSpeed servers too but on a different hosting company (o2switch, shared hosting with LiteSpeed servers)

    PlanetHoster support really tried there best, did a lot of tests etc (when they are not supposed to support plugin issues) however it still doesn’t work. They told me they can’t help me and I have to ask the plugin support.
    I’m kinda lost about what else I should try to eventually solve this issue on websites I’m supposed to hand out to my client this upcoming week.

    I’m posting the logs of my lattest attempt on one of the two websites in another message bellow not to make this one too long.

    I hope I’ll be able to find a solution here !
    Thanks

    • This topic was modified 4 years, 4 months ago by alexis888.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter alexis888

    (@alexis888)

    Hello @bcrodua ,

    I tried again today with Google Drive (still no pb when using Dropbox) thinking “there’s been a major WordPress update, LiteSpeed and Updraft plugins’ updates since last time so maybe it’ll work” but no luck.

    here are the logs :
    https://pastebin.com/qNCDzp3y
    thanks

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Could you try to reduce the split archive size to 200Mb? Just to test if that will help resolve the issue.

    Regards,
    Bryle

    Thread Starter alexis888

    (@alexis888)

    Hey,
    I just did that but I still have “timeout” errors .
    I also noticed I have quite a lot of the same error in my developer Console :

    https://ibb.co/GRGhZ4W
    https://ibb.co/WkYyhxR
    https://ibb.co/Jkk7F2J*

    Here are the logs of this latest attempt (I’ve enabled debug mode in Updraft in case that helps). It’s a direct link to the txt file in my mediafire account cause there was too many lines for pastebi. I hope that’s fine :
    https://www.mediafire.com/file/c0exrs5iie3cp7y/log.72cd92e3074c.txt/file

    Thanks

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Please could you try adding the following to your wp-config.php file:

    define('UPDRAFTPLUS_IPV4_ONLY', true);

    Place that line near the top, just below the database credentials.

    It is possible that there is an issue with your hosts IPv6 setup which is causing the problem.

    Thread Starter alexis888

    (@alexis888)

    Hello @dnutbourne,
    I did that but still encountered the same errors unfortunately. And it took almost two hours two complete
    Here are the log files : https://www.mediafire.com/file/nh1xu6sjokm0k0l/log.6ee80a17d804.txt/file

    thanks

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    It appears then that the connection is being cut off early by some mechanism on the server.

    Please could you ask your hosts if there are any security modules on the server which may be cutting off the connection?

    Thread Starter alexis888

    (@alexis888)

    Hey @dnutbourne ,
    I’ve reached out to PlanetHoster support again and here is what they told me :

    What would normally block is mod_security, but it has been disabled on your account.

    and

    It may take longer to send to google drive because the transfer rate between the 2 is lower.
    Is there a way with the script to see the transfer rate in the logs?

    does that help ?
    Thank you

    Thread Starter alexis888

    (@alexis888)

    Hello, any news about this @dnutbourne / @bcrodua ?

    Thank you guys

    Plugin Author David Anderson

    (@davidanderson)

    > Is there a way with the script to see the transfer rate in the logs?

    Here is the error in the log file:

    1856.565 (5) Google Drive: Upload error: Operation timed out after 60000 milliseconds with 0 bytes received (line: 117, file: /home/adgcnqze/public_html/wp-content/plugins/updraftplus/includes/Google/IO/Curl.php)

    Note there that it says 0 bytes received. As in, absolutely none, in 60 seconds. This indicates no network connectivity at that time, rather than just being very slow.

    David

    Thread Starter alexis888

    (@alexis888)

    Hey guys, since my last tests there’s been two updates (october 15 and 20) and now it seems to work just fine. I’ve asked PlanetHoster support and they didn’t do anything on the server that could explain it’s now working.

    Could one of these updates have solved the issue (on purpose) ? I couldn’t find any hints in the changelog that would suggest they did.

    Thanks

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Google Drive issue (LiteSpeed Server / PlanetHoster)’ is closed to new replies.