A service will be installed that takes care of auto start up at system boot.
The script is pretty basic, so things might fail on certain distributions. Please let me know how it works out.
It would be nice if someone can test this on a Raspberry Pi, as it might be a good host for Roon extensions.
Important notes!!
Use the install script and extensions at your own risk!
Make regular backups of your Roon database.
The install script and extensions are in beta status, as is the API they depend on. This means that there can be small or even bigger issues!
Tests are performed on Fedora and Arch Linux but other distros should work as well.
If you are already running some Roon extensions manually you should stop them first.
If something goes wrong during installation please copy the output of the install script, post it in this thread and tell which Linux distro and version youâre using.
Tested on a fresh DietPi v6 Raspberry Pi Zero W. Installed the pre-reqs by âapt-get install git npmâ but needed to use DietPi to install node.js (ânodeâ in the prereq array in the install script).
Authorized in Roon, took a few seconds to populate the extensions, and installed Alarm Clock successfully.
mv: cannot move âroon-extension-manager.shâ to â/home/rene/.RoonExtensions/lib/â: Not a directory
Setting up serviceâŠ
Created symlink /etc/systemd/system/multi-user.target.wants/roon-extension-manager.service â /etc/systemd/system/roon-extension-manager.service.
Roon Extension Manager installed successfully!
Select Settings->Extensions on your Roon Remote to manage your extensions.
The ~/.RoonExtensions dir is empty. Service file is installed but understandably fails to load.
It goes wrong at the Configuring npm step, the extensions ended up in the /usr/lib directory. I will add some checks to make sure that installation doesnât move on in this case.
Can you check a few things for me?
Is there an npmrc file in the /usr/etc directory or in your home directory?
The correct installation directory is configured via the .npmrc file in your home directory, but I donât know if this is used in the sudo case. What is the output of npm config get if you rename this file?
rene@linuc:~$ npm config get
; cli configs
user-agent = "npm/3.10.10 node/v6.12.3 linux x64"
; node bin location = /usr/bin/node
; cwd = /home/rene
; HOME = /home/rene
; "npm config ls -l" to show all defaults.
rene@linuc:~$
You are now back at the default configuration. I donât know if this solves the problem, quickest way to find out is give it another try. In the worst case you have to repeat the clean up and I have to continue the investigation.
Hi Jan,
Iâve just installed Roon-Extension-Manager with the installation script on my new fresh install of Fedora 27 minimal install which runs Roon Server.
It appears that Extension Manager fistly blinking about 5 or 6 time in âExtensionsâ of Roon Settings Window and then disappears. So I donât get Extension Manager anymore.
âsystemctl status roon-extension-managerâ command gives me the following result:
ReferenceError: REPOS_GIT is not defined
at ApiExtensionInstaller.query_installs (/root/.RoonExtensions/lib/node_mod ules/roon-extension-manager/node_modules/node-api-extension-installer/lib.js:121 :74)
at exec (/root/.RoonExtensions/lib/node_modules/roon-extension-manager/node modules/node-api-extension-installer/lib.js:701:17)
at ChildProcess.exithandler (child_process.js:267:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:554:12)
[root@RoonServer roon-extension-manager]#
It can easily adapted to install the Roon Extension Manager by changing the GIT link in the âFetch Softwareâ section and by changing the paths in the âConfigure to start at bootâ section.
If there is interest - I can do a complete write up to install Roon Extension Manager on DietPi.
@Dan_Knight - I donât have a login for the DietPi forums. Do you believe there is any interest in this over there?