Jump to content
linuxserver.io

[Support] Linuxserver.io - airsonic

161 posts in this topic Last Reply

Recommended Posts

7 hours ago, CHBMB said:

Yeah, can confirm something isn't working.

If you tag and pull 47 that'll get you working until we fix and then you can change the tag back to :latest

You guys were so fast with the ninja-update I didn’t even have chance to! Posted the above, went to bed, and woke up a few hours ago to an automatically updated and working Airsonic.

 

Thank you!

Share this post


Link to post

New to Airsonic.  Music, Playlist, and Podcast folders are self-explanatory to me, but I don't understand what Media is for.  Can someone explain?

Share this post


Link to post

Why this docker has so many updates? Is it recommended? I mean, it worked perfectly a few months ago when I installed it and as far as I know, the Airsonic version has been the same the whole time and I guess only docker files have been updated. Am I right?

 

So I wonder if from a user perspective, if it's working fine for me, should I keep updating it regularly or should I wait until a relevant update is published?

Share this post


Link to post
On 5/6/2018 at 3:24 AM, dboonthego said:

New to Airsonic.  Music, Playlist, and Podcast folders are self-explanatory to me, but I don't understand what Media is for.  Can someone explain?

 

I'm not really sure, but in my server I have all media organized like this:

MEDIA/MUSIC

MEDIA/MOVIES

MEDIA/DOCUMENTARIES

and so on...

 

I added MEDIA/ where required for the docker setup, but then inside Airsonic in only added and I only use MEDIA/MUSIC. I suppose it can maybe used for video like concerts or videoclips, but I'm not sure. Maybe somebody can confirm/deny my guessing :)

Share this post


Link to post

All our containers are updated weekly.  This is to ensure they get the latest packages and security fixes upstream in the underlying Alpine/Xenial system and also the latest application, which may or may not have been updated.

Share this post


Link to post

Interesting. I seem to have gotten some issues with adding new music to my library, it worked just fine before but now - not so much.

 

It only seems to be new artists too. When i added some albums to an already existing artist in my library that worked fine, but the new ones does not show up.

 

Everything is tagged properly and sorted the following way in my /music share

Artist

--> Album

     ---> Files(in FLAC)

 

I go to settings -> media folders and press the "Scan media folders" link after adding my music but nothing. I have also tried to view my server in the dsub app for android to see if it could be just the web interface but that is not the case.

 

Any idea on why this might be the case?

Share this post


Link to post

docker exec -it airsonic bash
ls -la /music


See if there are differences in the permissions between the music that works and that that doesn't

Share this post


Link to post

Thanks.

 

Looks fine to me.

 

Here is one of the folders that doesn't show up:

drwxrwxrwx 1 1000 abc

Here is a folder that does show up:

drwxrwxrwx 1 1000 abc

 

The individual files in each directory looks good too, both folders looks like this:

-rw-rw-rw- 1 1000 abc

 

Share this post


Link to post

Looks ok to me too, next thing is to examine the airsonic logs.

Share this post


Link to post

It should be abc abc and not 1000 abc, so there are something strange with your permissions. 

But I don't think that is the reason of the music not showing up. 

Share this post


Link to post
8 hours ago, CHBMB said:

Looks ok to me too, next thing is to examine the airsonic logs.

Logs says nothing in particular, the airsonic.log just shows:

