Changes

From Amahi Wiki
Jump to: navigation, search
179 bytes added ,  01:23, 11 August 2016
To return your HDA to a safe state for another install attempt, the following may help:
* Navigate to the ''Network'' tab, ''DNS Aliases'' section in the Amahi Dashboard
** Make note of the URL name(s)** Remove each entry for the failed application by selecting ''Delete''
<ul>
<li>The next steps must be done from the command line as ''root'' user:</li>
<ul>
<li>Navigate to /etc/httpd/conf.d and determine file name (s) to remove</li>
ls -al
<li>Remove each ####-app.conf (substitute the number for #### and URL name for app) file</li>
cd /etc/httpd/conf.d
rm -rf 1001-owncloud.conf
rm -rf 1002-owncloud1.conf
rm -rf 1003-owncloud2.conf
rm -rf 1004-owncloud3.conf
<li>Then as ''root'' user, restart apache</li>
sysemctl restart httpd
<li>Next, navigate to /var/hda/web-apps</li>
cd /var/hda/web-apps
<li>Remove the each app directory</li>
rm -rf owncloud
rm -rf owncloud1
rm -rf owncloud2
rm -rf owncloud3
</ul></ul>
* Finally check the HDA database (hda_production, apps table). The safest way is to use a web application such as [https://www.amahi.org/apps/adminer Adminer] or [https://www.amahi.org/apps/phpmyadmin phpMyAdmin].
** Look to see if there is an entry for the app that failed to install correctly.
** Remove the row(s) that exist for the application(i.e. id 4, 5, 6, and 7)
<br />
:'''EXAMPLE'''
12,424

edits