Roon
music.d5e.dev
Hostname: music.d5e.dev
Icon name: computer-desktop
Chassis: desktop 🖥️
Machine ID: b0c26d90a9f04f029957bba217628dc4
Boot ID: 04dee03dd38741fe89f2cac13169bd31
OS: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-28-amd64
Architecture: x86-64
Hardware: [HP PROMO 260 G2 Mini](https://support.hp.com/id-en/drivers/hp-260-g2-desktop-mini-pc/10049306)
Firmware: 02.05
Ethernet GBe: 192.168.1.200
**SSD 4TB**
Model Number: CT4000BX500SSD1
Serial Number: 2441E98EEE01 Firmware: M6CR082
**RAM 32GB** / **Max ram: 32 GB**
RAM Bank #1: TEAMGROUP-SD4-3200 16 GB / DDR4 Synchronous 2133 MHz
RAM Bank #2: TEAMGROUP-SD4-3200 16 GB / DDR4 Synchronous 2133 MHz
**Network interfaces**
Realtek RTL8111/8168/8411 PCI Gigabit Ethernet Controller (rev 10) / enp1s0 192.168.1.200
Realtek RTL8723BE Wireless Network Adapter
**HDMI + DVI connector**
Configuration
- Computer name:
- uname -a
- HDD Specification:
- sudo /usr/bin/lshw -short -C disk
- sudo /sbin/hdparm -I /dev/sda
- sudo /usr/bin/lshw -class disk -class storage
- RAM
- sudo /usr/bin/lshw -class memory
- free -m # show current memory use in megabytes
- USB
- lsusb
- PCI buses and devices
- lspci
- Network interfaces, default gateway and routing tables
- ip route | column -t
Initial configuration
sudo apt update -y;sudo apt upgrade -y sudo apt full-upgrade -y sudo apt list –installed sudo apt-get install nfs-common curl nano vim gnupg2 htop ffmpeg libasound2 cifs-utils -y
sudo groupadd roon adduser bhdicaire;adduser roon add sudo add shh key
sudo usermod -a -G roon roon bhdicaire
adduser bhdicaire adduser roon
apt-get install nfs-common gpg https://reintech.io/blog/setting-up-plex-media-server-on-debian-12
smbpasswd -a bhdicaire
vi /etc/samba/smb.conf // Samba testparm /etc/samba/smb.conf chmod 777 /mnt/files systemctl restart smbd.service sudo chmod -R 777 ./c
Roon Server x86_64 installation
1 Installation in
/opt/RoonServer2 Data is stored in/var/roon/RoonServer3. Music is stored in /media/c, j, and r 4. The app will run asroot5. The app is launched immediately, and will relaunch automatically at boot Source: Roon Documentation
curl -O -L https://download.roonlabs.com/builds/roonserver-installer-linuxx64.sh chmod +x roonserver-installer-linuxx64.sh sudo ./roonserver-installer-linuxx64.sh
Copy music locally
sudo mount -t nfs f.d5e.dev:/var/nfs/shared/Music /mnt/unas sudo rsync –chown=roon:roon –delete-before -vrP /mnt/unas/C/ /media/c/ sudo rsync –chown=roon:roon –delete-before -vrP /mnt/unas/J/ /media/j/ sudo rsync –chown=roon:roon –delete-before -vrP /mnt/unas/R/ /media/r/
Maintenance
Roonserver for Linux runs as a service: it’s loaded automatically at boot To stop and start manually:
- sudo systemctl stop roonserver
- sudo systemctl start roonserver
shutdown -r now
Copy music locally
uNAS Music is available as read only for device Music.D5E.dev
sudo mount -t nfs f.d5e.dev:/var/nfs/shared/Music /mnt/unas sudo mkdir /mnt/bck;sudo chmod 777 /mnt/bck sudo mount -t nfs f.d5e.dev:/var/nfs/shared/bckRoon /mnt/bck sudo rsync –chown=roon:roon -avzh /mnt/unas/C/ /media/c/ –delete sudo rsync –chown=roon:roon -avzh /mnt/unas/J/ /media/j/ –delete sudo rsync –chown=roon:roon -avzh /mnt/unas/R/ /media/r/ –delete
sudo rsync –chown=bhdicaire:staff -avzh /Volumes/Music/ /Volumes/MusicBck
cat /etc/mtab copy stuff /etc/fstab
=================================================
Static hostname: music.d5e.dev
Icon name: computer-desktop
Chassis: desktop 🖥️
Machine ID: b0c26d90a9f04f029957bba217628dc4
Boot ID: 04dee03dd38741fe89f2cac13169bd31
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-28-amd64
Architecture: x86-64
Hardware Vendor: HP
Hardware Model: PROMO 260 G2 Mini
Firmware Version: 02.05
192.168.1.200 Ethernet 1G
bhdicaire
Roon Core Machine Include your operating system and machine info (Model, CPU, RAM) Networking Gear & Setup Details Your network gear (model of routers/switches) and if on WiFi/Ethernet Connected Audio Devices Specify what devices you’re using and their connection types, like USB/HDMI/Chromecast, etc. Number of Tracks in Library Tell us how large your music library is, eg. “30,000 tracks”
https://help.roonlabs.com/portal/en/kb/articles/faq-what-are-the-minimum-requirements
thought I just needed ports 9003 (UDP), 9100-9200 (TCP) but it looks like Roon is trying to talk to clients on some other port(s) and UniFi’s firewall logging isn’t detailed enough to tell me what that port is.
https://community.roonlabs.com/t/roon-and-music-devices-on-a-unifi-vlan/249139/9
ARC Setup
Roon Core with open ports for Arc must number in the 10s or 100s of thousands at most. Not a very attractive target and unlikely any hacker is going to spend time trying to find a way in as the gain for the effort would be miniscule. I use a UDM Pro as well and have seen a few attempts at the ARC port - nothing to worry about - just open ports being scanned as mentioned by Martin a few posts up. If you’re concerned - easy to do on the UDM Pro - block all traffic from a few countries like Russia, Bulgaria, Belarus, China… unless of course you need them. It won’t stop all scans, but should stop a fair few
RIP
DBPoweramp for cd ripping
And the handful of my +200 CD’s that DBPoweramp didn’t want to read, I’ve ripped with XLD. Everything is now stored as uncompressed FLAC.
Dbpoweramp comes with a companion app called Perfecttunes which is a very good tagger.
Music Downlaoder ??
Not sure it’s working
alacleaker/apple-music-alac-downloader: Apple Music ALAC Downloader
Something you can consider also if you want to get music but not using streaming services is to use qBittorent and a site like rutracker.org 5 and use the mini just for that. You can extend it as a media server if you want in the future by simply connecting it to your TV and download movies or TV shows.
References
Roon hardware Setup
https://help.roonlabs.com/portal/en/kb/articles/roon-optimized-core-kit#ROCK_For_Small_to_Medium-Sized_Libraries https://help.roonlabs.com/portal/en/kb/articles/migrating-to-rock#Storage https://help.roonlabs.com/portal/en/kb/articles/rock-install-guide#2BConfiguring_the_BIOS
Roon Install
https://hub.docker.com/repository/docker/elgeeko/roon-server
https://github.com/elgeeko1/roon-server-docker
https://github.com/elgeeko1/elgeeko1-roon-server-ansible
https://hub.docker.com/r/steefdebruijn/docker-roonserver
database backup to your new Core. If you look at the Roon Faq pages there are a number of them on Migration. See: Roon Labs Help Center Moving Roon to a new Server 16 Your Roon database contains your edits, playlists, favorites, play history, login information, and settings. When setting up a new dedicated server (like a Nucleus), or just moving between Roon and Roon Server, you may want to transfer the database…
and Roon Labs Help Center FAQ: How do I move my collection to a new folder, hard drive or NAS, Will I… 10 If you’re going to move all or part of your music library, please follow the strategy below to ensure Roon can accurately track your files to their new location. If you are adding new files that Roon has never seen, then you can skip this whole …
and Don’t forget to turn off the old core, install a different OS. Lifted from the Migration page to highlight
=======
Setup Roon Core
community@roonlabs.com & contact@roonlabs.com https://roonlabs.com/
- Install Debian via USB
- No desktop, SSH & System Utility
- create root & bhdicaire user account
sudo apt update -y;sudo apt upgrade -y // sudo apt full-upgrade -y if required
-
Install and configure SUDO as root apt-get install sudo -y sudo usermod -aG sudo bhdicaire sudo adduser roon sudo usermod -aG sudo roon ?? Verify: groups bhdicaire
-
Samba sudo apt-get install samba samba-client -y sudo vi /etc/samba/smb.conf sudo systemctl restart smbd.service Samba documentation Samba man pages – smb.conf testparm /etc/samba/smb.conf
-
Install minimal packages
sudo apt-get install curl nano vim gnupg2 htop -y sudo apt list –installed
- Roon
1 Installation in
/opt/RoonBridgeor/opt/RoonServer2 Data is stored in/var/roon/RoonBridgeor/var/roon/RoonServer3 The app will run asroot4 The app is launched immediately, and will relaunch automatically at boot
sudo apt-get install ffmpeg libasound2 cifs-utils -y