WordPress 5.3.1发布后不久,就收到了一些相对严重的问题反馈,所以WordPress官方在较短时间内就发布了 WordPress 5.3.2,主要修复以下5个问题:
国内自动更新会由于各种问题导致更新失败:
Warning: 发生了预料之外的错误。WordPress.org或是此服务器的配置可能出了一些问题。如果您持续遇到困难,请试试支持论坛。 (WordPress无法建立到WordPress.org的安全连接,请联系您的服务器管理员。) in /var/www/html/wp-admin/includes/update.php on line 139
正在从https://downloads.wordpress.org/release/zh_CN/wordpress-5.3.2.zip下载更新…
下载失败。: cURL error 28: Operation timed out after 300000 milliseconds with 1425003 out of 13427353 bytes received
安装失败
下面介绍手动更新步骤
备份原站点数据更新失败时可回滚
[root@wordpross webdata]# cp -a www/ www20191224
[root@wordpross webdata]# ls
db www www20191224
下载解压缩设置好权限
[root@wordpross ~]# wget https://downloads.wordpress.org/release/zh_CN/wordpress-5.3.2.zip
[root@wordpross ~]# unzip wordpress-5.3.2.zip
[root@wordpross ~]# chown 33:tape wordpress -R
删除原站点下wp-admin和wp-includes目录其他目录文件不变
[root@wordpross www]# pwd
/webdata/www
[root@wordpross www]# ls
index.php wp-blog-header.php wp-cron.php wp-settings.php
license.txt wp-comments-post.php wp-includes wp-signup.php
readme.html wp-config.php wp-links-opml.php wp-trackback.php
wordfence-waf.php wp-config.php20181119 wp-load.php xmlrpc.php
wp-activate.php wp-config-sample.php wp-login.php
wp-admin wp-content wp-mail.php
[root@wordpross www]# rm -rf wp-admin/
[root@wordpross www]# rm -rf wp-includes/
[root@wordpross www]# ls
index.php wp-blog-header.php wp-content wp-mail.php
license.txt wp-comments-post.php wp-cron.php wp-settings.php
readme.html wp-config.php wp-links-opml.php wp-signup.php
wordfence-waf.php wp-config.php20181119 wp-load.php wp-trackback.php
wp-activate.php wp-config-sample.php wp-login.php xmlrpc.php
进入到新版本wordpress目录下删除wp-content目录并把其他目录及文件覆盖到原站点
[root@wordpross www]# cd /root/wordpress/
[root@wordpross wordpress]# rm -rf wp-content/
[root@wordpross wordpress]# ls
index.php wp-admin wp-cron.php wp-login.php wp-trackback.php
license.txt wp-blog-header.php wp-includes wp-mail.php xmlrpc.php
readme.html wp-comments-post.php wp-links-opml.php wp-settings.php
wp-activate.php wp-config-sample.php wp-load.php wp-signup.php
[root@wordpross wordpress]# mv * /webdata/www/
mv: overwrite ‘/webdata/www/index.php’? y
mv: overwrite ‘/webdata/www/license.txt’? y
mv: overwrite ‘/webdata/www/readme.html’? y
mv: overwrite ‘/webdata/www/wp-activate.php’? y
mv: overwrite ‘/webdata/www/wp-blog-header.php’? y
mv: overwrite ‘/webdata/www/wp-comments-post.php’? y
mv: overwrite ‘/webdata/www/wp-config-sample.php’? y
mv: overwrite ‘/webdata/www/wp-cron.php’? y
mv: overwrite ‘/webdata/www/wp-links-opml.php’? y
mv: overwrite ‘/webdata/www/wp-load.php’? y
mv: overwrite ‘/webdata/www/wp-login.php’? y
mv: overwrite ‘/webdata/www/wp-mail.php’? y
mv: overwrite ‘/webdata/www/wp-settings.php’? y
mv: overwrite ‘/webdata/www/wp-signup.php’? y
mv: overwrite ‘/webdata/www/wp-trackback.php’? y
mv: overwrite ‘/webdata/www/xmlrpc.php’? y
检查站点
https://minminmsn.com/wp-admin/upgrade.php
无需升级
您的WordPress数据库已经是最新的了!
继续
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。