Hey, appreciate the tutorial, after trying it I got "Welcome to your SWAG instance" but not Jellyfin, so also looked on linuxserver and added some stuff to the stack from them but that didn't help either. Seems no matter what I do I just get the "Welcome to your SWAG instance" screen but never a login for Jellyfin.
Here's my setup, hopefully someone can spot what I did wrong:
The stack for Jellyfin:
---
version: "2.1"
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin
container_name: jellyfin
environment:
- PUID=998
- PGID=100
- TZ=Europe/Amsterdam
- UMASK_SET=022 #optional
network_mode: swag
volumes:
- /srv/dev-disk-by-uuid-aada99cb-82e3-431b-967c-1a96d6888a5a/Dionysus/Config/Jellyfin/:/config
- /srv/dev-disk-by-uuid-057d6636-28aa-41a5-839b-99a2fae70679/Hephaestus/Media/Shows/:/data/tvshows
- /srv/dev-disk-by-uuid-5bc250ed-b109-4bed-8f14-70d7142bbe87/Ares/Media/Movies/:/data/movies
ports:
- 8096:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
Alles anzeigen
The stack for DuckDNS without my actual personal info:
---
version: "2.1"
services:
duckdns:
image: lscr.io/linuxserver/duckdns
container_name: duckdns
environment:
- PUID=998
- PGID=100
- TZ=Europe/Amsterdam
- SUBDOMAINS=mydomain*
- TOKEN=111111mytoken111111111*
- LOG_FILE=false #optional
volumes:
- /srv/dev-disk-by-uuid-aada99cb-82e3-431b-967c-1a96d6888a5a/Dionysus/Config/DuckDNS/:/config #optional
restart: unless-stopped
Alles anzeigen
And this is the stack for Swag, also without personal info, the only difference with this one and your tutorial is that it has the DuckDNS token added:
---
version: "2.1"
services:
swag:
image: ghcr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=998
- PGID=100
- TZ=Europe/Amsterdam
- URL=mydomain.duckdns.org*
- SUBDOMAINS=wildcard
- VALIDATION=duckdns
- DUCKDNSTOKEN=111111mytoken111111111*
- EMAIL=me@gmail.com*
network_mode: swag
volumes:
- /srv/dev-disk-by-uuid-aada99cb-82e3-431b-967c-1a96d6888a5a/Dionysus/Config/Swag/:/config
ports:
- 443:443
- 80:80
restart: unless-stopped
Alles anzeigen
This is the log for Swag, everything reads as if it should be working correctly:
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
Certbot: https://supporters.eff.org/donate/support-work-on-certbot
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 998
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 50-config: executing...
Variables set:
PUID=998
PGID=100
TZ=Europe/Amsterdam
URL=mydomain.duckdns.org*
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=duckdns
CERTPROVIDER=
DNSPLUGIN=
EMAIL=me@gmail.com*
STAGING=
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Wildcard cert for mydomain.duckdns.org* will be requested
E-mail address entered: me@gmail.com*
duckdns validation is selected
the resulting certificate will only cover the subdomains due to a limitation of duckdns, so it is advised to set the root location to use www.subdomain.duckdns.org
Certificate exists; parameters unchanged; starting nginx
[cont-init.d] 50-config: exited 0.
[cont-init.d] 60-renew: executing...
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
[cont-init.d] 60-renew: exited 0.
[cont-init.d] 70-templates: executing...
[cont-init.d] 70-templates: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Server ready
Alles anzeigen
Both Swag and Jellyfin are running on the same network called "swag":
The ports in my router are open, for both 443 and 80, showing the first one in the image, think I read that 80 is not even necessary?
It's an Asus router with Asuswrt-merlin firmware on it.
The Jellyfin network settings are pretty much still default, so perhaps I need to make changes there. The jellyfin.subdomain.conf says to set the public https port to 443 but that gave me the exact same results as not doing that.
Did of course also remove the .sample part from the Swag/nginx/proxy-confs/jellyfin.subdomain.conf file, didn't do anything else to it, so the code is still default. Did try to change the $upstream_app to <172.27.0.3> but that also made no difference.
Do feel like the setup is very close to working but for now whatever I do always gives me this:
That's when trying to acces through "https://www.jellyfin.mydomain*.duckdns.org/" or "https://www.mydomain*.duckdns.org/jellyfin".
Hopefully I provided enough information and it can help someone figure out what went wrong, thank you very much