WordPress Permissions Update Error [RESOLVED]
2015-06-07 11:54
459 查看
Recently I ran into an issue where an installation of WordPress that had never had any issues updating stopped being able to update via the admin update button.
Specifically these were the errors I would see:
The solution as it turns out is to reset the file permissions on the core files.
Provided you have SSH access to your server, the following commands may fix your issue.
Reset the permissions of all files to
Reset permissions of directories to
Reset the group to the
After running those commands I was able to successfully update WordPress with no further issues.
Specifically these were the errors I would see:
Unpacking the update... The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php Installation Failed An automated WordPress update has failed to complete
The solution as it turns out is to reset the file permissions on the core files.
Provided you have SSH access to your server, the following commands may fix your issue.
Reset the permissions of all files to
664:
find /path/to/site/ -type f -exec chmod 664 {} \;
Reset permissions of directories to
775:
find /path/to/site/ -type d -exec chmod 775 {} \;
Reset the group to the
wordpressgroup (or whatever group makes sense for you)
chgrp -R wordpress /path/to/site/
After running those commands I was able to successfully update WordPress with no further issues.
相关文章推荐
- 练习作品11:语音识别 准确度70%
- 偶然翻到大学时写的一篇论文
- Codeforces Round #306 (Div. 2) -- E. Brackets in Implications
- 多线程互斥,用到Synchronized
- Darwin流媒体服务器在windows下搭建
- 黑马程序员---java面向抽象/接口编程
- Storm入门之第8章事务性拓扑
- hbmy周赛1--D
- Storm入门之第8章事务性拓扑
- 我偏执,我要变
- android 调用系统界面
- hbmy周赛1--D
- HDU 3535 AreYouBusy
- oracle分页
- Storm入门之第8章事务性拓扑
- 关于数组在内存中的存放形式
- 练习作品10:被一个傻叉坑了 要求把串口 封装到DLL中调用;
- asp.net开发微信公众平台之验证消息的真实性
- Count Complete Tree Nodes
- hbmy周赛1--C