Holger Stridde World Wide

OwnCloud Update schlägt fehl: OC\RepairException: Upgrade is not possible

Kaum habe ich einen Link auf Daten in OwnCloud an einen Kunden versendet, erhalte ich die Nachricht, dass er nicht auf den Link zugreifen kann, obwohl er das Update durchgeführt hat. Diese Nachricht kam mir komisch vor und ein klick auf den Link ergab das folgende Bild.

ownCloud wird auf Version 10.3.2 aktualisiert
Diese Apps werden aktualisiert:
WebDAV (dav)
Federated File Sharing (federatedfilesharing)
Share Files (files_sharing)
Stellen Sie vor dem Fortsetzen bitte sicher, dass die Datenbank, der Konfigurationsordner und der Datenordner gesichert wurden.

Zur Vermeidung von Zeitüberschreitungen bei größeren Installationen können Sie stattdessen den folgenden Befehl in Ihrem Installationsverzeichnis ausführen:
./occ upgrade

Soweit so einfach, da der Kunde jedoch schon auf Update gedrückt hat, wird es wohl zu einem Fehler beim Update kommen.

Meldung: OC\RepairException: Upgrade is not possible
Aktualisierung auf 10.3.2

OC\RepairException: Upgrade is not possible

Reperaturwarnung:You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
Reperaturwarnung:Please install or update the following apps manually or disable them with: occ app:disable files_videoplayer
Reperaturwarnung:For manually updating, see https://doc.owncloud.org/server/10.3/go.php?to=admin-marketplace-apps

Detailllierte Fehlermeldungen:

Update vorbereiten
Log-Level auf "debug" gesetzt
Wartungsmodus eingeschaltet 
Reperaturwarnung:You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
Reperaturwarnung:Please install or update the following apps manually or disable them with: occ app:disable files_videoplayer
Reperaturwarnung:For manually updating, see https://doc.owncloud.org/server/10.3/go.php?to=admin-marketplace-apps
OC\RepairException: Upgrade is not possible

Immerhin ist der Installer so intelligent, dass er direkt sagt, was zu tun ist, um zunächst das Update durchzuführen. Also ging es als nächste auf die Kommandozeile des Servers und dort in den Pfad unter dem OwnCloud zu finden ist.

Abhängigkeiten Auflösen – OwnCloud Plugins deaktivieren

[user@hsww.de owncloud]# sudo -u apache ./occ app:disable files_videoplayer
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
files_videoplayer disabled

OwnCloud Update durchführen

Da ich nun bereits auf der Kommandozeile bin, wird nun auch hier das Update durchgeführt. Dies hat den Vorteil, dass die Ausgabe leichter zu überwachen ist.

