{"id":2689,"date":"2026-11-22T13:42:02","date_gmt":"2026-11-22T13:42:02","guid":{"rendered":"https:\/\/cdblog.cdstealer.com\/?p=2689"},"modified":"2026-11-22T16:33:30","modified_gmt":"2026-11-22T16:33:30","slug":"navidrome","status":"publish","type":"post","link":"https:\/\/cdblog.cdstealer.com\/?p=2689","title":{"rendered":"Navidrome"},"content":{"rendered":"\n<h1 class=\"wp-block-heading has-green-color has-text-color has-link-color wp-elements-1\"><strong>Navidrome<\/strong> Music Streamer<\/h1>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"96\" src=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/navidrome-banner.png\" alt=\"\" class=\"wp-image-2692\" srcset=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/navidrome-banner.png 462w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/navidrome-banner-300x62.png 300w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/navidrome-banner-150x31.png 150w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h2 class=\"wp-block-heading has-green-color has-text-color has-link-color wp-elements-2\">Take your music back!<\/h2>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">I've never used any streaming services and never will!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A friend uses\/d Spotify and became uncomfortable with not owning any of the music which could also be taken away at will.  So on my search for a good self hosted streaming service, I came across <a href=\"https:\/\/www.navidrome.org\/\" target=\"_blank\" rel=\"noopener\">Navidrome<\/a>.<br>After some reading I took the plunge.  The purpose of this page is to walk through the installation process (gentoocentric).<\/p>\n\n\n\n<p class=\"has-green-color has-text-color has-link-color wp-elements-3 wp-block-paragraph\">Prerequisits<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A web server:  apache<\/p>\n\n\n\n<p class=\"has-green-color has-text-color has-link-color wp-elements-4 wp-block-paragraph\">Not Covered:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DNS<br>SSL Certs<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-green-color has-text-color has-link-color wp-elements-5\">Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I just did this is the user directory as we'll move the file elsewhere.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Build the binary:<br>$ git clone <a href=\"https:\/\/github.com\/navidrome\/navidrome\">https:\/\/github.com\/navidrome\/navidrome<\/a><br>$ cd navidrome<br>$ make setup # Install build dependencies<br>$ make build # Build UI and server, generates a single executable<br># mkdir \/opt\/navidrom \/etc\/navidrome\/ \/var\/lib\/navidrome \/var\/log\/navidrome<br># mv navidrome \/opt\/navidrome\/navidrome<br># chmod 644 \/opt\/navidrome\/navidrome<br># chmod 755 \/opt\/navidrome \/etc\/navidrome \/var\/lib\/navidrome \/var\/log\/navidrome<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Create the config:<br># vim \/etc\/navidrome\/navidrome.ini<br><br>Scanner.Schedule = '@every 24h'<br>MusicFolder = '\/path\/to\/Music'<br>DataFolder = '\/var\/lib\/navidrome'<br>LogFile = '\/var\/log\/navidrome\/navidrome.log'<br>Address = &lt;your listening ip><br>Deezer.Enabled = false<br>Jellyfin.Enabled = false<br>LastFM.Enabled = false<br>ListenBrainz.Enabled = false<br>EnableScrobbleHistory = false<br>EnableSharing = false<br>EnforceNonRootUser = true<br>EnableTranscodingConfig = true<br>PasswordEncryptionKey = &lt;some secret><br>AuthRequestLimit = 5<br>AuthWindowLength = \"20s\"<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">\/opt\/navidrom\/       # Binary location    <br>\/etc\/navidrome\/      # Config location<br>\/var\/lib\/navidrome\/  # DB location<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Create the systemd service:<br><br># You will need to disable PasswordEncryptionKey and then re-enable before starting the service<br><br># \/opt\/navidrome\/navidrome service install -u apache -w \/var\/lib\/navidrome\/ -c \/etc\/navidrome\/navidrome.ini<\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-green-color has-text-color has-link-color wp-elements-6\">Configure Apache<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">vim \/etc\/apache2\/vhosts.d\/00_default_ssl_vhost.conf<br><br>&lt;VirtualHost *:443&gt;<br>        Header set Access-Control-Allow-Origin \"&lt;music.yourdomain.com&gt;\"<br>        Include \/etc\/apache2\/vhosts.d\/default_vhost.include<br>        ##### CSP Content-Security-Policy #####<br>        Header set X-Nonce \"expr=%{base64:%{reqenv:UNIQUE_ID}}\"<br>        SSLEngine on<br>        &lt;FilesMatch \"\\.(cgi|shtml|phtml|php)$\"&gt;<br>                SSLOptions +StdEnvVars<br>        &lt;\/FilesMatch&gt;<br><br>        &lt;Directory \"\/&lt;webroot&gt;\/localhost\/cgi-bin\"&gt;<br>                SSLOptions +StdEnvVars<br>        &lt;\/Directory&gt;<br>        Options IncludesNoExec<br>        ProxyRequests Off<br>        ProxyPass \/ http:\/\/&lt;listening IP&gt;:4533\/<br>        ProxyPassReverse \/ http:\/\/&lt;listening IP&gt;:4533\/<br>        #RequestHeader set X-Forwarded-Proto http<br>        SSLProxyEngine On<br>        SSLProxyVerify none<br>        SSLProxyCheckPeerCN off<br>        SSLProxyCheckPeerName off<br>        SSLProxyCheckPeerExpire off<br>        SSLCertificateFile \/path\/to\/fullchain.pem<br>        SSLCertificateKeyFile \/path\/to\/privkey.pem<br>        ServerName music.yourdomain.com<br><br>        &lt;IfModule headers_module&gt;<br>        RequestHeader set X-HTTPS 1<br>        &lt;\/IfModule&gt;<br>        &lt;Proxy https:\/\/music.yourdomain.com&gt;<br>                Header always set Access-Control-Allow-Origin \"*\"<br>        &lt;\/Proxy&gt;<br>&lt;\/VirtualHost&gt;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-green-color has-text-color has-link-color wp-elements-7\">Start the service<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable --now navidrome<br># apachectl graceful<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If all went well, open your browser to https:\/\/music.yourdomain.com.<br>Your first login will be the admin account<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Further reading:  The docs are really good, so read up <a href=\"https:\/\/www.navidrome.org\/docs\/\" target=\"_blank\" rel=\"noopener\">here<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Navidrome Music Streamer Take your music back! I've never used any streaming services and never will! A friend uses\/d Spotify and became uncomfortable with not owning any of the music which could also be taken away at will. So on my search for a good self hosted streaming service, I came across Navidrome.After some reading &hellip; <a href=\"https:\/\/cdblog.cdstealer.com\/?p=2689\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Navidrome<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[273,1],"tags":[213,10,18,368,370,371,367,369],"class_list":["post-2689","post","type-post","status-publish","format-standard","hentry","category-audio","category-gentoo","tag-gentoo","tag-install","tag-linux","tag-music","tag-navidrome","tag-self-hosted","tag-spotify","tag-stream"],"_links":{"self":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/2689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2689"}],"version-history":[{"count":9,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/2689\/revisions"}],"predecessor-version":[{"id":2702,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/2689\/revisions\/2702"}],"wp:attachment":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}