Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
centos:web_c7:nextcloud [23.11.2018 08:36. ] – [Upgrade starten] djangocentos: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
     </LocationMatch>     </LocationMatch>
 +
 +    # Link für DAV-Support 
 +    Redirect 301 /.well-known/carddav /remote.php/dav
 +    Redirect 301 /.well-known/caldav /remote.php/dav
  
     # Welche Logdateien sollen beschrieben werden     # Welche Logdateien sollen beschrieben werden
Zeile 287: Zeile 291:
 <font style="color: rgb(0, 0, 0)">Nextcloud or one of the apps require upgrade - only a limited number of commands are available <font style="color: rgb(0, 0, 0)">Nextcloud 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</font> You may use your browser or the occ upgrade command to do the upgrade</font>
-<font style="color: rgb(29, 180, 29)">Set log level to debug 
-Updating database schema 
-Updated database 
 <font style="color: rgb(29, 180, 29)">Set log level to debug <font style="color: rgb(29, 180, 29)">Set log level to debug
 Updating database schema Updating database schema
Zeile 327: Zeile 328:
 Disabled incompatible app: tasks Disabled incompatible app: tasks
 Disabled incompatible app: twofactor_u2f</font> Disabled incompatible app: twofactor_u2f</font>
-<font style="color: rgb(29, 180, 29)">Updating <federatedfilesharing... +<font style="color: rgb(29, 180, 29)">Updating &#60;federatedfilesharing&#62; ... 
-Updated <federatedfilesharingto 1.4.0 +Updated &#60;federatedfilesharing&#62; to 1.4.0 
-Updating <files_pdfviewer... +Updating &#60;files_pdfviewer&#62; ... 
-Updated <files_pdfviewerto 1.3.2 +Updated &#60;files_pdfviewer&#62; to 1.3.2 
-Updating <files_texteditor... +Updating &#60;files_texteditor&#62; ... 
-Updated <files_texteditorto 2.6.0 +Updated &#60;files_texteditor&#62; to 2.6.0 
-Updating <files_videoplayer... +Updating &#60;files_videoplayer&#62; ... 
-Updated <files_videoplayerto 1.3.0 +Updated &#60;files_videoplayer&#62; to 1.3.0 
-Updating <gallery... +Updating &#60;gallery&#62; ... 
-Updated <galleryto 18.1.0 +Updated &#60;gallery&#62; to 18.1.0 
-Updating <password_policy... +Updating &#60;password_policy&#62; ... 
-Updated <password_policyto 1.4.0 +Updated &#60;password_policy&#62; to 1.4.0 
-Updating <provisioning_api... +Updating &#60;provisioning_api&#62; ... 
-Updated <provisioning_apito 1.4.0 +Updated &#60;provisioning_api&#62; to 1.4.0 
-Updating <serverinfo... +Updating &#60;serverinfo&#62; ... 
-Updated <serverinfoto 1.4.0 +Updated &#60;serverinfo&#62; to 1.4.0 
-Updating <survey_client... +Updating &#60;survey_client&#62; ... 
-Updated <survey_clientto 1.2.0 +Updated &#60;survey_client&#62; to 1.2.0 
-Updating <twofactor_backupcodes... +Updating &#60;twofactor_backupcodes&#62; ... 
-Updated <twofactor_backupcodesto 1.3.1 +Updated &#60;twofactor_backupcodes&#62; to 1.3.1 
-Updating <updatenotification... +Updating &#60;updatenotification&#62; ... 
-Updated <updatenotificationto 1.4.1 +Updated &#60;updatenotification&#62; to 1.4.1 
-Updating <federation... +Updating &#60;federation&#62; ... 
-Updated <federationto 1.4.0 +Updated &#60;federation&#62; to 1.4.0 
-Updating <lookup_server_connector... +Updating &#60;lookup_server_connector&#62; ... 
-Updated <lookup_server_connectorto 1.2.0 +Updated &#60;lookup_server_connector&#62; to 1.2.0 
-Updating <oauth2... +Updating &#60;oauth2&#62; ... 
-Updated <oauth2to 1.2.1 +Updated &#60;oauth2&#62; to 1.2.1 
-Updating <files... +Updating &#60;files&#62; ... 
-Updated <filesto 1.9.0 +Updated &#60;files&#62; to 1.9.0 
-Updating <activity... +Updating &#60;activity&#62; ... 
-Updated <activityto 2.7.0 +Updated &#60;activity&#62; to 2.7.0 
-Updating <dav...</font>+Updating &#60;dav&#62; ...</font>
 Fix broken values of calendar objects Fix broken values of calendar objects
  
