PlexAmp-installer for Raspberry Pi with ARM64 HW

Should be good now.

3 Likes

confirmed here that 4.3.0 also runs on a 32 bit install :slight_smile:

pi@rpi432:~ $ uname -a
Linux rpi432 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l GNU/Linux
pi@rpi432:~ $ systemctl status plexamp.service
ā— plexamp.service - Plexamp
     Loaded: loaded (/lib/systemd/system/plexamp.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-08-03 09:41:05 PDT; 5min ago
   Main PID: 1112 (node)
      Tasks: 18 (limit: 4915)
        CPU: 4.233s
     CGroup: /system.slice/plexamp.service
             └─1112 /usr/bin/node /home/pi/plexamp/js/index.js

Aug 03 09:41:05 rpi432 systemd[1]: Started Plexamp.
Aug 03 09:41:07 rpi432 node[1112]: Starting Plexamp 4.3.0
Aug 03 09:41:07 rpi432 node[1112]: DEVICE: No provider for source 9615138e2ed9b7072170490824df42d76a6e57d9

also @elan can you clarify the intended use and arguments for the included upgrade.sh script? I tried running it (without any arguments) and I got lots of errors and my install directory moved (easily fixed)

Well, my installer will upgrade also! Might be a bit more blunt, but it works! Just follow the prompts and answer yes when asking if you want to upgrade (can be used to re-install also), and then yes to installing it again.

Understood, thanks @odinb1 … I just figured that users might see the new upgrade.sh file and try to use it

Based on what happened when I tried it, I’d also advise that folks stick with your installer for now :slight_smile:

It’s not intended for end-user consumption and not actively used yet (consider work in progress).

1 Like

hmmm, it’s doing more or less the same as what i was doing manually on the command line during the period of frequent beta releases. I used it and it seemed to work fine.

agree, in my case I didn’t have jq installed, so it moved my install without having anything to replace it with :slight_smile:

Acchhh - you’re right, i forgot the same thing happened to me. I mv’d the plexamp.last directory back to plexamp, then apt-get installed jq, then ran upgrade.sh again without issue.

Now installs/upgrades to Plexamp-Linux-headless-v4.5.0.

1 Like

Hi Guys
I’ve some issues :

-During installation :
–== Fix plexamp.service ==–
chown: cannot access ā€˜/home/pi/.config/’: No such file or directory

-During claim:
DEVICE: Error loading cloud players from plex.tv HTTP status 403

And after when i’m trying to play a song via web-GUI, it keeps loading forever with loading circle, even if the ouptut is correctly selected

THX

Rerun the scrip making sure you say yes to:
Do you want to prep for upgrade to new version ā€œ$PLEXAMPVā€, only run if you are upgrading [y/N]:
Do you want to install and configure Node.v12? Recommended/needed on RPi! [y/N]:
Do you want to install and configure ā€œ$PLEXAMPVā€ [y/N]:
Do you want to run full OS-update? This is recommended [y/N]:

Then reboot.

If this does not fix it, you most likely did not have a fresh OS install, but rather had modifications to it. Re-installing the OS and then re-running the script is the fastest at this point.

The script cannot take precautions for unknown changes to the user and image/filesystem on the RPi, it is therefor only guaranteed to work on clean OS, or upgrade from previous install.

Thanks for your answer
I 've done what you said (Fresh OS with raspberry pi imager : os 64 bits lite, answer yes to what you said), same issues.

And i’ve seen one more :
–== Set user-groups and enable sudo ==–
usermod: group ā€˜lpadmin’ does not exist

After a second reboot, when i start plexamp :
DEVICE: No provider for source 6b6280c4135b04e3092a86d771d20e3f82454aea

raspberry pi 4b rev 1.1 1Gb

There must be some part of the instructions you are missing! Are you running the script as root?

that’s startup message about ā€œno provider for sourceā€ is harmless. if you’re seeing a spinner it’s likely. excuse you’re not selecting a player from cast dialog.

Yes, i’m running the script as root

Hello :slight_smile:

You’re close so I thought I’d mention that

  • When odinb1 said to answer Y to those questions, that was only to try to fix an install.
  • If that didn’t work, it was suggested you do a fresh new install.
  • A fresh install starts with wiping the SD-card and installing raspbian.
  • Then follow only the fresh install instructions on the odinb github page.
  • Should have you up in no time :rabbit:

Thx but i done that several times

Ok, will see if I can do a clean install later today, an re-create. Upgraded mine on oct 4th, and current script worked just fine doing that!

Hey it’s working as written @odinb1 .
@Jojolescargot That chown error is harmless for you.

Don’t forget to cast.

Web.Must.Cast

Happy Plexing :slight_smile:

1 Like

Created a fresh 64-bit image with ā€œRaspberry Pi Imagerā€, enabling SSH and configuring user and password. Moved the SD-card to the RPi4b, and booted.
Logged in, changed to root (ā€œsudo -iā€) and ran the script (ā€œbash <(wget -qO- https://raw.githubusercontent.com/odinb/bash-plexamp-installer/main/install_Plexamp_pi.sh)ā€).
Picked yes on the following prompts:
Do you want to install and set vim as your default editor [y/N]: y
Do you want to disable IPv6 [y/N]: y
Do you want to configure your HifiBerry HAT (or clone) [y/N]: y
Here I picked my card ā€œsetup for Digi/Digi+ā€.
Do you want to install and configure Node.v12? Recommended/needed on RPi! [y/N]: y
Do you want to install and configure Plexamp-Linux-headless-v4.5.2 [y/N]: y
Do you want to run full OS-update? This is recommended [y/N]: y

Rebooted the RPi, logged in as my regular user and ran:
ā€œnode /home/pi/plexamp/js/index.jsā€
Went to the webpage and copied the claim-code back on the Pi.

then:
sudo systemctl enable plexamp.service && sudo systemctl restart plexamp.service

Went to the webGUI in my browser and chose my Digi+ card under:
Settings (cogwheel lower right corner) >> Playback >> Audio output >> Audio Device

After this I was able to cast to it.

Seems to work for me!