OwnCloud がアドオンが原因でアップデートできない

2021-07-13

OwnCloudで新しいバージョンが出ているのでバージョンする事しました。バージョンアップ手順は以前の記事で紹介した「ownCloudの手動バージョンアップ」手順です。

「occ upgrade」を叩くと、以下のエラーでバージョンができません。

# cd /var/www/html/owncloud/
# sudo -u nginx php 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
2020-06-05T01:29:09+00:00 Set log level to debug
2020-06-05T01:29:09+00:00 Repair step: Upgrade app code from the marketplace
2020-06-05T01:29:09+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2020-06-05T01:29:09+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable files_videoplayer
2020-06-05T01:29:09+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/10.4/go.php?to=admin-marketplace-apps
2020-06-05T01:29:09+00:00 OC\RepairException: Upgrade is not possible
2020-06-05T01:29:09+00:00 Update failed
2020-06-05T01:29:09+00:00 Maintenance mode is kept active
2020-06-05T01:29:09+00:00 Reset log level

このエラーですが、「Repair warning: Please install or update the following apps manually or disable them with: occ app:disable files_videoplayer」とあるように、「files_videoplayer」のアドオンが原因ようです。

おそらく新しいバージョンに「files_videoplayer」が対応していないだと思います。このアドオンを手動で無効にしてバージョンアップをおこないます。以下では「files_videoplayer」のアドオンを無効にしています

# sudo -u nginx php occ app:disable files_videoplayer

アドオンを無効にしたらアップデートをおこなうと正常に終了しました

# sudo -u nginx php owncloud/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
2020-06-05T01:33:02+00:00 Set log level to debug
2020-06-05T01:33:02+00:00 Repair step: Upgrade app code from the marketplace
2020-06-05T01:33:02+00:00 Repair step: Repair MySQL database engine
2020-06-05T01:33:02+00:00 Repair step: Repair MySQL collation
2020-06-05T01:33:02+00:00 Repair info: All tables already have the correct collation -> nothing to do
2020-06-05T01:33:02+00:00 Repair step: Repair SQLite autoincrement
2020-06-05T01:33:02+00:00 Repair step: Repair orphaned reshare
2020-06-05T01:33:02+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2020-06-05T01:33:02+00:00 Repair info: lucene_status table does not exist -> nothing to do
2020-06-05T01:33:02+00:00 Updating database schema
2020-06-05T01:33:02+00:00 Updated database
2020-06-05T01:33:02+00:00 Updating <dav> ...
2020-06-05T01:33:02+00:00 Repair step: Remove invalid calendar and addressbook shares
2020-06-05T01:33:02+00:00 Updated <dav> to 0.5.0
2020-06-05T01:33:02+00:00 Updating <federatedfilesharing> ...
2020-06-05T01:33:02+00:00 Updated <federatedfilesharing> to 0.5.0
2020-06-05T01:33:02+00:00 Updating <files_sharing> ...
2020-06-05T01:33:02+00:00 Updated <files_sharing> to 0.12.0
2020-06-05T01:33:02+00:00 Repair step: Repair mime types
2020-06-05T01:33:02+00:00 Repair step: Detect file cache entries with path that does not match parent-child relationships
2020-06-05T01:33:02+00:00 Repair step: Generate ETags for file where no ETag is present.
2020-06-05T01:33:02+00:00 Repair info: ETags have been fixed for 0 files/folders.
2020-06-05T01:33:02+00:00 Repair step: Clean tags and favorites
2020-06-05T01:33:02+00:00 Repair info: 0 tags of deleted users have been removed.
2020-06-05T01:33:02+00:00 Repair info: 0 tags for delete files have been removed.
2020-06-05T01:33:02+00:00 Repair info: 0 tag entries for deleted tags have been removed.
2020-06-05T01:33:02+00:00 Repair info: 0 tags with no entries have been removed.
2020-06-05T01:33:02+00:00 Repair step: Drop old database tables
2020-06-05T01:33:02+00:00 Drop old database tables
2020-06-05T01:33:02+00:00 
 Done
 29/29 [============================] 100%2020-06-05T01:33:02+00:00 
2020-06-05T01:33:02+00:00 Repair step: Drop old background jobs
2020-06-05T01:33:02+00:00 Repair step: Remove getetag entries in properties table
2020-06-05T01:33:02+00:00 Repair info: Removed 0 unneeded "{DAV:}getetag" entries from properties table.
2020-06-05T01:33:02+00:00 Repair step: Repair invalid shares
2020-06-05T01:33:02+00:00 Repair step: Repair sub shares
2020-06-05T01:33:02+00:00 Repair step: Remove old share propagation app entries
2020-06-05T01:33:02+00:00 Repair step: Move user avatars outside the homes to the new location
2020-06-05T01:33:02+00:00 Repair info: No action required
2020-06-05T01:33:02+00:00 Repair step: Fix user avatars location
2020-06-05T01:33:02+00:00 Repair info: No action required
2020-06-05T01:33:02+00:00 Repair step: Remove shares of a users root folder
2020-06-05T01:33:02+00:00 Repair step: Repair unmerged shares
2020-06-05T01:33:02+00:00 Repair step: Disable extra themes
2020-06-05T01:33:02+00:00 Starting code integrity check...
2020-06-05T01:33:10+00:00 Finished code integrity check
2020-06-05T01:33:10+00:00 Update successful
2020-06-05T01:33:10+00:00 Maintenance mode is k

 

スポンサーリンク

0
0

LinuxCentOS 7,nginx,ownCloud

Posted by admin