Forum Replies Created

Viewing 15 replies - 16 through 30 (of 48 total)
  • Thread Starter dgebel

    (@dgebel)

    Thanks for the reply. I went onto my site again, and found that the problem had returned. Purged cache again. Still no joy.

    I went through the plugins again and found the culprit.
    It is SMUSH. More specifically, the lazy-loading feature. I suspect it is cached somewhere. I switched it to native lazing loading and it worked again.

    I still haven’t figured out how to delete an entire slider from the admin panel. There is NO delete function for the slider that I can find, just delete slides.

    • This reply was modified 3 years, 8 months ago by dgebel.
    Thread Starter dgebel

    (@dgebel)

    I tried commenting it out, but it just failed again.
    The PHP library is set to 7.4 in the CPanel handler.
    Are you saying you include a PHP binary in your plugin somewhere? I wouldn’t think that Bluehost would allow that. Or do you mean explicitly point the plugin to the PHP 7.4 binary?

    Thread Starter dgebel

    (@dgebel)

    @backupsupport
    Ok, so php --version gives PHP 7.4.16 (cli)
    curl --version gives 7.19.7

    However… Adding to wp-config.php:

    define('BMI_CLI_ENABLED', false);

    just before

    if ( ! defined( 'ABSPATH' ) )
    	define( 'ABSPATH', dirname( __FILE__ ) . '/' );

    has set things working, even with “do not change default options” selection.
    So yay! Thanks again!

    Now if I could just get the scheduler working…

    • This reply was modified 3 years, 8 months ago by dgebel.
    • This reply was modified 3 years, 8 months ago by dgebel.
    Thread Starter dgebel

    (@dgebel)

    And I missed your just posted reply too. Will try those edits in sequence!

    Thread Starter dgebel

    (@dgebel)

    Oh sorry! I had completely missed one of your replies. I think I still had the page open and it didn’t get refreshed on my screen before I posted.

    `The third option also failed (backup method)?

    No, that one DOES mostly work, with the caveats I mentioned about the 404 errors. But as you know, can’t use automatics.

    You can also try to disable PHP CLI (then don’t change above method mentioned):

    Pick default Backup Method (in other settings section)
    Add this define(“BMI_CLI_ENABLED”, false); to your wp-config.php
    Make sure quotes are not copied and type them manually (WP forum replaces them)
    Once you do that default method will switch to one-request backup which depends on your web server timeout.

    Oh! I forgot about this, I had to do this once before!

    Or if you want to use PHP CLI:

    Update your default “php” command on your server
    You can check current version with “php –version”
    The version has to match at least 5.6 or above.

    Not sure about this one, but I have php 7.4 enabled

    Depending on last logs you sent, looks like you don’t have cURL installed or the extension is not loaded. This library allows PHP and WordPress work much more efficient. That may be the reason why second option didn’t work for you.

    Odd… I actually DO have cURL enabled, version 7.76 I think phpinfo said.

    Running out of time right now, will add that config file change later.
    Thanks again!

    • This reply was modified 3 years, 8 months ago by dgebel.
    Thread Starter dgebel

    (@dgebel)

    Thanks for the beta… still not working though. I’ll check that Replace plugin out, thanks!
    Here’s the hickup log. Is there another log that would give more details?

    [STEP] [2021-03-15 15:43:51] Initializing backup...
    [INFO] [2021-03-15 15:43:51] Backup & Migration version: 1.0.9.21
    [INFO] [2021-03-15 15:43:51] Site which will be backed up: https://example.com
    [INFO] [2021-03-15 15:43:51] PHP Version: 7.4.16
    [INFO] [2021-03-15 15:43:51] Web server: Apache
    [INFO] [2021-03-15 15:43:51] Max execution time (in seconds): 259200
    [INFO] [2021-03-15 15:43:51] Checking if backup dir is writable...
    [INFO] [2021-03-15 15:43:51] Initializing custom error handler
    [SUCCESS] [2021-03-15 15:43:51] Yup it is writable...
    [INFO] [2021-03-15 15:43:51] PHP CLI is available – plugin will try to run server script.
    [STEP] [2021-03-15 15:43:51] Scanning files...
    [STEP] [2021-03-15 15:43:52] Checking free space, reserving...
    [INFO] [2021-03-15 15:43:52] Requires at least 543233414 bytes. [518.07 MB]
    [INFO] [2021-03-15 15:43:52] Disk free space function is not disabled - using...
    [INFO] [2021-03-15 15:43:52] Checking this path/partition: /home/user/backupwordpress/site/backups
    [SUCCESS] [2021-03-15 15:43:52] There is 223,554.24 MB free. [218.31 GB]
    [SUCCESS] [2021-03-15 15:43:52] Great! We have enough space.
    [SUCCESS] [2021-03-15 15:43:52] Confirmed, there is more than enough space, checked: 543233414 bytes
    [INFO] [2021-03-15 15:43:52] Scanning done - found 8996 files...
    [SUCCESS] [2021-03-15 15:43:52] Backup initialized...
    [STEP] [2021-03-15 15:43:52] Initializing archiving system...
    [SUCCESS] [2021-03-15 15:43:52] Archive system initialized...
    [STEP] [2021-03-15 15:43:52] Preparing map of files...
    [SUCCESS] [2021-03-15 15:43:52] Files prepared.
    [INFO] [2021-03-15 15:43:52] Starting compression process...
    [STEP] [2021-03-15 15:43:52] Smart memory calculation...
    [INFO] [2021-03-15 15:43:52] There is 384 MBs of memory to use
    [INFO] [2021-03-15 15:43:52] WordPress memory limit: 256 MBs
    [SUCCESS] [2021-03-15 15:43:52] Setting the safe limit to 86 MB
    [STEP] [2021-03-15 15:43:52] Making database backup
    [INFO] [2021-03-15 15:43:52] Iterating database...
    [INFO] [2021-03-15 15:43:54] Database size: 11.71 MB
    [SUCCESS] [2021-03-15 15:43:54] Database backup finished
    [STEP] [2021-03-15 15:43:54] Making archive
    [INFO] [2021-03-15 15:43:54] Compressing...
    [INFO] [2021-03-15 15:43:54] Using PclZip module to create the backup
    [INFO] [2021-03-15 15:43:54] Legacy setting: Using server-sided script and cURL based loop for better capabilities
    [INFO] [2021-03-15 15:43:54] Starting background process on server-side...
    [SUCCESS] [2021-03-15 15:43:55] Request sent successfully, without error returned.
    [WARN] [2021-03-15 15:43:57] Could not find any response from the server, trying again in 3 seconds.
    [WARN] [2021-03-15 15:44:00] Still nothing backup probably is not running.
    [STEP] [2021-03-15 15:44:00] Reverting backup, removing file...
    [ERROR] [2021-03-15 15:44:00] There was an error during backup...
    [ERROR] [2021-03-15 15:44:00] Backup could not run on your server, please check global logs.
    [STEP] [2021-03-15 15:44:00] Aborting backup...
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-03-15 15:44:02
    [DOWNLOAD GENERATED] Last update (seconds): 11 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-03-15 15:43:51
    Thread Starter dgebel

    (@dgebel)

    Ok… so one other issue I found. Big one actually. Couple minor ones.

    None of the menus or hyperlinks work when moved to another URL. I took the backup that seemed to work from example.com and did a quick restore to subdomain.example2.com

    1. Main page worked fine and the menu links were modified correctly, eg https://example.com/about is changed to https://subdomain.example2.com/about, but there are no pages found, naught but 404 errors. However, the pages ARE there in the editor, so not sure why they can’t be found.

    2. All of the other on-page hyperlinks to other pages go back to the original URL instead of the new URL.

    That’s okay for a backup. Not any use for migration of anything other than a single page site, maybe. I was hoping to use this for off-line testing and potentially setting up a quick “default configuration” pre-development tool. Also makes it hard to verify if the backup actually worked or not.

    3. A bunch of little configuration settings, look like they get “reset” to the default values instead of saved values, especially in plugins. Some of the back-end images apparently didn’t get transferred, there’s a broken link instead of the image.

    • This reply was modified 3 years, 8 months ago by dgebel.
    • This reply was modified 3 years, 8 months ago by dgebel.
    • This reply was modified 3 years, 8 months ago by dgebel.
    Thread Starter dgebel

    (@dgebel)

    Not positive which option you mean:

    This is the results of the “do not change the plugin defaults”

    [STEP] [2021-03-15 00:00:53] Initializing backup…
    [INFO] [2021-03-15 00:00:53] Backup & Migration version: 1.0.9
    [INFO] [2021-03-15 00:00:53] Site which will be backed up: https://example.com
    [INFO] [2021-03-15 00:00:53] PHP Version: 7.4.16
    [INFO] [2021-03-15 00:00:53] Web server: Apache
    [INFO] [2021-03-15 00:00:53] Max execution time (in seconds): 259200
    [INFO] [2021-03-15 00:00:53] Checking if backup dir is writable…
    [INFO] [2021-03-15 00:00:53] Initializing custom error handler
    [SUCCESS] [2021-03-15 00:00:53] Yup it is writable…
    [INFO] [2021-03-15 00:00:53] PHP CLI is available – plugin will try to run server script.
    [STEP] [2021-03-15 00:00:53] Scanning files…
    [STEP] [2021-03-15 00:00:53] Checking free space, reserving…
    [INFO] [2021-03-15 00:00:53] Requires at least 541346682 bytes. [516.27 MB]
    [INFO] [2021-03-15 00:00:53] Disk free space function is not disabled – using…
    [INFO] [2021-03-15 00:00:53] Checking this path/partition: /home/username/backupwordpress/site/backups
    [SUCCESS] [2021-03-15 00:00:53] There is 231,276.53 MB free. [225.86 GB]
    [SUCCESS] [2021-03-15 00:00:53] Great! We have enough space.
    [SUCCESS] [2021-03-15 00:00:53] Confirmed, there is more than enough space, checked: 541346682 bytes
    [INFO] [2021-03-15 00:00:53] Scanning done – found 8995 files…
    [SUCCESS] [2021-03-15 00:00:53] Backup initialized…
    [STEP] [2021-03-15 00:00:53] Initializing archiving system…
    [SUCCESS] [2021-03-15 00:00:53] Archive system initialized…
    [STEP] [2021-03-15 00:00:53] Preparing map of files…
    [SUCCESS] [2021-03-15 00:00:53] Files prepared.
    [INFO] [2021-03-15 00:00:53] Starting compression process…
    [STEP] [2021-03-15 00:00:53] Smart memory calculation…
    [INFO] [2021-03-15 00:00:53] There is 384 MBs of memory to use
    [INFO] [2021-03-15 00:00:53] WordPress memory limit: 256 MBs
    [SUCCESS] [2021-03-15 00:00:53] Setting the safe limit to 86 MB
    [STEP] [2021-03-15 00:00:53] Making database backup
    [INFO] [2021-03-15 00:00:53] Iterating database…
    [INFO] [2021-03-15 00:00:54] Database size: 11.68 MB
    [SUCCESS] [2021-03-15 00:00:54] Database backup finished
    [STEP] [2021-03-15 00:00:54] Making archive
    [INFO] [2021-03-15 00:00:54] Compressing…
    [INFO] [2021-03-15 00:00:54] Using PclZip module to create the backup
    [INFO] [2021-03-15 00:00:54] Legacy setting: Using server-sided script and cURL based loop for better capabilities
    [INFO] [2021-03-15 00:00:54] Starting background process on server-side…
    [SUCCESS] [2021-03-15 00:00:54] Request sent successfully, without error returned.
    [WARN] [2021-03-15 00:00:56] Could not find any response from the server, trying again in 3 seconds.
    [WARN] [2021-03-15 00:00:59] Still nothing backup probably is not running.
    [STEP] [2021-03-15 00:00:59] Reverting backup, removing file…
    [ERROR] [2021-03-15 00:00:59] There was an error during backup…
    [ERROR] [2021-03-15 00:00:59] Backup could not run on your server, please check global logs.
    [STEP] [2021-03-15 00:00:59] Aborting backup…
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-03-15 00:01:01
    [DOWNLOAD GENERATED] Last update (seconds): 8 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-03-15 00:00:53`

    This is the results of the “bypass webserver timeout directive” run

    [STEP] [2021-03-14 23:54:24] Initializing backup…
    [INFO] [2021-03-14 23:54:24] Backup & Migration version: 1.0.9
    [INFO] [2021-03-14 23:54:24] Site which will be backed up: https://riversidebaptistchurch.ca
    [INFO] [2021-03-14 23:54:24] PHP Version: 7.4.16
    [INFO] [2021-03-14 23:54:24] Web server: Apache
    [INFO] [2021-03-14 23:54:24] Max execution time (in seconds): 259200
    [INFO] [2021-03-14 23:54:24] Checking if backup dir is writable…
    [INFO] [2021-03-14 23:54:24] Initializing custom error handler
    [SUCCESS] [2021-03-14 23:54:24] Yup it is writable…
    [INFO] [2021-03-14 23:54:24] PHP CLI is available – plugin will try to run server script.
    [STEP] [2021-03-14 23:54:24] Scanning files…
    [STEP] [2021-03-14 23:54:24] Checking free space, reserving…
    [INFO] [2021-03-14 23:54:24] Requires at least 541346682 bytes. [516.27 MB]
    [INFO] [2021-03-14 23:54:24] Disk free space function is not disabled – using…
    [INFO] [2021-03-14 23:54:24] Checking this path/partition: /home3/ebeltech/backupwordpress/rbc/backups
    [SUCCESS] [2021-03-14 23:54:24] There is 231,301.53 MB free. [225.88 GB]
    [SUCCESS] [2021-03-14 23:54:24] Great! We have enough space.
    [SUCCESS] [2021-03-14 23:54:24] Confirmed, there is more than enough space, checked: 541346682 bytes
    [INFO] [2021-03-14 23:54:24] Scanning done – found 8995 files…
    [SUCCESS] [2021-03-14 23:54:24] Backup initialized…
    [STEP] [2021-03-14 23:54:24] Initializing archiving system…
    [SUCCESS] [2021-03-14 23:54:24] Archive system initialized…
    [STEP] [2021-03-14 23:54:25] Preparing map of files…
    [SUCCESS] [2021-03-14 23:54:25] Files prepared.
    [INFO] [2021-03-14 23:54:25] Starting compression process…
    [STEP] [2021-03-14 23:54:25] Smart memory calculation…
    [INFO] [2021-03-14 23:54:25] There is 384 MBs of memory to use
    [INFO] [2021-03-14 23:54:25] WordPress memory limit: 256 MBs
    [SUCCESS] [2021-03-14 23:54:25] Setting the safe limit to 86 MB
    [STEP] [2021-03-14 23:54:25] Making database backup
    [INFO] [2021-03-14 23:54:25] Iterating database…
    [INFO] [2021-03-14 23:54:31] Database size: 11.68 MB
    [SUCCESS] [2021-03-14 23:54:31] Database backup finished
    [STEP] [2021-03-14 23:54:31] Making archive
    [INFO] [2021-03-14 23:54:31] Compressing…
    [INFO] [2021-03-14 23:54:31] Using PclZip module to create the backup
    [INFO] [2021-03-14 23:54:31] Legacy setting: Using server-sided script and cURL based loop for better capabilities
    [INFO] [2021-03-14 23:54:31] Starting background process on server-side…
    [SUCCESS] [2021-03-14 23:54:31] Request sent successfully, without error returned.
    [WARN] [2021-03-14 23:54:33] Could not find any response from the server, trying again in 3 seconds.
    [WARN] [2021-03-14 23:54:36] Still nothing backup probably is not running.
    [STEP] [2021-03-14 23:54:36] Reverting backup, removing file…
    [ERROR] [2021-03-14 23:54:36] There was an error during backup…
    [ERROR] [2021-03-14 23:54:36] Backup could not run on your server, please check global logs.
    [STEP] [2021-03-14 23:54:36] Aborting backup…
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-03-14 23:54:38
    [DOWNLOAD GENERATED] Last update (seconds): 14 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-03-14 23:54:24

    Thread Starter dgebel

    (@dgebel)

    Bypass webserver limits worked – the issue seemed to be the site size. It was over 1 gb.

    I deleted a wack of backups from another program and suddenly it started working, says it successfully backed it up.

    Switching to the other settings however did not, still having issues with that, so can’t use scheduled backups. ??

    Thread Starter dgebel

    (@dgebel)

    You’re right, it’s a Bluehost shared account.
    Email sent. Actually 2 files. The configuration debug file and the log.
    Thanks so much for your help!

    Thread Starter dgebel

    (@dgebel)

    Ah-ha!

    Not:

    if ( ! defined( 'ABSPATH' ) ) {
    	define('BMI_CLI_ENABLED', false);
    	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
    }

    But:

    define('BMI_CLI_ENABLED', false);
    if ( ! defined( 'ABSPATH' ) )
    	define( 'ABSPATH', dirname( __FILE__ ) . '/' );

    That seemed to work quite well.

    The only other issue I encountered is that it still doesn’t transfer the background images from the Hestia theme I’m using.

    • This reply was modified 3 years, 9 months ago by dgebel.
    • This reply was modified 3 years, 9 months ago by dgebel.
    • This reply was modified 3 years, 9 months ago by dgebel.
    Thread Starter dgebel

    (@dgebel)

    Ok, still the same problem. If it matters, I’m on a Bluehost shared host and this is a folder off my html directory, with the particular domain assigned to a subdomain, mapped to the relevant subdirectory.

    Just to be sure I did it right, I typed the following into wp-config.php in the site’s main directory:

    if ( ! defined( 'ABSPATH' ) ) {
    	define('BMI_CLI_ENABLED', false);
    	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
    }
    • This reply was modified 3 years, 9 months ago by dgebel.
    • This reply was modified 3 years, 9 months ago by dgebel.
    Thread Starter dgebel

    (@dgebel)

    Retried, saved, retried…
    Nope, same results

    Thread Starter dgebel

    (@dgebel)

    Thanks so much – that works MUCH better!

    Virtually everything was restored. So far, the only things I’ve found that weren’t restored were a couple of “first time” settings in one of the plugins, and one of the customized background image in a theme section.

    Going to try a more complex site soon.

    One thing I was confused about… when I uploaded a backup, I thought it was going to do the restore at the same time. I was very confused when there was absolutely no change to the site…???? And then I clicked on the Restore button on the uploaded file, and… it worked “that time”. I redid everything, and finally realized what happened.

    I would suggest something like… maybe on the popup after an upload, asking if the user also wants to do a restore from the uploaded file at this time. Something like “Upload successful: Do you want to restore the uploaded site now?” <restore site> <restore later>

    Thread Starter dgebel

    (@dgebel)

    Ok, I released it now. I forgot I didn’t have to put it on the menu ?? https://clinixpharmacy.ca/health-information-faq/

Viewing 15 replies - 16 through 30 (of 48 total)