Plexamp headless service borked after update

Just updated my pi’s plexamp headless, and after rebooting the service isn’t launching. When I try to manually start the service I get this in the terminal.

zachary@zacharypi3:~ $ node plexamp/js/index.js
node:internal/modules/cjs/loader:1282
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: Module did not self-register: ‘/home/zachary/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/zachary/plexamp/js/index.js:2:352739)
at r (/home/zachary/plexamp/js/index.js:2:3349196)
at Object.2120 (/home/zachary/plexamp/js/index.js:2:347356)
at r (/home/zachary/plexamp/js/index.js:2:3349196)
at Object.81546 (/home/zachary/plexamp/js/index.js:2:334557) {
code: ‘ERR_DLOPEN_FAILED’
}
zachary@zacharypi3:~ $

Anyone know how to fix this?

Install node 20

Thanks for the reply. Can I just reinstall node on top of the current version, or is there an upgrade process from 16 to 20? I followed this guide to get it all up and running initially.

Edit: I reinstalled node by the same guide’s directions, but changed “NODE_MAJOR=16” to “NODE_MAJOR=20.” Now plexamp is working again. Thanks for the help, Elan.

1 Like

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