Page 12 of 28

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

PostPosted: 01 Mar 2018, 21:47
by gearhead
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.

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

PostPosted: 02 Mar 2018, 04:59
by rern
@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.

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

PostPosted: 02 Mar 2018, 15:03
by gearhead
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

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

PostPosted: 03 Mar 2018, 19:06
by gearhead
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.

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

PostPosted: 04 Mar 2018, 02:08
by rern
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.

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

PostPosted: 13 Mar 2018, 16:12
by ianhaynes
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

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

PostPosted: 13 Mar 2018, 20:37
by djsebfr
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.

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

PostPosted: 14 Mar 2018, 02:52
by rern
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


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

PostPosted: 14 Mar 2018, 10:19
by R101
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 ~]#

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

PostPosted: 14 Mar 2018, 10:37
by ianhaynes
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):~#