Page 1 of 1

Application still shows up under webapp

Posted: Mon Jun 18, 2012 8:37 pm
by badandy
I had installed subsonic and tried it, decided it wasnt what I needed and removed it.

However, the link still shows up under webapps.

I tried removing it from /var/hda/web-apps and that just broke the entire web interface for
my HDA, does anyone have any suggestions for the correct way to remove subsonic from the
webapps list?


Thanks for the help!

Re: Application still shows up under webapp

Posted: Tue Jun 19, 2012 4:59 am
by bigfoot65
Are you sure it's uninstalled? Check the Installed apps section. I presume you installed the Amahi one-click version.

If it is not there, then we definitely have a problem. Check the logs as well in /var/log for any clues.

Re: Application still shows up under webapp

Posted: Tue Jun 19, 2012 6:11 am
by badandy
capture1 is a screenshot of the installed app list and subsonic was removed from there.

If I click on http://subsonic, it brings me to the Apache Test page for Fedora.

Here is a portion of the installer log, I did notice a runtime error.


Installing app id 2uslky9of5 under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
/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/script/../app/models/app.rb:249:in `install_bg'
from /var/hda/platform/html/script/../app/models/app.rb:248:in `chdir'
from /var/hda/platform/html/script/../app/models/app.rb:248:in `install_bg'
from /var/hda/platform/html/script/install-app:94:in `install_or_uninstall'
from /var/hda/platform/html/script/install-app:115:in `main'
from /var/hda/platform/html/script/install-app:127
NOTICE: redirected 'http://downloads.sourceforge.net/projec ... ic-4.6.rpm' --> 'http://iweb.dl.sourceforge.net/project/ ... ic-4.6.rpm' ...
NOTE: file /tmp/amahi-download-cache/229f60b23a17eece84dd2384d1ff63b4460c3353 written in cache
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Local Package Process
Examining subsonic-4.6.rpm: subsonic-4.6-2585.i386
Marking subsonic-4.6.rpm to be installed
Loading mirror speeds from cached hostfile
* fedora: dl.fedoraproject.org
* updates: kdeforge.unl.edu
Resolving Dependencies
--> Running transaction check
---> Package subsonic.i386 0:4.6-2585 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
subsonic i386 4.6-2585 /subsonic-4.6 41 M

Transaction Summary
================================================================================
Install 1 Package(s)

Total size: 41 M
Installed size: 41 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : subsonic-4.6-2585.i386 1/1
Starting subsonic ...
Started Subsonic [PID 20153, /var/subsonic/subsonic_sh.log]


Installed:
subsonic.i386 0:4.6-2585

Complete!
======= app install begin @ Thu Jun 14 20:58:37 -0500 2012 ==========
Installing app id 2uslky9of5 under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
NOTE: file /tmp/amahi-download-cache/229f60b23a17eece84dd2384d1ff63b4460c3353 picked up from cache.
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Local Package Process
Examining subsonic-4.6.rpm: subsonic-4.6-2585.i386
subsonic-4.6.rpm: does not update installed package.
Nothing to do
App: Subsonic installed
======= app install end @ Thu Jun 14 20:58:47 -0500 2012 ==========
======= app install begin @ Thu Jun 14 21:19:13 -0500 2012 ==========
Installing app id 2giemljjpb under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
App: Greyhole LogMon installed
======= app install end @ Thu Jun 14 21:19:15 -0500 2012 ==========
======= app uninstall begin @ Thu Jun 14 21:24:10 -0500 2012 ==========
Uninstalling app id 2uslky9of5 under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
App: Subsonic uninstalled
======= app uninstall end @ Thu Jun 14 21:24:11 -0500 2012 ==========

Re: Application still shows up under webapp

Posted: Tue Jun 19, 2012 10:19 am
by bigfoot65
I have seen this happen before on my VM. Only recourse was to reboot and then it went away.

If the app is not completely uninstalled, it might require a manual uninstall using the uninstall script. I believe it's in /var/hda/platform/html/scripts directory.

It will require you supply the app ID which is in the app install log you displayed. If this does not work, we will have to bring out the big guns.

Re: Application still shows up under webapp

Posted: Thu Jun 21, 2012 1:50 pm
by badandy
LOL, any idea which script I need to run? see attached

Re: Application still shows up under webapp

Posted: Thu Jun 21, 2012 1:58 pm
by bigfoot65
install-app and with a -u switch I believe.