Upgrade - how to disable market app?

i’m using Docker & Portainer and recently updated to the latest update from the owncloud/server repo.

when the owncloud container starts, it gets the following:


Repair warning: Please install or update the following apps manually or disable them with:
,occ app:disable files_videoplayer
Repair warning: For manually updating, see https://doc.owncloud.org/server/10.3/go.php?to=admin-marketplace-apps OC\RepairException: Upgrade is not possible

while its clear what it wants, how do i actually run the ‘occ app:disable files_videoplayer’ command? the container doesnt appear to be running in interactive mode (nore can i get it into such a state) to be able to send this command.
i did find a reference to docker-compose (https://doc.owncloud.com/server/admin_manual/installation/docker/#upgrading-owncloud-on-docker), but cant find a yaml or env file location on my system (centos7)

a side question, every time i upgrade ownloud i seem to have Market App issues (last upgrade i moved from a VM to Docker instance). is there some way to discover any app removals/potential killers before i find out the hard way?

i’ve got into commandline; had to change the commandline command option to ‘/bin/bash’, from ‘/usr/bin/owncloud’ ‘server’.

then did the following:
docker exec -it CONTAINERID bash
su www-data
php occ app:disable files_videoplayer

which returns “ownCloud is not installed - only a limited number of commands are available
Command “app:disable” is not defined.”

ok, so that fails. next i try finding ‘files_videoplayer’ but no luck there either.

now i’ve got access to a bash env, how do i get files_videoplayer removed?

SOLVED! How to disable an app without access to the GUI?

update oc_appconfig set configvalue="no" WHERE appid="files_videoplayer" AND configkey="enabled";

manually changed via phpMyAdmin and OC is back online. hope that helps others.
also turns out i’ve not been reading the upgrade requirement docs (https://doc.owncloud.com/server/admin_manual/maintenance/manual_upgrade.html#preparation) so one to take note of for the future.

3 Likes