Changes

From Amahi Wiki
Jump to: navigation, search
1,790 bytes added ,  01:28, 24 September 2014
====Manual Removal====
Even though an ownCloud application is "Disabled" (administration user only) the application program code remains in a directory. Sometimes it may be necessary to permanently remove the application program code from the ownCloud instance. Additionally there are some ownCloud database entries that have to be removed also.
* Ensure that the application is "Disabled" in the Apps listing.
* Open a "terminal" window on the Amahi server and "su" to the "root" ID ( Linux administrator).
* "cd" in to the "/var/hda/web-apps/owncloud/html/apps" directory (please see note following regarding some Amahi changes). This is where the ownCloud applications are stored.
* Using the "ls" command a directory to find the application's directory name. This is the directory that will be removed.
* Use the "rm -fr <directory name>" command to delete directory and application code.
* Using the "ls" command again will show that directory is gone.
* Close the terminal window.
* All application entries in the ownCloud MySQL database have to be removed this can done by using Amahi "phpMyAdmin".
* In the database table "oc_appconfig", find all entries having the name of the application in the "appid" column.
* Remove those entries.
* Now the application is permanently removed from ownCloud. <br>
In order to allow multiple instances of different version releases of ownCloud on the same Amahi server naming changes to an ownCloud directory and database names have been implemented.
* The location where the actual ownCloud application is stored has changed to "/var/hda/web-apps/owncloudx/html" (where "x" is the major release number). For example for ownCloud release version 6.0.5 the directory is now named owncloud6.
 
* The database user ID, password, and name have changed in the same manner.
----