Guides

Install Jellyfin for music and link it to RoadSonic

Install Jellyfin 12.4 with Docker on Linux or natively, create a Music library and a listening account, then sign RoadSonic in with Quick Connect.

Illustration of a music server connected securely to an iPhone

Container on Linux only, with 2 GiB free

Jellyfin supports its container on Linux hosts only; on Windows or macOS, install the native version. The example pins the 12.4 tag, which follows that branch's fixes. Replace 1000:1000 with the IDs of a user allowed to read your music and to write into ./config and ./cache. Port 8096 is all RoadSonic needs: the 7359/udp port in the official example serves discovery, which the app does not use.

Jellyfin 12.4 measures free space at startup. On our bench the container stopped at once with “The path /config/data has insufficient free space. Available: 1.9GiB, Required: 2GiB.” Keep at least 2 GiB free wherever ./config lives.

services:
  jellyfin:
    image: jellyfin/jellyfin:12.4
    user: "1000:1000"
    ports:
      - "8096:8096"
    volumes:
      - "./config:/config"
      - "./cache:/cache"
      - "/srv/music:/media/music:ro"
    restart: unless-stopped

docker compose up -d

Natively on Linux, Windows or macOS

On Debian, Ubuntu and derivatives, the project provides a script that adds its repository and installs the current stable release; verify its SHA-256 sum before running it as root. On Windows, the installer is on jellyfin.org/downloads. On macOS, drag the app from the DMG into Applications, start it and choose Launch from its menu bar icon; Apple silicon Macs older than macOS 14 need the x86 build.

curl -s https://repo.jellyfin.org/install-debuntu.sh -O
curl -s https://repo.jellyfin.org/install-debuntu.sh.sha256sum -O
sha256sum -c install-debuntu.sh.sha256sum
sudo bash install-debuntu.sh

The setup wizard and a listening account

At http://localhost:8096 the wizard asks for an administrator, and Jellyfin 12.4 refuses an empty password there. Add a library with the Music content type pointing at /media/music, or at your real folder on a native install. Then, on the dashboard's Users page, create an account kept for listening and leave the box that allows transcoded audio ticked: that box is what lets you save mobile data.

Linking RoadSonic

In RoadSonic, add a Jellyfin source and enter the address with its port, for example http://10.0.0.20:8096, turning on “Allow unencrypted local HTTP” for an address on your home network. Then take one of two routes: “Use Quick Connect” and approve the code under Settings → Quick Connect in a browser signed in with the listening account, or user name and password followed by “Test and connect”.

If the connection fails

A message about a missing music library means the account sees no Music library: review the access rights on its user page. A container that stops right after launch may have hit the free-space check described above; its log then says so (docker compose logs). An expired Quick Connect code means more than three minutes went by before approval.

Jellyfin documentation used

By Emmanuel Borges