[user@hsww.de owncloud]# sudo -u apache ./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-12-13T07:29:44+00:00 Set log level to debug
2019-12-13T07:29:44+00:00 Turned on maintenance mode
2019-12-13T07:29:44+00:00 Repair step: Upgrade app code from the marketplace
2019-12-13T07:29:44+00:00 Repair info: Using market to update existing apps
2019-12-13T07:29:44+00:00 Repair info: Attempting to update the following existing compatible apps from market: comments, dav, federatedfilesharing, files, files_external, files_sharing, files_trashbin, files_versions, firstrunwizard, gallery, market, provisioning_api, updatenotification
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: comments
2019-12-13T07:29:44+00:00 Repair info: App (comments) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: dav
2019-12-13T07:29:44+00:00 Repair info: App (dav) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: federatedfilesharing
2019-12-13T07:29:44+00:00 Repair info: App (federatedfilesharing) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: files
2019-12-13T07:29:44+00:00 Repair info: App (files) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: files_external
2019-12-13T07:29:44+00:00 Repair info: App (files_external) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: files_sharing
2019-12-13T07:29:44+00:00 Repair info: App (files_sharing) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: files_trashbin
2019-12-13T07:29:44+00:00 Repair info: App (files_trashbin) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: files_versions
2019-12-13T07:29:44+00:00 Repair info: App (files_versions) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: firstrunwizard
2019-12-13T07:29:44+00:00 Repair info: App (firstrunwizard) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: gallery
2019-12-13T07:29:44+00:00 Repair info:
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: market
2019-12-13T07:29:44+00:00 Repair info:
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: provisioning_api
2019-12-13T07:29:44+00:00 Repair info: App (provisioning_api) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: Fetching app from market: updatenotification
2019-12-13T07:29:44+00:00 Repair info: App (updatenotification) is not known at the marketplace.
2019-12-13T07:29:44+00:00 Repair info: App was not updated: comments
2019-12-13T07:29:44+00:00 Repair info: App was not updated: dav
2019-12-13T07:29:44+00:00 Repair info: App was not updated: federatedfilesharing
2019-12-13T07:29:44+00:00 Repair info: App was not updated: files
2019-12-13T07:29:44+00:00 Repair info: App was not updated: files_external
2019-12-13T07:29:44+00:00 Repair info: App was not updated: files_sharing
2019-12-13T07:29:44+00:00 Repair info: App was not updated: files_trashbin
2019-12-13T07:29:44+00:00 Repair info: App was not updated: files_versions
2019-12-13T07:29:44+00:00 Repair info: App was not updated: firstrunwizard
2019-12-13T07:29:44+00:00 Repair info: App was not updated: gallery
2019-12-13T07:29:44+00:00 Repair info: App was not updated: market
2019-12-13T07:29:44+00:00 Repair info: App was not updated: provisioning_api
2019-12-13T07:29:44+00:00 Repair info: App was not updated: updatenotification
2019-12-13T07:29:44+00:00 Repair step: Repair MySQL database engine
2019-12-13T07:29:44+00:00 Repair info: Not a mysql database -> nothing to do
2019-12-13T07:29:44+00:00 Repair step: Repair MySQL collation
2019-12-13T07:29:44+00:00 Repair info: Not a mysql database -> nothing to do
2019-12-13T07:29:44+00:00 Repair step: Repair SQLite autoincrement
2019-12-13T07:29:49+00:00 Repair step: Repair orphaned reshare
2019-12-13T07:29:49+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2019-12-13T07:29:49+00:00 Repair info: lucene_status table does not exist -> nothing to do
2019-12-13T07:29:49+00:00 Updating database schema
2019-12-13T07:29:49+00:00 Updated database
2019-12-13T07:29:49+00:00 Updating <dav> ...
2019-12-13T07:29:49+00:00 Repair step: Remove invalid calendar and addressbook shares
2019-12-13T07:29:49+00:00 Updated <dav> to 0.5.0
2019-12-13T07:29:49+00:00 Updating <federatedfilesharing> ...
2019-12-13T07:29:49+00:00 Updated <federatedfilesharing> to 0.5.0
2019-12-13T07:29:49+00:00 Updating <files_sharing> ...
2019-12-13T07:29:50+00:00 Updated <files_sharing> to 0.12.0
2019-12-13T07:29:50+00:00 Repair step: Repair mime types
2019-12-13T07:29:50+00:00 Repair step: Detect file cache entries with path that does not match parent-child relationships
2019-12-13T07:29:50+00:00 Repair step: Generate ETags for file where no ETag is present.
2019-12-13T07:29:50+00:00 Repair info: ETags have been fixed for 0 files/folders.
2019-12-13T07:29:50+00:00 Repair step: Clean tags and favorites
2019-12-13T07:29:50+00:00 Repair info: 0 tags of deleted users have been removed.
2019-12-13T07:29:50+00:00 Repair info: 0 tags for delete files have been removed.
2019-12-13T07:29:50+00:00 Repair info: 0 tag entries for deleted tags have been removed.
2019-12-13T07:29:50+00:00 Repair info: 0 tags with no entries have been removed.
2019-12-13T07:29:50+00:00 Repair step: Drop old database tables
2019-12-13T07:29:50+00:00 Drop old database tables
2019-12-13T07:29:50+00:00
 Done
 29/29 [============================] 100%2019-12-13T07:29:50+00:00
2019-12-13T07:29:50+00:00 Repair step: Drop old background jobs
2019-12-13T07:29:50+00:00 Repair step: Remove getetag entries in properties table
2019-12-13T07:29:50+00:00 Repair info: Removed 0 unneeded "{DAV:}getetag" entries from properties table.
2019-12-13T07:29:50+00:00 Repair step: Repair invalid shares
2019-12-13T07:29:50+00:00 Repair step: Repair sub shares
2019-12-13T07:29:50+00:00 Repair step: Remove old share propagation app entries
2019-12-13T07:29:50+00:00 Repair step: Move user avatars outside the homes to the new location
2019-12-13T07:29:50+00:00 Repair info: No action required
2019-12-13T07:29:50+00:00 Repair step: Fix user avatars location
2019-12-13T07:29:50+00:00 Repair info: No action required
2019-12-13T07:29:50+00:00 Repair step: Remove shares of a users root folder
2019-12-13T07:29:50+00:00 Repair step: Repair unmerged shares
2019-12-13T07:29:50+00:00 Repair step: Disable extra themes
2019-12-13T07:29:50+00:00 Starting code integrity check...
2019-12-13T07:29:54+00:00 Finished code integrity check
2019-12-13T07:29:54+00:00 Update successful
2019-12-13T07:29:54+00:00 Turned off maintenance mode
2019-12-13T07:29:54+00:00 Reset log level

Et voilà OwnCloud läuft wieder. So schön es auch ist auf die Updates von OwnCloud hingewiesen zu werden, so möchte ich dieses Fenster doch nicht einfach einem Kunden zeigen, der meinem Link folgt, sonder bekäme es gerne nur als Administrator angezeigt.

Die mobile Version verlassen