Web apps wont reinstall.

TuxGamer
Posts: 9
Joined: Sun Apr 25, 2010 10:04 pm

Web apps wont reinstall.

Postby TuxGamer » Sun Apr 25, 2010 10:15 pm

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?

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Web apps wont reinstall.

Postby cpg » Mon Apr 26, 2010 12:58 am

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

TuxGamer
Posts: 9
Joined: Sun Apr 25, 2010 10:04 pm

Re: Web apps wont reinstall.

Postby TuxGamer » Mon Apr 26, 2010 1:20 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Web apps wont reinstall.

Postby cpg » Mon Apr 26, 2010 1:25 am

how about

Code: Select all

ls -l /var/hda/web-apps/
maybe that file system is full and no new directories can be created??
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

TuxGamer
Posts: 9
Joined: Sun Apr 25, 2010 10:04 pm

Re: Web apps wont reinstall.

Postby TuxGamer » Mon Apr 26, 2010 2:17 am

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

TuxGamer
Posts: 9
Joined: Sun Apr 25, 2010 10:04 pm

Re: Web apps wont reinstall.

Postby TuxGamer » Mon Apr 26, 2010 2:22 am

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.)

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Web apps wont reinstall.

Postby cpg » Mon Apr 26, 2010 2:41 am

the installer cannot create that directory for webchess ...

is the /var/hda/web-apps/ partition full?

Code: Select all

df -h /var/hda/web-apps/
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

TuxGamer
Posts: 9
Joined: Sun Apr 25, 2010 10:04 pm

Re: Web apps wont reinstall.

Postby TuxGamer » Mon Apr 26, 2010 3:08 am

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% /

TuxGamer
Posts: 9
Joined: Sun Apr 25, 2010 10:04 pm

Re: Web apps wont reinstall.

Postby TuxGamer » Mon Apr 26, 2010 3:09 am

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.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Web apps wont reinstall.

Postby cpg » Mon Apr 26, 2010 3:30 am

try

Code: Select all

tail -80 /var/log/amahi-app-installer.log
since there is some more detail just before the last 40 lines.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 4 guests