Nextcloud/Update: Unterschied zwischen den Versionen
Erscheinungsbild
K Textersetzung - „===== Projekt =====“ durch „==== Projekt ====“ |
|||
(13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 15: | Zeile 15: | ||
== Anwendung == | == Anwendung == | ||
<syntaxhighlight lang="bash" highlight="1,23,41" line copy> | |||
/var/www/cloud.foxtom.de/web/nextcloud | |||
</syntaxhighlight> | |||
=== Updater === | === Updater === | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="bash" highlight="1" line copy> | ||
sudo -u web13 php8.2 --define apc.enable_cli=1 updater/updater.phar | sudo -u web13 php8.2 --define apc.enable_cli=1 updater/updater.phar | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash" highlight="22,44" line> | |||
Nextcloud Updater - version: v29.0.0-23-g6a5f9ec | Nextcloud Updater - version: v29.0.0-23-g6a5f9ec | ||
Zeile 64: | Zeile 71: | ||
=== occ upgrade === | === occ upgrade === | ||
<syntaxhighlight lang="bash" highlight="1" line> | <syntaxhighlight lang="bash" highlight="1" line copy> | ||
sudo -u web13 php8.2 --define apc.enable_cli=1 occ upgrade | sudo -u web13 php8.2 --define apc.enable_cli=1 occ upgrade | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash" highlight="" line> | |||
Nextcloud or one of the apps require upgrade - only a limited number of commands are available | 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 | You may use your browser or the occ upgrade command to do the upgrade | ||
Zeile 83: | Zeile 93: | ||
=== Maintenance-Mode === | === Maintenance-Mode === | ||
; Maintenance-Mode abschalten | ; Maintenance-Mode abschalten | ||
<syntaxhighlight lang="bash" highlight="1" line> | <syntaxhighlight lang="bash" highlight="1" line copy> | ||
sudo -u web13 php8.2 --define apc.enable_cli=1 occ maintenance:mode --off | sudo -u web13 php8.2 --define apc.enable_cli=1 occ maintenance:mode --off | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash" highlight="0" line> | |||
Maintenance mode disabled | Maintenance mode disabled | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Zeile 90: | Zeile 102: | ||
=== PHP-FPM === | === PHP-FPM === | ||
; PHP-FPM neu starten | ; PHP-FPM neu starten | ||
<syntaxhighlight lang="bash" highlight="1,2,3" line> | <syntaxhighlight lang="bash" highlight="1,2,3" line copy> | ||
sudo systemctl restart php8.2-fpm.service | sudo systemctl restart php8.2-fpm.service | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Zeile 100: | Zeile 112: | ||
=== Siehe auch === | === Siehe auch === | ||
{{Special:PrefixIndex/{{BASEPAGENAME}}/}} | {{Special:PrefixIndex/{{BASEPAGENAME}}/}} | ||
=== Links === | |||
==== Projekt ==== | ==== Projekt ==== | ||
==== Weblinks ==== | |||
# https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html | # https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html | ||
[[Kategorie:Nextcloud | [[Kategorie:Nextcloud]] | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 28. Juni 2025, 08:28 Uhr
Nextcloud/update - Update auf der Konsole
Beschreibung
Schritt | |
---|---|
1 | Updater starten |
2 | occ upgrade |
3 | Maintenance-Mode abschalten |
4 | php8.2-fpm.service neu starten |
Anwendung
/var/www/cloud.foxtom.de/web/nextcloud
Updater
sudo -u web13 php8.2 --define apc.enable_cli=1 updater/updater.phar
Nextcloud Updater - version: v29.0.0-23-g6a5f9ec
Current version is 30.0.5.
Update to Nextcloud 30.0.7 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-30.0.7.zip
Open changelog ↗
Steps that will be executed:
[ ] Check for expected files
[ ] Check for write permissions
[ ] Create backup
[ ] Downloading
[ ] Verify integrity
[ ] Extracting
[ ] Enable maintenance mode
[ ] Replace entry points
[ ] Delete old files
[ ] Move new files in place
[ ] Done
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] n
Please now execute "./occ upgrade" to finish the upgrade.
occ upgrade
sudo -u web13 php8.2 --define apc.enable_cli=1 occ upgrade
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
Setting log level to debug
Updating database schema
Updated database
Updating <app_api> ...
Updated <app_api> to 4.0.3
Update app bookmarks from App Store
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level
Maintenance-Mode
- Maintenance-Mode abschalten
sudo -u web13 php8.2 --define apc.enable_cli=1 occ maintenance:mode --off
Maintenance mode disabled
PHP-FPM
- PHP-FPM neu starten
sudo systemctl restart php8.2-fpm.service
Anhang
Siehe auch
Links
Projekt
Weblinks