最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Could auto-update delete core WordPress files and cause a white screen of death?

programmeradmin2浏览0评论

I had a newly launched client site suddenly fail with the white screen of death a few days ago, neither the site of the Admin backend were accessible but just showed the WSOD. After trouble shooting using all the usual methods such as renaming the plugins folder and showing PHP errors etc I then discovered that the 'wp-includes' folder and also the 'themes' folder itself(!) had disappeared from the site. The file permissions seemed to have been changed as well as previously I was unable to edit the .htaccess file as my FTP user didn't have permissions, but at the time of fixing I could ftp and overwrite the .htaccess files and also all the core WordPress files.

After replacing all of the core WordPress files and reuploading the theme the site started to work again, but I noticed that the latest 3.8.2 had been applied. I don't have a real understanding of how the auto-update process works but checking the FTP logs nobody had logged in since the time of launch and then trying to fix it so I'm ruling out somebody accidentally deleting some files via FTP.

So this leads me to be suspicious that the auto-update function deleted these files. So my question as indicated in the title is whether WordPress's auto-update could delete core WordPress files and cause a white screen of death?

I had a newly launched client site suddenly fail with the white screen of death a few days ago, neither the site of the Admin backend were accessible but just showed the WSOD. After trouble shooting using all the usual methods such as renaming the plugins folder and showing PHP errors etc I then discovered that the 'wp-includes' folder and also the 'themes' folder itself(!) had disappeared from the site. The file permissions seemed to have been changed as well as previously I was unable to edit the .htaccess file as my FTP user didn't have permissions, but at the time of fixing I could ftp and overwrite the .htaccess files and also all the core WordPress files.

After replacing all of the core WordPress files and reuploading the theme the site started to work again, but I noticed that the latest 3.8.2 had been applied. I don't have a real understanding of how the auto-update process works but checking the FTP logs nobody had logged in since the time of launch and then trying to fix it so I'm ruling out somebody accidentally deleting some files via FTP.

So this leads me to be suspicious that the auto-update function deleted these files. So my question as indicated in the title is whether WordPress's auto-update could delete core WordPress files and cause a white screen of death?

Share Improve this question asked Apr 14, 2014 at 13:00 Rick CurranRick Curran 1,0761 gold badge14 silver badges28 bronze badges 2
  • During an update the files would be deleted (then replaced, of course) but I can't say if that is what actually happened. Have you seen: codex.wordpress/Configuring_Automatic_Background_Updates – s_ha_dum Commented Apr 14, 2014 at 13:23
  • Thanks, I had read a bit about background updates before but I hadn't realised that theme updates would also be updated automatically too. – Rick Curran Commented Apr 14, 2014 at 13:56
Add a comment  | 

1 Answer 1

Reset to default 0

It turns out that the problem was caused by the Plesk server admin system which had been used to install WordPress, Plesk tried to upgrade wordpress on that domain and it failed and partially deleted the contents of those folders.

Plesk enables auto update for all applications installed using its "application vault" feature. So if you've got this same kind of set up then make sure Plesk's auto-update feature is switched off and let WordPress's own auto-update feature run instead.

发布评论

评论列表(0)

  1. 暂无评论