Installed Dropbox app, internal server error

Hello, I was browser the Nextcloud apps marketplace. I installed the Dropbox back-end plugin and now I get an internal server error. I obviously need to disable this app but how do I do this without the web interface?

List all apps:

sudo -u www-data php occ app:list

Disable a specific app:

sudo -u www-data php occ app:disable appname

Disable and remove a specific app:

sudo -u www-data php occ app:remove appname
1 Like

Thank you bb77, any idea what’s going wrong here?

Did some googling of the error and came upon this: Upgrade issue v20 -> v21: OCC no longer works because of Undefined class constant 'MAJOR_VERSION' in /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Utils.php:118 · Issue #1834 · nextcloud/vm · GitHub

Deleting the directory
Got me back in business :slight_smile:

1 Like

Another, slightly less “radical” approach would have been to manually put Nextcloud into maintenance mode by editing the file /var/www/nextcloud/config/config.php and changing the line maintenance => false, to maintenance => true,

After doing that that, while Nextcloud would have been in maintenance mode, the occ commands would probably have worked.

Anyways, I’m glad it worked out for you :slight_smile: