Synology SPK-Package: Development

For me it is under /volume1/@appstore

The Roon_Database folder needs to hold your previous root RoonServer directory, not the database directory that resides under it. One of the mistakes i made, in case that helps.

On the Synology the files should be stored in

/var/packages/RoonServer/target/Roon_Database
I can’t check it at the moment as I am not home.
In that folder should be the directories RoonServer and RAATServer.

The /var/packages/RoonServer/target folder is actually a symbolic link to the app on your chosen installation volume.

Oops, my mistake. I forgot about my iTunes library and just added the folders, which explains why all albums showed up as new.

Need to move that first before I can run Roon on my Synology box. :slight_smile:

@crieke - again just wanted to take a moment to thank you for this wonderful body of work. All functions work.

1 Like

You are welcome. I wanted to make it work for myself anyway and why shouldn’t I share it then…
This was also a good opportunity for me to investigate about spk files. :wink:

Please keep in mind that the latest downloadable spk is not final yet.
For example: Don’t try the upgrade option in the package center. It will delete Roon and the database.
In the version (I am currently working on), this will just replace the scripts that are required by the synology system (as Roon will handle its update process on its own).

1 Like

I appear to have a problem with the install - hope you can help. I have a Diskstation DSM 2413+ INTEL Atom D2400, running DSM 6 Update 3.

The package states a successful install, but looking at the RoonServer logs it appears to be restarting over and over again, this is the end of the log file:

The RAATServer logs state:

04/24 16:12:06 Info: Starting RAATServer v1.2 (build 123) stable on linuxx64
04/24 16:12:06 Warn: [RAATServer] detected no ALSA support

Hope you can point me in the right direction, let me know if I can provide additional information. thanks in advance.

Roon Developers:

Clearly you can see there is a lot of interest in a Roon package for the Synology NAS.

Do you have any comments about the effort thus far. What are your suggestions for improving the package?

As there is no ALSA Support detected by Roon. It won’t be able to play sounds. Currently I just tried to get the Music Management software installed on the Synology (without the option to play something directly on the device).

Despite of this warning, is your RoonServer running and can you connect to it?

Out of curiosity I looked at the check-alsa binary and found out that a library file (libasound.so.2) is missing. I could find it on my device and it has been installed with the “Python” or “AudioStation” package. After linking it to the Appliance folder, the alsa-test passed.

I just connected a ESI Dr.DAC to my Synology and could play music from my library to that device.

Despite of this warning, is your RoonServer running and can you connect to it?

I cannot connect to the Server, and don’t see it on any Roon Control (iPad, Windows PC). In the folder
/@appstore/RoonServer/Roon_Database/RoonServer/Logs - is the following:

Which just keep cycling, with the same output, as per my previous post, in each log file.

UPDATE: just noticed in the processes RoonServer is always running. But RoonAppliance.exe shows in the list then disappears, then a few seconds later appears again etc, Could this be what is failing to load?

@krjtx - Did you do a clean install on your NAS or did you import a Roon database as well?

Just trying to find what might be different on your system.

Mine has worked with both a clean install ( no database import and with a database import )

DS1812+

Do you mean SSD in this configuration has near zero impact so ?

I’m going to buy an SSD and stick in my ds1515+ to see what it does for performance. Any ideas if I should use Synology’s SSD cache feature or just make a new volume of it?

Short update:
I have builtin a check if AudioStation is installed on the system. If so a missing library is linked to the Roon Appliance folder from the AudioStation package. This should fix the ALSA compatibility check and you are able to play music directly from your NAS (if a USB Audio device is connected). I tried it yesterday and it works.
So if you want to use this feature you need AudioStation installed. I am still unsure if I could put that library into my package (need to get some info about license and if the library is the same file on all x64 models).

I am unsure about @krjtx issue. It seems the Mono framework is not acting correctly. If anyone else is experiencing this please let me know to find out what might be the cause of this.

You can specify any folder for import now as long as it contains a “RoonServer” and “RAATServer” folder.

I have tried both ways to perform the install.

@remi_alberge - Yes, even though the RoonServer and database are on a SSD volume, using the search function in Roon has a delay of a few seconds ( 4-5) before returning results.

@Lundmark - I recommend making a new volume on the SSD and install RoonServer on it, that will yield better performance for Roon than using the cache feature

I see. But I just read you comment about searches that still take a long time. Maybe SSD is unnecessary then?

@Lundmark - Well I have not tried it without using the SSD volume. When I had RoonServer running on either MacOS or Windows I always had it on a SSD drive.

I am going from guidance in this post.

I can’t get it to work with iTunes. It intermittently says it can’t find the XML, and no albums show up. Any ideas?

I just tested it on a native debian install. Same issue there. So I guess it has nothing to do with the synology/spk file…