# Trying to get PlexAmp running on Raspberry Pi - SOLVED

**URL:** <https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055>\
**Category:** Plex Labs\
**Tags:** plexamp\
**Created:** [December 21, 2020, 4:12pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055 "2020-12-21T16:12:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 21, 2020, 4:12pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/1 "2020-12-21T16:12:42Z")

</div>

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.)

 ![image](https://global.discourse-cdn.com/plex/original/3X/6/b/6b59655fbd3874abd4f40abfdb0dd2f972328465.png)

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 21, 2020, 4:25pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/2 "2020-12-21T16:25:13Z")

</div>

FYI - nodejs version is v9.11.2

![image](https://global.discourse-cdn.com/plex/original/3X/7/0/70175327def7831d8baa40451e204bf8fbc1e05c.png)

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 4:48pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/3 "2020-12-22T16:48:56Z")

</div>

I made progress getting the service running on RPi, but I cannot get it to show up as a player.  
Any ideas of what or how to check that?

Huge thanks to @odinb1 for helping me sort of the installation!  
His script can walk you through everything including setting up your HAT, getting the proper nodejs, and entering your token info.  
[bash-plexamp-installer/README.md at main · odinb/bash-plexamp-installer · GitHub](https://github.com/odinb/bash-plexamp-installer/blob/main/README.md)

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

 ![image](https://global.discourse-cdn.com/plex/original/3X/6/d/6d9ec00fa8b04e8946ae62bbca09cf7d469eb5d2.png)

The problem is I cannot see the player.

 ![image](https://global.discourse-cdn.com/plex/original/3X/5/8/58fb6440a4d20dbf52ce99479e63067ba007895a.jpeg)

Any suggestions?

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [December 22, 2020, 5:57pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/4 "2020-12-22T17:57:38Z")

</div>

Try `sudo systemctl stop firewalld` and check if it changes anything

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 6:04pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/5 "2020-12-22T18:04:30Z")

</div>

Thanks for the suggestion

it reports

> Failed to stop firewalld.service: Unit firewalld.service not loaded.

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [December 22, 2020, 6:07pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/6 "2020-12-22T18:07:11Z")

</div>

What’s your OS?

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [December 22, 2020, 6:09pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/7 "2020-12-22T18:09:53Z")

</div>

If is raspberry OS then  
`sudo ufw disable`

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 6:40pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/8 "2020-12-22T18:40:24Z")

</div>

Yes, it is vanilla Raspberry OS.  
UFW command not found

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [December 22, 2020, 6:50pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/9 "2020-12-22T18:50:20Z")

</div>

Raspberry pi OS does not come with a firewall enabled. So unless you enabled one yourself, there is none!

Are you sure both devices are on the same network? Does the other device have a firewall?

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 6:56pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/10 "2020-12-22T18:56:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [December 22, 2020, 6:56pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/11 "2020-12-22T18:56:28Z")

</div>

For the RPi, you can check what port(s) the plexamp service is listening to by doing this using the process ID of the plexamp service:

```auto
root@plexamp4:~# systemctl status plexamp
● plexamp.service - Plexamp
   Loaded: loaded (/lib/systemd/system/plexamp.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-12-21 12:47:38 CST; 24h ago
 Main PID: 592 (node)
    Tasks: 18 (limit: 3861)
   CGroup: /system.slice/plexamp.service
           └─592 /usr/bin/node /home/brodersen/plexamp/server/server.prod.js

Dec 21 19:58:21 plexamp4 node[592]: debug: GET /resources 200 328 - 0.829 ms
Dec 21 19:58:26 plexamp4 node[592]: debug: GET /resources 200 328 - 0.893 ms
Dec 21 19:58:36 plexamp4 node[592]: debug: GET /resources 200 328 - 1.077 ms
Dec 21 19:58:46 plexamp4 node[592]: debug: GET /resources 200 328 - 1.000 ms
Dec 22 00:50:07 plexamp4 node[592]: info: [CLOUD] Registered device.
Dec 22 08:57:48 plexamp4 node[592]: info: [PUBSUB] Connecting...
Dec 22 08:57:48 plexamp4 node[592]: info: [PUBSUB] Connected.
Dec 22 08:58:18 plexamp4 node[592]: info: [PUBSUB] Connecting...
Dec 22 08:58:18 plexamp4 node[592]: info: [PUBSUB] Connected.
Dec 22 12:50:07 plexamp4 node[592]: info: [CLOUD] Registered device.
root@plexamp4:~# ss -l -p -n |grep "pid=592"
udp UNCONN 0 0 0.0.0.0:32412 0.0.0.0:* users:(("node",pid=592,fd=11))
tcp LISTEN 0 511 *:20000 *:* users:(("node",pid=592,fd=23))
root@plexamp4:~#

```

As you can see, it is listening for incoming connections on port 20000.

//Odin

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [December 22, 2020, 7:03pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/12 "2020-12-22T19:03:16Z")

</div>

Using netcat to check for open ports from another Pi, I get:

```auto
root@PiHole-3Bplus-2:~# nc -z -v plexamp4.kingsville.lan 20000
Connection to plexamp4.kingsville.lan 20000 port [tcp/*] succeeded!

```

So I know the port can be reached.

Do you have a firewall running on the Mint machine?

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 7:08pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/13 "2020-12-22T19:08:59Z")

</div>

I don’t get any output when I run

ss -l -p -n |grep “pid=4784”

I am not running a Firewall on my Mint server, but I can reach the Plex server from the outside internet anyway.

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [December 22, 2020, 7:11pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/14 "2020-12-22T19:11:02Z")

</div>

Are you running the command on the RPi with the plexamp headless running?  
Are you sure you have the correct pid?  
Jut making sure…

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [December 22, 2020, 7:14pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/15 "2020-12-22T19:14:40Z")

</div>

> [@obkook](#):
>
> I don’t get any output when I run

then try `netstat -putan | grep -i amp`

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 7:22pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/16 "2020-12-22T19:22:19Z")

</div>

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:~#

This is the output - isn’t the status where I get the pid?  
Does this change every time you run status?

@CostaHT no output for that command either

---

<div class="post-metadata">

**Author:** ![CostaHT](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/costaht/32/193414_2.png) [@CostaHT](https://forums.plex.tv/u/CostaHT)\
**Post date:** [December 22, 2020, 7:28pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/17 "2020-12-22T19:28:24Z")

</div>

journalctl -n100 -u plexamp

---

<div class="post-metadata">

**Author:** ![odinb1](https://avatars.discourse-cdn.com/v4/letter/o/ecccb3/32.png) [@odinb1](https://forums.plex.tv/u/odinb1)\
**Post date:** [December 22, 2020, 8:19pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/19 "2020-12-22T20:19:22Z")

</div>

Something is wrong, that should give you an output!  
Did you install on a fresh install of Raspberry OS?  
If not, please try that!

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 8:45pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/20 "2020-12-22T20:45:59Z")

</div>

This doesn’t look good:

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 rebuild`or`npm 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

---

<div class="post-metadata">

**Author:** ![obkook](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@obkook](https://forums.plex.tv/u/obkook)\
**Post date:** [December 22, 2020, 9:02pm UTC](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055/21 "2020-12-22T21:02:28Z")

</div>

so looks like a nodejs issue with the service constantly stopping and restarting?

it is showing  
root@plexamp:~# nodejs -v  
v10.21.0

I went through it before and down versioned it, but somehow it must have updated

[Next page](https://forums.plex.tv/t/trying-to-get-plexamp-running-on-raspberry-pi-solved/668055.md?page=2)
