How to disable an app without access to the GUI?

Some times after enabling an app you’re not able to open the WebGUI of OwnCloud because of a white page / login loop due do a bug in this app.

Disabling via database access

You can always disable this app via the mysql command line tool, phpmyadmin or MySQL Workbench.

The query to disable a specific app (in this example the storage_charts app) is this:

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

Source: http://forum.owncloud.org/viewtopic.php?f=3&t=4300

Disabling via occ command line script

Starting with ownCloud 6 the occ command line script is supporting disabling an app from a terminal. This is described in this tutorial:

http://forum.owncloud.org/viewtopic.php?f=8&t=21348

Disabling by deleting the app folder

The third alternative is to just delete the folder of the app in:

/path/to/owncloud/apps/