• Resolved consultant1027

    (@consultant1027)


    It appears WordPress installations running on a Cpanel/WHM system have core updates disabled. So if you have 20 WordPress sites running on your server does Cpanel update the core for ALL those wordpress installations even those installations that were installed from the command line shell and not from within Cpanel?

    There’s a very handy plugin call Easy Update Manager that lets you fine tune the control of automated updates for both core and plugins. One feature that is nice is getting an email notification after automatic updates are applied. If the function is disabled in lieu of Cpanel doing the update, then I won’t get the notifications.

    The comment in the config file says there is potential data loss if you have both enabled. Data loss from what? The potential for both updates to be running at the same time? I would assume Cpanel won’t update a WordPress site that was already updated?!? I’m still also surprised if the Cpanel updates, update all wordpress files on every host on the server, even the ones not installed from within Cpanel?

    I suppose Cpanel does send email notifications about updates. If it IS indeed updating all WordPress installation core files, then I can turn off core updates on the Easy Update Manager and I guess that solves it.

    From the wp-config.php file: (I think this only get inserted if you install it from Cpanel – I have sites that were a command line install that don’t have this.)

    * Core updates should be disabled entirely by the cPanel & WHM? Site Software
    * plugin, as Site Software will provide the updates. The following line acts
    * as a safeguard, to avoid automatically updating if that plugin is disabled.
    *
    * Allowing updates outside of the Site Software interface in cPanel & WHM?
    * could lead to DATA LOSS.
    *
    * Re-enable automatic background updates at your own risk.
    */
    define( ‘WP_AUTO_UPDATE_CORE’, false );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Matthew

    (@kidsguide)

    Check out https://wptavern.com/cpanels-site-software-addon-disables-wordpress-auto-updates

    It looks like cPanel is messing with some stuff to do with WordPress. What host provider do you use? This is probably something to ask them about and see if they can somehow disable it.

    As for a solution, remove that from your wp-config.php along with probably the rest of the core files in WordPress. If you do it manually by downloading it from WordPress and then opening file manager and replacing them, it should fix this problem.

    I am resolving this thread as it has nothing to do with Easy Updates Manager. I am happy to continue talking about this issue, but it is irreverent to Easy Updates Manager.

    Thread Starter consultant1027

    (@consultant1027)

    Thanks, I just found that article. I forgot I was in the Easy Updates forum when I posted but it may be of interest to other users.

    Check out this thread I started on Cpanel for further info/discussion including info on how to move from the Cpanel config version to the ‘stock’ version. I came to find out my version of WP that was installed by Cpanel was 4.4.2 and not sure why.

    https://forums.cpanel.net/threads/auto-wordpress-updates-outside-of-cpanel.591963/

    I’m surprised there isn’t more discussion here on this subject because there has to be a lot of hosting providers out there where people used the 1-click CPanel install of WordPress.

    Plugin Contributor Matthew

    (@kidsguide)

    Thanks, I just found that article. I forgot I was in the Easy Updates forum when I posted but it may be of interest to other users.

    No problem. Actually thank you for making this post here. I didn’t know cPanel did such a thing like that until you mentioned it here and I did my research. I am going to add it to the Easy Updates Manager FAQ and wiki next chance I get.

    I personally always install my WordPress websites manually (download the file from wp.org and upload/unzip) so that is probably why I have never heard of such a thing. Makes me glad that I have installed WordPress that way all along so that I don’t have to go back and delete everything cPanel adds.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What about Cpanel Installs?’ is closed to new replies.