2018-05-21 21:54:57.228  INFO --- o.a.p.s.MediaScannerService              : Starting to scan media library.
2018-05-21 21:54:57.495  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 250 entries.
2018-05-21 21:54:57.642  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 500 entries.
2018-05-21 21:54:57.815  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 750 entries.
2018-05-21 21:54:57.985  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 1000 entries.
2018-05-21 21:54:58.173  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 1250 entries.
2018-05-21 21:54:58.347  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 1500 entries.
2018-05-21 21:54:58.645  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 1750 entries.
2018-05-21 21:54:58.837  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 2000 entries.
2018-05-21 21:54:59.020  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 2250 entries.
2018-05-21 21:54:59.177  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 2500 entries.
2018-05-21 21:54:59.340  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 2750 entries.
2018-05-21 21:54:59.521  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 3000 entries.
2018-05-21 21:54:59.715  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 3250 entries.
2018-05-21 21:54:59.879  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 3500 entries.
2018-05-21 21:55:00.048  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 3750 entries.
2018-05-21 21:55:00.218  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 4000 entries.
2018-05-21 21:55:00.389  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 4250 entries.
2018-05-21 21:55:00.555  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 4500 entries.
2018-05-21 21:55:00.716  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 4750 entries.
2018-05-21 21:55:00.804  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 5000 entries.
2018-05-21 21:55:00.956  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 5250 entries.
2018-05-21 21:55:01.137  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 5500 entries.
2018-05-21 21:55:01.287  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 5750 entries.
2018-05-21 21:55:01.443  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 6000 entries.
2018-05-21 21:55:01.554  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 6250 entries.
2018-05-21 21:55:01.693  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 6500 entries.
2018-05-21 21:55:01.818  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 6750 entries.
2018-05-21 21:55:01.979  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 7000 entries.
2018-05-21 21:55:02.121  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 7250 entries.
2018-05-21 21:55:02.272  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 7500 entries.
2018-05-21 21:55:02.428  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 7750 entries.
2018-05-21 21:55:02.608  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 8000 entries.
2018-05-21 21:55:02.752  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 8250 entries.
2018-05-21 21:55:02.915  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 8500 entries.
2018-05-21 21:55:03.070  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 8750 entries.
2018-05-21 21:55:03.237  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 9000 entries.
2018-05-21 21:55:03.404  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 9250 entries.
2018-05-21 21:55:03.564  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 9500 entries.
2018-05-21 21:55:03.695  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 9750 entries.
2018-05-21 21:55:03.875  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 10000 entries.
2018-05-21 21:55:04.036  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 10250 entries.
2018-05-21 21:55:04.225  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 10500 entries.
2018-05-21 21:55:04.386  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 10750 entries.
2018-05-21 21:55:04.555  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 11000 entries.
2018-05-21 21:55:04.733  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 11250 entries.
2018-05-21 21:55:04.923  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 11500 entries.
2018-05-21 21:55:05.092  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 11750 entries.
2018-05-21 21:55:05.258  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 12000 entries.
2018-05-21 21:55:05.416  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 12250 entries.
2018-05-21 21:55:05.578  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 12500 entries.
2018-05-21 21:55:05.770  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 12750 entries.
2018-05-21 21:55:05.924  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 13000 entries.
2018-05-21 21:55:06.081  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 13250 entries.
2018-05-21 21:55:06.243  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 13500 entries.
2018-05-21 21:55:06.401  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 13750 entries.
2018-05-21 21:55:06.584  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 14000 entries.
2018-05-21 21:55:06.751  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 14250 entries.
2018-05-21 21:55:06.910  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 14500 entries.
2018-05-21 21:55:07.086  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 14750 entries.
2018-05-21 21:55:07.265  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 15000 entries.
2018-05-21 21:55:07.428  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 15250 entries.
2018-05-21 21:55:07.588  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 15500 entries.
2018-05-21 21:55:07.743  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 15750 entries.
2018-05-21 21:55:07.893  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 16000 entries.
2018-05-21 21:55:08.058  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 16250 entries.
2018-05-21 21:55:08.196  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 16500 entries.
2018-05-21 21:55:08.342  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 16750 entries.
2018-05-21 21:55:09.060  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 17000 entries.
2018-05-21 21:55:09.234  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 17250 entries.
2018-05-21 21:55:09.385  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 17500 entries.
2018-05-21 21:55:09.532  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 17750 entries.
2018-05-21 21:55:09.684  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 18000 entries.
2018-05-21 21:55:09.834  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 18250 entries.
2018-05-21 21:55:10.004  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 18500 entries.
2018-05-21 21:55:10.157  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 18750 entries.
2018-05-21 21:55:10.292  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 19000 entries.
2018-05-21 21:55:10.351  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 19250 entries.
2018-05-21 21:55:10.400  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 19500 entries.
2018-05-21 21:55:10.534  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 19750 entries.
2018-05-21 21:55:10.696  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 20000 entries.
2018-05-21 21:55:10.914  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 20250 entries.
2018-05-21 21:55:10.953  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 20500 entries.
2018-05-21 21:55:11.281  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 20750 entries.
2018-05-21 21:55:11.505  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 21000 entries.
2018-05-21 21:55:11.731  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 21250 entries.
2018-05-21 21:55:11.983  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 21500 entries.
2018-05-21 21:55:12.210  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 21750 entries.
2018-05-21 21:55:12.431  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 22000 entries.
2018-05-21 21:55:12.639  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 22250 entries.
2018-05-21 21:55:12.830  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 22500 entries.
2018-05-21 21:55:13.037  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 22750 entries.
2018-05-21 21:55:13.220  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 23000 entries.
2018-05-21 21:55:13.405  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 23250 entries.
2018-05-21 21:55:13.591  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 23500 entries.
2018-05-21 21:55:13.798  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 23750 entries.
2018-05-21 21:55:13.980  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 24000 entries.
2018-05-21 21:55:14.157  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 24250 entries.
2018-05-21 21:55:14.339  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 24500 entries.
2018-05-21 21:55:14.544  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 24750 entries.
2018-05-21 21:55:14.810  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 25000 entries.
2018-05-21 21:55:14.966  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 25250 entries.
2018-05-21 21:55:15.114  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 25500 entries.
2018-05-21 21:55:15.305  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 25750 entries.
2018-05-21 21:55:15.468  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 26000 entries.
2018-05-21 21:55:15.633  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 26250 entries.
2018-05-21 21:55:15.794  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 26500 entries.
2018-05-21 21:55:15.989  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 26750 entries.
2018-05-21 21:55:16.152  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 27000 entries.
2018-05-21 21:55:16.314  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 27250 entries.
2018-05-21 21:55:16.471  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 27500 entries.
2018-05-21 21:55:16.639  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 27750 entries.
2018-05-21 21:55:16.796  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 28000 entries.
2018-05-21 21:55:16.966  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 28250 entries.
2018-05-21 21:55:17.130  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 28500 entries.
2018-05-21 21:55:17.297  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 28750 entries.
2018-05-21 21:55:17.480  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 29000 entries.
2018-05-21 21:55:17.635  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 29250 entries.
2018-05-21 21:55:17.811  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 29500 entries.
2018-05-21 21:55:17.980  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 29750 entries.
2018-05-21 21:55:18.158  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 30000 entries.
2018-05-21 21:55:18.319  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 30250 entries.
2018-05-21 21:55:18.966  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 30500 entries.
2018-05-21 21:55:19.125  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 30750 entries.
2018-05-21 21:55:19.311  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 31000 entries.
2018-05-21 21:55:19.467  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 31250 entries.
2018-05-21 21:55:19.621  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 31500 entries.
2018-05-21 21:55:19.767  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 31750 entries.
2018-05-21 21:55:20.041  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 32000 entries.
2018-05-21 21:55:20.246  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 32250 entries.
2018-05-21 21:55:20.374  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 32500 entries.
2018-05-21 21:55:20.510  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 32750 entries.
2018-05-21 21:55:20.657  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 33000 entries.
2018-05-21 21:55:20.836  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 33250 entries.
2018-05-21 21:55:20.991  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 33500 entries.
2018-05-21 21:55:21.178  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 33750 entries.
2018-05-21 21:55:21.341  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 34000 entries.
2018-05-21 21:55:21.527  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 34250 entries.
2018-05-21 21:55:21.689  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 34500 entries.
2018-05-21 21:55:21.847  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 34750 entries.
2018-05-21 21:55:22.006  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 35000 entries.
2018-05-21 21:55:22.188  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 35250 entries.
2018-05-21 21:55:22.350  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 35500 entries.
2018-05-21 21:55:22.511  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 35750 entries.
2018-05-21 21:55:22.670  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 36000 entries.
2018-05-21 21:55:22.828  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 36250 entries.
2018-05-21 21:55:23.001  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 36500 entries.
2018-05-21 21:55:23.129  INFO --- o.a.p.s.MediaScannerService              : Scanned media library with 36726 entries.
2018-05-21 21:55:23.129  INFO --- o.a.p.s.MediaScannerService              : Marking non-present files.
2018-05-21 21:55:23.144  INFO --- o.a.p.s.MediaScannerService              : Marking non-present artists.
2018-05-21 21:55:23.145  INFO --- o.a.p.s.MediaScannerService              : Marking non-present albums.
2018-05-21 21:55:23.157  INFO --- o.a.p.s.MediaScannerService              : Completed media library scan.
2018-05-21 21:55:24.597  INFO --- o.a.p.service.PlaylistService            : Starting playlist import.
2018-05-21 21:55:24.599  INFO --- o.a.p.service.PlaylistService            : Completed playlist import.

 

