• Resolved Matt Hobbie

    (@matthobbie)


    I have found that by replacing the word “true” with “false” in the following string in wp-config.php seems to bring everything back to normal:

    define(‘AUTOMATIC_UPDATER_DISABLED’, false);

    My issue is that I have literally over 2,000 sites I need to do this to. I have 7 servers running WHM on CentOS. (GoDaddy VPS)

    Do any of you linux gurus know the right way to format a “search & replace” string to fix this?

    I’m assuming one would use grep somehow. Or a script?

    The relative path of the affected wp-config.php files is:

    /home/{accountfolder]/public_html

    Thank you for your help!

    • This topic was modified 6 years, 5 months ago by Matt Hobbie.
    • This topic was modified 6 years, 5 months ago by Matt Hobbie.
    • This topic was modified 6 years, 5 months ago by Matt Hobbie.
Viewing 1 replies (of 1 total)
  • Thread Starter Matt Hobbie

    (@matthobbie)

    I found the answer to my own question. After researching how to use the “find” “grep”, and “sed” commands, I figured it out. (And some careful copying and pasting)

    Whew!

    find . -type f -name “wp-config.php” -exec sed -i — “s/define(‘AUTOMATIC_UPDATER_DISABLED’, true/define(‘AUTOMATIC_UPDATER_DISABLED’, false/g” {} +

    Yes. I’m a noob. But I’m working on it! ??

Viewing 1 replies (of 1 total)
  • The topic ‘A workaround for the version 3.2.3 Site Crashes’ is closed to new replies.