问题
不知道什么原因WordPress老是没办法一键更新,就只能手动更新了。报错如下:
Downloading update from https://downloads.wordpress.org/release/wordpress-5.6-new-bundled.zip…
The authenticity of wordpress-5.6-new-bundled.zip could not be verified as no signature was found.
Unpacking the update…
Verifying the unpacked files…
The update could not be unpacked
Installation failed.
手动更新
以下操作均在网站根目录下进行。
wget https://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
rm -rf wp-includes
rm -rf wp-admin
cp -r wordpress/* .
rm -rf wordpress
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chown -R www:www .