Error with script installation

Hello

I have a RPi 4 and Hifiberry Digi2 Pro. OS of RPi is Raspberry Pi OS Lite 64 bits.
I follow the gitub readme procedure: bash-plexamp-installer/README.md at main · odinb/bash-plexamp-installer · GitHub

But the install script stops here. No node installed, …
What’s wrong?

rpi-eeprom-update.service - Check for Raspberry Pi EEPROM updates
Loaded: loaded (/lib/systemd/system/rpi-eeprom-update.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2022-07-29 23:58:14 CEST; 5min ago
Process: 429 ExecStart=/usr/bin/rpi-eeprom-update -s -a (code=exited, status=0/SUCCESS)
Main PID: 429 (code=exited, status=0/SUCCESS)
CPU: 518ms

Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: BOOTLOADER: up to date
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: CURRENT: Thu 3 Sep 12:11:43 UTC 2020 (1599135103)
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: LATEST: Tue 25 Jan 14:30:41 UTC 2022 (1643121041)
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: Use raspi-config to change the release.
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: VL805_FW: Dedicated VL805 EEPROM
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: VL805: up to date
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: CURRENT: 000138a1
Jul 29 23:58:14 raspberrypi rpi-eeprom-update[429]: LATEST: 000138a1
Jul 29 23:58:14 raspberrypi systemd[1]: Finished Check for Raspberry Pi EEPROM updates.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-17/17 (END)

Are you running as root? Do you have a clean fresh OS install?

Hello
yes as root (in Putty SSH session, i did a sudo -i command because launch the script with command “bash <(wget -qO- https://raw.githubusercontent.com/odinb/bash-plexamp-installer/main/install_Plexamp_pi.sh)”
I did not change hostname, neither the user (i stay wi user pi). I change time zone to Europe/Paris.

I did a fresh install after formating in FAT32.

I have juste made again all the stuff but same result :frowning:
I cannot understant why the script stops at “rpi-eeprom-update.service - Check for Raspberry Pi EEPROM updates” ?

Hello again

i reinstall and change hostname and now it works! :slight_smile:

Install script is ok but my Hifiberry digi2 Pro seems not working. When i cast to Plexamp, nothing appears, no UI for playback.

pi@plexamp:~ $ systemctl --user status plexamp.service
● plexamp.service - Plexamp
Loaded: loaded (/home/pi/.config/systemd/user/plexamp.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-07-30 08:59:33 CEST; 4min 39s ago
Main PID: 2034 (node)
Tasks: 21 (limit: 4164)
CPU: 9.883s
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/plexamp.service
└─2034 /usr/bin/node /home/pi/plexamp/js/index.js

Jul 30 08:59:33 plexamp systemd[532]: Started Plexamp.
Jul 30 08:59:34 plexamp node[2034]: Starting Plexamp.
Jul 30 08:59:34 plexamp node[2034]: DEVICE: No provider for source 723257f3cef14c9a0acbea6721089302fb889b8a

How to configure audio output to the Hifiberry Digi2 Pro?

Why no provider for source when i launch the service: “node /home/USER/plexamp/js/index.js”:

pi@plexamp:~ $ node /home/pi/plexamp/js/index.js
Starting Plexamp.
DEVICE: No provider for source 723257f3cef14c9a0acbea6721089302fb889b8a

Hi!

You can choose output device either via the script when installing, for the Hifiberry Digi2 Pro, it should work with the hifiberry-digi / Digi/Digi+ option. Never mind the “No provider for source” message, I see that also, and it still works.

If choosing after setup, the instructions are in the “Post-install and post-reboot tasks” part on GIT, source will also be chosen here:
Once entered, the web-GUI should be available on the ip-of-plexamp-pi:32500 from a browser. On that GUI you will be asked to login to your Plex-acoount for security-reasons, and then choose a library where to fetch/stream music from.

The menu is found via: Settings (cogwheel lower right corner) >> Playback >> Audio output >> Audio Device.

If you have chosen the “ Digi/Digi+“ option during install in the script, pick “Default” if the card is not showing, then reboot the pi. Now the card will show up in the list, and you can choose it!

1 Like

Thanks you!
It works very well now.

Last question: in the cast button, i see the name “Plexamp”.

I would like to change to “Salon”, name of my room. How do that?
I tried to relaunch the script to change the hostname and reboot, but no change.

Thanks

Using the browser, hit ip:32500 and edit the player name in advanced settings. It’ll modify the device’s name.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.