Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
centos:web_c7:nextcloud [23.11.2018 08:36. ] – [Upgrade starten] django | centos:web_c7:nextcloud [10.01.2019 19:29. ] (aktuell) – Nextcloud unter CentOS 7.x installieren und betreiben django |
---|
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 |
<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 |
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 <federatedfilesharing> ... |
Updated <federatedfilesharing> to 1.4.0 | Updated <federatedfilesharing> to 1.4.0 |
Updating <files_pdfviewer> ... | Updating <files_pdfviewer> ... |
Updated <files_pdfviewer> to 1.3.2 | Updated <files_pdfviewer> to 1.3.2 |
Updating <files_texteditor> ... | Updating <files_texteditor> ... |
Updated <files_texteditor> to 2.6.0 | Updated <files_texteditor> to 2.6.0 |
Updating <files_videoplayer> ... | Updating <files_videoplayer> ... |
Updated <files_videoplayer> to 1.3.0 | Updated <files_videoplayer> to 1.3.0 |
Updating <gallery> ... | Updating <gallery> ... |
Updated <gallery> to 18.1.0 | Updated <gallery> to 18.1.0 |
Updating <password_policy> ... | Updating <password_policy> ... |
Updated <password_policy> to 1.4.0 | Updated <password_policy> to 1.4.0 |
Updating <provisioning_api> ... | Updating <provisioning_api> ... |
Updated <provisioning_api> to 1.4.0 | Updated <provisioning_api> to 1.4.0 |
Updating <serverinfo> ... | Updating <serverinfo> ... |
Updated <serverinfo> to 1.4.0 | Updated <serverinfo> to 1.4.0 |
Updating <survey_client> ... | Updating <survey_client> ... |
Updated <survey_client> to 1.2.0 | Updated <survey_client> to 1.2.0 |
Updating <twofactor_backupcodes> ... | Updating <twofactor_backupcodes> ... |
Updated <twofactor_backupcodes> to 1.3.1 | Updated <twofactor_backupcodes> to 1.3.1 |
Updating <updatenotification> ... | Updating <updatenotification> ... |
Updated <updatenotification> to 1.4.1 | Updated <updatenotification> to 1.4.1 |
Updating <federation> ... | Updating <federation> ... |
Updated <federation> to 1.4.0 | Updated <federation> to 1.4.0 |
Updating <lookup_server_connector> ... | Updating <lookup_server_connector> ... |
Updated <lookup_server_connector> to 1.2.0 | Updated <lookup_server_connector> to 1.2.0 |
Updating <oauth2> ... | Updating <oauth2> ... |
Updated <oauth2> to 1.2.1 | Updated <oauth2> to 1.2.1 |
Updating <files> ... | Updating <files> ... |
Updated <files> to 1.9.0 | Updated <files> to 1.9.0 |
Updating <activity> ... | Updating <activity> ... |
Updated <activity> to 2.7.0 | Updated <activity> to 2.7.0 |
Updating <dav> ...</font> | Updating <dav> ...</font> |
Fix broken values of calendar objects | Fix broken values of calendar objects |
| |
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 <files_sharing> ... |
Updated <files_sharing> to 1.6.2 | Updated <files_sharing> to 1.6.2 |
Updating <files_trashbin> ... | Updating <files_trashbin> ... |
Updated <files_trashbin> to 1.4.1 | Updated <files_trashbin> to 1.4.1 |
Updating <files_versions> ... | Updating <files_versions> ... |
Updated <files_versions> to 1.7.1 | Updated <files_versions> to 1.7.1 |
Updating <sharebymail> ... | Updating <sharebymail> ... |
Updated <sharebymail> to 1.4.0 | Updated <sharebymail> to 1.4.0 |
Updating <workflowengine> ... | Updating <workflowengine> ... |
Updated <workflowengine> to 1.4.0 | Updated <workflowengine> to 1.4.0 |
Updating <comments> ... | Updating <comments> ... |
Updated <comments> to 1.4.0 | Updated <comments> to 1.4.0 |
Updating <firstrunwizard> ... | Updating <firstrunwizard> ... |
Updated <firstrunwizard> to 2.3.0 | Updated <firstrunwizard> to 2.3.0 |
Updating <nextcloud_announcements> ... | Updating <nextcloud_announcements> ... |
Updated <nextcloud_announcements> to 1.3.0 | Updated <nextcloud_announcements> to 1.3.0 |
Updating <notifications> ... | Updating <notifications> ... |
Updated <notifications> to 2.2.1 | Updated <notifications> to 2.2.1 |
Updating <systemtags> ... | Updating <systemtags> ... |
Updated <systemtags> to 1.4.0 | Updated <systemtags> to 1.4.0 |
Updating <theming> ... | Updating <theming> ... |
Updated <theming> to 1.5.0 | Updated <theming> 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 |
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> |
| |
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 |
| |
| */ |
| |
| |
| |