Not sure if this will help but the person who recommended this app to me said to access it while outside your local network, I suggest hosting a VPN on your NAS so you can connect to it directly, you can also use Zerotier as well if your ISP is under strict NAT.
What file extension and how do you access them at home?
CBZ files. I use SMB from within my comics reading app to access them. The app allows me to stream the comics or download to my device.
Is this related to subsonic/airsonic or another question?
The app is easy, if you're still having issues.
The web editor sounds like a different problem.. Post the stack you used
I was able to run the stack. and everything seems to be working.
I do have a similar question. I have comics on my NAS that I can only access when at home. How can I access this when I am not home?
Couple final thoughts on this...
1. If your service provider does not give you a static IP (we've talked a lot and I seem to recall you have a static IP)... you need to set up a way for duckdns to update your IP automatically.
Create a stack and add this containerCode
2. This should be common sense, but for security sake, make sure you change your airsonic admin password and consider creating some users (in airsonic) to listen to your music/podcasts, rather than just using the admin user.
The first thing I did was change the pass. I just randomly noticed the domain is working. Im still not able to connect with subsonic. Not sue if there is an additional step.
Edit: got this part working
I tried creating a stack using web editor and it wont deploy. It says service mapping must be a mapping not a string
Well I'm stumped.
I am about to get relieved. Got to run to the store then crash to meet with family today.
I might be on tonight, otherwise I should be around Tuesday if you want to try to figure this out further.
That's weird because now I can't get to the park page.... is swag fully running? (ie, is the log showing "done"..
Now in Portainer...
Go to Stacks
Click your airsonic stack
and there should be an Edit tab at the top, so you can edit your stack...
under container name... add this...
So that will make the top part of your stack look something like this... This is basically going to put airsonic on the same network as swag, which is required for the reverse proxy to work
When you're done, deploy the stack again... and let it do its thing.
When it's finish, go to your containers listing... click on your swag container and click restart.
Airsonic can take a minute to start, so after it's done (you can watch it's log in portainer if you want)...
go to https://airsonic.yoursubdomain.duckdns.org and you should have the airsonic log in screen, secured with SSL (padlock)
Just like before connection timeout
Once you get into the proxy-confs folder, and the ls command shows all the .conf.sample files... one of them is called "airsonic.subdomain.conf.sample"... we need to copy that and drop the sample extension with the following command...
then run ls again, and you should see your airsonic.subdomain.conf file (.sample will still be there also... just two separate files)
When you get there come back
OK, in your SSH session
cd to your swag config folder then to /nginx/proxy-confs
So it will be something like...
then use the ls command, and you should see a bunch of .conf.sample files.
OK, I guess we'll try it and see what happens, but that is strange...
In Portainer, on the left... click on Networks. You should see a list of network names assigned to each container, look for the one assigned to swag (there's about a 99% chance it is swag_default .. but just verify it)
Well my only concern is if you can't get to the park page, you won't be able to get to the airsonic page.
This makes no sense that Icant view it but you can. just tried the airsonic link and it says connection timed out
Edit: doesnt work on my cell or tablet other
OK, I don't know what you're doing... I just clicked your link and it is showing your swag instance and it's secured.
Then I guess its ok but on my machine ive tried chrome, firefox, incognito tabs and each time it says connection timed out
just give it a second, it takes it a sec to receive the key
You did paste it into a new stack right, not the same one as airsonic?
Now it says
New certificate generated; starting nginx
Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please retrieve a free license key from MaxMind,
and add a new env variable "MAXMINDDB_LICENSE_KEY", set to your license key.
Edit: It finished. Server is ready.
Tried the link with my subdomain and it says site cant be reached
Nevermmind... that's right.
So create a name for it (call it swag1)
External port is 80, internal is 81
Internal Host, is your Server IP
Protocol, should be Both
Save it, then repeat the same process... but name it swag2, with 444 as internal and 443 as external
Thats done. I pasted into sack with corrections. In Putty after running the command its stuck on
[cont-init.d] 20-config: executing...
Perfect... Let me set this up real quick.. while I do that....
1. Go here... http://www.duckdns.org/
2. Login with your Gmail account, and create a subdomain. This will eventually make you access airsonic by https://airsonic.yoursubdomain.duckdns.org
When that's done, log in to your router and go to your port forwarding section.
Forward ports 81 (internal) to 80 (external), and port 444 (internal) to 443 (external) to your NAS IP address.
This what I see under port forwarding. Sorry had to step away before.