Did you manage to get it working by now? I just realized again how straight forward it is to follow https://www.duckdns.org/install. There's even a link to help you with setting up port forwarding with your router.
I've never used Open Media Vault before, but from their website it sounds like it has a base debian OS and you can get SSH access. In that case, I would treat it just like any other headless linux server. The general steps are:
Once you have that working, youll want a more persistent setup that starts on boot which is dependent on which version of Debian you're using and which init system is running.
We will be adding systemd docs soon, so in the case your init system is systemd, I would watch out for those.
For more detailed instructions, take a look at https://airsonic.github.io/docs/install/war/
That's because you didn't link to DSub, you linked to Subsonic Music Streamer.
Here is the link to DSub, which clearly shows v5.5.1:
https://play.google.com/store/apps/details?id=github.daneren2005.dsub&hl=en_US&gl=US
I'm still working on my player
https://play.google.com/store/apps/details?id=net.volcanomobile.airsonicplayer
Currently working on the podcasts (only the offline left TODO)
Next I'll focus on search and the Chromcast
Any feedback is always appreciated
Thanks again for the advice, this definitely gets me moving the right direction!
Okay, I'm trying this out, but it's not working. Here's what I did if you have a moment to see what I'm missing.
1) Stopped the docker container, modified /docker/airsonic/config/airsonic.properties to include "https://airsonic.github.io/docs/proxy/prerequisites/" at the end, and re-started the container. I'm not sure if this is the right way to do it, but Airsonic did continue to work once I did this (before trying the reverse proxy).
2) Reverse Proxy: General
3) Reverse Proxy: Custom Headers - this is where I think things are going wrong, because I have no idea what to put here. I've tried just about everything.
4) Security>Certificate: Manually added airsonic.xxxxxx.synology.me and get a Let's Encrypt Certificate
When I try to go to https://airsonic.xxxxxx.synology.me:443 with this setup, I get to a Synology "Sorry, the page you are looking for is not found". If I try other combos of headers, etc. I get a different error.
Here is a guide to migrating Subsonic to Airsonic. https://airsonic.github.io/docs/migrate/ I assume you need to backup and replace the files listed in the document.
/var/airsonic /var/airsonic/airsonic_sh.log /var/airsonic/airsonic.log /var/airsonic/airsonic.properties /var/airsonic/db/airsonic.backup /var/airsonic/db/airsonic.data /var/airsonic/db/airsonic.lck /var/airsonic/db/airsonic.log /var/airsonic/db/airsonic.properties /var/airsonic/db/airsonic.script
OK, I published a release. You can get it from the github repository. Just download the zip file and extract the folder to any webserver that is serving your pages over http and you should be fine.
A better idea for the long run would be to check out letsencrypt.
Run it on your fathers PC and on the music server, set a shared folder (can be any folder, also existing), and any file he drops into his c:/music folder will automatically get synced to the server.
You can set it as one-way-sync to make sure that when adds files, they get synced to the server, but when he deletes stuff, the files on the server stay there.
May be I have a work around for you. Shairport4w is original for Apple Airplay. Running shairport your PC acts like an Airplay Speaker and you can stream the music i.e. from an iphone to your PC, mine is connected via DAC and fibre to my Hifi. https://github.com/Frank-Friemel/Shairport4w
The second is Airfoil or similar Apps, with that you can redirect the sound of your pc to airplay speaker or in this case to shairport4w. Even for Linux a Airplay Receiver is available, I have it running with a DAC at my Raspberry. https://alternative.me/airfoil if you are running Android, Kodi can receive also Airplay streams and from Android i.e. to shairport4w there is Allcast available. Thats a way to stream or receive the sound to nearly every device
I love Plex for movies and TV shows and I did run my music on it for a time and was excited when Plex added Tidal, however, in the end I prefer music to be served by it's own dedicated platform which specializes in hi-res music, streaming integration, and be able to serve to devices such hi-fi equipment and receivers via chromcast, airplay or the like which is beyond what Plex is able to do.
If I had the money I'd setup a Roon server where all my music, server files, streaming services (Spotify, Deezer, Tidal, and so on) and integrate it together as a single source instead of having to switch between sources when one doesn't have the media file you want to play and to be able to do it from anywhere.
You are correct. Keep on looking at nginx or your DNS setting. You can message me if you need any help. But you have to give me something to work with.
https://airsonic.github.io/docs/proxy/nginx/
try following this again
Using an Apache proxy you should be able to follow their documentation. I don't know anything about webmin but hopefully this will point you in the right direction.
To access Airsonic locally you don't need the Apache server or forward ports. If you want to access it over the internet you can just forward the Airsonic port and connect using your IP address. But the connection will be insecure so best to set up a reverse proxy. Have a look here: https://airsonic.github.io/docs/proxy/prerequisites/
Thank you for wanting to try, that's great!
The docs have a section on how to setup IntelliJ, plus a couple of other pages about some specific parts of the development process (especially Maven, which I still don't know a lot about myself despite having written the page!).
There's always room to improve, so feel free to suggest improvements!
So you have 26 folders with the letters A-Z in you music root folder?
As mentioned on the Airsonic website, the first folder level should be the artist name and the second the albumname: /artist/album
https://airsonic.github.io/docs/first-start/#setting-up-media-folders
Yes I'm on Linux, on Raspbian.
Both commands gave the error:
Unit airsonic.service not loaded
I followed the instructions here to start up airsonic. Could I stop tomcat8 to stop airsonic, or is there a better way to do it?
If you want you can reduce some of the logs following the instructions the Logging documentation.
You can customize the log level per-class, for example only display WARN for scanning logs but keep INFO for the others.
You may need to check the config file in /var/airsonic/airsonic.properties and make sure the port number is set there to 4040. Also check to make sure Apache is set up to be as a proxy.https://airsonic.github.io/docs/proxy/apache/
I currently run a tomcat server with nginx as a reverse proxy so I can't exactly pinpoint your issue. If this doesn't work for you, maybe post your apache and airsonic configs (remove passwords of course) and we could hopefully figure out the issue.
UPDATE: I just checked the documentation for standalone war deployment. Try to run your instance like this:
java -Dairsonic.home=/var/airsonic -Dserver.port=4040 -jar airsonic.war
I think docker stop
should work. Don't use kill
.
In general Airsonic shuts itself down correctly if the process is not killed outright. You can check that it is the case by verifying that the db
folder doesn't contain .log
(database logs) or .lck
(lock) files.
Another way to check is to setup DEBUG logging for the Airsonic, as explained here. In recent versions it will show something like "Database shut down successfully" when stopped.
>You can execute commands in the container using docker exec <command> you may be able to halt the required process and restart afterward.
Right, that was my plan. I'm just not sure what those commands might be other than `kill` the java process, which seems blunt, but maybe that's right?
Are you suggesting setting up a database completely external to docker, e.g. https://airsonic.github.io/docs/database/ ? Yeah I guess I could do that, but I like having everything completely managed by the docker container, and it works fine as it is, except I just am not sure how to stop it for a backup, other than to stop the whole container. And even with an external DB I think I'd still need to shut it down, anyway, unless whatever database I choose had a hot backup capability.
Maybe just stopping the container is the best thing here?
IMO the most likely cause for this is that Airsonic is unaware that it's being proxied via a subdirectory. This will cause it to not add the subdirectory to it's asset URLs (css and images etc), so they're incorrect and thus 404. You can confirm this by using your browser developer tools, network tab and inspecting the URLs which are being attempted for the assets. If they don't have /airsonic/ in them, they're wrong.
I haven't done this myself, but the docs at https://airsonic.github.io/docs/proxy/nginx/ say that you need to add server.use-forward-headers=true
to /path/to/airsonic/config/airsonic.properties
.
If that doesn't work, try this: https://airsonic.github.io/docs/configure/standalone/#context-path Setting that option to /airsonic.
Well, to start with the Airsonic documentation should help you find information about how Airsonic itself. If there is something that you don't get, ask away, there is always something to improve in the docs!
You're probably already aware, but:
"New Version available" link takes you to "<em>https://airsonic.github.io/download/</em>"
Which results in:
"404!
Ooh crap, page not found!
Back to home"
So I ended up getting it working, and on my Windows install. Running it through Java, followed some instructions from the standalone install (https://airsonic.github.io/docs/install/war-standalone/). Decided not to open it to the world, and will just download my playlists. If I need to listen to something that I don't have downloaded, I'll just use a VPN. :)
The steps outlined in https://airsonic.github.io/docs/database/ are the official docs, can you elaborate on what part did not work there, or maybe post logs?
10.3 already has an important fix for the stability of HSQLDB, and we're in process of testing the upgrade to a much newer version that is, hopefully, more stable.
There are a few instructions in the docs if you can try them out! (Replace the repo by mine (https://github.com/fxthomas/airsonic.git) and the branch by mine too (try-to-fix-playback-intermittent-stops).
The HSQLDB database is the whole db
directory, consisting in multiple files. There are a couple of instructions in here, although it's referring to Subsonic and isn't very detailed.
I assume you read the documentation about how to setup an external database? You might need to change it to use the MySQL driver for your use case.
You can install it on a jail in FreeNas without using a plugin. I actually just did this last week. They have a guide on their website that worked for me.
I had this problem with ultrasonic. I just moved my whole server setup to another VM, and noticed that I didn't have a transcoder setup on this new server. When I looked at the formatting policy I realized that I definitely never set that up, even if I had installed ffmpeg on my old VM. I finally got around to setting up ffmpeg and symlinking it as per the instructions, so I'll let you know if my results improve
Ok, everything is fixed now. (But not done by me, I'm just helping my friend administrate his server.)
There's 2 problem with the setup. 1) Settings tab could not access. 2) Unable to play music, chrome inspect says it's trying to download from a local IP.
The problem lies with the configuration. 1) we set Airsonic as the root app 2) we need to do proxy redirect so the https would work.
The problem with it not displaying is because chrome found the sub pages is not secure, but only the main page. But that's because the proxy redirect isn't configured properly.
Now everything works nicely.
Just follow the guides in the documentation: Airsonic Documentation
Apache won't do all the work here, you need change the "context-path" in airsonic to match your needs ! See the following documentation : https://airsonic.github.io/docs/configure/tomcat/#context-path
Still you might have troubles to set this up if you run both airsonic and madsonic webapp on same tomcat process. Don't know how this one works but try to run 2 different tomcat with different ports and bind the ports in the apache conf.
I suggest you to look at the subsonic/airsonic App page. They are lots of application ( they aren't all listed ! ) and you may find chat you need : https://airsonic.github.io/docs/apps/ http://www.subsonic.org/pages/apps.jsp
Usually we try to avoid sending big FLAC files, but in this case it might be necessary.
First, can you check that they are not corrupted? This can be done using the flac -t file.flac
command line, see the docs.
In general try to provide at least the following info:
I've used Clementine in the past. You can probably find a couple of other media players like that that also allow you to link to your airsonic library. https://www.clementine-player.org/ Clementine Music Player
My partner uses Clementine to connect to my airsonic server on his work Windows machine. The biggest downside is that playlists from the server aren't available, nor are playlists you make on Clementine sync-able. It also presents the library as artists read from id3 tags, not folder structure - annoying to me. But it is at least a fully featured music player, is playlist-focused, and is possible to easily make a gigantic random playlist, so mixed feels.
looks like it's not easy to connect to that DB.. apparently, one should be able to use the hsqldb tools, but it doesn't work here:
sql> \j jdbc:hsqldb:file:/root/subsonic.data
org.hsqldb.cmdline.SqlFile$BadSpecial: Failed to connect
at org.hsqldb.cmdline.SqlFile.processSpecial(Unknown Source)
at org.hsqldb.cmdline.SqlFile.scanpass(Unknown Source)
at org.hsqldb.cmdline.SqlFile.execute(Unknown Source)
at org.hsqldb.cmdline.SqlTool.objectMain(Unknown Source)
at org.hsqldb.cmdline.SqlTool.main(Unknown Source)
Caused by: java.lang.Exception: url not set for 'jdbc:hsqldb:file:/root/subsonic.data' in file '/root/sqltool.rc'
at org.hsqldb.lib.RCData.<init>(Unknown Source)
... 5 more
Not sure what version of DSub you are using (the Play store one is not the latest), first check here to see if the latest apk fixes whatever issue you have.
If you already use that version (5.4.4) or it doesn't work - for local UPnP mode I would suggest HiFi-Cast, for remote use maybe look at a Bubble UPnP server/client combo?
If you're streaming to a mobile device it actually does work. On DSub I'm using the "raw" setting for streaming, and then playback is handed off to mpv for Android. You can also use VLC, too.
I don't really use it much since the organization of videos in DSub is literally just "lol, here's all your video files" and I have a Plex server running on the same system anyway, but if you were using the Subsonic app the video files will organize into show/season splittings if you arrange them on directory like they are artist/album.
Hey, not sure you figured it out, but I found a solution! Im doing the same. Got airsonic running.
For chromecast, found this android app which casts perfect https://play.google.com/store/apps/details?id=github.daneren2005.dsub&hl=en_US