Hello!
I have this issue where I cannot successfully start using Snapshot Pro on one site. Everytime time it ends with 504 GATEWAY TIME-OUT The server didn't respond in time.
Since it is hosted on hosting using cPanel, I have limited options to set crucial settings like MAX_EXECUTION_TIME, POST_MAX_SIZE, UPLOAD_MAX_FILESIZE, MEMORY_LIMIT…. I did my best using .htaccess (even found out technical limit which I cannot overpass)… I've read and studied some existing Posts on WPMUDEV regarding this subject etc.
There is now Updraft (free) in production as an offsite backup solution, but I would like to start using Managed Snapshot instead.
a) https://wpmudev.com/forums/topic/snapshot-interfering-with-updraft-plus
b) https://wpmudev.com/forums/topic/snapshot-fails-when-media-files-are-included
c) https://wpmudev.com/forums/topic/snapshot-pro-snapshot-not-completing-and-taking-site-off-line
Facts / settings:
— WP 4.9.9
— PHP 7.2
— cPanel 76.0.20
— Updraft free in production (working almost as expected) – exception for "Snapshot" folder
— Snapshot Pro to be used – exception for "Updraft" folder
— PHP options
max_execution_time 120
(this is max possible in cPanel PHP options, so it is overridden by .htaccess using value of 600 (at the moment) or even more; I've tried 800, 1000 and 1200)
memory_limit 512M
(this is max possible in cPanel PHP options and cannot be overridden by .htaccess…. if I tried, setting was ignored and dropped back to the default value of 128M)
— .htaccess
php_value max_execution_time 600
php_value post_max_size 100M
php_value upload_max_filesize 100M
— wpconfig.php
define('WP_MEMORY_LIMIT','512M':wink:;
define('SNAPSHOT_TABLESET_CHUNK_SIZE', 50);
define('SNAPSHOT_FILESET_CHUNK_SIZE', 50);
— Website size at the moment 3.2 GB (everything included)
— More than enough storage space left on server for local copy (temp), which is 6.1 GB used out of 20 GB
Please advise / help / … Thank you!
Best Regards,
dg