Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| centos:web_c7:nextcloud [23.11.2018 07:11. ] – [Webserver anhalten] django | centos:web_c7:nextcloud [10.01.2019 19:29. ] (aktuell) – Nextcloud unter CentOS 7.x installieren und betreiben django | ||
|---|---|---|---|
| Zeile 117: | Zeile 117: | ||
| Require all denied | Require all denied | ||
| </ | </ | ||
| + | |||
| + | # Link für DAV-Support | ||
| + | Redirect 301 / | ||
| + | Redirect 301 / | ||
| # Welche Logdateien sollen beschrieben werden | # Welche Logdateien sollen beschrieben werden | ||
| Zeile 248: | Zeile 252: | ||
| # mv / | # mv / | ||
| + | # cp -ra / | ||
| ==== Entpacken ==== | ==== Entpacken ==== | ||
| Nun entpacken wir das heruntergeladene **tar.bz2**-Archiv an Ort und Stelle. | Nun entpacken wir das heruntergeladene **tar.bz2**-Archiv an Ort und Stelle. | ||
| - | # tar -jxpvf nextcloud-10.0.0.tar.bz2 -C / | + | # tar -jxpvf |
| + | # rm -rf / | ||
| ==== Berechtigungen anpassen ==== | ==== Berechtigungen anpassen ==== | ||
| - | Anschliessend passen wir die Berechtigungen des Verzeichnisses // | + | Anschliessend passen wir die Berechtigungen des Verzeichnisses // |
| - | # chown -R apache: | + | # chown -R apache: |
| ==== Konfiguration erneuern ==== | ==== Konfiguration erneuern ==== | ||
| Die Konfigurationsdatei **config.php** unserer bestehenden Installation kopieren wir nun in unser neues Updateverzeichnis. | Die Konfigurationsdatei **config.php** unserer bestehenden Installation kopieren wir nun in unser neues Updateverzeichnis. | ||
| - | # cp -a / | + | # cp -a / |
| ==== Datenverzeichnis sichern/ | ==== Datenverzeichnis sichern/ | ||
| Zeile 279: | Zeile 286: | ||
| ==== Upgrade starten ==== | ==== Upgrade starten ==== | ||
| Nun starten wir den Upgrade unserer Intsallation. Je nach Grösse und Umfang unserer Installation wir es nun ein Weilchen Dauern bis die Aktualisierung unserer Installation abgeschlossen ist. | Nun starten wir den Upgrade unserer Intsallation. Je nach Grösse und Umfang unserer Installation wir es nun ein Weilchen Dauern bis die Aktualisierung unserer Installation abgeschlossen ist. | ||
| - | # sudo -u apache php / | + | # sudo -u apache php / |
| < | < | ||
| Zeile 285: | Zeile 292: | ||
| You may use your browser or the occ upgrade command to do the upgrade</ | You may use your browser or the occ upgrade command to do the upgrade</ | ||
| <font style=" | <font style=" | ||
| - | Checking whether the database schema can be updated (this can take a long time depending on the database size)</ | ||
| - | | ||
| - | 27/27 [============================] 100% | ||
| - | <font style=" | ||
| - | Checking updates of apps | ||
| - | Checking whether the database schema for < | ||
| - | | ||
| - | 2/2 [============================] 100% | ||
| - | <font style=" | ||
| - | | ||
| - | 10/10 [============================] 100% | ||
| - | <font style=" | ||
| - | | ||
| - | 1/1 [============================] 100% | ||
| - | <font style=" | ||
| - | | ||
| - | 1/1 [============================] 100% | ||
| - | <font style=" | ||
| - | | ||
| - | 1/1 [============================] 100% | ||
| - | <font style=" | ||
| - | | ||
| - | 1/1 [============================] 100% | ||
| - | <font style=" | ||
| - | | ||
| - | 3/3 [============================] 100% | ||
| - | <font style=" | ||
| Updating database schema | Updating database schema | ||
| - | Updated database | + | Updated database</ |
| - | Updating | + | <font style=" |
| - | Updated | + | Disabled incompatible app: announcementcenter |
| - | Updating | + | Disabled incompatible app: apporder |
| - | Updated | + | Disabled incompatible app: audioplayer |
| - | Updating | + | Disabled incompatible app: bookmarks |
| - | Updated | + | Disabled incompatible app: bruteforcesettings |
| - | Updating | + | Disabled incompatible app: calendar |
| - | Updated | + | Disabled incompatible app: caniupdate |
| - | Updating | + | Disabled incompatible app: circles |
| - | Fix classification for calendar objects | + | Disabled incompatible app: contacts |
| - | | + | Disabled incompatible app: deck |
| - | 16/16 [============================] 100% | + | Disabled incompatible app: defaultlinkopen |
| - | <font style=" | + | Disabled incompatible app: drop_account |
| - | Updating | + | Disabled incompatible app: end_to_end_encryption |
| - | Updated | + | Disabled incompatible app: external |
| - | Updating | + | Disabled incompatible app: files_downloadactivity |
| - | Updated | + | Disabled incompatible app: files_retention |
| - | Updating | + | Disabled incompatible app: files_rightclick |
| - | Updated | + | Disabled incompatible app: flowupload |
| - | Updating | + | Disabled incompatible app: mail |
| - | Updated | + | Disabled incompatible app: mindmaps |
| - | Updating | + | Disabled incompatible app: mood |
| - | Updated | + | Disabled incompatible app: news |
| - | Updating | + | Disabled incompatible app: notes |
| - | Updated | + | Disabled incompatible app: polls |
| - | Drop old database tables | + | Disabled incompatible app: previewgenerator |
| - | Done | + | Disabled incompatible app: quota_warning |
| - | 31/31 [============================] 100% | + | Disabled incompatible app: radio |
| - | Remove old (< 9.0) calendar/ | + | Disabled incompatible app: ransomware_protection |
| - | Done | + | Disabled incompatible app: sharerenamer |
| - | 4/4 [============================] 100% | + | Disabled incompatible app: socialsharing_email |
| - | Fix permissions so avatars can be stored again | + | Disabled incompatible app: spreed |
| - | Done | + | Disabled incompatible app: tasks |
| - | 2/2 [============================] 100% | + | Disabled incompatible app: twofactor_u2f</ |
| - | Repair unmerged shares | + | <font style=" |
| - | Done | + | Updated |
| - | 16/16 [============================] 100% | + | Updating &# |
| - | <font style="color: rgb(29, 180, 29)">Starting code integrity check... | + | Updated &# |
| + | Updating | ||
| + | Updated | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating <files&# | ||
| + | Updated | ||
| + | Updating | ||
| + | Updated | ||
| + | Updating | ||
| + | Fix broken values of calendar objects | ||
| + | |||
| + | | ||
| + | 0/0 [> | ||
| + | <font style=" | ||
| + | Updating | ||
| + | Updated | ||
| + | Updating | ||
| + | Updated | ||
| + | Updating | ||
| + | Updated | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating | ||
| + | Updated &# | ||
| + | Updating <comments&# | ||
| + | Updated | ||
| + | Updating | ||
| + | Updated | ||
| + | Updating | ||
| + | Updated | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Updating &# | ||
| + | Updated &# | ||
| + | Checking for update of app activity in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app cloud_federation_api in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app comments in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app dav in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app federatedfilesharing in appstore | ||
| + | Checked for update of app "federatedfilesharing" | ||
| + | Checking for update of app federation in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files_pdfviewer in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files_sharing in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files_texteditor in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files_trashbin in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files_versions in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app files_videoplayer in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app firstrunwizard in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app gallery in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app logreader in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app lookup_server_connector in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app nextcloud_announcements in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app notifications in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app oauth2 in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app password_policy in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app provisioning_api in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app serverinfo in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app sharebymail in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app survey_client in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app systemtags in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app theming in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app twofactor_backupcodes in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app updatenotification in appstore | ||
| + | Checked for update of app " | ||
| + | Checking for update of app workflowengine in appstore | ||
| + | Checked for update of app " | ||
| + | Starting code integrity check... | ||
| Finished code integrity check | Finished code integrity check | ||
| Update successful | Update successful | ||
| Maintenance mode is kept active | Maintenance mode is kept active | ||
| - | Reset log level</ | + | Reset log level</ |
| + | </ | ||
| </ | </ | ||
| Zeile 364: | Zeile 462: | ||
| Maintenance mode disabled | Maintenance mode disabled | ||
| - | Zu guter Letzt melden | + | Nun können |
| {{ : | {{ : | ||
| + | |||
| + | <WRAP center round tip 95%> | ||
| + | Am besten werfen wir dazu auch einmal einen Blick in die Systeminformationen als User Admin. So wird z.B. beim Update von Version **13** auf **14** Hinweise zur Anpassungen der Datenbank gegeben! | ||
| + | </ | ||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | So erzeugen wir wie angeraten die fehlenden Indizes. | ||
| + | # sudo -u apache php / | ||
| + | |||
| + | < | ||
| + | <font style=" | ||
| + | Adding additional share_with index to the share table, this can take some time... | ||
| + | Share table updated successfully. | ||
| + | Adding additional parent index to the share table, this can take some time... | ||
| + | Share table updated successfully. | ||
| + | Adding additional mtime index to the filecache table, this can take some time... | ||
| + | Filecache table updated successfully.</ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Eine erneute Überprüfung zeigt nun, dass alles wieder in Ordnung ist. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Auch ein Test über den angegebenen link zum [[https:// | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | /* | ||
| + | cd / | ||
| + | wget https:// | ||
| + | wget https:// | ||
| + | | ||
| + | diff nextcloud-15.0.1.tar.bz2.sha512.local nextcloud-15.0.1.tar.bz2.sha512 | ||
| + | sudo -u apache php / | ||
| + | mv / | ||
| + | | ||
| + | | ||
| + | cp -ra / | ||
| + | tar -jxpvf / | ||
| + | rm -rf / | ||
| + | chown -R apache: | ||
| + | cp -a / | ||
| + | mv / | ||
| + | | ||
| + | | ||
| + | sudo -u apache php / | ||
| + | sudo -u apache php / | ||
| + | |||
| + | */ | ||
| + | |||