Roon Extension Manager v0.11.9 [Obsolete]

When you open the Extension Manager after a restart of the app, does it then work first time and only show blank screen after you had a look at the Deep Harmony settings, or is it blank right away?

As Deep Harmony is not included in the Extension Repository, there is no reason, for your use case, to run the Extension Manager. Therefor, I don’t say this easily :wink: , a workaround might be to disable the Extension Manager in DietPi. You do this by entering the following two commands via an ssh connection:

sudo systemctl stop roon-extension-manager
sudo systemctl disable roon-extension-manager

You can always enable it again by entering:

sudo systemctl start roon-extension-manager
sudo systemctl enable roon-extension-manager

To make the analysis of the log files easier for me, it will help if you first download the logs and afterwards restart or install the Web Controller again.

Oh, that’s a shame. My nephew has already gone home and I have no one to ask to uninstall the Web Controller and download the Log file and then reinstall it. I hope this will not be a big obstacle. Maybe, before the problem occurs, I can ask my nephew to come to me and do what you ask for.
Regards Robert Tota

Sorry, I wasn’t clear. Your current setup is fine, you keep using the Web Controller till it disappears again and then you do the download.

I understand that the download of the log file must take place after the disappearance of the Web Controller but before it can be restarted or installed again?
Was that what the previous post was about?
Best Regards and thank You for superior work Robert Tota

Exactly what I meant.

@Robert_Tota,

One quick tip, when it is time to download the logs you should also be able to get them via this local link:

http://localhost:2507/extension-logs.tar.gz

No need to use the Roon Controller for this.

1 Like

Hello,
thank you very much for this link to download the log file. I can download log file myself, which is a great help for me. For now, everything works as it should. May as long as possible
Best Regards Robert

Thanks. I uninstalled REM, restarted Roon Server, reinstalled REM and not it’s back to normal. Thanks for the tip, I never actually understood the purpose of REM, but I guess that’s because I wasn’t doing anything that needed it!

You use it to install/update/start extensions that are included in the Extension Repository. It allows you to do this via your Roon remote instead of using text commands in some sort of shell.

Thanks for all the work that went into developing this tool.

I am running Roon Core on my unRaid machine, using this docker. And I installed the extension manager using this docker.

I was able to successfully install the Denon AVR remote app and tested that it works as expected. I don’t really need that at the moment, but it proved things were working. I was really on this path to get the RESTful Roon Remote working.

I use an app called Anymote on my android phone, which allows for custom widget buttons on my device. I use it to control volume, switch inputs, etc for my AVR. And it has the ability to perform network commands, such as HTTP GET. In conjuntion with the RESTful remote, I could conceivably create buttons to perform basic Roon controls like pause, advance, etc. without opening the native Roon app.

However…

I haven’t been able to get the remote to respond to any HTTP GET commands. This morning I looked at the docker log for the extension manager, and I see the following line repeated every so often.

-> CONTINUE 1 Changed {"message":"Started: roon-remote","is_error":false}

After restarting the extension manager and watching the logs, I saw the following:

2020-01-17T17:13:45.215Z - Inf: Terminating process: roon-extension-manager...
-> CONTINUE 1 Changed {"message":"Terminating process: roon-extension-manager...","is_error":false}
2020-01-17T17:13:45.221Z - Inf: Process terminated: roon-remote (SIGTERM)
-> CONTINUE 1 Changed {"message":"Process terminated: roon-remote (SIGTERM)","is_error":false}
{ 'roon-extension-manager': '0.11.4',
'roon-extension-manager-updater': '0.4.0',
'roon-extension-repository': '0.3.5',
'roon-remote': '1.0.0' }
Warning: Docker not found

{ 'roon-extension-manager': '0.11.4',
'roon-extension-manager-updater': '0.4.0',
'roon-extension-repository': '0.3.5',
'roon-remote': '1.0.0' }
Warning: Docker not found

2020-01-17T17:14:24.158Z - Inf: Roon Extension Manager started!
{}
2020-01-17T17:14:24.160Z - Inf: Extension Repository loaded
2020-01-17T17:14:24.166Z - Inf: Started: roon-remote

And I suppose this is what I’m missing… a docker for the RESTful Remote? I took my experiment with the AVR Controller as an indication that the Extension Manager could install the extensions from the repository on their own. Maybe that’s not the case with this particular one. Of course, I can’t find a docker for the remote, and I’m not quite skilled enough to make one myself.

If anyone here can give me some guidance on getting this to work, I would greatly appreciate it. Sorry for such a long post.

