[Addon] Addons Menu - Install addons the easy way

Raspberry Pi related support

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

Postby gearhead » 01 Mar 2018, 21:47

Ok, I have my own 'version' or RuneOS/UI in a B+. I can add the addons menu, but whenever I try to add one, I get this:
Code: Select all
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

sudo: no tty present and no askpass program specified


My install has no other user than root. Do I need to add http to the sudoers list or something? Maybe I am missing a package or something.
gearhead
 
Posts: 88
Joined: 25 Nov 2014, 06:04

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

Postby rern » 02 Mar 2018, 04:59

@gearhead,

Addons Menu has already:
echo ‘http ALL=NOPASSWD: ALL' > /etc/sudoers.d/http

But it might not be http who own php process in your system.

Try:
Get the owner and edit the file accordingly:
ps aux | grep php

or
Install addons with SSH terminal.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 209
Joined: 14 Jul 2016, 08:15

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

Postby gearhead » 02 Mar 2018, 15:03

Ah,

Thanks. I did not have sudo installed when I added the addons package, so this may not have happened. Right now, I get the error that it cannot see the server "Download failed, try again later" I'll uninstall it and try again to see if this fixes it.

edit: I cannot uninstall it from this image. I did install it on a new image (after I installed sudo) and it worked great. How do I manually uninstall it? When I do the uirestore.php, nothing happens.

Gearhead
gearhead
 
Posts: 88
Joined: 25 Nov 2014, 06:04

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

Postby gearhead » 03 Mar 2018, 19:06

Sorry for the continued pestering...

I have changed my UI via git and now the addons menu does not show up *and* when I try to install it, the script replies that it is already installed... How do I get around this?

Code: Select all
# wget -qN --show-progress --no-check-certificate https://github.com/rern/RuneAudio_Addons/raw/master/install.sh; chmod +x install.sh; ./install.sh
install.sh                         100%[====================================>]    1014  --.-KB/s    in 0s     
===============================================================
 i  Addons Menu already installed.
gearhead
 
Posts: 88
Joined: 25 Nov 2014, 06:04

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

Postby rern » 04 Mar 2018, 02:08

gearhead wrote:...
I have changed my UI via git and now the addons menu does not show up *and* when I try to install it, the script replies that it is already installed... How do I get around this?

This will do.
Code: Select all
rm /usr/local/bin/uninstall_addo.sh
redis-cli del addons

Anyone who has successfully run Addons Menu on a Pi B+ please gives me a hand.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 209
Joined: 14 Jul 2016, 08:15

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

Postby ianhaynes » 13 Mar 2018, 16:12

The Addons Menu updated yesterday when I opened it and I now have a large red dot with the figure 2 inside it, at the left of the menu icon.

I presume this is intended to indicate that some (2) of the addons have updates pending, but none of them show as having updates when I open the Addons menu.

Or is this something else?

Ian
Pi 2, Ver. 0.4b build 20170229, IQAudio DAC+
ianhaynes
 
Posts: 192
Joined: 04 Mar 2015, 12:51

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

Postby djsebfr » 13 Mar 2018, 20:37

ianhaynes wrote:The Addons Menu updated yesterday when I opened it and I now have a large red dot with the figure 2 inside it, at the left of the menu icon.

I presume this is intended to indicate that some (2) of the addons have updates pending, but none of them show as having updates when I open the Addons menu.

Or is this something else?

Ian


Hi, same strange things here.
djsebfr
 
Posts: 4
Joined: 07 Nov 2016, 10:31

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

Postby rern » 14 Mar 2018, 02:52

ianhaynes wrote:The Addons Menu updated yesterday when I opened it and I now have a large red dot with the figure 2 inside it, at the left of the menu icon.

I presume this is intended to indicate that some (2) of the addons have updates pending, but none of them show as having updates when I open the Addons menu.

Or is this something else?


Please post the output of:
Code: Select all
sed -i '/for KEY/ a\    echo $KEY ${current[$KEY]} ${download[$KEY]}' /srv/http/addonsupdate.sh
/srv/http/addonsupdate.sh
sed -i '/echo \$KEY/ d' /srv/http/addonsupdate.sh

Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 209
Joined: 14 Jul 2016, 08:15

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

Postby R101 » 14 Mar 2018, 10:19

Same here too.


