OCC commands not working anymore

Hello,

I just realized that I am facing problems executing occ-commands in my Nextcloud instance.

As an example …
Command
sudo -u www-data php occ -V
Returns

An unhandled exception has been thrown:
Exception: Console command 'OCA\Files_External\Command\Applicable' is unknown and could not be loaded in /var/www/homecloud/lib/private/Console/Application.php:226
Stack trace:
#0 /var/www/homecloud/lib/private/Console/Application.php(131): OC\Console\Application->loadCommandsFromInfoXml()
#1 /var/www/homecloud/console.php(99): OC\Console\Application->loadCommands()
#2 /var/www/homecloud/occ(11): require_once('...')
#3 {main}

Same for any occ command I’m trying.

I also found this message in the Nextcloud Logging section:

[PHP] Debug: Creation of dynamic property OCA\FirstRunWizard\Settings\Personal::$urlGenerator is deprecated at /var/www/homecloud/apps/firstrunwizard/lib/Settings/Personal.php#40

I am running Nextcloud 27.1.11 on a Raspberry Pi 5 Model B Rev 1.0 with Raspbian running.

I could not find an obvious solution eitehr in Google or here in the forum (might have searched wrong), that’s why I’m opening this thread.

If I need to support with any additional information pleaselet me know.
Thanks!

This is a working setup and you just discovered that the occ commands are not working? Or you ran into issues, and now even the occ command throws an error? Has the occ command worked in the past?

And if it has worked in the past, what have you done in between? Updated Nextcloud/OS?

And which php version are you using?

1 Like

Dear @tflidd ,

thanks for your reply.
It was a running system, I did not do any updates over some time and now realized occ commanda didn’t work any more as they did before.

Actually I just setzpbthe whole Nextcloud again over the last days. Couldn’t find any other solution.

Thanks!

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.