Zeile 365: Zeile 366:
     0/0 [>---------------------------]   0%     0/0 [>---------------------------]   0%
 <font style="color: rgb(29, 180, 29)">Updated <dav> to 1.6.0 <font style="color: rgb(29, 180, 29)">Updated <dav> to 1.6.0
-Updating <files_sharing... +Updating &#60;files_sharing&#62; ... 
-Updated <files_sharingto 1.6.2 +Updated &#60;files_sharing&#62; to 1.6.2 
-Updating <files_trashbin... +Updating &#60;files_trashbin&#62; ... 
-Updated <files_trashbinto 1.4.1 +Updated &#60;files_trashbin&#62; to 1.4.1 
-Updating <files_versions... +Updating &#60;files_versions&#62; ... 
-Updated <files_versionsto 1.7.1 +Updated &#60;files_versions&#62; to 1.7.1 
-Updating <sharebymail... +Updating &#60;sharebymail&#62; ... 
-Updated <sharebymailto 1.4.0 +Updated &#60;sharebymail&#62; to 1.4.0 
-Updating <workflowengine... +Updating &#60;workflowengine&#62; ... 
-Updated <workflowengineto 1.4.0 +Updated &#60;workflowengine&#62; to 1.4.0 
-Updating <comments... +Updating &#60;comments&#62; ... 
-Updated <commentsto 1.4.0 +Updated &#60;comments&#62; to 1.4.0 
-Updating <firstrunwizard... +Updating &#60;firstrunwizard&#62; ... 
-Updated <firstrunwizardto 2.3.0 +Updated &#60;firstrunwizard&#62; to 2.3.0 
-Updating <nextcloud_announcements... +Updating &#60;nextcloud_announcements&#62; ... 
-Updated <nextcloud_announcementsto 1.3.0 +Updated &#60;nextcloud_announcements&#62; to 1.3.0 
-Updating <notifications... +Updating &#60;notifications&#62; ... 
-Updated <notificationsto 2.2.1 +Updated &#60;notifications&#62; to 2.2.1 
-Updating <systemtags... +Updating &#60;systemtags&#62; ... 
-Updated <systemtagsto 1.4.0 +Updated &#60;systemtags&#62; to 1.4.0 
-Updating <theming... +Updating &#60;theming&#62; ... 
-Updated <themingto 1.5.0+Updated &#60;theming&#62; to 1.5.0
 Checking for update of app activity in appstore Checking for update of app activity in appstore
 Checked for update of app "activity" in appstore  Checked for update of app "activity" in appstore 
Zeile 451: Zeile 452:
 Update successful Update successful
 Maintenance mode is kept active Maintenance mode is kept active
-Reset log level +Reset log level</font> 
-</font> +</pre>
- Done                                      +
- 1/1 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Checking whether the database schema for <files_sharing> can be updated (this can take a long time depending on the database size)</font> +
- Done                                      +
- 1/1 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Checking whether the database schema for <files_trashbin> can be updated (this can take a long time depending on the database size)</font> +
- Done                                      +
- 1/1 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Checking whether the database schema for <notifications> can be updated (this can take a long time depending on the database size)</font> +
- Done                                      +
- 1/1 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Checking whether the database schema for <user_ldap> can be updated (this can take a long time depending on the database size)</font> +
- Done                                      +
- 3/3 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Checked database schema update for apps +
-Updating database schema +
-Updated database +
-Updating <federation> ... +
-Updated <federation> to 1.0.1 +
-Updating <user_ldap> ... +
-Updated <user_ldap> to 1.0.1 +
-Updating <files> ... +
-Updated <files> to 1.5.2 +
-Updating <activity> ... +
-Updated <activity> to 2.3.2 +
-Updating <dav> ...</font> +
-Fix classification for calendar objects +
- Done                                       +
-   16/16 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Updated <dav> to 1.0.0 +
-Updating <files_sharing> ... +
-Updated <files_sharing> to 1.0.0 +
-Updating <files_trashbin> ... +
-Updated <files_trashbin> to 1.0.0 +
-Updating <files_versions> ... +
-Updated <files_versions> to 1.3.0 +
-Updating <comments> ... +
-Updated <comments> to 1.0.0 +
-Updating <notifications> ... +
-Updated <notifications> to 0.3.0 +
-Updating <systemtags> ... +
-Updated <systemtags> to 1.0.2</font> +
-Drop old database tables +
- Done                                               +
- 31/31 [============================] 100%          +
-Remove old (< 9.0) calendar/contact shares +
- Done                                               +
- 4/4 [============================] 100%            +
-Fix permissions so avatars can be stored again +
- Done                                               +
- 2/2 [============================] 100%            +
-Repair unmerged shares +
- Done                                               +
- 16/16 [============================] 100% +
-<font style="color: rgb(29, 180, 29)">Starting code integrity check... +
-Finished code integrity check +
-Update successful +
-Maintenance mode is kept active +
-Reset log level</font></pre>+
 </html> </html>
  
