さくらインターネットさんのレンサバ ownCloud 9.0.0 upgrade 失敗

この記事は公開されてから時間が経っています

さくらインターネットさんのレンサバで運営している ownCloud を 8.2.2 から 8.2.3 へ、その後、9.0.0 へアップグレードしようとして失敗しました

もう、ホントにトラウマを作るのが上手いシステムだ…

そろそろ、本格運用を始めるそうなので、 ownCloud のアップグレードを!なんて思ったのが大きな間違えだった…
下手したら再構築させられる所だった..ふぅ…

基本的に、マニュアルアップグレードの手順にさくらカスタム手順を追加して実施…
8.2.2 から 8.2.3 へのアップグレードは上手く行きました
※ テーマの適応が上手く行ってないのは後で探ろう…

で、問題は 8.2.3 から 9.0.0 へのアップグレードです
これも、マニュアル手順にさくらカスタム手順を行ったのですが、occ コマンドが知らない言葉を吐きました..

% php occ upgrade
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
ownCloud 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
Set log level to debug
Checking whether the database schema can be updated (this can take a long time depending on the database size)
Checked database schema update
Checking updates of apps
Checking whether the database schema for <activity> can be updated (this can take a long time depending on the database size)
Checking whether the database schema for <files_sharing> can be updated (this can take a long time depending on the database size)
Checking whether the database schema for <files_trashbin> can be updated (this can take a long time depending on the database size)
Checked database schema update for apps
Updating database schema
Updated database
Disabled 3rd-party app: files_videoviewer
Disabled 3rd-party app: updater
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 0.8
Updating <files_texteditor> ...
Updated <files_texteditor> to 2.1
Updating <gallery> ...
Updated <gallery> to 14.5.0
Updating <files> ...
Updated <files> to 1.4.4
Updating <activity> ...
Updated <activity> to 2.2.1
Updating <encryption> ...
Updated <encryption> to 1.2.0
Updating <files_sharing> ...
Updated <files_sharing> to 0.9.1
Updating <files_trashbin> ...
Updated <files_trashbin> to 0.8.0
Updating <files_versions> ...
Updated <files_versions> to 1.2.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 0.4.1
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Reset log level
% php occ maintenance:mode --off
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
ownCloud is in maintenance mode - no app have been loaded
Maintenance mode disabled
% php occ
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php
ownCloud version 9.0.0

Usage:

こんな感じ..
で、アップグレードは上手く行ったみたいですけど サーバーが 500 のエラーを返してきます…

ちょっと、 今は調査する時間がないので後回し…
まぁ、 PCNTL は、オプションらしいですけど、コンフィグレーションで外す方法とかがよく解らない..
(リリースノートには optinal とあるけど..)

ホント怖いソフトだ ^^;..

で、 8.2.2 -> 8.2.3 の時点のバックアップに戻して、なんとなく動いている..
テーマも直さないとね…
はぁ..
 

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です


The reCAPTCHA verification period has expired. Please reload the page.