Nextcloud/Update: Unterschied zwischen den Versionen
Zeile 37: | Zeile 37: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Fehlerbehebung == | === Fehlerbehebung === | ||
=== ''Downgrading is not supported'' === | ==== ''Downgrading is not supported'' ==== | ||
''Downgrading is not supported and is likely to cause unpredictable issues (from 29.0.5.1 to 29.0.4.1) '' | ''Downgrading is not supported and is likely to cause unpredictable issues (from 29.0.5.1 to 29.0.4.1) '' | ||
<syntaxhighlight lang="bash" highlight="1" line> | <syntaxhighlight lang="bash" highlight="1" line> | ||
Zeile 44: | Zeile 44: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== ''APCu not available for local cache'' === | ==== ''APCu not available for local cache'' ==== | ||
Nach dem Update von Nextcloud melded das “occ”-Kommando | Nach dem Update von Nextcloud melded das “occ”-Kommando | ||
<syntaxhighlight lang="bash" highlight="1" line> | <syntaxhighlight lang="bash" highlight="1" line> | ||
Zeile 52: | Zeile 52: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== Lösung ==== | ===== Lösung ===== | ||
; Hinzufügen von ''--define apc.enable_cli=1'' auf der Kommandozeile | ; Hinzufügen von ''--define apc.enable_cli=1'' auf der Kommandozeile | ||
Zeile 67: | Zeile 67: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== ''Step … is currently in process'' === | ==== ''Step … is currently in process'' ==== | ||
''Step … is currently in process. Please call this command later'' | ''Step … is currently in process. Please call this command later'' | ||
===== Problem ===== | ====== Problem ====== | ||
While trying to update Nextcloud using the command line (e.g. SSH) using a command like | While trying to update Nextcloud using the command line (e.g. SSH) using a command like | ||
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.sh | fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.sh | ||
php updater/updater.phar | php updater/updater.phar | ||
you see the following error message: | you see the following error message: | ||
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.txt | fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.txt | ||
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 | Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 | ||
Step 5 is currently in process. Please call this command later. | Step 5 is currently in process. Please call this command later. | ||
===== Solution ===== | ====== Solution ====== | ||
No matter if the step that appears to be currently in progress is <code>Step 3</code>, <code>Step 5</code> or any other step, the solution is always the same: '''Reset the update by deleting the <code>data/updater-occ[random-string]</code> folder.''' | No matter if the step that appears to be currently in progress is <code>Step 3</code>, <code>Step 5</code> or any other step, the solution is always the same: '''Reset the update by deleting the <code>data/updater-occ[random-string]</code> folder.''' | ||
; Recommended | ; Recommended | ||
If you are paranoid about losing data, just rename the directory: | If you are paranoid about losing data, just rename the directory: | ||
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.sh | fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.sh | ||
mv data/updater-occ* ../DELETEME-updater | mv data/updater-occ* ../DELETEME-updater | ||
; Not recommended | ; Not recommended | ||
You can also just delete the directory | You can also just delete the directory | ||
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.txt | fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.txt | ||
rm -rf data/updater-occ* | rm -rf data/updater-occ* | ||
Version vom 12. Oktober 2024, 11:10 Uhr
Nextcloud/Update Update auf der Konsole durchführen
Beschreibung
Schritt | Beschreibung |
---|---|
1 | Updater starten |
2 | occ upgrade |
3 | Maintenance-Mode abschalten |
4 | php8.2-fpm.service neu starten |
Anwendung
Updater
sudo -u web13 php8.2 --define apc.enable_cli=1 updater/updater.phar
occ upgrade
sudo -u web13 php8.2 --define apc.enable_cli=1 occ upgrade
Maintenance-Mode
- Maintenance-Mode abschalten
sudo -u web13 php8.2 --define apc.enable_cli=1 occ maintenance:mode --off
PHP-FPM
- PHP-FPM neu starten
sudo systemctl restart php8.2-fpm.service
Fehlerbehebung
Downgrading is not supported
Downgrading is not supported and is likely to cause unpredictable issues (from 29.0.5.1 to 29.0.4.1)
sudo systemctl restart php8.2-fpm.service
APCu not available for local cache
Nach dem Update von Nextcloud melded das “occ”-Kommando
$ php occ upgrade
An unhandled exception has been thrown:
OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
Lösung
- Hinzufügen von --define apc.enable_cli=1 auf der Kommandozeile
sudo -u php --define apc.enable_cli=1 occ upgrade
Direktive apc.enable_cli=1 der passenden php.ini aktivieren
sudo editor /etc/php/[PHP-Version]/cli/php.ini
apc.enable_cli=1
Step … is currently in process
Step … is currently in process. Please call this command later
Problem
While trying to update Nextcloud using the command line (e.g. SSH) using a command like
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.sh php updater/updater.phar
you see the following error message:
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.txt Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 Step 5 is currently in process. Please call this command later.
Solution
No matter if the step that appears to be currently in progress is Step 3
, Step 5
or any other step, the solution is always the same: Reset the update by deleting the data/updater-occ[random-string]
folder.
- Recommended
If you are paranoid about losing data, just rename the directory:
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.sh mv data/updater-occ* ../DELETEME-updater
- Not recommended
You can also just delete the directory
fix-nextcloud-step-is-currentlyprocess-please-call-this-command-later.txt rm -rf data/updater-occ*
Konfiguration
Dateien
Anhang
Siehe auch
Dokumentation
Links
Projekt
Weblinks
- https://techoverflow.net/2022/06/17/how-to-fix-nextcloud-step-is-currently-in-process-please-call-this-command-later/
- https://docs.nextcloud.com/server/latest/admin_manual/maintenance/update.html