Update of Nextcloud failed / command line tool required

NethServer Version: 7.9.2009
Module: nextcloud

Hi,
after return from vaccation, I found the nextcloud module in an update mode. The front end of the web page reads:

" Update is required
Please use the command line updater, the browser update is disabled in config.php.
For further help, please refer to the documentation."

Does someone else have (already solved) this issue ? If so, what was was the solutions?

TIA
Thorsten

Hi @thorsten

In my case (NS7 still) it was a Nextcloud App which blocked the Update. Removing that App via CLI (occ…) solved it for me.

My 2 cents
Andy

Hi @Andy,

thx, I would have expeced the occ in some website folder, however, I do not find it. Is it the one in /usr/local/sbin or (I suppose) the one in /user/share/nextcloud?
Are ther any other parameters to be included beyound “upgrade”?

Best
Thorsten

Hi @thorsten

Check Nextcloud Logs first!
Do a Backup!

On NS7, use the built in Update, not via CLI !!!
Using CLI usually breaks the NethServer Integration.

You will hardly find it, it’s been mapped in the root path!

Here are the most important commands you’ll need:

Maintenance mode on:
occ maintenance:mode --on

Maintenance mode off:
occ maintenance:mode --off

Removing an App:
occ app:remove duplicatefinder

All Infos:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html

Hope this helps!

My 2 cents
Andy