Roon update bricked installation on QNAP TVS 472XT NAS (ref#6QYM7Q)

Hi! What’s not quite right with Roon?

· Music won’t play or issues with my library

Music won’t play or issues with my library

· Local files won't import or appear

Tell us what's going on

· I have a QNAP TVS 472XT NAS that your new update just bricked the installation of Roon on. Ive downloaded Docker and have Roon installed, but I cannot get my music library hooked up. To say I'm angry and frustrated at all this is quite the understatement!!

Tell us about your home network

· The network is not the issue as I can reach all components. I just cannot see any subdirectories on the NAS that contain my data.

Hi @Keith_Hunten,

That is a rough way to land after an update, especially if your library is sitting there but the server container is not seeing it.

Since you already have Roon Server running in Docker on QNAP, the most useful next check is the container’s volume mapping. The QNAP guide for Installing RoonServer on QNAP with Docker shows the expected Container Station setup, and in particular the folders that need to be mounted into the container so Roon can see your music path.

A few things would help us pinpoint what is missing:

  • What exact path on the NAS contains your music, and what path did you map it to inside the Docker container?
  • Is the container running under the same user or permissions as the share that holds the music files?
  • Are the files on a standard shared folder, or inside nested subdirectories of another share?
If you can also paste a screenshot of the Container Station volume settings, that would help a lot. We can take it from there.

Rough is an understatement. I’m quite experienced IT wise but not in Docker, and thought I’ve had it for years I’ve never really got into the TVS427XT NAS. From that perspective the Guide is a bit cryptic.

I installed Docker and Roon in the Admin account and my music is under my personal account - probably the root cause of my issues. If so then please help me sort that out.

My music is in home/Digital Music

I could not find a way to specify that though not for lack of effort! The folder listing (when I could get Roon to run - more on that in a bit) was empty.

Per above the container more than likely is not running under the same user…

I’m not sure if my file is a shared folder unfortunately.

I tried many approaches and lastly logged out of Roon, rebooted, and fired up Roon again. Roon found the NAS and I selected it - and then it clears the dialog box and puts up the animated Roon symbol and never gets beyond that. Sigh. I’ve really got it all balled up now.

No clue how to present the Container Station value settings but will happily do so if you could please provide the way forward.

Will you be able to help me with how to map my music folder path so the Roon Docker instance can see the music files? As noted before Roon in Docker runs, however I cannot decipher how to change the mapping from your tutorial.

I’ve been attempting to read related posts. For now it seems like there are at least two options:

  • Modify the yaml music folder path
  • Add a folder I the Roon client

I’ve tried the second a few times but can’t seem to get the path syntax correct. I’m attaching a screenshot from the File Manager for your reference.

I haven’t tried using a path in a homes directory. I’ll try and check it out tomorrow.

@Stephen - have you had a chance to figure out the correct file path syntax for my music library in /homes and Roon database in another volume yet? And where to specify it?

Sorry, the best laid plans don’t always work out… I’ll see if I can figure it out in the morning and message you back. I’ll add a reminder :slight_smile:

Hello @Keith_Hunten,

Thank you for the excellent screenshot! This makes things very clear and shows us exactly what we need to map your directories correctly to the official Roon Docker image.

Based on your File Station layout, here are the exact absolute paths you need to use in your Docker configuration.

1. Your Roon Database (The Core)

I see the folder RoonOnNAS on DataVol2. Important note: Because this folder belongs to the old, deprecated native QNAP app, we strongly advise against mapping your new Docker container directly to it. Doing so can cause severe permissions issues and database corruption.

Instead, please create a new, empty folder next to it (for example, create a folder named DockerCore inside the RoonServer share). The Docker container will start fresh here, and we will restore your database from your backups.

  • Mapping: - /share/RoonServer/DockerCore:/Roon (assuming you create this new folder)

2. Your Music Folder

Your music is located inside the homes share, under your user folder Keith, in the Digital_Music directory.

  • Mapping: - /share/homes/Keith/Digital_Music:/Music

3. Your Roon Backups

You have a dedicated folder for backups on DataVol2, which is perfect since we will need them to restore your database to the new Docker core!

  • Mapping: - /share/RoonServer/RoonBackups:/RoonBackups

Putting it together

The YAML configuration (Docker Compose) in Container Station, your volumes: section should look exactly like this:

YAML volumes: - /share/RoonServer/DockerCore:/Roon - /share/homes/Keith/Digital_Music:/Music - /share/RoonServer/RoonBackups:/RoonBackups

(Note: The left side of the colon is the path on your QNAP. The right side of the colon with the capital letters is the internal path required).

Next Steps:

  1. Create the new empty folder for the core (e.g., DockerCore).
  2. Update your Container Station settings with these exact volume paths.
  3. Recreate and start the Roon container.
  4. Open your Roon Remote app. Since this is a fresh core, click “Restore a Backup” on the login screen.
  5. Browse to the /RoonBackups folder to select and restore your most recent database backup.
  6. Once restored and logged in, go to Settings > Storage > Add Folder. Select the folder named /Music, and Roon will reconnect your Digital_Music library!

Let us know how the setup and restore process goes!

1 Like

@Vadim, @Stephen -

First many thanks for the response! I know y’all are very busy and really appreciate the help!

However, I had managed to get Roon running the day before this note arrived after many hours of poring over various support posts and a good many experiments. I’ve a few lessons learnt from this experience that I would like to share:

First and foremost the bit that set me on the wrong path was the statement in the web page https://help.roonlabs.com/portal/en/kb/articles/installing-roonserver-on-qnap-with-docker statement “2. In Volumes, leave the default entries as they are unless you need to add more folders.” This I found to be very misleading as I assumed from that I should only do this as a last resort, when in reality modifying these volume settings was the key to getting it to find my files. I suspect from reading the support blogs that my case is not unusual.

I therefore spent many hours poring over the QNAP documentation trying to figure out how to do mapping or linking of subdirectories to provide the path to my music files from within the Roon client. For instance I couldn’t figure out how to make a Unix/Linux link to redirect the file path for the default Music folder in the Docker folder to my existing one.

I did find (oddly after getting Roon running) that there is a file path syntax specified for locating the Digital_Music library inside the Roon client in a help file that you can get to on the Docker Configurator web app for Roon. I actually have not tried using that as once I correctly specified the file paths in the Docker configurator and redoing the Docker Roon image update my music library began to be imported (which is contrary to what was specified in your note to me which said “6. Once restored and logged in, go to Settings > Storage > Add Folder. Select the folder named /Music, and Roon will reconnect your Digital_Music library!“).

After studying the thread https://community.roonlabs.com/t/qnap-mapped-to-music-inside-container-how-to-do-that/319196 I noted that the mappings for the Volumes for /Roon and /RoonBackups should be on an SSD for best performance. This meant for me I had to create a new subdirectory in the folder where my old Roon Database was located (required as if you reuse the old subdirectory it will cause fatal conflicts as you noted in your reply to me). One other item that had confused me is that when specifying the directory path on the QNAP NAS the Volume names are not noted - which I found quite odd. Another bit is the use of /share at the beginning of a file path - not something I’d run across before.

So in the end as noted above I had to specify all three of the volumes.

It would be helpful to other Docker newbies like me to update the web page https://help.roonlabs.com/portal/en/kb/articles/installing-roonserver-on-qnap-with-docker with Volume mapping specifics (including noting that Volume names need not be specified) for those that require it (and why some will need to do it), along with a reprint of the syntax of the file path specification for use within the Roon client. This would get all information required in one spot.

Many thanks again -

Keith

1 Like

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