Wordpress プラグイン Instant Upgrade を試す
Wordpress をアップグレードするために、Instatnt Upgrade というプラグインを試した。
日本語の情報源としては、この辺り。
WPのプラグイン:InstantUpgrade - Standing Tall
The InstantUpgrade plugin をダウンロードしてきて、プラグインディレクトリに放り込む。
wordpressのディレクトリに対し、chown -R www-data.www-data で実行したプログラムがファイルを書き換えられるようにした。
で、プラグインを有効にして、管理ページからInstant Upgrade を選んで、[Upgrade my WordPress!]
アップグレードが完了。らくちんらくちん。
と思いきや、なんだかエラーが出てる。
Instant Upgrade
With InstantUpgrade, you can upgrade your WordPress installation to the latest or an arbitrary WordPress version with a single click.
Performing Upgrade…
Checking if WordPress root is writable…
Checking if WordPress files are writable…
Checking if work directory is writable…
Downloading WordPress installation package…
Downloading file
http://wordpress.org/latest.zipwas successful. Filesize: 983354 bytes.Extracting WordPress package
latest.zip…Preserving language files…
Removing old files…
Inserting new files…
Wiping out temporary files…
Running upgrade script of new WordPress version…
It was not possible to execute the WordPress upgrade script, possibly because remote file access is disabled. This is not tragic, simply exectute the upgrade script manually to finish the upgrade.
Result:
Unfortunately, there have been errors while performing the upgrade.
execute the upgrade script manually のリンクをクリックしてみると、ドメイン直下のwp-admin/upgrade.phpにアクセスしに行こうとしているようだ。
うちの場合、wp-admin/upgrade.php は別の場所なので、実行に失敗したみたい。
そういうわけで、正しい場所のupgrade.phpにアクセス。すると、
No Upgrade Required
Your WordPress database is already up-to-date!
あれ?continue をクリックして、サイト管理から管理画面に入ってみると、wordpress は最新版に更新されていた。(少なくともバージョン表示に関しては)
うーん。 OKだよね。










