• thilakraj

    (@thilakraj_tkr)


    We have WordPress 4.9.6 installed and hosted on Plesk Server. We have a problem where WordPress would update automatically and the wp-config.php file would get reset automatically making the site inaccessible.
    We have tried disabling the Updates by defining these lines in the wp-config.php file but with no luck.

    define( 'WP_AUTO_UPDATE_CORE', false );
    define( 'AUTOMATIC_UPDATER_DISABLED', true );

    Even after adding these lines in the wp-config.php file, the updates happen which resets the config file values and makes the site inaccessible after automatic update.
    We then have to edit the username and password details for the database in config file each time to make the site working again.

    Note: this is a simple blog site and we will manage the updates manually. Any critical security update will be installed manually.

    Isn’t this the proper method to disable the automatic updates?
    Are there any other methods that we can follow to disable Word press from updating automatically?

Viewing 2 replies - 1 through 2 (of 2 total)
  • We have WordPress 4.9.6 installed and hosted on Plesk Server. We have a problem where WordPress would update automatically and the wp-config.php file would get reset automatically making the site inaccessible.

    Plesk may be doing this. If you have Plesk’s “WordPress Toolkit”, check the “Autoupdate settings” to be sure all auto-updates are disabled.

    Thread Starter thilakraj

    (@thilakraj_tkr)

    We have Plesk ‘WordPress Toolkit Free’ version installed. It does not allow us to select “Donot not install any updates” without upgrading the Toolkit subscription. And Moreover the WordPress in question does not show up in Plesk control panel. (It was installed outside of Plesk using the duplicator plugin and not installed via Plesk Control Panel).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress Auto Update resets the Wp-config.php file’ is closed to new replies.