[Eisfair_dev] owncloud v1.4.0 stable
Fabian Törner
toerner at gmx.net
So Jul 24 08:29:09 CEST 2016
Guten Morgen zusammen,
Am 24.07.2016 um 00:03 schrieb Fabian Törner:
> so schaut es bei mir aus:
> also noch mal upgrade
[...]
> Dabei kam dann nun folgendes:
>
> Sicherheits- & Einrichtungswarnungen
>
>
> Dein Webserver ist noch nicht hinreichend für Datei-Synchronisation
> konfiguriert, weil die WebDAV-Schnittstelle vermutlich defekt ist.
> Einige Dateien haben die Integritätsprüfung nicht bestanden.
> Weiterführende Information findest Du in unserer Dokumentation. (Liste
> der ungültigen Dateien ... / Erneut analysieren…)
> Der "Strict-Transport-Security" HTTP-Header ist nicht auf mindestens
> "15768000" Sekunden eingestellt. Um die Sicherheit zu erhöhen, empehlen
> wir das Aktivieren von HSTS, wie es in den Sicherheitshinweisen
> erläutert ist.
> Weitere Informationen findest du in unserer Dokumentation.
>
> Bitte überprüfe noch einmal die Installationsanleitungen ↗ und
> kontrolliere das Log auf mögliche Fehler oder Warnungen.
>
>
also ich hatte mit der bereitgestellten Version massive Probleme.
Habe nun wieder manuell installiert und nun funktioniert alles ...
eis # cd /tmp
eis # wget https://download.owncloud.org/community/owncloud-9.1.0.tar.bz2
Habe dann oc abgeschaltet und alles im OC Verzeichnis gelöscht. (Bis auf
apps2 und config natürlich). Hatte mir vorher aber das Verzeichnis auch
gesichert :).
Dann habe ich o.g. Datei in das OC Verzeichnis entpackt.
Dabei wurden etliche Updates durchlaufen die vorher nicht gemacht wurden :(
Activate configuration now (y/n) [yes]? y
version: v1.4.0
Apache2 SSL has been enabled ...
db type: mysql
MySQL php support has been enabled ...
MySQL php socket has correctly been set ...
MySQL support has been enabled ...
MySQL password file could not be found ...
trusted domain(s): mysql
Redis php cache has been enabled ...
Redis support has been enabled ...
mail has been enabled ...
creating ownCloud configuration ...
creating logrotate configuration ...
creating cron script ...
running ownCloud upgrade routine ...
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
Turned on maintenance mode
Checking whether the database schema can be updated (this can take a
long time depending on the database size)
Done
24/24 [============================] 100%
Checked database schema update
Checking updates of apps
Checking whether the database schema for <activity> can be updated (this
can take a long time depending on the database size)
Done
2/2 [============================] 100%
Checking whether the database schema for <federatedfilesharing> can be
updated (this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for <files_external> can be updated
(this can take a long time depending on the database size)
Done
4/4 [============================] 100%
Checking whether the database schema for <files_sharing> can be updated
(this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for <files_trashbin> can be updated
(this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checking whether the database schema for <notifications> can be updated
(this can take a long time depending on the database size)
Done
1/1 [============================] 100%
Checked database schema update for apps
Updating database schema
Updated database
Disabled 3rd-party app: calendar
Disabled 3rd-party app: contacts
Updating <federatedfilesharing> ...
Updated <federatedfilesharing> to 0.3.0
Updating <gallery> ...
Updated <gallery> to 15.0.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 0.5.0
Updating <updatenotification> ...
Updated <updatenotification> to 0.2.1
Updating <files> ...
Updated <files> to 1.5.1
Updating <activity> ...
Updated <activity> to 2.3.2
Updating <files_external> ...
Updated <files_external> to 0.6.0
Updating <files_sharing> ...
Updated <files_sharing> to 0.10.0
Updating <files_trashbin> ...
Updated <files_trashbin> to 0.9.0
Updating <files_versions> ...
Updated <files_versions> to 1.3.0
Updating <comments> ...
Updated <comments> to 0.3.0
Updating <notifications> ...
Updated <notifications> to 0.3.0
Updating <systemtags> ...
Updated <systemtags> to 0.3.0
dav: An exception occurred while executing 'CREATE TABLE
`oc_addressbooks` (`id` BIGINT UNSIGNED AUTO_INCREMENT NOT NULL,
`principaluri` VARCHAR(255) DEFAULT NULL, `displayname` VARCHAR(255)
DEFAULT NULL, `uri` VARCHAR(255) DEFAULT NULL, `description`
VARCHAR(255) DEFAULT NULL, `synctoken` INT UNSIGNED DEFAULT 1 NOT NULL,
UNIQUE INDEX addressbook_index (`principaluri`, `uri`), PRIMARY
KEY(`id`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_bin ENGINE = InnoDB':
SQLSTATE[42S01]: Base table or view already exists: 1050 Tabelle
'oc_addressbooks' bereits vorhanden
federation: An exception occurred while executing 'CREATE TABLE
`oc_trusted_servers` (`id` INT AUTO_INCREMENT NOT NULL, `url`
VARCHAR(512) NOT NULL COMMENT 'Url of trusted server', `url_hash`
VARCHAR(255) DEFAULT '' NOT NULL COMMENT 'sha1 hash of the url without
the protocol', `token` VARCHAR(128) DEFAULT NULL COMMENT 'token used to
exchange the shared secret', `shared_secret` VARCHAR(256) DEFAULT NULL
COMMENT 'shared secret used to authenticate', `status` INT DEFAULT 2 NOT
NULL COMMENT 'current status of the connection', `sync_token`
VARCHAR(512) DEFAULT NULL COMMENT 'cardDav sync token', UNIQUE INDEX
url_hash (`url_hash`), PRIMARY KEY(`id`)) DEFAULT CHARACTER SET utf8
COLLATE utf8_bin ENGINE = InnoDB':
SQLSTATE[42S01]: Base table or view already exists: 1050 Tabelle
'oc_trusted_servers' bereits vorhanden
Drop old database tables
Done
28/28 [============================] 100%
Remove old (< 9.0) calendar/contact shares
Done
4/4 [============================] 100%
Fix permissions so avatars can be stored again
Done
2/2 [============================] 100%
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Reset log level
creating cron job ...
Set mode for background jobs to 'cron'
finished.
Do you want to restart the webserver now (recommended) (y/n) [yes]? y
* Restarting Apache ...
[ OK ]
Press ENTER to continue
eis #
eis # sudo -u wwwrun php occ app:enable contacts
Could not open input file: occ
eis # cd /var/www/htdocs/owncloud
eis # sudo -u wwwrun php occ app:enable contacts
contacts enabled
eis # sudo -u wwwrun php occ app:enable calendar
calendar enabled
jetzt funktioniert alles wie es soll.
Einzig das hier ist geblieben - ist aber wohl nicht so tragisch ... wenn
Zeit ist gehe ich dem auch mal auf die Spur.
Der "Strict-Transport-Security" HTTP-Header ist nicht auf mindestens
"15552000" Sekunden eingestellt. Um die Sicherheit zu erhöhen, empfehlen
wir das Aktivieren von HSTS, wie es in den Sicherheitshinweisen
erläutert ist.
Viele Grüße
Fabian
Mehr Informationen über die Mailingliste Eisfair_dev