mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
WP Automatic updates disabled and scheduled tasks failing to run #460
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loodachina on 11/10/2022
CloudPanel version(s) affected
2.1.0
Description
Since 2.1.0 update all WP websites are having problems with disabled automatic updates and a lot of sheduled tasks failing to run, especially on Woocommerce installs.
I assumed its related to the website root at first as error is stating but there are no .git folders there, I tracked it down all the way up to server root:

Its related to the Varnish repo. I don't know if its safe to remove it, when renamed all sheduled tasks went working as intended and automatic updates resumed.
How to reproduce
If version 2.1.0 is installed and varnish is configured properly, just go to Site health and wordpress updates pages to see the problem:
https://domain.com/wp-admin/site-health.php
https://domain.com/wp-admin/update-core.php
Possible Solution
Renaming / Removing .git folder related to the varnish from server root is restoring automatic updates and scheduled tasks are working as intended.
Additional Context
No response