Changes

From Amahi Wiki
Jump to: navigation, search
113 bytes added ,  23:08, 6 August 2014
no edit summary
App install Application installs should <u>'''neverNEVER''' </u> fail. Period. App install failures are high priorityto the [https://www.amahi.org/team Amahi Team].
= Debugability =
* Make sure httpd configuration is sane (result should be "'''Syntax OK'''"):
{{Code| httpd -t}}
* The idea is to not delete anything permanently - copy or move things to, say, a folder in /tmp if you have to get something out of their place. For example:
{{code| mkdir /tmp/app-debug/}}
* Then add things there as necessary for later analysis, like:
{{Code| cp -a /var/log/amahi-app-installer.log /tmp/app-debug cp -a /etc/httpd/conf.d /tmp/app-debug}}
The user can provide this information:
* Copy of the app install log:
{{Code|<blockquote><u>Fedora</u></blockquote> tail -300 /var/log/amahi-app-installer.log <nowiki>|</nowiki> apaste}}fpaste
<blockquote><u>Ubuntu</u></blockquote> tail -300 /var/log/amahi-app-installer.log | apaste * Copy of the app error and access logs (i.e. sabnzbd Adminer is the app):{{Code| cat /var/hda/web-apps/sabnzbdadminer/logs/error.log cat /var/hda/web-apps/sabnzbdadminer/logs/access.log}}
* To check if process is running (i.e. sab is the app):
{{Code|ps guax <nowikiblockquote>|</nowikiu> grep sab Fedora<nowiki/u>|</nowikiblockquote> apaste}} ps guax | grep sab | fpaste
= Miscellaneous =[http:<blockquote><u>Ubuntu</u></www.linuxhomenetworking.com/wiki/index.php Linux Home Networking]blockquote> ps guax | grep sab | apaste
12,424

edits