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 07:42. ] – [Konfiguration erneuern] 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 282: 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 /srv/www/html/nextcloud/occ upgrade+   # sudo -u apache php /srv/www/html/cloud/occ upgrade
  
 <html><pre class="code"> <html><pre class="code">
Zeile 288: Zeile 292:
 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 <font style="color: rgb(29, 180, 29)">Set log level to debug
-Checking whether the database schema can be updated (this can take a long time depending on the database size)</font> 
- Done                                      
- 27/27 [============================] 100% 
-<font style="color: rgb(29, 180, 29)">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)</font> 
- Done                                      
- 2/2 [============================] 100%   
-<font style="color: rgb(29, 180, 29)">Checking whether the database schema for <dav> can be updated (this can take a long time depending on the database size)</font> 
- Done                                      
- 10/10 [============================] 100% 
-<font style="color: rgb(29, 180, 29)">Checking whether the database schema for <federation> 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_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 Updating database schema
-Updated database +Updated database</font> 
-Updating <federation> ... +<font style="color: rgb(208, 179, 51)">Disabled incompatible app: admin_notifications 
-Updated <federation> to 1.0.1 +Disabled incompatible app: announcementcenter 
-Updating <user_ldap> ... +Disabled incompatible app: apporder 
-Updated <user_ldap> to 1.0.1 +Disabled incompatible app: audioplayer 
-Updating <files... +Disabled incompatible app: bookmarks 
-Updated <filesto 1.5.2 +Disabled incompatible app: bruteforcesettings 
-Updating <activity... +Disabled incompatible app: calendar 
-Updated <activityto 2.3.2 +Disabled incompatible app: caniupdate 
-Updating <dav...</font> +Disabled incompatible app: circles 
-Fix classification for calendar objects +Disabled incompatible app: contacts 
- Done                                       +Disabled incompatible app: deck 
-   16/16 [============================100+Disabled incompatible app: defaultlinkopen 
-<font style="color: rgb(29, 180, 29)">Updated <dav> to 1.0.0 +Disabled incompatible app: drop_account 
-Updating <files_sharing... +Disabled incompatible app: end_to_end_encryption 
-Updated <files_sharingto 1.0.0 +Disabled incompatible app: external 
-Updating <files_trashbin... +Disabled incompatible app: files_downloadactivity 
-Updated <files_trashbinto 1.0.0 +Disabled incompatible app: files_retention 
-Updating <files_versions... +Disabled incompatible app: files_rightclick 
-Updated <files_versionsto 1.3.0 +Disabled incompatible app: flowupload 
-Updating <comments... +Disabled incompatible app: mail 
-Updated <commentsto 1.0.0 +Disabled incompatible app: mindmaps 
-Updating <notifications> ... +Disabled incompatible app: mood 
-Updated <notifications> to 0.3.0 +Disabled incompatible app: news 
-Updating <systemtags> ... +Disabled incompatible app: notes 
-Updated <systemtags> to 1.0.2</font> +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/contact shares +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</font> 
-Repair unmerged shares +<font style="color: rgb(29, 180, 29)">Updating &#60;federatedfilesharing&#62; ... 
- Done                                               +Updated &#60;federatedfilesharing&#62; to 1.4.0 
- 16/16 [============================] 100% +Updating &#60;files_pdfviewer&#62; ... 
-<font style="color: rgb(29, 180, 29)">Starting code integrity check...+Updated &#60;files_pdfviewer&#62; to 1.3.2 
 +Updating &#60;files_texteditor&#62; ... 
 +Updated &#60;files_texteditor&#62; to 2.6.0 
 +Updating &#60;files_videoplayer&#62; ... 
 +Updated &#60;files_videoplayer&#62; to 1.3.0 
 +Updating &#60;gallery&#62; ... 
 +Updated &#60;gallery&#62; to 18.1.0 
 +Updating &#60;password_policy&#62; ... 
 +Updated &#60;password_policy&#62; to 1.4.0 
 +Updating &#60;provisioning_api&#62; ... 
 +Updated &#60;provisioning_api&#62; to 1.4.0 
 +Updating &#60;serverinfo&#62; ... 
 +Updated &#60;serverinfo&#62; to 1.4.0 
 +Updating &#60;survey_client&#62; ... 
 +Updated &#60;survey_client&#62; to 1.2.0 
 +Updating &#60;twofactor_backupcodes&#62; ... 
 +Updated &#60;twofactor_backupcodes&#62; to 1.3.1 
 +Updating &#60;updatenotification&#62; ... 
 +Updated &#60;updatenotification&#62; to 1.4.1 
 +Updating &#60;federation&#62; ... 
 +Updated &#60;federation&#62; to 1.4.0 
 +Updating &#60;lookup_server_connector&#62; ... 
 +Updated &#60;lookup_server_connector&#62; to 1.2.0 
 +Updating &#60;oauth2&#62; ... 
 +Updated &#60;oauth2&#62; to 1.2.1 
 +Updating &#60;files&#62; ... 
 +Updated &#60;files&#62; to 1.9.0 
 +Updating &#60;activity&#62; ... 
 +Updated &#60;activity&#62; to 2.7.0 
 +Updating &#60;dav&#62; ...</font> 
 +Fix broken values of calendar objects 
 + 
 + Done 
 +    0/[>---------------------------  0
 +<font style="color: rgb(29, 180, 29)">Updated <dav> to 1.6.0 
 +Updating &#60;files_sharing&#62; ... 
 +Updated &#60;files_sharing&#62; to 1.6.2 
 +Updating &#60;files_trashbin&#62; ... 
 +Updated &#60;files_trashbin&#62; to 1.4.1 
 +Updating &#60;files_versions&#62; ... 
 +Updated &#60;files_versions&#62; to 1.7.1 
 +Updating &#60;sharebymail&#62; ... 
 +Updated &#60;sharebymail&#62; to 1.4.0 
 +Updating &#60;workflowengine&#62; ... 
 +Updated &#60;workflowengine&#62; to 1.4.0 
 +Updating &#60;comments&#62; ... 
 +Updated &#60;comments&#62; to 1.4.0 
 +Updating &#60;firstrunwizard&#62; ... 
 +Updated &#60;firstrunwizard&#62; to 2.3.0 
 +Updating &#60;nextcloud_announcements&#62; ... 
 +Updated &#60;nextcloud_announcements&#62; to 1.3.0 
 +Updating &#60;notifications&#62; ... 
 +Updated &#60;notifications&#62; to 2.2.1 
 +Updating &#60;systemtags&#62; ... 
 +Updated &#60;systemtags&#62; to 1.4.0 
 +Updating &#60;theming&#62; ... 
 +Updated &#60;theming&#62; to 1.5.0 
 +Checking for update of app activity in appstore 
 +Checked for update of app "activity" in appstore  
 +Checking for update of app cloud_federation_api in appstore 
 +Checked for update of app "cloud_federation_api" in appstore  
 +Checking for update of app comments in appstore 
 +Checked for update of app "comments" in appstore  
 +Checking for update of app dav in appstore 
 +Checked for update of app "dav" in appstore  
 +Checking for update of app federatedfilesharing in appstore 
 +Checked for update of app "federatedfilesharingin appstore  
 +Checking for update of app federation in appstore 
 +Checked for update of app "federation" in appstore  
 +Checking for update of app files in appstore 
 +Checked for update of app "files" in appstore  
 +Checking for update of app files_pdfviewer in appstore 
 +Checked for update of app "files_pdfviewer" in appstore  
 +Checking for update of app files_sharing in appstore 
 +Checked for update of app "files_sharing" in appstore  
 +Checking for update of app files_texteditor in appstore 
 +Checked for update of app "files_texteditor" in appstore  
 +Checking for update of app files_trashbin in appstore 
 +Checked for update of app "files_trashbin" in appstore  
 +Checking for update of app files_versions in appstore 
 +Checked for update of app "files_versions" in appstore  
 +Checking for update of app files_videoplayer in appstore 
 +Checked for update of app "files_videoplayer" in appstore  
 +Checking for update of app firstrunwizard in appstore 
 +Checked for update of app "firstrunwizard" in appstore  
 +Checking for update of app gallery in appstore 
 +Checked for update of app "gallery" in appstore  
 +Checking for update of app logreader in appstore 
 +Checked for update of app "logreader" in appstore  
 +Checking for update of app lookup_server_connector in appstore 
 +Checked for update of app "lookup_server_connector" in appstore  
 +Checking for update of app nextcloud_announcements in appstore 
 +Checked for update of app "nextcloud_announcements" in appstore  
 +Checking for update of app notifications in appstore 
 +Checked for update of app "notifications" in appstore  
 +Checking for update of app oauth2 in appstore 
 +Checked for update of app "oauth2" in appstore  
 +Checking for update of app password_policy in appstore 
 +Checked for update of app "password_policy" in appstore  
 +Checking for update of app provisioning_api in appstore 
 +Checked for update of app "provisioning_api" in appstore  
 +Checking for update of app serverinfo in appstore 
 +Checked for update of app "serverinfo" in appstore  
 +Checking for update of app sharebymail in appstore 
 +Checked for update of app "sharebymail" in appstore  
 +Checking for update of app survey_client in appstore 
 +Checked for update of app "survey_client" in appstore  
 +Checking for update of app systemtags in appstore 
 +Checked for update of app "systemtags" in appstore  
 +Checking for update of app theming in appstore 
 +Checked for update of app "theming" in appstore  
 +Checking for update of app twofactor_backupcodes in appstore 
 +Checked for update of app "twofactor_backupcodes" in appstore  
 +Checking for update of app updatenotification in appstore 
 +Checked for update of app "updatenotification" in appstore  
 +Checking for update of app workflowengine in appstore 
 +Checked for update of app "workflowengine" in appstore  
 +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</font></pre>+Reset log level</font> 
 +</pre>
 </html> </html>
  
Zeile 367: 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.1542958922.txt.gz
  • Zuletzt geändert: 23.11.2018 07:42.
  • von django