• Resolved Alwin

    (@wp-opti)


    Today I updated Wordfence on 12 websites using MainWP to run the updates.

    Today I noticed that the Wordfence plugin has disappeared from the list of installed plugins on 2 of my 12 websites.

    Trying to install the plugin again did not worked, I had to I need to remove the /wp-content/plugins/wordfence directory first to reinstall Wordfence.

    I use Wordfence for years and this did not happened before. The only thing I changed recently is to enable the option in the plugin settings to automatically install Wordfence plugin updates…

    I also did not receive any emails from Wordfence telling me that the plugin is disabled or anything like that. But I do have the options in the plugin settings enabled to receive these kind of email warnings.

    After installing the plugin on both sites again I noticed that all my plugin settings where still there.

    This seems like a very serious problem to me! So please help.

    Thanks a lot!

    Best Wishes,
    Alwin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, same problem for me.

    I was able to restore a backup of the day before, with the database. Wordfence works again on the previous version. I hesitate to update again because of this.

    • This reply was modified 2 years, 1 month ago by benber.
    Plugin Support wfpeter

    (@wfpeter)

    Hi @wp-opti, thanks for getting in touch.

    Most likely it’s a problem we occasionally see where updates occasionally break on some managed hosting platforms.

    The issue is that they tend to use a networked file system that can be extremely slow under load, though usually not from the site itself but from other sites using the same file system. Additionally some cpanel accounts are similarly limited in file transfer, but that’s largely artificially limited to prevent it from impacting other accounts using managed WordPress.

    The update process involves removing old files, unzipping the new plugin, and then copying over the new files to the plugin location. That can easily exceed the 30 second max_execution time or even the 60 second gateway timeout which can’t be increased in the local .user.ini file. It’s usually during the last part of the transfer when the new files are copied. If the file transfer dies when the files are halfway through being copied you can see some very odd effects, but what usually happens is the update fails.

    It’s also possible MainWP updates in a way that doesn’t retry if an update fails and continues with the next site if you’re updating in bulk, but I’m not experienced with using it so that’s just speculation.

    Thanks,

    Peter.

    Thread Starter Alwin

    (@wp-opti)

    Hello Peter,

    I think it has nothing to do with my hosting platform. I already asked them about this issue and they explained to me it was nothing on their end.

    It also has nothing to do with MainWP, because as I already said the problem occurred for the very first time in years, after I enabled the option in the Wordfence plugin settings to automatically install Wordfence plugin updates.

    So it was Wordfence itself, automatically installing the latest update, that seems to caused this issue.

    I came into a site and the whole things was down with errors all over the place mainly Jetpack seemed to be the issue.

    Got that fixeed. Wordfence is installed on a site, but not working. It does not show up in my list of plugins, but it is there in the plugins folder.

    Can I just delete it out of the plugins folder without causing any issues and FTP it back up?

    What about the file that loads up when Wordfence is installed after activation – to secure the site a file is rewritten and we download a copy? Just don’t worry about it?

    Do I need to delete OR replace it with the copy of the htaccess security file?

    • This reply was modified 2 years, 1 month ago by exdesign.
    • This reply was modified 2 years, 1 month ago by exdesign.
    • This reply was modified 2 years, 1 month ago by exdesign.
    • This reply was modified 2 years, 1 month ago by exdesign.
    • This reply was modified 2 years, 1 month ago by exdesign.
    Plugin Support wfpeter

    (@wfpeter)

    Thanks for the update @wp-opti,

    Wordfence doesn’t perform its own update as such – even though there is an option inside the plugin to auto-update as well as the WordPress plugins page. Both methods make use of WordPress’s upgrader though, so functionally they are almost the same. For that reason, I was just looking for what factors (WordPress itself, hosting/filesystem, database availability, bulk update plugin) could have temporarily stopped or had an error that resulted in a failed plugin update.

    We may have to chalk it up to ‘one of those things’ especially as I’m happy to see it’s an anomoly. There could be clues in your PHP/server logs showing fatal errors or timeouts during the update that could point to a possible cause, but it’s not imperative that you investigate unless it starts happening regularly.

    Thanks again,

    Peter.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wordfence plugin suddenly disappears’ is closed to new replies.