Changes

From Amahi Wiki
Jump to: navigation, search
1,918 bytes added ,  00:56, 8 May 2014
no edit summary
Occasionally Amahi [https://www.amahi.org/apps applications] fail to install properly. This is often noted by error messages in the application install log (/var/log/amahi-app-install.log).
<screenshotpre>======= app install begin @ 2014-05-03 14:33:00 -0400 ==========Installing app id yi7uxa8mlb under /var/hda/platform/html/script/.. ENV=productionYour HDA services have been restarted.Your HDA services have been restarted.NOTE: file /var/hda/tmp/amahi-download-cache/956319338e8752e6a8f544423df61187d8b7e320 written in cache/var/hda/platform/html/lib/system_utils.rb:66:in `run_script': run_script had to KILL this script. it was taking too long. sorry. (RuntimeError) from /var/hda/platform/html/app/models/app.rb:241:in `block in install_bg' from /var/hda/platform/html/app/models/app.rb:240:in `chdir' from /var/hda/platform/html/app/models/app.rb:240:in `install_bg' from /var/hda/platform/html/script/install-app:86:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:107:in `main' from /var/hda/platform/html/script/install-app:119:in `<main>'/var/hda/platform/html/lib/system_utils.rb:66:in `run_script': run_script had to KILL this script. it was taking too long. sorry. (RuntimeError) from /var/hda/platform/html/app/models/app.rb:241:in `block in install_bg' from /var/hda/platform/html/app/models/app.rb:240:in `chdir' from /var/hda/platform/html/app/models/app.rb:240:in `install_bg' from /var/hda/platform/html/script/install-app:86:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:107:in `main' from /var/hda/platform/html/script/install-app:119:in `<main>'</pre>
Other times, you may receive notice in the Dashboard.
** Look to see if there is an entry for the app that failed to install correctly.
** Remove that row if it exists.
<pre>MariaDB [hda_production]> select id,name from webapps;
+----+------------+
| id | name |
+----+------------+
| 1 | phpsysinfo |
| 2 | cups |
| 4 | zm |
| 5 | zm1 |
| 6 | zm2 |
| 7 | zm3 |
| 8 | zm4 |
| 9 | zm5 |
| 10 | zm6 |
| 12 | zm7 |
| 14 | zm8 |
+----+------------+
11 rows in set (0.00 sec)</pre>
* Check /etc/httpd/conf.d directory for a file that is associated with the app. ** For example, 1001-adminer.conf would be for Adminer.
** If it exists, remove it.1
** Restart httpd.service-->
12,424

edits