|
|
Zeile 25: |
Zeile 25: |
| === Anwendung Nextcloud === | | === Anwendung Nextcloud === |
|
| |
|
| ==== Aktualisierung Anwendung Nextcloud ====
| | [[{{ns:100}}:Server/Nextcloud#TurnKey]] |
| | |
| : <code>su - -s /bin/bash www-data -c 'php /var/www/nextcloud/occ upgrade'</code> | |
| <pre>
| |
| Nextcloud is already latest version
| |
| </pre>
| |
| | |
| | |
| https://nextcloud.stura.htw-dresden.de/updater/
| |
| | |
| <pre>
| |
| Initializing
| |
| Current version is 16.0.1.
| |
| Update to Nextcloud 16.0.10 available. (channel: "stable")
| |
| Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-16.0.10.zip
| |
| Open changelog ↗
| |
| Check for expected files
| |
| </pre>
| |
| <pre>
| |
| | |
| Check for write permissions
| |
| The following places can not be written to:
| |
| | |
| /var/www/nextcloud/updater/../console.php
| |
| /var/www/nextcloud/updater/../occ
| |
| /var/www/nextcloud/updater/../robots.txt
| |
| /var/www/nextcloud/updater/../remote.php
| |
| /var/www/nextcloud/updater/../version.php
| |
| /var/www/nextcloud/updater/../status.php
| |
| /var/www/nextcloud/updater/../.user.ini
| |
| /var/www/nextcloud/updater/../.htaccess
| |
| /var/www/nextcloud/updater/../index.php
| |
| /var/www/nextcloud/updater/../public.php
| |
| /var/www/nextcloud/updater/../COPYING
| |
| /var/www/nextcloud/updater/../index.html
| |
| /var/www/nextcloud/updater/../AUTHORS
| |
| /var/www/nextcloud/updater/../cron.php
| |
| | |
| </pre>
| |
| <pre></pre>
| |
| | |
| | |
| : <code>ls -al /var/www/nextcloud</code>
| |
| <pre>
| |
| total 164
| |
| drwxr-sr-x 15 root root 4096 Jun 7 2019 .
| |
| drwxr-xr-x 4 root root 4096 Apr 29 14:06 ..
| |
| -rw-r--r-- 1 root root 2478 Jun 7 2019 .htaccess
| |
| -rw-r--r-- 1 root root 101 May 15 2019 .user.ini
| |
| drwxr-sr-x 32 root root 4096 May 15 2019 3rdparty
| |
| -rw-r--r-- 1 root root 12063 May 15 2019 AUTHORS
| |
| -rw-r--r-- 1 root root 34520 May 15 2019 COPYING
| |
| drwxr-sr-x 47 www-data www-data 4096 Apr 29 16:52 apps
| |
| drwxr-sr-x 2 www-data www-data 4096 Apr 29 14:05 config
| |
| -rw-r--r-- 1 root root 3805 May 15 2019 console.php
| |
| drwxr-sr-x 23 root root 4096 May 15 2019 core
| |
| -rw-r--r-- 1 root root 4986 May 15 2019 cron.php
| |
| drwxrwx--- 7 www-data www-data 4096 Apr 29 16:55 data
| |
| -rw-r--r-- 1 root root 156 May 15 2019 index.html
| |
| -rw-r--r-- 1 root root 3172 May 15 2019 index.php
| |
| drwxr-sr-x 6 root root 4096 May 15 2019 lib
| |
| -rw-r--r-- 1 root root 283 May 15 2019 occ
| |
| drwxr-sr-x 2 root root 4096 May 15 2019 ocm-provider
| |
| drwxr-sr-x 2 root root 4096 May 15 2019 ocs
| |
| drwxr-sr-x 2 root root 4096 May 15 2019 ocs-provider
| |
| -rw-r--r-- 1 root root 2951 May 15 2019 public.php
| |
| -rw-r--r-- 1 root root 5139 May 15 2019 remote.php
| |
| drwxr-sr-x 4 root root 4096 May 15 2019 resources
| |
| -rw-r--r-- 1 root root 26 May 15 2019 robots.txt
| |
| drwxr-sr-x 12 root root 4096 May 15 2019 settings
| |
| -rw-r--r-- 1 root root 2232 May 15 2019 status.php
| |
| drwxr-sr-x 3 root root 4096 May 15 2019 themes
| |
| drwxr-sr-x 2 root root 4096 May 15 2019 updater
| |
| -rw-r--r-- 1 root root 362 May 15 2019 version.php
| |
| </pre>
| |
| | |
| : <code>ls -al /var/www/nextcloud/updater/</code>
| |
| <pre>
| |
| total 660
| |
| drwxr-sr-x 2 root root 4096 May 15 2019 .
| |
| drwxr-sr-x 15 root root 4096 Jun 7 2019 ..
| |
| -rw-r--r-- 1 root root 63216 May 15 2019 index.php
| |
| -rw-r--r-- 1 root root 599747 May 15 2019 updater.phar
| |
| </pre>
| |
| | |
| https://docs.nextcloud.com/server/9/admin_manual/installation/installation_wizard.html#setting-strong-directory-permissions
| |
| | |
| : <code>chown -R www-data:www-data /var/www/nextcloud</code>
| |