Zeile 520: Zeile 462:
   Maintenance mode disabled   Maintenance mode disabled
  
-Zu guter Letzt melden wir uns nun an der WEB-GUI unserer NextCloud-Instanz an und überprüfen die Funktionen.+Nun können wir uns nun an der WEB-GUI unserer NextCloud-Instanz wieder anmelden und überprüfen die Funktionen.
  
 {{ :centos:web_c7:nextcloud_06.png?600 |Bild: Anmeldebilschirm der Web-GUI unseres NextCloud Servers}} {{ :centos:web_c7:nextcloud_06.png?600 |Bild: Anmeldebilschirm der Web-GUI unseres NextCloud Servers}}
 +
 +<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!
 +</WRAP>
 +
 +
 +{{ :centos:web_c7:nextcloud_07.png |Bild: Systeminformationen im Adminmenü}}
 +
 +So erzeugen wir wie angeraten die fehlenden Indizes.
 +   # sudo -u apache php /srv/www/html/cloud/occ db:add-missing-indices
 +
 +<html><pre class="code">
 +<font style="color: rgb(29, 180, 29)">Check indices of the share table.
 +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.</font>
 +</pre>
 +</html>
 +
 +Eine erneute Überprüfung zeigt nun, dass alles wieder in Ordnung ist.
 +
 +{{ :centos:web_c7:nextcloud_08.png |Bild: Systeminformationen im Adminmenü}}
 +
 +Auch ein Test über den angegebenen link zum [[https://scan.nextcloud.com/|Nextcloud Security Scanner]] sollte ein entsprechend aktuelles Ergebnis liefern.
 +
 +{{ :centos:web_c7:nextcloud_09.png?800 |Bild: Nextcloud Security Web-Scan}}
 +
 +/*
 + cd /usr/local/src/packages/
 + wget https://download.nextcloud.com/server/releases/nextcloud-15.0.1.tar.bz2
 + wget https://download.nextcloud.com/server/releases/nextcloud-15.0.1.tar.bz2.sha512
 + sha512sum nextcloud-15.0.1.tar.bz2 > nextcloud-15.0.1.tar.bz2.sha512.local
 + diff nextcloud-15.0.1.tar.bz2.sha512.local nextcloud-15.0.1.tar.bz2.sha512
 + sudo -u apache php /srv/www/html/cloud/occ maintenance:mode --on
 + mv /etc/httpd/conf.d/3rd_cloud.conf /etc/httpd/conf.d/3rd_cloud.conf.deaktiviert
 + apachectl -t
 + systemctl restart httpd.service 
 + cp -ra /srv/www/html/cloud /srv/www/html/cloud.$(date +%y%m%d)
 + tar -jxpvf /usr/local/src/packages/nextcloud-15.0.1.tar.bz2 -C /srv/www/html/
 + rm -rf /srv/www/html/cloud && mv /srv/www/html/nextcloud /srv/www/html/cloud
 + chown -R apache:apache /srv/www/html/cloud
 + cp -a /srv/www/html/cloud.$(date +%y%m%d)/config/config.php /srv/www/html/cloud/config/config.php
 + mv /etc/httpd/conf.d/3rd_cloud.conf.deaktiviert /etc/httpd/conf.d/3rd_cloud.conf
 + apachectl -t
 + systemctl restart httpd.service 
 + sudo -u apache php /srv/www/html/cloud/occ upgrade
 + sudo -u apache php /srv/www/html/cloud/occ maintenance:mode --off
 +
 +*/
 +
  
  
  • centos/web_c7/nextcloud.1542962187.txt.gz
  • Zuletzt geändert: 23.11.2018 08:36.
  • von django