• Latest updates break my pi players

    From Bob Latham@3:770/3 to All on Mon Feb 19 14:35:48 2024
    I've been using the OS
    Pi OS Lite Dec 11th 2023 since it came out. It was fine.

    Today after installing it I did the usual:
    sudo apt update
    sudo apt upgrade

    I got an absolute torrent of updates/upgrades and now my MediaPlayer
    system does not function at all. It should have a web server for
    setting etc. and a player that should be vissible from open home apps
    but nothing.

    It looks as though neither components is even starting.

    Once added in to the builds are these updates permanent or do they
    sometimes cause issues and get pulled?

    Thanks.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to Bob Latham on Mon Feb 19 15:33:42 2024
    In article <5b352dbbf6bob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    It looks as though neither components is even starting.

    Sorry to reply to myself.

    As neither the web server or the player start up I started to think
    about Java, I think both are Java apps.

    In the past I used java 11 with the command:

    sudo apt install openjdk-11-jdk

    That has stopped working, it gives the error:

    The following packages have unmet dependencies:
    ca-certificates-java : Breaks: openjdk-11-jre-headless (<
    11.0.19+7~1~) but 11.0.17+8-2 is to be installed
    E: Unable to correct problems, you have held broken packages.

    So I found another install command.
    sudo apt install default-jdk

    Which installed Java 17 with error but is it a good replacement?

    Does this look like it might be the issue?

    Thanks.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Bob Latham on Mon Feb 19 15:33:20 2024
    On 19/02/2024 14:35, Bob Latham wrote:
    I've been using the OS
    Pi OS Lite Dec 11th 2023 since it came out. It was fine.

    Today after installing it I did the usual:
    sudo apt update
    sudo apt upgrade

    I got an absolute torrent of updates/upgrades and now my MediaPlayer
    system does not function at all. It should have a web server for
    setting etc. and a player that should be vissible from open home apps
    but nothing.

    It looks as though neither components is even starting.

    Once added in to the builds are these updates permanent or do they
    sometimes cause issues and get pulled?

    Thanks.

    Bob.



    A bit like what happened to me upgrading TO that release. (Dec 11th 2023)

    Before I break MY system, will a *fresh* install plus full updates work?



    --
    Future generations will wonder in bemused amazement that the early
    twenty-first century’s developed world went into hysterical panic over a globally average temperature increase of a few tenths of a degree, and,
    on the basis of gross exaggerations of highly uncertain computer
    projections combined into implausible chains of inference, proceeded to contemplate a rollback of the industrial age.

    Richard Lindzen

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Bob Latham on Mon Feb 19 19:13:48 2024
    On 19/02/2024 15:33, Bob Latham wrote:
    In article <5b352dbbf6bob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    It looks as though neither components is even starting.

    First try starting the program from a terminal window (edit the main
    menu entry to find the command name if you don't know it), there will
    often be a very obvious error displayed.

    Failing that in a terminal do a
    tail -f /var/log/syslog
    Then start the program again.

    sudo apt install openjdk-11-jdk

    That has stopped working, it gives the error:

    jdk-11 is end of life

    So I found another install command.
    sudo apt install default-jdk

    Which installed Java 17 with error but is it a good replacement?

    Yes, there should be very little hasn't been updated to work with that.

    Does this look like it might be the issue?

    You need to tell us, see above.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to druck on Mon Feb 19 20:29:33 2024
    In article <ur099n$217o0$1@dont-email.me>,
    druck <news@druck.org.uk> wrote:
    On 19/02/2024 15:33, Bob Latham wrote:
    In article <5b352dbbf6bob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    It looks as though neither components is even starting.

    First try starting the program from a terminal window (edit the
    main menu entry to find the command name if you don't know it),
    there will often be a very obvious error displayed.

    Right, I'm hoping that a putty window is sufficient but certainly no
    error when the manual start command is issued.

    sudo /home/pi/mediaplayer/run.sh

    Failing that in a terminal do a
    tail -f /var/log/syslog

    pi@LinnPi-base1:~/mediaplayer/scripts/systemd $ tail -f
    /var/log/syslog
    tail: cannot open '/var/log/syslog' for reading: No such file or
    directory
    tail: no files remaining

    There is a file mediaplayer.log but I cannot see a way to get this
    public so you can have a look.

    Then start the program again.

    Still nothing unfortunately.

    sudo apt install openjdk-11-jdk

    That has stopped working, it gives the error:

    jdk-11 is end of life

    Oh right.

    So I found another install command.
    sudo apt install default-jdk

    Which installed Java 17 with error but is it a good replacement?

    Brain got ahead of fingers there. There was NO error.

    Yes, there should be very little hasn't been updated to work with
    that.

    Oh dear. I would not be surprised if MediaPlayer has not been updated.

    Does this look like it might be the issue?

    You need to tell us, see above.

    Thanks.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to Bob Latham on Mon Feb 19 21:05:34 2024
    In article <5b35330dcfbob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:
    In article <5b352dbbf6bob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    It looks as though neither components is even starting.

    Sorry to reply to myself.

    Again.

    My player builds are done in blocks, the idea is that it helps a
    little with testing if you don't have to go back to the start every
    time. After each block is added, I save back the SD card.

    Block01 working operating system with updates.
    Block02 Block01 + working Samba.
    Block03 Block02 + mpd + java
    block04 Block03 + media Player

    So as Java looks a strong possibility I cleaned an SD card and
    installed Block02 from January build. All fine.

    Tried to install mpd.
    No it's not having any of it.

    E: Failed to fetch http://raspbian.raspberrypi.com/raspbian/pool/main/libs/libssh/libssh-gcrypt-4_0.10.5-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
    E: Unable to fetch some archives, maybe run apt-get update or try
    with --fix-sing?

    So changes have been made and things are really broken for me now.

    Fortunately, I still have the working blocks from january although on
    block 04 is of any use apparently.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to Bob Latham on Tue Feb 20 09:58:53 2024
    In article <5b354e23adbob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    pi@LinnPi-base1:~/mediaplayer/scripts/systemd $ tail -f
    /var/log/syslog
    tail: cannot open '/var/log/syslog' for reading: No such file or
    directory
    tail: no files remaining

    There is a file mediaplayer.log but I cannot see a way to get this
    public so you can have a look.

    Okay, if anyone would be interested enough to look at the mediaplayer
    log that would be great, thanks.

    it's now at..

    http://www.mightyoak.org.uk/raspi/mediaplayer.txt

    had to change the type to txt from log which the web server didn't
    like and I've no idea why that pie thought it was summer time.

    Thanks.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Bob Latham on Tue Feb 20 21:17:25 2024
    Bob Latham <bob@sick-of-spam.invalid> wrote:
    E: Failed to fetch http://raspbian.raspberrypi.com/raspbian/pool/main/libs/libssh/libssh-gcrypt-4_0.10.5-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]

    From your log:

    2024-02-19 16:05:39,769 [main] ERROR [org.rpi.mpdplayer.TCPConnector] java.net.ConnectException: Connection refused
    2024-02-19 16:05:39,770 [Thread-0] ERROR [org.rpi.mpdplayer.TCPConnector] java.net.ConnectException: Connection refused
    2024-02-19 16:05:39,774 [main] ERROR [org.rpi.mpdplayer.TCPConnector] java.net.ConnectException: Connection refused

    Is there something wrong with networking on your Pi? Can you
    ping google.com?

    It looks like you've configured this URL:

    [org.rpi.config.Config] 'pins_service_url' : 'http://192.168.1.205:8088/PinServiceManager1/webapi/broadcast'

    I don't know what it does, but can you ping that IP (192.168.1.205)?

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Bob Latham on Tue Feb 20 20:44:33 2024
    On 19/02/2024 20:29, Bob Latham wrote:
    In article <ur099n$217o0$1@dont-email.me>,
    druck <news@druck.org.uk> wrote:
    Failing that in a terminal do a
    tail -f /var/log/syslog

    pi@LinnPi-base1:~/mediaplayer/scripts/systemd $ tail -f
    /var/log/syslog
    tail: cannot open '/var/log/syslog' for reading: No such file or
    directory
    tail: no files remaining

    FFS you've got one infested with systemd's journald and no rsyslog
    installed - in which case god help you.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Bob Latham on Tue Feb 20 21:13:09 2024
    On 19/02/2024 20:29, Bob Latham wrote:
    sudo /home/pi/mediaplayer/run.sh

    You shouldn't need to run a mediaplayer as root, it is not a good thing
    to do.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to Theo on Wed Feb 21 09:11:29 2024
    In article <9Nn*5wuDz@news.chiark.greenend.org.uk>,
    Theo <theom+news@chiark.greenend.org.uk> wrote:
    Bob Latham <bob@sick-of-spam.invalid> wrote:
    E: Failed to fetch

    http://raspbian.raspberrypi.com/raspbian/pool/main/libs/libssh/libssh-gcrypt-4_0.10.5-2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]

    From your log:

    Is there something wrong with networking on your Pi?

    I don't think so.

    Can you ping google.com?

    Yes, no problem.

    It looks like you've configured this URL:

    [org.rpi.config.Config] 'pins_service_url' : 'http://192.168.1.205:8088/PinServiceManager1/webapi/broadcast'

    I don't know what it does,

    Neither do I. Pins is something I keep seeing mentioned in the Linn
    control app but I've never understood what it is, I've ignored it for
    years.

    but can you ping that IP (192.168.1.205)?

    No, there is nothing there.

    I manage IP addresses from the router and IPs:

    02 to 99 are managed for various fixed devices.
    from 240 upwards is for NAS boxes and printers.

    From 100 to 239 is not managed and is just for things which
    temporarily get plugged in with random allocation. So I've no idea
    what gave rise to the 202 address.

    Do you think I should try to find where that is configured and remove
    it? Or, try and stop the usage of it.

    Thanks.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to druck on Wed Feb 21 09:12:52 2024
    In article <ur32vu$2m7la$1@dont-email.me>,
    druck <news@druck.org.uk> wrote:

    FFS you've got one infested with systemd's journald and no rsyslog
    installed - in which case god help you.

    That's comforting. :-)

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to druck on Wed Feb 21 09:13:27 2024
    In article <ur34lh$2mguh$1@dont-email.me>,
    druck <news@druck.org.uk> wrote:
    On 19/02/2024 20:29, Bob Latham wrote:
    sudo /home/pi/mediaplayer/run.sh

    You shouldn't need to run a mediaplayer as root, it is not a good thing
    to do.

    I get that.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Bob Latham on Wed Feb 21 11:48:21 2024
    On 20/02/2024 09:58, Bob Latham wrote:
    In article <5b354e23adbob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    pi@LinnPi-base1:~/mediaplayer/scripts/systemd $ tail -f
    /var/log/syslog
    tail: cannot open '/var/log/syslog' for reading: No such file or
    directory
    tail: no files remaining

    There is a file mediaplayer.log but I cannot see a way to get this
    public so you can have a look.

    Okay, if anyone would be interested enough to look at the mediaplayer
    log that would be great, thanks.

    it's now at..

    http://www.mightyoak.org.uk/raspi/mediaplayer.txt


    In the log, why is FATAL being used like INFO?

    It makes me wonder what level of support this app gets, if the answer is
    very little, is it worth the effort?

    There are very good media players for the rPi like mpv. What does this
    app give you?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to Pancho on Wed Feb 21 12:20:47 2024
    In article <ur4nu5$34044$1@dont-email.me>,
    Pancho <Pancho.Jones@proton.me> wrote:

    In the log, why is FATAL being used like INFO?

    I've no idea. :-)

    It makes me wonder what level of support this app gets, if the
    answer is very little,

    I think that is the answer yes.

    is it worth the effort?

    It's as near a perfect match for my needs as I'll get.

    There are very good media players for the rPi like mpv. What does
    this app give you?

    Plays music from MinimServer UPnP server.
    Also radio streams indexed from a play list on MinimServer.
    In essence that's it but the extra bonus is that it's an openhome
    player.

    For my main hifi system I use a Linn streamer which has it's own apps
    which work with any openhome players so the same control point for
    all my players.

    I did look briefly at volumio but the control point (when I looked)
    was quite basic, it was mostly text rather than graphical.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Bob Latham on Wed Feb 21 17:46:22 2024
    On 21/02/2024 12:20, Bob Latham wrote:


    Plays music from MinimServer UPnP server.
    Also radio streams indexed from a play list on MinimServer.
    In essence that's it but the extra bonus is that it's an openhome
    player.

    For my main hifi system I use a Linn streamer which has it's own apps
    which work with any openhome players so the same control point for
    all my players.

    I did look briefly at volumio but the control point (when I looked)
    was quite basic, it was mostly text rather than graphical.


    Fair enough, I never got into the home streaming idea. I just have NAS
    and play music and video on the rPi, like I would on a normal PC.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Bob Latham@3:770/3 to druck on Wed Feb 28 08:55:14 2024
    In article <ur099n$217o0$1@dont-email.me>,
    druck <news@druck.org.uk> wrote:
    On 19/02/2024 15:33, Bob Latham wrote:
    In article <5b352dbbf6bob@sick-of-spam.invalid>,
    Bob Latham <bob@sick-of-spam.invalid> wrote:

    sudo apt install openjdk-11-jdk

    That has stopped working, it gives the error:

    jdk-11 is end of life

    So I found another install command.
    sudo apt install default-jdk

    Which installed Java 17 with error but is it a good replacement?

    Yes, there should be very little hasn't been updated to work with that.

    Does this look like it might be the issue?

    You need to tell us, see above.


    Just in case anyone is interested in how this worked out. I'm not
    fully conversant with it but in general...

    The author wrote the application to work on several platforms and in
    order to make that work he set the PATH required dynamically.
    Unfortunately, Java 17 stopped his method of doing that working.
    That's what he told me.

    So he gave me a fix just for the pi.

    In two files, run.sh and run_systemd.sh I had to add the single line:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SCRIPTPATH/mediaplayer_lib/ohNet/linux/armv6hf

    That fixed the problem for me.

    Thanks for all the suggestions.

    Cheers,

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)