# Error starting Plexamp on RaspberryPi

**URL:** <https://forums.plex.tv/t/error-starting-plexamp-on-raspberrypi/873372>\
**Category:** Plex Labs\
**Tags:** plexamp\
**Created:** [March 27, 2024, 4:39pm UTC](https://forums.plex.tv/t/error-starting-plexamp-on-raspberrypi/873372 "2024-03-27T16:39:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gv314plex](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gv314plex](https://forums.plex.tv/u/gv314plex)\
**Post date:** [March 27, 2024, 4:39pm UTC](https://forums.plex.tv/t/error-starting-plexamp-on-raspberrypi/873372/1 "2024-03-27T16:39:45Z")

</div>

Dear all,  
today I thought it was time to update my headless installations of Plexamp on Raspberry Pi but had the bad surprise that the service doesn’t start anymore.  
The result of the manual launch of the process is:

```auto
pi@plexamp2:~ $ /usr/bin/node /home/pi/plexamp/js/index.js
node:internal/modules/cjs/loader:1282
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: Module did not self-register: '/home/pi/plexamp/treble/linux-arm64/treble.node'.
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1282:18)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.81564 (/home/pi/plexamp/js/index.js:2:352739)
    at r (/home/pi/plexamp/js/index.js:2:3349196)
    at Object.2120 (/home/pi/plexamp/js/index.js:2:347356)
    at r (/home/pi/plexamp/js/index.js:2:3349196)
    at Object.81546 (/home/pi/plexamp/js/index.js:2:334557) {
  code: 'ERR_DLOPEN_FAILED'
}

```

which is the same log that I find in /var/log/daemon.log

Node version is v16.20.2

Is there anything I can do to fix this?

Thank you  
Gaetano

---

<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:** [March 27, 2024, 4:50pm UTC](https://forums.plex.tv/t/error-starting-plexamp-on-raspberrypi/873372/2 "2024-03-27T16:50:17Z")

</div>

Upgrade to NodeJS 20.  
Manually: [Install Headless Plexamp for your Raspberry Pi to create a Plex endpoint | How To Hi-Fi](https://howtohifi.com/install-headless-plexamp-endpoint-home-network-raspberry-pi/)

Via script (might need fresh deployment depending on how you installed initially): [GitHub - odinb/bash-plexamp-installer: PlexAmp-installer for Raspberry Pi with ARM64 HW. Headless music-player controlled from any other Plexamp client.](https://github.com/odinb/bash-plexamp-installer)

---

<div class="post-metadata">

**Author:** ![gv314plex](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gv314plex](https://forums.plex.tv/u/gv314plex)\
**Post date:** [March 27, 2024, 5:51pm UTC](https://forums.plex.tv/t/error-starting-plexamp-on-raspberrypi/873372/3 "2024-03-27T17:51:44Z")

</div>

Thank you!  
I used parts of the procedure you describe to fix

Have a nice day  
Gaetano

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 25, 2024, 5:52pm UTC](https://forums.plex.tv/t/error-starting-plexamp-on-raspberrypi/873372/4 "2024-06-25T17:52:12Z")

</div>

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