Automatic Backups not working with Dockerized WordPress

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Automatic Backups not working with Dockerized WordPress

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #436036
    Jonathan
    Participant

    Hi,

    I am running WordPress using the following configurations: https://github.com/mjstealey/wordpress-nginx-docker

    Everything works perfectly except for automatic backups with UpdraftPlus.

    I get the following warning message, and believe it has something to do with how cron jobs are run or are not run within WordPress containers:

    —–

    Warning: WordPress has a number (9) of scheduled tasks which are overdue. Unless this is a development site, this probably means that the scheduler in your WordPress install is not working.

    —–

    This I believe has been a problem with running UpdraftPlus inside Docker containers for a while, but I have never seen any adequate solutions given.

    Can you please help, this is a major problem for me and my preferred backup solution being UpdraftPlus.

    Thank you

    #436274
    Bryle Crodua
    Moderator

    Hi,

    Could you try adding the following line of code to your wp-config.php file (above the ‘stop editing’ line):
    define( ‘ALTERNATE_WP_CRON’, true );

    This will enable the alternative WordPress Cron system. This is designed to allow scheduled tasks to be processed when the main WP Cron is not able to run.

    Regards,
    Bryle

    #436841
    Jonathan
    Participant

    This seems to have totally worked Bryle.

    Thanks a million!

    – Jonathan Wexler

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Automatic Backups not working with Dockerized WordPress’ is closed to new replies.