-
-
Notifications
You must be signed in to change notification settings - Fork 20
Subsonic
A frequently asked question we get from customers is if we have support for Subsonic. At the time of writing, we don't officially support it, but it can be installed using a script a community member has written.
Subsonic is a web-based media server written in the Java programming language, so it can run on any Java-supported operating system. It is with an easy to use web interface and allows us to share music and videos with multiple users. You can stream your music from home and listen to your music from anywhere.
This installer will use admin/admin to secure the application by default. Please change this password and be sure to disable uPNP and other discovery ports after setup. Please consider reading the script on GitHub before running it. The installer will output a port number with how to access the Subsonic install on completion. Please remember this number.
bash <(curl -sL "https://github.com/brettpetch/hosted-scripts/raw/master/subsonic.sh")
:::tip If something goes wrong during your install, please consider checking the logs. You may find them by running the following:
less -r +G ~/.logs/subsonic.log
These can be helpful in cases where you need to see the output from installation.
:::
On first run, go to https://<hostname.io>:<yourportnumber>/subsonic
to access Subsonic. This should ask you for a login. You will also receive a warning about SSL, which can be ignored safely.
The default login to the program is admin/admin.
systemctl (start|stop|restart|reload|enable|disable) --user subsonic
Run cat $HOME/.config/systemd/system/subsonic.service
via ssh. This should respond with a line that looks like the following and look at the ExecStart line:
ExecStart=$HOME/.local/bin/java -Xmx700m \\
-Dsubsonic.home=$HOME/subsonic \\
-Dsubsonic.host=0.0.0.0 \\
-Dsubsonic.port=${port} \\ # <<- This is your port number
-Dsubsonic.contextPath=/subsonic \\
-Djava.awt.headless=true \\
-verbose:gc \\
-jar subsonic-booter-jar-with-dependencies.jar
:::tip
For application specific logs, consider running the following:
systemctl --user status subsonic
You can exit less
by pressing q
at any point.
:::