airsonic media server

Folks these days would love to be able to stream their own music as effortlessly as Spotify, Apple Music, and other proprietary services, but often do not know how to do so. This tutorial is designed to provide a Free Software solution for music and media streaming. Using the documentation docs here and across a bunch of different forums, etc., I was able to set up a reverse proxy (on port 8081) with apache2 to run airsonic media server and I sym-linked it to a Nextcloud music server directory/instance. It works perfectly, and here are my findings and instructions. (As always, use the wiki for the latest instructions.)

sudo apt install tomcat9
cd /etc/tomcat9/
nano server.xml

Change port to needed port (8081)

mv airsonic.war /var/airsonic/
gpg --keyserver --recv 0A3F5E91F8364EDF
gpg --verify artifacts-checksums.sha.asc
sha256sum -c artifacts-checksums.sha.asc
sudo rm /var/lib/tomcat9/webapps/airsonic.war
sudo rm -R /var/lib/tomcat9/webapps/airsonic/
sudo rm -R /var/lib/tomcat9/work/*
sudo mkdir /var/airsonic/
sudo chown -R $USER:$USER /var/airsonic/
ln -s /home/nextclouddata/username/files/Music/Masters music
sudo systemctl stop tomcat9.service
java -jar -Dserver.port=8081 /var/airsonic/airsonic.war

Once you detach from the screen, this will remain running until reboot. Navigate to:


Or, set up a proper reverse proxy web server using apache (or similar server). There are some examples on the repo.

Enjoy, if you want to test, email me and navigate to for a test!

Peace all … oemb1905 #debian

Leave a Reply

Your email address will not be published. Required fields are marked *

JavaScript licenses