Plexamp on Headless Ubuntu 22.04 x64

I have been using a spare Raspberry pi to run Plexamp headless. Works great. Love the functionality. With the insane prices of PI’s right now, I’d like to free it up for another project, and was hoping I could find an alternative. I have another pi running RetroPie, but that currently is 32bit, and from what I understand, Plexamp headless will only run on 64bit.

I was wondering if it’s possible to install plexamp on a headless ubuntu server 22.04 x64. I thought I saw in a forum somewhere that somebody complied one, but looked kind of tedious. Secondly I see there is an appimage or flatpack version, would any of those work without a display or gui?

Lastly I wonder there would be any interest to have your actual Plex Server machine advertise as a plexamp player. Then I could run audio from my server into my receiver, but control it like I currently do with the headless plexamp.

Thank you! Plexamp is aweome! Use it daily on android and use it at home on my pi!

EDIT:
I saw the following posts:

So maybe it is already available? So I installed the apt version of node on ubuntu 22.04 which appears to be version 12.22. I get the following error when trying to run plexamp.

paul@ubuntu-server:~/plexamp$ node js/index.js
internal/modules/cjs/loader.js:1057
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: Module did not self-register: ‘/home/paul/plexamp/treble/linux-x64/treble .node’.
at Object.Module._extensions…node (internal/modules/cjs/loader.js:1057:18)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.41673 (/home/paul/plexamp/js/index.js:2:345897)
at a (/home/paul/plexamp/js/index.js:2:2231024)
at Object.65631 (/home/paul/plexamp/js/index.js:2:340190)
at a (/home/paul/plexamp/js/index.js:2:2231024)
at Object.10546 (/home/paul/plexamp/js/index.js:2:325417)

Ok, I answered my own questions. I am currently using Plexamp on Ubuntu Server 22.04 amd64!!!

Few extra steps to get it running.
I installed node16 using nvm
installed alsa
added user to audio group
updated plexamp.service to updated directory for node16 and replaced pi with my user.

Went into the web gui for plexamp and selected the audio device and rebooted. (Don’t know if that was needed, but I know on my Pi I had to do that or else the sound sounded messed up)

I believe that is everything! I’m very happy. Thank you!

1 Like

Or you could have used the script to install.

Thank you. I was under the assumption that the script was written for Pi hardware only. Not an amd64 machine. I’ll take a look though for future reference.

check out alternative hardware like NanoPi R4S. there are others like this with better availability and pricing then the pi.

Will do thanks! And again thank you for work with the headless support. It’s a great addition!

It is written for Debian, with tweaks for pi hardware, but those parts will just fail on non-pi hardware. The other parts will still work.
Also, RPi hardware is starting to get back in stock in many places.

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