1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OwnCloudアップデートメモ

Last updated at Posted at 2019-08-16

概要

  • OwnCloudを久々にアップデートする
  • しかしエラーに遭遇
  • 解決方法をメモ

詳細

image.png

● occのあるディレクトリに移動
# cd /var/www/html/owncloud/
  • アップデートコマンドを実行
# sudo -u apache php71 occ upgrade
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
:
2019-08-16T03:57:09+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2019-08-16T03:57:09+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable onlyoffice ★ ←エラー:アドオンを無効にしないとアップデートできないとのこと
occ app:disable ownbackup ★ ←エラー:アドオンを無効にしないとアップデートできないとのこと
2019-08-16T03:57:09+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/10.2/go.php?to=admin-marketplace-apps
2019-08-16T03:57:09+00:00 OC\RepairException: Upgrade is not possible
2019-08-16T03:57:09+00:00 Update failed
:

・アドオンの「onlyoffice」を無効化
# sudo -u apache php71 occ app:disable onlyoffice
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
onlyoffice disabled

・アドオンの「ownbackup」を無効化
# sudo -u apache php71 occ app:disable ownbackup
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

# sudo -u apache php71 occ upgrade
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
:
2019-08-16T04:04:00+00:00 Starting code integrity check...
2019-08-16T04:04:14+00:00 Finished code integrity check
2019-08-16T04:04:14+00:00 Update successful
2019-08-16T04:04:14+00:00 Maintenance mode is kept active
2019-08-16T04:04:14+00:00 Reset log level

  • 再度アクセス

image.png

  • 再起動が必要らしい
# sudo reboot
  • 再度アクセス。。変わらない

image.png

* どうやらメンテナンスモードになっているとのこと。設定ファイルにて解除、再起動

# vi /var/www/html/owncloud/config/config.php
:
'maintenance' => false, ★trueからfalseに変更

# sudo reboot
  • 治った!!

image.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?