Docker volume mapping configuration on QNAP (ref#AEOGDJ)

Hi! What’s not quite right with Roon?

· None of the above quite fits

None of the above quite fits

· None of these quite match

Tell us what's going on

· QNAP Docker configuration problems
Please tell me how to fill out the Docker volume mappings exactly for my configuration (see attached Directory structure)

Tell us about your home network

· Switches: DLink DMS-108, Cisco Meraki MS220-8P,
Router: Sagemcom F3896LG
QNAP NAS TVS-h474 3 Hard Disks in Raid 5 (DataVol1), 1 SSD (DataVol2)

Please assist, no technical Docker or Linux knowledge here, have no clue how to fill out the Docker Configuration Editor correctly

Hello @Maarten_Vos

To configure your Docker volume mappings, follow these steps:

  1. /Roon (Database & App): Create a folder named roon inside the existing Container folder. This is where the Roon application and your database will be stored. Mapping: /share/Container/roon
  2. /Music: Point this to the specific folder on your QNAP where your music is stored. It is not clear from the screenshot which folder contains your audio files, but as an example, if they are in the Multimedia folder, use this path. Mapping: /share/Multimedia
  3. /RoonBackups: It is recommended to create a dedicated backup folder on your HDD (DataVol1). Create a folder there (for example, RoonBackups) and map the container to it. Mapping: /share/RoonBackups

Here is the corresponding configuration for your docker-compose.yml file:

volumes:
  - /share/Container/roon:/Roon
  - /share/Multimedia:/Music
  - /share/RoonBackups:/RoonBackups

Hi @Maarten_Vos,

Our diagnostic servers don’t show any containerized servers since you last posted so we’re not confident this issue has been resolved. Please let us know how we can assist further after you’ve tried the steps @vadim shared in the post above.

Here is a guide you can use that additionally lays out the full process:

Ha thank you, finally got it working.

But I have 3 music folders on my NAS, now only DataVol1/Recordings02 is connected, How to proceed to connect DataVol1/Recordings01 and DataVol1/Recodings03 ?

Current configuration:

services:
roonserver:
image: Package roonserver · GitHub
container_name: roonserver
network_mode: host
environment:

  • ROON_INSTALL_BRANCH=production
  • TZ=Europe/Amsterdam
    volumes:
  • /share/Container/roon:/Roon
  • /share/Recordings02:/Music
  • /share/RoonBackups:/RoonBackups
    restart: unless-stopped
    cap_add:
  • SYS_ADMIN
  • DAC_READ_SEARCH
    security_opt:
  • apparmor:unconfined
  • label:disable
    logging:
    driver: local

Thank you

The simplest way forward would be as follows:

Create DataVol1/Music on the NAS, and move Recordings01, Recordings02 and Recordings03 to the new folder.

Then change the Docker compose file to include /share/Music:/Music, replacing the original line, and rebuild.

Finally, in Roon, setup each of the three recordings folders as library locations.

Thanks …. but QNAP help clarifies how to move a folder to a different VOLUME not how to move them to a (new) folder. (They are way too big to try a copy).

I accidentally hit Enter before competing my post, so please revisit.

Do not create a new volume because all the files are on a single volume, and moving files is near instantaneous.

Thanks for the clarification warning.

Still do not understand how to MOVE the 3 recordings folders to /Music (my very limited understanding is these recording folders are “shared folders” and cannot be moved).

Do you have command line access on the NAS?

If so, some straightforward Linux commands will do this for you. I not familiar with QNAP volumes, but I believe DataVol1 is mounted at /share/CACHEDEV1_DATA.

Therefore, you only need to execute the following.

cd /share/CACHEDEV1_DATA
mkdir Music
mv -t Music Recordings01 Recordings02 Recordings03

Thanks, but no clue on direct Linux access (and getting deeper in unknown territory to me).

You may be able to use File Station to create the new folder, and move the folders.

However, so not use a remote computer as this will copy rather than move the folders.

Thanks for reaching out, but as per my original question: you cannot move shared folders un file statuon.

You can move folders under the mount, i.e., DataVol1. File Station 5 has the move feature in the toolbar and context menu.

Travelling till end off the week.

There was/is NO move option in Filestation (for shared folders) only copy.

Moving Files and Folders

You can only move subfolders underneath a mount. You can move files or folders either individually or in batches.

Thanks for trying to help me out but … as stated in my original question there is NO move option in the menu (only “copy”).

Well this appears contrary to the QNAP documentation.

It may be helpful if you could take a screenshot of what you’re seeing and upload here.