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.