Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Stream Your Own Music with Navidrome

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Navidrome is a free, open-source music server that lets you stream your personal music collection from your own hardware. You install it on a computer, NAS, or small server, point it at your music folder, and then access your library from a web browser or any Subsonic-compatible app on your phone, tablet, or desktop. This guide walks you through the entire setup, from installing the server to playing your first song remotely.

What You'll Need

  • A computer, NAS, or cloud VPS that runs 24/7 (or at least whenever you want to listen).
  • A music folder with your audio files (MP3, FLAC, AAC, OGG, etc.).
  • Administrator access to install software on that machine.
  • (Optional) A domain name or dynamic DNS service if you want to access your music from outside your home network.
  • (Optional) A reverse proxy like Caddy or Nginx for HTTPS and easier port management.

Step-by-Step

  1. Install Navidrome. The easiest way is with Docker. Create a directory for Navidrome data (e.g., ~/navidrome) and a docker-compose.yml file with the official image deluan/navidrome:latest. Mount your music folder to /music and the data folder to /data. Expose port 4533. If you prefer not to use Docker, download the binary from the GitHub releases page and run it directly.
  2. Configure the server. Navidrome reads configuration from environment variables or a navidrome.toml file. At minimum, set ND_MUSICFOLDER to the path of your music directory (inside the container, that's /music) and ND_DATAFOLDER to /data. You can also set ND_BASEURL if you're using a subpath.
  3. Start the server. Run docker-compose up -d (or docker run if you skipped Compose). Check the logs to confirm it started without errors.
  4. Create your admin account. Open a browser and go to http://localhost:4533 (or your server's IP). The first time you visit, Navidrome will ask you to create an admin user. Do that and log in.
  5. Let it scan your library. Navidrome automatically scans the music folder you mounted. It reads tags (ID3, Vorbis comments, etc.) to build your library. Large collections may take a while; you can watch progress in the admin UI under "Status".
  6. Explore the web UI. You can now browse albums, artists, and playlists directly in the browser. Click any song to start playing. The web player supports streaming and downloads.
  7. Set up remote access (optional). To listen from outside your home, you need to expose Navidrome. The safest way is to use a reverse proxy (Caddy is simple) that handles HTTPS and forwards requests to Navidrome's port. You'll also need to forward a port on your router (usually 443) to your server. If you don't have a static IP, use a dynamic DNS service like DuckDNS or a tunnel like Tailscale.
  8. Install a mobile app. Navidrome is compatible with any Subsonic API client. Popular choices include DSub (Android), iSub (iOS), and Sonixd (desktop). Enter your server URL (e.g., https://music.example.com), your username, and your password. The app will sync and let you stream or download for offline listening.

Common Mistakes

  • Wrong music folder path. In Docker, the path must be the container path, not the host path. Double-check that you mounted the correct host directory to /music.
  • Forgetting to set the data folder. If you don't set ND_DATAFOLDER, Navidrome might use a default location that isn't writable, causing errors.
  • Using a weak password. Since you're exposing your music server, use a strong, unique password for the admin account.
  • Not updating Navidrome. Old versions may have bugs or security issues. Check the release page periodically and update your Docker image.
  • Assuming all file formats work. Navidrome relies on your browser or app to decode audio. Some formats like WMA or ALAC might not play in all browsers. Stick to MP3, AAC, OGG, or FLAC for broad compatibility.

Tips

  • Use a reverse proxy with HTTPS. Not only does it encrypt your traffic, but it also avoids the "mixed content" warning when using a Subsonic app over HTTP.
  • Organize your music folder. Navidrome reads tags, not folder structure, but a clean structure (Artist/Album/Track) makes it easier to manage.
  • Enable Last.fm scrobbling. In the admin settings, you can connect your Last.fm account to automatically scrobble plays.
  • Set up transcoding. If you have limited bandwidth, enable transcoding in the admin panel to stream lower bitrates (e.g., 128kbps MP3) to mobile networks.
  • Back up your data folder. The data folder contains your database and playlists. Back it up regularly, especially before upgrading.

Troubleshooting

  • Can't access the web UI. Check that the container is running (docker ps). Ensure port 4533 is not blocked by a firewall. Try accessing via localhost on the server itself.
  • No music appears. Verify the music folder is correctly mounted and contains files. Check the Navidrome logs for scan errors. If you have subfolders, make sure they are not hidden or permission-restricted.
  • Playback stops or skips. This is often a network issue. Try lowering the streaming quality in the app settings. Also, check that your server has enough CPU to transcode if you enabled it.
  • Apps can't connect. Double-check the URL you entered in the app. It should be the full base URL, e.g., https://music.example.com or http://192.168.1.10:4533. Ensure you're using the correct username and password.
  • Login fails after updating. Sometimes a major update changes the database schema. If you have a backup, restore it. Otherwise, try deleting the data folder and re-scanning (you'll lose playlists).

Frequently Asked Questions

Can I use Navidrome with Spotify or Apple Music?

No. Navidrome only streams your own music files. It does not integrate with commercial streaming services.

Does Navidrome support multiple users?

Yes. You can create additional users in the admin panel. Each user has their own playlists and listening history.

Can I download songs from Navidrome for offline listening?

Yes. Most Subsonic apps have a "download" or "offline" feature that saves songs to your device.

What is the Subsonic API?

It's a standard API that Navidrome implements. It allows third-party apps to connect to your server and control playback, browse your library, and manage playlists.

How do I update Navidrome?

If using Docker, pull the latest image (docker pull deluan/navidrome:latest) and recreate the container. Always back up your data folder first.

Can I run Navidrome on a Raspberry Pi?

Yes. It runs on ARM architecture. Use the deluan/navidrome:latest image which supports ARM, or download the ARM binary.