[root@runeaudio ~]# sed -i '/for KEY/ a\ echo $KEY ${current[$KEY]} ${download[$KEY]}' /srv/http/addonsupdate.sh
[root@runeaudio ~]# /srv/http/addonsupdate.sh
back 20170901 20170901
mpdu 1
addo 20180312 20180312
samb 1
udac 20180219 20180219
update 2
enha 20180312 20180312
chro 20180106 20180106
font 20170901 20170901
[root@runeaudio ~]# sed -i '/echo \$KEY/ d' /srv/http/addonsupdate.sh
[root@runeaudio ~]#
(Pi 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 121
Joined: 29 Apr 2016, 16:16

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

Postby ianhaynes » 14 Mar 2018, 10:37

Different to R101's

Code: Select all
lyri 20180219 20180219
paus 20180217 20180217
back 20170901 20170901
mpdu 1
addo 20180312 20180312
update 2
RuneYoutube 20171120 20171120
expa 1
font 20170901 20170901
root@runeaudio(rw):~# sed -i '/echo \$KEY/ d' /srv/http/addonsupdate.shlyri 20180219 20180219
sed: can't read /srv/http/addonsupdate.shlyri: No such file or directory
sed: can't read 20180219: No such file or directory
sed: can't read 20180219: No such file or directory
root@runeaudio(rw):~# paus 20180217 20180217
-bash: paus: command not found
root@runeaudio(rw):~# back 20170901 20170901
-bash: back: command not found
root@runeaudio(rw):~# mpdu 1
-bash: mpdu: command not found
root@runeaudio(rw):~# addo 20180312 20180312
-bash: addo: command not found
root@runeaudio(rw):~# update 2
-bash: update: command not found
root@runeaudio(rw):~# RuneYoutube 20171120 20171120
-bash: RuneYoutube: command not found
root@runeaudio(rw):~# expa 1
-bash: expa: command not found
root@runeaudio(rw):~# font 20170901 20170901
-bash: font: command not found
root@runeaudio(rw):~# lyri 20180219 20180219
-bash: lyri: command not found
paus 20180217 20180217
back 20170901 20170901
mpdu 1
addo 20180312 20180312
update 2
RuneYoutube 20171120 20171120
expa 1
font 20170901 20170901
root@runeaudio(rw):~# sed -i '/echo \$KEY/ d' /srv/http/addonsupdate.shlyri 20180219 20180219
sed: can't read /srv/http/addonsupdate.shlyri: No such file or directory
sed: can't read 20180219: No such file or directory
sed: can't read 20180219: No such file or directory
root@runeaudio(rw):~# paus 20180217 20180217
-bash: paus: command not found
root@runeaudio(rw):~# back 20170901 20170901
-bash: back: command not found
root@runeaudio(rw):~# mpdu 1
-bash: mpdu: command not found
root@runeaudio(rw):~# addo 20180312 20180312
-bash: addo: command not found
root@runeaudio(rw):~# update 2
-bash: update: command not found
root@runeaudio(rw):~# RuneYoutube 20171120 20171120
-bash: RuneYoutube: command not found
root@runeaudio(rw):~# expa 1
-bash: expa: command not found
root@runeaudio(rw):~# font 20170901 20170901
-bash: font: command not found
root@runeaudio(rw):~#
root@runeaudio(rw):~# paus 20180217 20180217
-bash: paus: command not found
root@runeaudio(rw):~# back 20170901 20170901
-bash: back: command not found
root@runeaudio(rw):~# mpdu 1
-bash: mpdu: command not found
root@runeaudio(rw):~# addo 20180312 20180312
-bash: addo: command not found
root@runeaudio(rw):~# update 2
-bash: update: command not found
root@runeaudio(rw):~# RuneYoutube 20171120 20171120
-bash: RuneYoutube: command not found
root@runeaudio(rw):~# expa 1
-bash: expa: command not found
root@runeaudio(rw):~# font 20170901 20170901
-bash: font: command not found
root@runeaudio(rw):~# root@runeaudio(rw):~# sed -i '/echo \$KEY/ d' /srv/http/addonsupdate.shlyri 20180219 20180219
-bash: syntax error near unexpected token `rw'
root@runeaudio(rw):~# sed: can't read /srv/http/addonsupdate.shlyri: No such file or directory
> sed: can't read 20180219: No such file or directory
-bash: sed:: command not found
root@runeaudio(rw):~# sed: can't read 20180219: No such file or directory
> root@runeaudio(rw):~# paus 20180217 20180217
> -bash: paus: command not found
> root@runeaudio(rw):~# back 20170901 20170901
> -bash: back: command not found
> root@runeaudio(rw):~# mpdu 1
> -bash: mpdu: command not found
> root@runeaudio(rw):~# addo 20180312 20180312
> -bash: addo: command not found
> root@runeaudio(rw):~# update 2
> -bash: update: command not found
> root@runeaudio(rw):~# RuneYoutube 20171120 20171120
> -bash: RuneYoutube: command not found
> root@runeaudio(rw):~# expa 1
> -bash: expa: command not found
> root@runeaudio(rw):~# font 20170901 20170901
> -bash: font: command not found
> root@runeaudio(rw):~#
Pi 2, Ver. 0.4b build 20170229, IQAudio DAC+
ianhaynes
 
Posts: 192
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 1 guest