Page 1 of 2
Web apps wont reinstall.
Posted: Sun Apr 25, 2010 10:15 pm
by TuxGamer
I have successfully installed Amahi and have everything running I installed WebChess to try it out along with a few others like WebVNC after getting my server set up to be able to run headless I uninstalled WebVNC and WebChess as well as the other apps I was not using at the time. Now that I have found a use for the WebChess I go to install it again and it just hangs at prepairing to install. It can sit there for 20+ and it wont change. I reload the page and check on it and its back to a normal install icon. Any ideas?
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 12:58 am
by cpg
hmmmm. can you share the output of
Code: Select all
tail -40 /var/log/amahi-app-installer.log
there is something preventing the install of this app. that log file will have the info.
we do not handle these errors very well, sadly.
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 1:20 am
by TuxGamer
Ya here it is. I find its with any app I go to install not just that one in particular.
Code: Select all
[TuxGamer@Amahi ~]$ tail -40 /var/log/amahi-app-installer.log
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkpath'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkpath'
from /var/hda/platform/html/app/models/webapp.rb:58:in `before_create_ho ok'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/ callbacks.rb:178:in `send'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/as sociations/association_proxy.rb:145:in `send'
from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/as sociations.rb:1347:in `create_webapp'
from /var/hda/platform/html/app/models/app.rb:244:in `install_bg'
from /var/hda/platform/html/script/install-app:70
/var/hda/platform/html/app/models/app.rb:446:in `chdir': No such file or directo ry - /var/hda/web-apps/webchess (Errno::ENOENT)
from /var/hda/platform/html/app/models/app.rb:446:in `install_webapp'
from /var/hda/platform/html/app/models/app.rb:200:in `install_bg'
from /var/hda/platform/html/script/install-app:70
======= app install begin @ Sun Apr 25 01:56:58 -0600 2010 ==========
Installing app id mzokut93gf under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/1bb146b1d6e9cb434af7726986502409c9969a26 pi cked up from cache.
/var/hda/platform/html/app/models/app.rb:446:in `chdir': No such file or directo ry - /var/hda/web-apps/webchess (Errno::ENOENT)
from /var/hda/platform/html/app/models/app.rb:446:in `install_webapp'
from /var/hda/platform/html/app/models/app.rb:200:in `install_bg'
from /var/hda/platform/html/script/install-app:70
======= app install begin @ Sun Apr 25 17:08:40 -0600 2010 ==========
Installing app id mzokut93gf under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/1bb146b1d6e9cb434af7726986502409c9969a26 pi cked up from cache.
/var/hda/platform/html/app/models/app.rb:446:in `chdir': No such file or directo ry - /var/hda/web-apps/webchess (Errno::ENOENT)
from /var/hda/platform/html/app/models/app.rb:446:in `install_webapp'
from /var/hda/platform/html/app/models/app.rb:200:in `install_bg'
from /var/hda/platform/html/script/install-app:70
======= app install begin @ Sun Apr 25 22:51:55 -0600 2010 ==========
Installing app id mzokut93gf under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/1bb146b1d6e9cb434af7726986502409c9969a26 pi cked up from cache.
/var/hda/platform/html/app/models/app.rb:446:in `chdir': No such file or directo ry - /var/hda/web-apps/webchess (Errno::ENOENT)
from /var/hda/platform/html/app/models/app.rb:446:in `install_webapp'
from /var/hda/platform/html/app/models/app.rb:200:in `install_bg'
from /var/hda/platform/html/script/install-app:70
======= app install begin @ Mon Apr 26 00:05:03 -0600 2010 ==========
Installing app id mzokut93gf under /var/hda/platform/html ENV=production
NOTE: file /tmp/amahi-download-cache/1bb146b1d6e9cb434af7726986502409c9969a26 pi cked up from cache.
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 1:25 am
by cpg
how about
maybe that file system is full and no new directories can be created??
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 2:17 am
by TuxGamer
Code: Select all
[TuxGamer@Amahi web-apps]$ ls -l /var/hda/web-apps/
total 12
-rw------- 1 apache apache 0 2010-04-21 18:16 htpasswd
drwxr-xr-x 4 apache users 4096 2010-04-21 06:03 phpsysinfo
drwxr-xr-x 4 apache users 4096 2010-04-21 06:05 speedtest
drwxr-xr-x 4 apache apache 4096 2010-04-23 09:39 website
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 2:22 am
by TuxGamer
The only apps I show installed under installed apps are:
RPM Fusion free and nonfree
phpSysinfo
speedtest
agedashi theme.
under web apps I only have:
phpSysInfo
speedtest
myapp. (app i created for my web site. I followed the Wiki on how to do it.)
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 2:41 am
by cpg
the installer cannot create that directory for webchess ...
is the /var/hda/web-apps/ partition full?
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 3:08 am
by TuxGamer
Looks like we are good there.
Code: Select all
[TuxGamer@Amahi amahi-download-cache]$ df -h /var/hda/web-apps/
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 20G 4.4G 15G 24% /
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 3:09 am
by TuxGamer
I also tried deleting the cached app and having it re-download it and that didn't work either. I also tried manually creating the dir then installing and that didn't work either.
Re: Web apps wont reinstall.
Posted: Mon Apr 26, 2010 3:30 am
by cpg
try
Code: Select all
tail -80 /var/log/amahi-app-installer.log
since there is some more detail just before the last 40 lines.