One further question… I am having trouble finding where the extension manager stores its own files. I cannot find it in the normal location a new docker would be housing itself. Any ideas?

Thanks,

Ben

There are no unexpected messages in the log snippet.

After installation of the RESTful remote does it appear in the extension list on your Roon remote? If it does, make sure that you authorize the extension by pressing the Enable button.

I never tried this extension myself, so I cannot help you with the specifics, but have you checked the readme for the HTTP GET format and contact details of the author?

They are stored in a Docker volume, if you used the suggested options when creating the container the volume is called roon-extensions.

Thank you, @Jan_Koudijs.

After several tinkering stabs in the dark, I got it working. In the past, I had never assigned an individual ip address for any dockers in unRaid. When I discovered a port conflict between the Web Controller (installed as another test) and another docker, I learned I could assign different IP addresses to Dockers.

Once I reconfigured the Roon Core and the Extension Manager to have unique IP addresses, I started to get somewhere.

The Web Controller worked right away once I pointed to the Extension Manager IP address. And once I assigned port 3000 to the Extension Manager in unRaid, I was able to use the HTTP GET commands directed to the IP of the Ext. Manager.

So… getting somewhere. Thank you.

I did notice the Extension Manager docker shut down for no apparent reason shortly after I got things going. And once I turned it on again, the extensions I had previously installed were not there. But I’m not sure I have the Ext. Mgr installed appropriately… I cannot find where its files are stored still. I installed using unRaids Community Application plugin, which allows for searching dockerhub for dockers. I may need to educate myself more with the way it is being installed vs the recommended settings. More on that later perhaps.

Thank you.

Yesterday I had to reboot the Windows Server 2016 VM after installing security updates and a cumulative update for Windows Server.
All extensions disappeared from Roon while the Roon Extension Manager service is up and running.
Rebooting Roon Core did not change anything.
See the log file attached.

Looks like a configuration file got corrupted. Please try the following:

  • Type services in the Windows search bar and open the Services app

  • Scroll down to the Roon Extension Manager and stop it

  • Go to the installation directory of the Extension Manager and delete logging.json
    %appdata%\RoonExtensions\node_modules\roon-extension-manager

  • Start the Roon Extension Manager service again

1 Like

Thanks @Jan_Koudijs, I deleted the file, started the service again and bingo. :+1:

1 Like

Hi *,
hope someone can help :wink:

I run on an Raspi 3B
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

Installed npm and nodejs
Installed the extension manager as described here https://github.com/TheAppgineer/roon-extension-manager/wiki/Installation under the Linux section

When I
systemctl status roon-extension-manager.service
I get this response:

roon-extension-manager.service - Roon Extension Manager
Loaded: loaded (/etc/systemd/system/roon-extension-manager.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-03-13 18:02:17 GMT; 5s ago
Main PID: 5814 (roon-extension-)
Tasks: 8 (limit: 2200)
Memory: 5.3M
CGroup: /system.slice/roon-extension-manager.service
├─5814 /bin/sh /home/pi/.RoonExtensions/bin/roon-extension-manager.sh
└─5815 node .

Mar 13 18:02:17 raspberrypi systemd[1]: Started Roon Extension Manager.
Mar 13 18:02:17 raspberrypi roon-extension-manager.sh[5814]: /home/pi/.RoonExtensions/bin/roon-extension-manager.sh: 2: cd: can’t cd to node_modules/roon-extension-manager

Maybe the last line is an error?

At the end I cannot see the extension manager in Ronn :frowning:

Any suggestions?

Thanks a lot Charly

Yes, it is. Something isn’t right with the installation.

If you first stop the service:

sudo systemctl stop roon-extension-manager.service

And then enter these commands:

cd /home/pi/.RoonExtensions/lib

../bin/roon-extension-manager.sh

What output do you get?

Hello, I need some help as the Extension Manager “disappeared”:

My setup: Roon Core is on a NUC, Music files on NAS plus Tidal subscription, endpoints are mainly iPad and iMac (latest Mac OS installed), all connected via ethernet cable

Yesterday evening I went successfully through the installation routine for the extension manager on my iMac.
Initially I could see the extension manager in Roon and started to install all the various extensions, altso successfully.

Then all of a sudden no extensions were visible anymore.
I went through the insatllation routine again but without success.

Any advice would be very much appreciated.

Thanx,
Jens

Due to changes in my network I had to move Roon Extension Manager from a Windows Server to a RPi 4 running Dietpi. I was up and running in half an hour.
Thanks for the software and for the detailed installation instructions @Jan_Koudijs :+1:

1 Like