SOLVED: How to Manually Uninstall an App???

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

Re: How to Manually Uninstall an App???

Postby bigfoot65 » Sun Dec 22, 2013 9:28 pm

Ok, well don't recommend you try to use it with Ubuntu. Like I said it was never finished and won't be updated. I guess if you can fix it locally, that's up to you.
ßîgƒσστ65
Applications Manager

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

lassenloop
Posts: 65
Joined: Fri Apr 22, 2011 3:20 pm

Re: How to Manually Uninstall an App???

Postby lassenloop » Mon Dec 23, 2013 2:51 pm

Headphones is LIVE and I just tested it. Was working fine for me. There is an issue where it does not start on boot and we are working it now.
Headphones has the same problem on Amahi 6. Do you have a workaround, besides manually starting it?

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

Re: How to Manually Uninstall an App???

Postby bigfoot65 » Mon Dec 23, 2013 3:02 pm

The problem with HeadPhones on Amahi 6 is the app was never finished. It is incomplete and surprised it installs.

Sorry, but we won't be updating it. You might want to follow guidance in the wiki for manually installing HeadPhones. It was written for Amahi 6 I believe.
https://wiki.amahi.org/index.php/Headphones
ßîgƒσστ65
Applications Manager

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

lassenloop
Posts: 65
Joined: Fri Apr 22, 2011 3:20 pm

Re: How to Manually Uninstall an App???

Postby lassenloop » Thu Dec 26, 2013 8:10 pm

Not sure if I should add this to the wiki or not. But the headphones one click install is fully functional on Ubuntu (Amahi 6), with two exceptions.

The app install isn't registered on the dashboard/Amahi interface
The app doesn't start at boot.

To fix the second problem, just perform the following steps

Code: Select all

nano /etc/init.d/headphones
paste the following:

Code: Select all

#! /bin/sh ### BEGIN INIT INFO # Provides: Headphones application instance # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts instance of Headphones # Description: starts instance of Headphones using start-stop-daemon ### END INIT INFO ############### EDIT ME ################## # path to app APP_PATH=/var/hda/web-apps/headphones/html # path to python bin DAEMON=/usr/bin/python # startup args DAEMON_OPTS="Headphones.py -q" # script name NAME=headphones # app name DESC=headphones # user RUN_AS=www-data PID_FILE=/var/run/headphones.pid ############### END EDIT ME ################## test -x $DAEMON || exit 0 set -e case "$1" in start) echo "Starting $DESC" start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --make-pidfile --exec $DAEMON -- $DAEMON_OPTS ;; stop) echo "Stopping $DESC" start-stop-daemon --stop --pidfile $PID_FILE ;; restart|force-reload) echo "Restarting $DESC" start-stop-daemon --stop --pidfile $PID_FILE sleep 15 start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --make-pidfile --exec $DAEMON -- $DAEMON_OPTS ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0

Code: Select all

sudo chkconfig headphones on

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

Re: How to Manually Uninstall an App???

Postby bigfoot65 » Thu Dec 26, 2013 8:31 pm

Yes, please do add it to the wiki. Please indicate for Amahi 6/Ubuntu in your revisions.

As I have mentioned, we will not be updating any apps for Ubuntu or Amahi 6. I am sorry, but our primary stable OS is Amahi 7. We will only be updating apps and adding features to Fedora 19 currently.
ßîgƒσστ65
Applications Manager

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

lassenloop
Posts: 65
Joined: Fri Apr 22, 2011 3:20 pm

Re: How to Manually Uninstall an App???

Postby lassenloop » Thu Dec 26, 2013 8:38 pm

I understand your not wanting to update/support Amahi 6 apps. This one doesn't really need much and is easy to fix.

I'm staying on 6 until Amahi 7 gets better greyhole support. Also, I don't have an optical drive on my server. I tried installing 7 with a USB drive, but every time I got to the second page of the installer, it crashed on me. The wiki for a USB install seemed wildly different from what I was seeing.

I saved my log file, if you're interested.

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

Re: How to Manually Uninstall an App???

Postby bigfoot65 » Thu Dec 26, 2013 8:45 pm

Understand. Not sure if you realize, but the app is not LIVE for Amahi 6. If it works for you, that is great.

As for the USB install, I don't believe anyone has successfully installed the Express CD with that method yet. If so, they have not shared with the community in the wiki. That guidance I believe was for Amahi 6 on Fedora 14.

Anything you want to contribute to the wiki would be greatly appreciated. Please make sure it's appropriate labeled for the OS intended.

BTW, the Grehole support missing in Amahi 7 is not hard to do manually. However I understand some want do things using GUI vs command line. I have it running on my Amahi 7 machine with no issues. Took me like 10 minutes to set up :)
ßîgƒσστ65
Applications Manager

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

lassenloop
Posts: 65
Joined: Fri Apr 22, 2011 3:20 pm

Re: How to Manually Uninstall an App???

Postby lassenloop » Thu Dec 26, 2013 9:24 pm

I suspect the reason it's live for me is a bug in Amahi's handling of apps then.

I paid for the app, which probably allows me access to all versions, even though the Ubuntu version is in beta. I was able to pay for it because it's live for Amahi 7. Unless Amahi intentionally allows access to paid apps, regardless of testing status. I didn't buy it with the intention of circumnavigating Amahi policies.

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

Re: How to Manually Uninstall an App???

Postby bigfoot65 » Fri Dec 27, 2013 6:13 am

I paid for the app, which probably allows me access to all versions, even though the Ubuntu version is in beta. I was able to pay for it because it's live for Amahi 7. Unless Amahi intentionally allows access to paid apps, regardless of testing status. I didn't buy it with the intention of circumnavigating Amahi policies.
Yes that is correct.
https://bugs.amahi.org/issues/948

Let me apoligize if you misunderstood my intent. I did not mean to incinuate that you were trying to circumvent the system. I just wanted to point out that it's status is unstable and it should not be installed for users who do not have experience or desire to work with it manually.

We appreciate your feedback and encourage you to add to the wiki guidance already in place for other users. This is the best way to keep things for other unsupported OS going for those who are interested.

Thanks again for your feedback.

EDIT: As for the USB install, we hope to get some updated guidance in the wiki soon. I may try playing with it this weekend. If I am successful, I will post here.
ßî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 14 guests