I am a long-time Squeezebox with LMS user with players ranging from the original to the Touch. The only player I never got was the Transporter. I run LMS on a small linux server which does double-duty as my Plex server.
After playing around with PlexAmp, I decided that I would like to see if I can consolidate all of my music listening to Plex and off of LMS. The issue is that I need a streamer with a DAC to feed my vintage integrated amp.
I decided to try and install PlexAmp on a Raspberry Pi with a HifiBerry DAC hat and found a couple of guides (@elan original post and a follow-up post which highlighted the nodejs version incompatibilities.
I’ve tried to update nodejs and configured my token (taken from PlexAmp v1 running on windows) but I’ms still getting the following error when I try to start the service.
Can anyone make any suggestions on next de-bugging steps? (disclaimer - I’m fairly out of my depth here - enough knowledge to be dangerous.)
I followed the instructions of doing a fresh install of Plexamp v1.1.0 and grabbing the server.json file from there. Made sure to use the correct version of nodejs, and confirmed the service is happily running using systemctl status plexamp
Everything is on the same network.
I tried the RPi both wired and wireless.
Android is not firewalled and can cast to Google Home, or other Plex players (Roku TV Plex, and Plex web).
Plex server runs on a dedicated Linux mint box.
root@plexamp:~# systemctl status plexamp
● plexamp.service - Plexamp
Loaded: loaded (/lib/systemd/system/plexamp.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-12-22 11:17:39 PST; 4s ago
Main PID: 5678 (node)
Tasks: 7 (limit: 2063)
CGroup: /system.slice/plexamp.service
└─5678 /usr/bin/node /home/pi/plexamp/server/server.prod.js
Dec 22 11:17:39 plexamp systemd[1]: Started Plexamp.
root@plexamp:~# ss -l -p -n |grep “pid=5678”
root@plexamp:~# ^C
root@plexamp:~# journalctl -n100 -u plexamp
– Logs begin at Tue 2020-12-22 09:55:24 PST, end at Tue 2020-12-22 12:40:44 PST. –
Dec 22 12:40:17 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, schedulin
Dec 22 12:40:17 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is a
Dec 22 12:40:17 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:17 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:24 plexamp node[10634]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:8
Dec 22 12:40:24 plexamp node[10634]: throw e
Dec 22 12:40:24 plexamp node[10634]: ^
Dec 22 12:40:24 plexamp node[10634]: Error: The module '/home/pi/plexamp/server/node_modules/ser
Dec 22 12:40:24 plexamp node[10634]: was compiled against a different Node.js version using
Dec 22 12:40:24 plexamp node[10634]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:24 plexamp node[10634]: NODE_MODULE_VERSION 64. Please try re-compiling or re-insta
Dec 22 12:40:24 plexamp node[10634]: the module (for instance, using npm rebuild or npm insta Dec 22 12:40:24 plexamp node[10634]: at Object.Module._extensions..node (internal/modules/cj Dec 22 12:40:24 plexamp node[10634]: at Module.load (internal/modules/cjs/loader.js:653:32) Dec 22 12:40:24 plexamp node[10634]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12 Dec 22 12:40:24 plexamp node[10634]: at Function.Module._load (internal/modules/cjs/loader.j Dec 22 12:40:24 plexamp node[10634]: at Module.require (internal/modules/cjs/loader.js:692:1 Dec 22 12:40:24 plexamp node[10634]: at require (internal/modules/cjs/helpers.js:25:18) Dec 22 12:40:24 plexamp node[10634]: at bindings (/home/pi/plexamp/server/node_modules/bindi Dec 22 12:40:24 plexamp node[10634]: at Object.<anonymous> (/home/pi/plexamp/server/node_mod Dec 22 12:40:24 plexamp node[10634]: at Module._compile (internal/modules/cjs/loader.js:778: Dec 22 12:40:24 plexamp node[10634]: at Object.Module._extensions..js (internal/modules/cjs/ Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Main process exited, code=exited, status=1/ Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Failed with result 'exit-code'. Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, schedulin Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is a Dec 22 12:40:24 plexamp systemd[1]: Stopped Plexamp. Dec 22 12:40:24 plexamp systemd[1]: Started Plexamp. Dec 22 12:40:31 plexamp node[10641]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:8 Dec 22 12:40:31 plexamp node[10641]: throw e Dec 22 12:40:31 plexamp node[10641]: ^ Dec 22 12:40:31 plexamp node[10641]: Error: The module '/home/pi/plexamp/server/node_modules/ser Dec 22 12:40:31 plexamp node[10641]: was compiled against a different Node.js version using Dec 22 12:40:31 plexamp node[10641]: NODE_MODULE_VERSION 59. This version of Node.js requires Dec 22 12:40:31 plexamp node[10641]: NODE_MODULE_VERSION 64. Please try re-compiling or re-insta Dec 22 12:40:31 plexamp node[10641]: the module (for instance, using npm rebuildornpm insta
Dec 22 12:40:31 plexamp node[10641]: at Object.Module._extensions…node (internal/modules/cj
Dec 22 12:40:31 plexamp node[10641]: at Module.load (internal/modules/cjs/loader.js:653:32)
Dec 22 12:40:31 plexamp node[10641]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12
Dec 22 12:40:31 plexamp node[10641]: at Function.Module._load (internal/modules/cjs/loader.j
Dec 22 12:40:31 plexamp node[10641]: at Module.require (internal/modules/cjs/loader.js:692:1
Dec 22 12:40:31 plexamp node[10641]: at require (internal/modules/cjs/helpers.js:25:18)
lines 1-43…skipping…
– Logs begin at Tue 2020-12-22 09:55:24 PST, end at Tue 2020-12-22 12:40:44 PST. –
Dec 22 12:40:17 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, scheduling restart.
Dec 22 12:40:17 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 1325.
Dec 22 12:40:17 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:17 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:24 plexamp node[10634]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:83
Dec 22 12:40:24 plexamp node[10634]: throw e
Dec 22 12:40:24 plexamp node[10634]: ^
Dec 22 12:40:24 plexamp node[10634]: Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/seri
Dec 22 12:40:24 plexamp node[10634]: was compiled against a different Node.js version using
Dec 22 12:40:24 plexamp node[10634]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:24 plexamp node[10634]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
Dec 22 12:40:24 plexamp node[10634]: the module (for instance, using npm rebuild or npm install).
Dec 22 12:40:24 plexamp node[10634]: at Object.Module._extensions…node (internal/modules/cjs/loader.js:807:18)
Dec 22 12:40:24 plexamp node[10634]: at Module.load (internal/modules/cjs/loader.js:653:32)
Dec 22 12:40:24 plexamp node[10634]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Dec 22 12:40:24 plexamp node[10634]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Dec 22 12:40:24 plexamp node[10634]: at Module.require (internal/modules/cjs/loader.js:692:17)
Dec 22 12:40:24 plexamp node[10634]: at require (internal/modules/cjs/helpers.js:25:18)
Dec 22 12:40:24 plexamp node[10634]: at bindings (/home/pi/plexamp/server/node_modules/bindings/bindings.js:76:44)
Dec 22 12:40:24 plexamp node[10634]: at Object. (/home/pi/plexamp/server/node_modules/serialport/lib/bindin
Dec 22 12:40:24 plexamp node[10634]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Dec 22 12:40:24 plexamp node[10634]: at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Failed with result ‘exit-code’.
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, scheduling restart.
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 1326.
Dec 22 12:40:24 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:24 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:31 plexamp node[10641]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:83
Dec 22 12:40:31 plexamp node[10641]: throw e
Dec 22 12:40:31 plexamp node[10641]: ^
Dec 22 12:40:31 plexamp node[10641]: Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/seri
Dec 22 12:40:31 plexamp node[10641]: was compiled against a different Node.js version using
Dec 22 12:40:31 plexamp node[10641]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:31 plexamp node[10641]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
Dec 22 12:40:31 plexamp node[10641]: the module (for instance, using npm rebuild or npm install).
Dec 22 12:40:31 plexamp node[10641]: at Object.Module._extensions…node (internal/modules/cjs/loader.js:807:18)
Dec 22 12:40:31 plexamp node[10641]: at Module.load (internal/modules/cjs/loader.js:653:32)
Dec 22 12:40:31 plexamp node[10641]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Dec 22 12:40:31 plexamp node[10641]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Dec 22 12:40:31 plexamp node[10641]: at Module.require (internal/modules/cjs/loader.js:692:17)
Dec 22 12:40:31 plexamp node[10641]: at require (internal/modules/cjs/helpers.js:25:18)
Dec 22 12:40:31 plexamp node[10641]: at bindings (/home/pi/plexamp/server/node_modules/bindings/bindings.js:76:44)
Dec 22 12:40:31 plexamp node[10641]: at Object. (/home/pi/plexamp/server/node_modules/serialport/lib/bindin
Dec 22 12:40:31 plexamp node[10641]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Dec 22 12:40:31 plexamp node[10641]: at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Failed with result ‘exit-code’.
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, scheduling restart.
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 1327.
Dec 22 12:40:31 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:31 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:37 plexamp node[10648]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:83
Dec 22 12:40:37 plexamp node[10648]: throw e
Dec 22 12:40:37 plexamp node[10648]: ^
Dec 22 12:40:37 plexamp node[10648]: Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/seri
Dec 22 12:40:37 plexamp node[10648]: was compiled against a different Node.js version using
Dec 22 12:40:37 plexamp node[10648]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:37 plexamp node[10648]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
Dec 22 12:40:37 plexamp node[10648]: the module (for instance, using npm rebuild or npm install).
Dec 22 12:40:37 plexamp node[10648]: at Object.Module._extensions…node (internal/modules/cjs/loader.js:807:18)
lines 1-62…skipping…
– Logs begin at Tue 2020-12-22 09:55:24 PST, end at Tue 2020-12-22 12:40:44 PST. –
Dec 22 12:40:17 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, scheduling restart.
Dec 22 12:40:17 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 1325.
Dec 22 12:40:17 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:17 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:24 plexamp node[10634]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:83
Dec 22 12:40:24 plexamp node[10634]: throw e
Dec 22 12:40:24 plexamp node[10634]: ^
Dec 22 12:40:24 plexamp node[10634]: Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/serialport
Dec 22 12:40:24 plexamp node[10634]: was compiled against a different Node.js version using
Dec 22 12:40:24 plexamp node[10634]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:24 plexamp node[10634]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
Dec 22 12:40:24 plexamp node[10634]: the module (for instance, using npm rebuild or npm install).
Dec 22 12:40:24 plexamp node[10634]: at Object.Module._extensions…node (internal/modules/cjs/loader.js:807:18)
Dec 22 12:40:24 plexamp node[10634]: at Module.load (internal/modules/cjs/loader.js:653:32)
Dec 22 12:40:24 plexamp node[10634]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Dec 22 12:40:24 plexamp node[10634]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Dec 22 12:40:24 plexamp node[10634]: at Module.require (internal/modules/cjs/loader.js:692:17)
Dec 22 12:40:24 plexamp node[10634]: at require (internal/modules/cjs/helpers.js:25:18)
Dec 22 12:40:24 plexamp node[10634]: at bindings (/home/pi/plexamp/server/node_modules/bindings/bindings.js:76:44)
Dec 22 12:40:24 plexamp node[10634]: at Object. (/home/pi/plexamp/server/node_modules/serialport/lib/bindings.js:
Dec 22 12:40:24 plexamp node[10634]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Dec 22 12:40:24 plexamp node[10634]: at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Failed with result ‘exit-code’.
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, scheduling restart.
Dec 22 12:40:24 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 1326.
Dec 22 12:40:24 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:24 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:31 plexamp node[10641]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:83
Dec 22 12:40:31 plexamp node[10641]: throw e
Dec 22 12:40:31 plexamp node[10641]: ^
Dec 22 12:40:31 plexamp node[10641]: Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/serialport
Dec 22 12:40:31 plexamp node[10641]: was compiled against a different Node.js version using
Dec 22 12:40:31 plexamp node[10641]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:31 plexamp node[10641]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
Dec 22 12:40:31 plexamp node[10641]: the module (for instance, using npm rebuild or npm install).
Dec 22 12:40:31 plexamp node[10641]: at Object.Module._extensions…node (internal/modules/cjs/loader.js:807:18)
Dec 22 12:40:31 plexamp node[10641]: at Module.load (internal/modules/cjs/loader.js:653:32)
Dec 22 12:40:31 plexamp node[10641]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Dec 22 12:40:31 plexamp node[10641]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Dec 22 12:40:31 plexamp node[10641]: at Module.require (internal/modules/cjs/loader.js:692:17)
Dec 22 12:40:31 plexamp node[10641]: at require (internal/modules/cjs/helpers.js:25:18)
Dec 22 12:40:31 plexamp node[10641]: at bindings (/home/pi/plexamp/server/node_modules/bindings/bindings.js:76:44)
Dec 22 12:40:31 plexamp node[10641]: at Object. (/home/pi/plexamp/server/node_modules/serialport/lib/bindings.js:
Dec 22 12:40:31 plexamp node[10641]: at Module._compile (internal/modules/cjs/loader.js:778:30)
Dec 22 12:40:31 plexamp node[10641]: at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Failed with result ‘exit-code’.
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Service RestartSec=100ms expired, scheduling restart.
Dec 22 12:40:31 plexamp systemd[1]: plexamp.service: Scheduled restart job, restart counter is at 1327.
Dec 22 12:40:31 plexamp systemd[1]: Stopped Plexamp.
Dec 22 12:40:31 plexamp systemd[1]: Started Plexamp.
Dec 22 12:40:37 plexamp node[10648]: /home/pi/plexamp/server/node_modules/bindings/bindings.js:83
Dec 22 12:40:37 plexamp node[10648]: throw e
Dec 22 12:40:37 plexamp node[10648]: ^
Dec 22 12:40:37 plexamp node[10648]: Error: The module '/home/pi/plexamp/server/node_modules/serialport/build/Release/serialport
Dec 22 12:40:37 plexamp node[10648]: was compiled against a different Node.js version using
Dec 22 12:40:37 plexamp node[10648]: NODE_MODULE_VERSION 59. This version of Node.js requires
Dec 22 12:40:37 plexamp node[10648]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
Dec 22 12:40:37 plexamp node[10648]: the module (for instance, using npm rebuild or npm install).
Dec 22 12:40:37 plexamp node[10648]: at Object.Module._extensions…node (internal/modules/cjs/loader.js:807:18)
Dec 22 12:40:37 plexamp node[10648]: at Module.load (internal/modules/cjs/loader.js:653:32)
Dec 22 12:40:37 plexamp node[10648]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Dec 22 12:40:37 plexamp node[10648]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Dec 22 12:40:37 plexamp node[10648]: at Module.require (internal/modules/cjs/loader.js:692:17)
Dec 22 12:40:37 plexamp node[10648]: at require (internal/modules/cjs/helpers.js:25:18)
Dec 22 12:40:37 plexamp node[10648]: at bindings (/home/pi/plexamp/server/node_modules/bindings/bindings.js:76:44)
Dec 22 12:40:37 plexamp node[10648]: at Object. (/home/pi/plexamp/server/node_modules/serialport/lib/bindings.js:
lines 1-69