• Resolved gmprre4e3

    (@gmprre4e3)


    I just started getting this message in UpdraftPlus Backup/Restore

    Warning: WordPress has a number (9) of scheduled tasks which are overdue. Unless this is a development site, this means that the scheduler in your WordPress install is not working properly. Read this page for a guide to possible causes and how to fix it.

    Warning: The scheduler is disabled in your WordPress install, via the DISABLE_WP_CRON setting. No backups can run (even “Backup Now”) unless either you have set up a facility to call the scheduler manually, or until it is enabled. Go here for more information.
    Would you know what I can do about this?

Viewing 15 replies - 16 through 30 (of 45 total)
  • Thread Starter gmprre4e3

    (@gmprre4e3)

    Helllo, No problem – I appreciate your responses.
    Below is what I found in the Cpanel in the WP-Config.php file
    Is this where you do something?
    Should it say something different?
    Or should I still contact the host company to see if they have a tool to set up a cronjob? Thank you

    define(‘WP_CACHE’, true);

    define(‘WP_ALLOW_REPAIR’, true);
    define(‘WP_POST_REVISIONS’, 3); // Added by WP Disable
    define(‘DISABLE_WP_CRON’, ‘true’);

    /**

    • The base configurations of the WordPress.



    Thread Starter gmprre4e3

    (@gmprre4e3)

    no reply – duplicate of above

    • This reply was modified 2 years, 9 months ago by gmprre4e3.
    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    It looks like your site scheduler is disabled.

    Can you change;

    define(‘DISABLE_WP_CRON’, ‘true’);

    to

    define(‘DISABLE_WP_CRON’, ‘false’);

    Thread Starter gmprre4e3

    (@gmprre4e3)

    Thank you – I did see that in another thread.

    I have just changed it. I am trying to back up. It has been almost 2 hours and updraft has not completed the backup . I will continue the backup for about 1-2 hours more. and let you know what happens. thank you

    Plugin Support vupdraft

    (@vupdraft)

    @gmprre4e3 did the backup complete?

    If not can you send us your backup log again.

    Can you also take a screenshot of your Cron Events using the free plugin WP Crontrol?

    Thread Starter gmprre4e3

    (@gmprre4e3)

    I changed it back and I am trying to back it up with define(‘DISABLE_WP_CRON’, ‘true’); It has been 5 hours still not backed up. I am. going to switch it back to the define(‘DISABLE_WP_CRON’, ‘false’); and try again. Yesterday I stopped it after 3 hours when it was defined on “false”

    Here is the link to the log.

    https://gist.github.com/gmprre4e/4d1bb152625a3fdfaf1f27be20dcbb5e

    I also installed the plugin and exported the file.

    Here is the link

    https://gist.github.com/gmprre4e/222471614e2253fe9828bd05ca384b85

    Thank you

    Thread Starter gmprre4e3

    (@gmprre4e3)

    hello – I switched to the define(‘DISABLE_WP_CRON’, ‘false’); and tried again. Today took the same time – 8 hours to back up and says not finished. 

    Some other information – The button for the database is not showing – but the other four buttons are plugins, themes, uploads, other are showing – though I am not sure if these have completed.

    Here is the link to the log.

    https://gist.github.com/gmprre4e/0f4db661b478a0d644bd856128f337c7

    I also installed the plugin and exported the file.

    Here is the link

    https://gist.github.com/gmprre4e/6b26dc7d85abc17418af2257ca3c4e11

    Thank you

    Plugin Support vupdraft

    (@vupdraft)

    In your latest log your scheduler looks to be working the issue is with the table that comes after wp_affiliate_wp_campaigns, this will need to be repaired. Can you send your php error logs?

    Plugin Support vupdraft

    (@vupdraft)

    I have also noticed that not all of your tables are currently backed up. To back them up you would need this addon: https://updraftplus.com/shop/moredatabase/ or Premium

    Thread Starter gmprre4e3

    (@gmprre4e3)

    I appreciate your response.
    The link to the error log.
    https://gist.github.com/gmprre4e/d40b4225ecc8acae071c595f78a62c5d
    I do have a question. I never had to have the add-on before.
    Is it possible that something that could have been deleted?
    It did show a database box on August 30th. I have an image but not sure how to upload it to show you. I also have the free version on my staging site and that one backs up the database.

    Thank you

    • This reply was modified 2 years, 8 months ago by gmprre4e3.
    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    You are getting a fatal error on the wp-optimizer plugin, can you try deactivating this.

    You can use this for screenshots: https://snipboard.io/

    Thread Starter gmprre4e3

    (@gmprre4e3)

    Thank you for the link for screen shots
    I do not have a wp-optimizer plugin.

    I do need to update updraft. 

    I have about 10 plugins to update – updraft is one.

    I am concerned about doing anything because when I updated Yoast SEO the site went down. The server company was able to help but said if it happens again there will no help.

    I did a search and I do know there is a way to test the plugins in the C Panel – but I cannot rename the plugin folder and I am not 100 percent certain of the steps. I do know you rename the folder and then one by one go into the backend of the website and begin to turn on the plugins to see if there is one causing the problem.

    Just so you know – the updates came after the problem with updraft not backing up the database. 

    SO I do not believe this would be assocatied.

    Plugin Support vupdraft

    (@vupdraft)

    Apologies, it’s the mu-plugins/wp-staging-optimizer.php:  https://snipboard.io/

    The issue with the plugin not backing up of your tables is entirely normal (it’s because it’s a Premium feature). This is not causing the backup issue (I just wanted you to be aware of this).

    Can you do a manual export of your DB from your hosting (just so you have a backup that you can restore), please see here for a guide: https://help.dreamhost.com/hc/en-us/articles/214395738-phpMyAdmin-How-to-backup-or-export-a-database-or-table

    Can you try optimizing your DB with the free plugin (getwpo.com)

    Your last log was showing low visitor warnings.

    You will need to set up an automated task to visit your site (please set the cron job to visit: http://yourdomain.com/wp-cron.php?doing_wp_cron )every 5 – 10 minutes (This will also keep the rest of your WordPress scheduler running):

    Your hosts may have a tool to set up a cronjob, or you can use an online  tool such as EasyCron

    Thread Starter gmprre4e3

    (@gmprre4e3)

    Thank you for  your response.

    I did contact the host company. 

    They got back to me with one question that there is a tool to set up a cronjob. But this does say “Warning: You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job.” I have attached a screen image. Is the link you set need to go somewhere or is it that I set different.

    https://snipboard.io/EeK39A.jpg

    the blue box is the domain name

    I do appreciate your link for the backup but there is an area I can get that from in the CPANEL

    See the image. https://snipboard.io/7ZAEje.jpg
    The host company said I had 3 backups. I don’t know exactly where I get this so I have the right backup. Would you know which area I get it from? I attached an image. I can then make sure by emailing the host company.
    Thank you

    • This reply was modified 2 years, 8 months ago by gmprre4e3.
    • This reply was modified 2 years, 8 months ago by gmprre4e3.
    • This reply was modified 2 years, 8 months ago by gmprre4e3.
    Plugin Support vupdraft

    (@vupdraft)

    You can sign up for a free account with Easy Cron or you can do it using the following (using the facility shown in your first screenshot)

    • In ‘Add a new cron job’, find the common settings dropdown and select ‘Once per 5 minutes’.
    • Find the full path to your wp-cron.php file. The path to your WordPress folder can be found in the UpdraftPlus’ Advanced Tools tab (Called ABS PATH). The wp-cron file is located in that directory.
    • >Under ‘Command’, enter the full path to your site’s wp-cron.php file (e.g. /var/www/wordpress/wp-cron.php
    • Save the cronjob

    If you are happy that you have got a DB backup (it’s highly unlikely that you will need it, it’s just better to be safe), you can try optimizing your DB

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

The topic ‘UpDraftPlus Failed BackUps’ is closed to new replies.