Nextcloud 18.0.5 から 18.0.6 へのバージョンアップが、Webで失敗したので対処法のメモです。
エラー内容
いつものように、Web上からバージョンアップをしてみると、新バージョンのダウンロード中に、以下のメッセージが出て失敗。Downloading
Parsing response failed. <html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"> <center><h1>504 Gateway Time-out</h1></center> <hr><center>nginx/1.14.1</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->
対処法
CLIで実施すれば成功しました。[root@server ~]# cd /var/www/html/nextcloud/updater/ [root@server updater]# sudo -u nginx php updater.phar Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty Current version is 18.0.5. Update to Nextcloud 18.0.6 available. (channel: "stable") Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-18.0.6.zip Open changelog ? Steps that will be executed: [?] Check for expected files [?] Check for write permissions [?] Create backup [?] Downloading [ ] Verify integrity [ ] Extracting [ ] Enable maintenance mode [ ] Replace entry points [ ] Delete old files [ ] Move new files in place [ ] Done Continue update? [y/N] y Info: Pressing Ctrl-C will finish the currently running step and then stops the updater. [?] Check for expected files [?] Check for write permissions [?] Create backup [?] Downloading [?] Verify integrity [?] Extracting [?] Enable maintenance mode [?] Replace entry points [?] Delete old files [?] Move new files in place [?] Done Update of code successful. Should the "occ upgrade" command be executed? [Y/n] y Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade 2020-06-28T02:12:55+00:00 Set log level to debug (略) 2020-06-28T02:14:50+00:00 Update successful 2020-06-28T02:14:50+00:00 Maintenance mode is kept active 2020-06-28T02:14:50+00:00 Reset log level Keep maintenance mode active? [y/N] N Maintenance mode disabled Maintenance mode is disabled [root@server updater]#