Changes

From Amahi Wiki
Jump to: navigation, search
466 bytes removed ,  01:58, 1 April 2017
= Reasons for Failure =
Reasons for failure vary, but the most common are:
<ul><li> Network connection<li> Install script:<ul><li> Taking too long<small><pre>======= app install begin @ 2014-05-03 14#<RuntimeError:33:00 -0400 ==========Installing app id yi7uxa8mlb under /var/hda/platform/html/run_script had to KILL this script/.it was taking too long. ENV=productionYour HDA services have been restartedsorry.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>'</pre></small></li><li> Insufficient privileges</li>
<small><pre>#<Errno::EACCES: Permission denied @ dir_s_mkdir - /var/hda/web-apps/bandwidthd>,
/usr/share/ruby/fileutils.rb:252:in `mkdir',
/var/hda/platform/html/script/install-app:86:in `install_or_uninstall',
/var/hda/platform/html/script/install-app:107:in `main',
/var/hda/platform/html/script/install-app:119:in `<main>'</pre></small></li>
:To correct, as ''root'' user (or precede with <code>sudo</code>) do:
chown -R apache:users /var/hda/web-apps
</ul><li> Source file is unavailable:</li>
<ul>
<li> New version</li>
<li> File moved</li>
<li> Wrong SHA1 hash</li></ul>
<small><pre>WARNING: primary downloaded file /tmp/amahi-download-
cache/b224eae4f30c011cbe6eae3c81d662f199eaa85f did not pass signature check - got
2da58737f99c63f47983db27789cf4b989975220, expected
b224eae4f30c011cbe6eae3c81d662f199eaa85f</pre></small></li></ul></ul><li>No space left on root (/) partition</li>
<small><pre>#<Errno::ENOSPC: No space left on device @ io_write - /var/hda/tmp/amahi-download-cache/3ab7164c607c124b97e08dd25d3a9712afebde2b>,
/var/hda/platform/html/lib/downloader.rb:100:in `write',
/var/hda/platform/html/script/install-app:86:in `install_or_uninstall',
/var/hda/platform/html/script/install-app:107:in `main',
/var/hda/platform/html/script/install-app:119:in `<main>'</pre></small></li>
:Empty the ''/var/hda/tmp/amahi-download-cache'' directory.
rm -rf /var/hda/tmp/amahi-download-cache/*</ul>
= Recipe for Success =
12,424

edits