Nextcloud stuck on updating (need a fix fast!)

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318

rkbest

Dabbler
Joined
Nov 12, 2021
Messages
11
Why not "just" (sorry) run the update from the command line?

su -m www -c "cd /usr/local/www/nextcloud && /usr/local/bin/php occ upgrade"
I saw your response and I combined with another of your reply on another thread to replace 'occ' with su -m www -c 'php /usr/local/www/nextcloud/occ something.. but I am not able to cancel the update. Stuck in 'update in progress' on truenas jail. What should be the path and command for freebsd jail?
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
I saw your response and I combined with another of your reply on another thread to replace 'occ' with su -m www -c 'php /usr/local/www/nextcloud/occ something.. but I am not able to cancel the update. Stuck in 'update in progress' on truenas jail. What should be the path and command for freebsd jail?
The command I have used within the iocage jail is:

su -m www -c 'php --define apc.enable_cli=1 /usr/local/www/apache24/data/nextcloud/occ upgrade'
If this doesn't work, you can recover your previous instance of Nextcloud. You need to find the backup location Nextcloud has created, most likely under a Backup folder within your Nextcloud dataset.
 
Top