5 hours ago
Hello,
I recently set up a domain name through DuckDNS and Caddy for my Jellyfin server. I have it all up and working now but I have a few weird problems.
1. My local address:port no longer connects to the Jellyfin server. My other services are unaffected.
2. My domain only connects in the webui. The desktop client, Roku app, and official Android app fail to find the server.
I'll be focusing on number 2 rn since I imagine the first issue is due to my router settings.
--Information--
--Configuration--
I'm running Jellyfin through docker compose on a OpenMediaVault server. Caddy is running as a daemon installed through apt since I'm incompetent and can't get the Docker container working. Duckdns is also there but I'm unsure if it is doing anything under my current configuration.
Jellyfin compose:
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
network_mode: host
environment:
- PUID=1001
- PGID=100
- TZ=Etc/UTC
volumes:
- /srv/$disk/media/movies
data/movies
- /srv/$disk/media/shows
data/shows
restart: unless-stopped
---
DuckDNS compose:
---
services:
duckdns:
image: lscr.io/linuxserver/duckdns:latest
container_name: duckdns
network_mode: host #optional
environment:
- PUID=1000 #optional
- PGID=1000 #optional
- TZ=Etc/UTC #optional
- SUBDOMAINS=$subdomain,tv.$subdomain
- TOKEN=$token
- UPDATE_IP=ipv4 #optional
- LOG_FILE=false #optional
volumes:
- /path/to/duckdns/config
config #optional
restart: unless-stopped
---
Caddyfile:
$subdomain.duckdns.org {
root * /var/www/$subdomain.duckdns.org
file_server
tls warningjay@proton.me
}
tv.$subdomain.duckdns.org {
reverse_proxy localhost:8096 # Jellyfin
tls $email
}
---
Any help you could give me would be appreciated
I recently set up a domain name through DuckDNS and Caddy for my Jellyfin server. I have it all up and working now but I have a few weird problems.
1. My local address:port no longer connects to the Jellyfin server. My other services are unaffected.
2. My domain only connects in the webui. The desktop client, Roku app, and official Android app fail to find the server.
I'll be focusing on number 2 rn since I imagine the first issue is due to my router settings.
--Information--
- The desktop client gives the error when connecting with the domain tv.$subdomain.duckdns.org: "Connection Failure: We're unable to connect to the server right now. Please ensure it is running and try again." The server doesn't have a record of an attempted connection. Adding http:// or https:// changes nothing.
- Using the local address:port leads to the same error
- Webui can connect just fine on Linux and windows machines. Not tested on android, ios, or mac browsers
- Android and rook apps give equivalent errors
--Configuration--
I'm running Jellyfin through docker compose on a OpenMediaVault server. Caddy is running as a daemon installed through apt since I'm incompetent and can't get the Docker container working. Duckdns is also there but I'm unsure if it is doing anything under my current configuration.
Jellyfin compose:
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
network_mode: host
environment:
- PUID=1001
- PGID=100
- TZ=Etc/UTC
volumes:
- /srv/$disk/media/movies

- /srv/$disk/media/shows

restart: unless-stopped
---
DuckDNS compose:
---
services:
duckdns:
image: lscr.io/linuxserver/duckdns:latest
container_name: duckdns
network_mode: host #optional
environment:
- PUID=1000 #optional
- PGID=1000 #optional
- TZ=Etc/UTC #optional
- SUBDOMAINS=$subdomain,tv.$subdomain
- TOKEN=$token
- UPDATE_IP=ipv4 #optional
- LOG_FILE=false #optional
volumes:
- /path/to/duckdns/config

restart: unless-stopped
---
Caddyfile:
$subdomain.duckdns.org {
root * /var/www/$subdomain.duckdns.org
file_server
tls warningjay@proton.me
}
tv.$subdomain.duckdns.org {
reverse_proxy localhost:8096 # Jellyfin
tls $email
}
---
Any help you could give me would be appreciated