I doubt it's about permissions. Since all of the audiofiles i added was through SMB with my non-root user. The stuff in the already existing artist folder is fine and have the same permissions as the new artists i added.

Edited by ruvil

Share this post


Link to post

Have you guys figured out how to get .m4b working? Most of my audiobooks are in this format.

Share this post


Link to post
42 minutes ago, Uroth said:

Have you guys figured out how to get .m4b working? Most of my audiobooks are in this format.

 

We don't develop airsonic, we just make the container. 

 

Does airsonic actually support m4b files?

 

This suggests it may not.

 

Share this post


Link to post

Has anyone gotten this working with Letsencrypt/Nginx proxy?  For the life of me I can't figure it out.  All of my other dockers are working fine, including booksonic (which is basically the same-ish).  It's working locally, but externally I'm getting a 502 Bad Gateway error.  I've got the port set to 4041 (and forwarded in my router), I've got the airsonic subdomain in my letsencrypt, here's my airsonic.subdomain.conf file for Nginx:

# make sure that your dns has a cname set for airsonic and that your airsonic container is not using a base url
# to enable password access, uncomment the two auth_basic lines

server {
    listen 443 ssl;

    server_name airsonic.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
#        auth_basic "Restricted";
#        auth_basic_user_file /config/nginx/.htpasswd;
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_airsonic airsonic;
        proxy_pass http://$upstream_airsonic:4041;
    }
}

