owncloud ist ja nun im Repository bei mir drin, heute war erstes update. Klappt noch nicht so ganz.
Ich bekomme:
Unpacking owncloud-config-apache (8.2.2-1.1) over (8.2.1-1.1) ... Conf owncloud disabled. To activate the new configuration, you need to run: service apache2 reload Preparing to unpack .../owncloud_8.2.2-1.1_all.deb ... Unpacking owncloud (8.2.2-1.1) over (8.2.1-1.1) ... Preparing to unpack .../owncloud-server_8.2.2-1.1_all.deb ... owncloud-server: occ maintenance:mode --on Maintenance mode enabled Unpacking owncloud-server (8.2.2-1.1) over (8.2.1-1.1) ... dpkg: warning: unable to delete old directory '/var/www/owncloud/apps/updater/lib/location': Directory not empty dpkg: warning: unable to delete old directory '/var/www/owncloud/apps/updater/lib': Directory not empty dpkg: warning: unable to delete old directory '/var/www/owncloud/apps/updater/templates': Directory not empty dpkg: warning: unable to delete old directory '/var/www/owncloud/apps/updater/l10n': Directory not empty dpkg: warning: unable to delete old directory '/var/www/owncloud/apps/updater/tests': Directory not empty dpkg: warning: unable to delete old directory '/var/www/owncloud/apps/updater': Directory not empty
Ist aber nicht so schlimm, ich habe vor ein paar Wochen ja gerade die Umstellung gemacht, also kurz in der /etc/passwd www-data die shell erlaubt und dann mit su - www-data den nachfolgenden Einzeiler eingegeben:
Edith: Hinweis von Finn:
Anstelle die Shell per /etc/passwd zu vergeben, kannst du auch mit
su - -s /bin/bash www-data dem Apache User für diese eine Sitzung eine Shell geben.
~/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 Set log level to debug - current level: 'Error' 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 Checked database schema update for apps Updating database schema Updated database Disabled 3rd-party app: contacts Update successful Maintenance mode is kept active Reset log level to 'Error'
Jetzt noch:
www-data@rootgemeinschaft:~/owncloud$ ./occ maintenance:mode --off ownCloud is in maintenance mode - no app have been loaded Maintenance mode disabled
in der .htaccess geht übrigens wieder
Require all granted
verloren, also in der ersten Zeile nachtragen und owncloud löpt wieder.
Erneutes Upte. Riesen Änderungen in den Paktetierungen für Debian... Aber:
[s]Hat geklappt. Damit ist owncloud wirklich Production Ready, wie es neudeutsch heißt, behaupte ich[/s] Denkste! siehe weitere Kommentare
Oh, denkste, Nix geht! Und scheinbar bin ich nicht der einzige
Würgaround: Zeile 24 in owncloud/apps/documents/appinfo/app.php auskommentieren.
Heutiges Update auf 9.0.2-1.1 verlief wie gewohnt. Exakt nach der hier beschriebenen Weise.
Bei der Sonntäglichen Aktualisierung auf owncloud 9.1 kam es zu einem kleinen Fehler. Und zwar ließ sich das News plugin nicht aktivieren, die Meldung sagt, das Plugin wäre instabil. Die Ursache ist ein Typo in der Config des News addon. Abhilfe: In
Falsch: \OCP\Backgroundjob Korrekt: \OCP\BackgroundJob