Why do I have 3 sets of config for my Squeezebox App

jiml
Posts: 28
Joined: Wed Jan 13, 2010 1:13 am

Why do I have 3 sets of config for my Squeezebox App

Postby jiml » Wed Nov 24, 2010 11:32 am

Have just been adding a Webapp and found that I have 3 set of files for my Squeezebox Server "squeeze", "sqeeeze1" and "squeeze2", probably created when doing an update (which has to be done manually by removing and re-installing the updated app). I have removed the last 2 sets of files within /etc/httpd/conf.d but they still appear as webapps within the dashboard. How can I tidy this up by deleting the errant configs..

Ubuntu 12.04 (64bit)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why do I have 3 sets of config for my Squeezebox App

Postby bigfoot65 » Wed Nov 24, 2010 11:41 am

This occurs when an app does not install correctly. Then when you try to install again, it adds the second instance. This is a bad situation.

My recommendation would be to uninstall via the Dashboard the apps that are listed in Installed section of Applications first. That is the only way to uninstall an app unless you manually added them. Then once done, the ones left can be uninstalled manually. This is done by removing the directories located in /var/hda/web-apps.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

vasuinukollu
Posts: 1
Joined: Tue Feb 01, 2011 10:46 am

Re: Why do I have 3 sets of config for my Squeezebox App

Postby vasuinukollu » Tue Feb 01, 2011 10:48 am

I have the same problem. Did you figure out how to delete the squeeze1?

jiml
Posts: 28
Joined: Wed Jan 13, 2010 1:13 am

Re: Why do I have 3 sets of config for my Squeezebox App

Postby jiml » Tue Feb 01, 2011 11:38 am

Nope :roll: . As I am going to re-install when F14 is available I'm just living with it for now.

Jim!

Ubuntu 12.04 (64bit)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why do I have 3 sets of config for my Squeezebox App

Postby bigfoot65 » Tue Feb 01, 2011 2:42 pm

Ok, I understand your issue now. What happened it appears that you have installed the app 3 times. So, only way to get rid of them is to uninstall them.

Easiest way it via the dashboard. If only one exists there, then you will have to do them manually. You will need the app id for them and can run the uninstall script.

It is located in /var/hda/platform/html/script and called install-app. The command would be run as root from the terminal as follows:

./install-app -u app-id

The easiest way to find the app id is look in /var/log/amahi-app-install.log and you will see it there. This will force uninstall of these 2 extra apps and remove all the appropriate files to include from the dashboard.

Hope that helps.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 35 guests