Here's my docker run command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='airsonic' --net='proxynet' -e TZ="America/Chicago" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'JAVA_OPTS'='-Xms256m -Xmx512m' -p '4041:4040/tcp' -v '/mnt/user/':'/music':'rw' -v '/mnt/user/':'/playlists':'rw' -v '/mnt/user/':'/podcasts':'rw' -v '/mnt/user/':'/media':'rw' -v '/mnt/user/appdata/airsonic':'/config':'rw' 'linuxserver/airsonic' 
88152de7001e5ea4e5698b1b20129d8eb3ebbce506ebf49e2954f967e217f5c5

The command finished successfully!

Thoughts?

Thanks for any help

Share this post


Link to post

I use a subfolder, but principle should be the same

 

-e 'CONTEXT_PATH'='airsonic'
	location /airsonic {
		proxy_pass http://192.168.0.1:4041/airsonic;
    		proxy_set_header X-Real-IP $remote_addr;
    		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    	}

 

Share this post


Link to post

I've tried it with the context path and without (and updating the nginx conf) and no luck.  Works locally both ways just fine, remote doesn't work at all with the "/airsonic" and without it I'm at least getting to the nginx server for the 502 error.

I'd love to get it working as a subdomain as everything else I use is.

Share this post


Link to post
I've tried it with the context path and without (and updating the nginx conf) and no luck.  Works locally both ways just fine, remote doesn't work at all with the "/airsonic" and without it I'm at least getting to the nginx server for the 502 error.
I'd love to get it working as a subdomain as everything else I use is.
You're using a custom network, try changing the port in your proxy config back to 4040.

Also the whole point of a reverse proxy is you don't have to open the port in your router, everything goes through 80/443

Sent from my Mi A1 using Tapatalk

Share this post


Link to post
15 minutes ago, CHBMB said:

You're using a custom network, try changing the port in your proxy config back to 4040.

Also the whole point of a reverse proxy is you don't have to open the port in your router, everything goes through 80/443

Sent from my Mi A1 using Tapatalk
 

You're right, thanks for that, not sure what I was thinking leaving the ports forwarded.  

And you nailed it!  Thank you, that works perfectly now.  I was thinking since Booksonic was using port 4040 it needed to be different for Airsonic, but in the proxy it must not matter.

Thanks again!

Share this post


Link to post
1 hour ago, ccruzen said:

You're right, thanks for that, not sure what I was thinking leaving the ports forwarded.  

And you nailed it!  Thank you, that works perfectly now.  I was thinking since Booksonic was using port 4040 it needed to be different for Airsonic, but in the proxy it must not matter.

Thanks again!

 

It does matter, unless you're using a custom network, in which case it doesn't.

Share this post


Link to post

I run airsonic on a subdomain and with Lets Encrypt reverse proxy I have to use airsonic.domain.com/airsonic to access the login page. Removing the context path in the template solves this problem, but it returns after every update. Is there something I can do to fix this permanently?

Share this post


Link to post
10 hours ago, Kaizac said:

I run airsonic on a subdomain and with Lets Encrypt reverse proxy I have to use airsonic.domain.com/airsonic to access the login page. Removing the context path in the template solves this problem, but it returns after every update. Is there something I can do to fix this permanently?

 

 

set the variable to /

 

it's what i do

Share this post


Link to post
22 hours ago, sparklyballs said:

 

 

set the variable to /

 

it's what i do

 

Thanks for that, that works!

Share this post


Link to post

Anyone else still getting the "Too Small Initial Heap"  error?  I've tried with and without the JAVA_OPTS including making sure the "m" is there but can't seem to get it started.  Does anyone have any ideas?

Share this post


Link to post
9 hours ago, Loch said:

Anyone else still getting the "Too Small Initial Heap"  error?  I've tried with and without the JAVA_OPTS including making sure the "m" is there but can't seem to get it started.  Does anyone have any ideas?

Nevermind. Deleted the entire JAVA_OPTS entry and it works now. Seems rather slow but functional for my needs.

Share this post


Link to post
On 4/24/2018 at 1:57 AM, saarg said:

JAVA_OPTS is not new in the template, but it wasn't working before. So I fixed it and broke the template as there should be an m after the numbers. 

The template still needs an update, I installed Airsonic for the first time and ran into the 'too small initial heap' error.

Updating the JAVA_OPTS values with m after numbers as noted earlier resolved the issue.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.