NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
sylvainp
Sep 28, 2019Aspirant
Install ROON Server on ReadyNAS Pro Business Edition with upgrade CPU and RAM
Hi all I want to try out ROON and use my ReadyNAS Pro Business as the Core server. At the moment I don't have any SSD in the unit but I have 6 drive in it. (2 x 3TB RED and 4x 500GB RE3) I upgrade m...
Sandshark
Sep 29, 2019Sensei
StephenB wrote:
Overall - you might want to install debian linux (either as a live boot or a dual boot) on an x86 PC, and try your commands out there before you run them on the NAS. The NAS runs Jessie, there are installation instructions for that release here: https://www.debian.org/releases/jessie/debian-installer/
Or, better yet, install ReadyNASOS on VirtualBox https://github.com/ReadyNAS/sdk/wiki/Setup-ReadyNAS-OS-on-VirtualBox . Though designed primarilly for developers, it's also a safe place to try out other app installations without crashing your actual NAS. The OS version is old, but it will update just like a real NAS.
As for where the files will are installed, that can be found for a standard .deb package with dpkg -L <packagename>. Since ROON installs via a shell script (text file ending in .sh), you can just use and editor to see where it will install, whihc is this:
echo " - $PACKAGE_NAME will be installed in /opt/$PACKAGE_NAME"
echo " - $PACKAGE_NAME's data will be stored in /var/roon/$PACKAGE_NAME"Frabkly, though, I suggest you gain more knowlege of Linux (using the ReadyNASOS VM is a good place to start) before manually installing standard .packages on your NAS, as they will quite often require additional set-up and/or maintentnace via Linux..
sylvainp
Sep 29, 2019Aspirant
Thanks guy's for all the information and link. Guess I will have to take time to read and learn Linux !
- sylvainpSep 29, 2019Aspirant
Just to get an update about ROON.
Finally I couldn't resist and I install the Roon Server on my NAS and it work perfectly with all the command above !
I made an directory "install"
Install Roon on my PC and it see the ReadyNAS as a Core and I connect to it.
At the moment the NAS CPU is running from 10 - 20 % while playing Hi-res FLAC and at the same time it scan all the audio files for: audio analysis, volume, etc.
I have about 6K of titles at the moment which is not big but i still have about 200 CDs to RIP to FLAC in the coming weeks.
So far looks good and I don't think I need to build a NUC as a core at the moment. I am still on a trial for a month and experiment to see if I will pay for it.
So far I really like ROON, but now I need to decide which DAC streamer I will buy for my stereo in the living room.
Thanks
- SandsharkSep 29, 2019Sensei
sylvainp wrote:Just to get an update about ROON.
Finally I couldn't resist and I install the Roon Server on my NAS and it work perfectly with all the command above !
I made an directory "install"
I have no idea what you mean by that. I hope it means you created a directory in your data volume for the installation and the ROON database. If that's not what you mean, then the fact that it currently works doesn't address the concern I was attempting to help you with. Programs that create databases in the OS partition can fill up the OS partition at some point down the road as the size of the database increases, and that's when the problem comes. And the standard Linux installation of ROON creates the database in /var/roon/RoonServer, which is in the OS partition.
- sylvainpSep 29, 2019Aspirant
Ok i'm starting to learn more here.
root@READYNAS:/var/roon# dir
RAATServer RoonGoer RoonServerActually I have 3 directory
RAATServer
RoonGoer
RoonServer
In the data folder I made a folder Roon and a subfolder roonlib
root@READYNAS:/data/Roon/roonlib#
This is where I am for now and I tried to move the Roon database from the var with this command and it didn't work and I get this error
root@READYNAS:/data/Roon/roonlib# cp -rp /var/roon/RoonServer/* /data/Roon/roonlib/*
cp: target '/data/Roon/roonlib/*' is not a directoryI find out the Linux is sensitive to capitalized letter. Well the target directory seem to be right in the command line but for a reason i have the error that it's not a directory
Well i'm a bit stuck here.
I really want to follow your recommendation and move all the Roon database from the Var (OS partition)
to the Data/Roon/roonlib folder and tell Roon to access the database in that particular folder.
At the moment I am stuck here :)
Many thanks for all your help
- sylvainpSep 29, 2019Aspirant
I create all my folder in Data/Roon/roonlib
I move all the RoonServer (files and folders) to my /data/Roon/roonlib
But when I start Roon from fresh I reset everything from scratch.
But for a reason the shortcut made with this command don't work
root@READYNAS:/var/roon# ln -s /data/Roon/ /var/roon/
Roon always recreate a new subfolder in the /var/roon/RoonServer
then recreate all the database folders in the RoonServer
At the moment this folder is around 800 Mb in size (for all database)
I don't find the way to tell Roon to move and use the database in my /data/Roon/
- StephenBSep 30, 2019Guru - Experienced User
sylvainp wrote:
root@READYNAS:/var/roon# ln -s /data/Roon/ /var/roon/
A couple things are wrong here.
- you need to delete var/roon
- your three folders are in /data/Roon/roonlib, not in /data/Roon. (at least that's what you said earlier)
- you have the wrong order in your ln command.
# cd /var
# rm -rf roon # ln -s roon /data/Roon/roonlib - sylvainpSep 30, 2019Aspirant
Well I think I hot it with all your help guy's !!!
First I change a bit of the folder structure.
On my data folder I create a Roon (subfolder) /data/Roon (for the Roon database and settings)
By default Roon is using the /var/roon folder and create 3 folders as said in previous post
the important one is the RoonServer (which save the database) finally with all your help I was successfully moved this folder to the /data/Roon
as suggested in previous post
So here is all my command line I did and it seems to work.
Installation
cd /data
mkdir Roon
cd /Roon
apt-get install bzip2
apt-get install ffmpeg
wget http://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh
chmod +x roonserver-installer-linuxx64.sh
./roonserver-installer-linuxx64.shNow move the RoonServer folder to my /data/Roon and create the link
cp -rp /var/roon/RoonServer/* /data/Roon/
# rm -rf /var/roon/RoonServer
# ln -s /data/Roon/ /var/roon/RoonServerSo far from what i remember this is how I did it. Maybe their is a quicker way.
Wish I knew how to modify the "roonserver-installer-linuxx64.sh" and modify it so when I install it will point to save the database
to my /data/Roon instead of /var/roon
I check the .sh file and I saw this inside:
[Service]
Type=simple
User=root
Environment=ROON_DATAROOT=/var/roon
Environment=ROON_ID_DIR=/var/roon
ExecStart=/opt/$PACKAGE_NAME/start.sh
Restart=on-abort# Defaults
DAEMON_NAME="$PACKAGE_NAME"
DAEMON_EXECUTABLE="/opt/$PACKAGE_NAME/start.sh"
DAEMON_OPTIONS=""
DAEMON_HOMEDIR="/opt/$PACKAGE_NAME"
DAEMON_PIDFILE="/var/run/${PACKAGE_NAME_LOWER}.pid"
DAEMON_LOGFILE="/var/log/${PACKAGE_NAME_LOWER}.log"
INIT_SLEEPTIME="2"export ROON_DATAROOT=/var/roon
export ROON_ID_DIR=/var/roonDo I need to change the lines with =/data/Roon ?
If so how can I modify and after run the file with the custom installation ?
Thanks again all this community Rock and maybe this will also help other with ReadyNAS and want to use ROON without having to use the PC or make a NUC or even buy the expensive Roon Nucleus which is over $1200 !!! and even more for the Nucleus +
- StephenBSep 30, 2019Guru - Experienced User
sylvainp wrote:
Wish I knew how to modify the "roonserver-installer-linuxx64.sh" and modify it so when I install it will point to save the database
to my /data/Roon instead of /var/roon
Do I need to change the lines with =/data/Roon ?
The soft link (in the ln command) was intended to keep you from needing to do that.
Personally I'd have linked /var/roon to /data/Roon myself (not what you did). And of course put the RoonServer in /data/Roon/RoonServer.
BTW, you posted the ln -s command backwards - you must have done ln -s /var/roon/RoonServer /data/Roon/ Easy to do (I have to look up the command every time I use it).
- sylvainpSep 30, 2019Aspirant
Which one is correct ?
I have done this one and the /data/Roon is working and the folder increase in size as I use Roon and add some songs to it
ln -s /data/Roon/ /var/roon/RoonServer
You are telling me I should have done this instead ?
ln -s /var/roon/RoonServer /data/Roon/
Thanks
- sylvainpSep 30, 2019Aspirant
The way I did it if I go see in the /var/roon now I see a RoonServer (file or folder) I don't know.
But in my /data/Roon I dont have a RoonServer folder but I have all the subfolders from the RoonServer.
Well it's a bit confusing !
Does this mean the Databas is still in the /var/roon/RoonServer on the OS partition. Why I ask is because the database is building up
in the /data/Roon folder
Thanks
- StephenBSep 30, 2019Guru - Experienced User
sylvainp wrote:
ln -s /data/Roon/ /var/roon/RoonServer
With this command, you see the following:
root@NAS:/var/roon# ln -s /data/Roon /var/roon/RoonServer root@NAS:/var/roon# ls -al total 4 drwxr-xr-x 1 root root 20 Sep 30 19:40 . drwxr-xr-x 1 root root 154 Sep 30 19:40 .. lrwxrwxrwx 1 root root 10 Sep 30 19:40 RoonServer -> /data/Roon
So this does create a softlink (RoonServer) in /var/roon that links to /data/Roon. If the application writes to /var/roon/RoonServer, it will really be writing to /data/Roon.
- sylvainpSep 30, 2019Aspirant
I tried to other way and it doesn't work.
Roon when Install create the /var/roon/RoonServer and their is subfolders in that folder.
So for me using : ln -s /data/Roon/RoonServer/ /var/roon/RoonServer
Actually create a link RoonServer in /var/roon then if I go in RoonServer I get inside the /Data/Roon/RoonServer
which is working this way
- StephenBOct 01, 2019Guru - Experienced User
sylvainp wrote:
So for me using : ln -s /data/Roon/RoonServer/ /var/roon/RoonServer
Yes, that would create a link from /var/roon/RoonServer to /data/Roon/RoonServer.
If you have other folders in /var/roon, you can do the same thing (moving those folders from /var/roon to /data/Roon, and creating a similar link). Though it'd have been simpler to move all the folders, delete /var/roon, and create one link with ln -s /data/Roon/ /var/roon
Anyway, the database isn't taking up OS partition space.
- sylvainpOct 05, 2019Aspirant
Well so far everything work great with Roon and Tidal. At the moment I don't need an SSD tier but maybe later as my database will expand.
So for people with old ReadyNAS Pro Business Edition by upgrading the OS to version 6 and also the BIOS V2, Upgrading the CPU to Dua Core E7600 or better (XEON) and at least 4 GB or RAM you should be good to go with ROON.
Good experience so far.
Thanks to all the people in the discussion for the help. Really appreciated !
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!