[Addon] Addons Menu - Install addons the easy way

Raspberry Pi related support

Re: [Addon] Addons Menu - Install addons the easy way

Postby rern » 22 Sep 2017, 12:42

Hi R101,

Making previously installed and current addons to behave nicely in this Addons Menu has been very challenging. Even more to make it simple enough for anyone to use as delivery method for their addons.

For your situation, it could be:
- somehow the update uninstalled everything but the uninstall file, /usr/local/bin/uninstall_enha.sh
- installed and update status trigered
- or may be the uninstall file was from earlier version that get installed status differently
- delete /usr/local/bin/uninstall_enha.sh should get it back to normal

Some notes along the way...

Addons Menu:
Get addon installed status from existence of its uninstall file, /usr/local/bin/uninstall_<alias>.sh
Get installed version from database addons

Any addon installed before Addons Menu:
- its uninstall file triggers installed status and saved as version 1 in database
- this version 1 vs current version in addons list triggers update status
- update uninstalls then reinstalls the addon with current version

Cleanup/Reinstall vs Update:
- Cleanup/Reinstall deleted Addons Menu database (addons versions data)
- Addons Menu will preserve the database across update
- each addon should preserve its configuration across update of that addon
rAudio @ https://github.com/rern/rAudio
Raspberry Pi 4B
Raspberry Pi 3B+ > SMSL M8 DAC
Raspberry Pi 3B
Raspberry Pi Zero 2
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby R101 » 22 Sep 2017, 13:18

Hi rern,

Yes, the uninstall file was still present and deleting it allowed SSH reinstall of the enhancements.

It must be impossible to allow for every possible variation in a personal setup, particularly when you are not starting from a clean install, so I am amazed at how well this test version works. It seems fine now, the only irritation for me is that my preferred main page layout does not "stick".

Thanks.
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: [Addon] Addons Menu - Install addons the easy way

Postby rern » 23 Sep 2017, 08:41

rAudio @ https://github.com/rern/rAudio
Raspberry Pi 4B
Raspberry Pi 3B+ > SMSL M8 DAC
Raspberry Pi 3B
Raspberry Pi Zero 2
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby cmh714 » 26 Sep 2017, 00:06

cmh714
 
Posts: 470
Joined: 04 May 2014, 03:06

Re: [Addon] Addons Menu - Install addons the easy way

Postby ianhaynes » 27 Sep 2017, 16:30

When I launch the add-ons panel from the menu I occasionally get an error dialog "Addons server cannot be reached. Try check and set date to current".

Is this indicating a local connection error or something more serious?

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Addon] Addons Menu - Install addons the easy way

Postby rern » 28 Sep 2017, 04:23

rAudio @ https://github.com/rern/rAudio
Raspberry Pi 4B
Raspberry Pi 3B+ > SMSL M8 DAC
Raspberry Pi 3B
Raspberry Pi Zero 2
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby rern » 01 Oct 2017, 07:45

Last edited by rern on 01 Oct 2017, 12:20, edited 3 times in total.
rAudio @ https://github.com/rern/rAudio
Raspberry Pi 4B
Raspberry Pi 3B+ > SMSL M8 DAC
Raspberry Pi 3B
Raspberry Pi Zero 2
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby ianhaynes » 01 Oct 2017, 10:01

Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Addon] Addons Menu - Install addons the easy way

Postby rern » 01 Oct 2017, 10:58

rAudio @ https://github.com/rern/rAudio
Raspberry Pi 4B
Raspberry Pi 3B+ > SMSL M8 DAC
Raspberry Pi 3B
Raspberry Pi Zero 2
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby ianhaynes » 01 Oct 2017, 12:15

Thanks, I was able to re-install and get the Addons menu back.

Having done that I noticed the new Webradio Sorting and installed that. It appeared to install correctly but all I then got was the spinning 'Connecting' indicator. Having rebooted via SSH the autostart track plays but still no proper Rune screen, so perhaps the Webradio sort has upset something else?

Ian

PS: This on 0.4b v20170229
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 22 guests
cron