2024-03-09, 02:15 PM
(This post was last modified: 2024-03-10, 11:42 AM by Mirronth. Edited 1 time in total.)
Hello Guys,
I'm trying to move away from Windows as I won't get security updates anymore next year. My chosen OS is openSUSE MicroOS, at the moment I'm trying to figure out as a VM.
I managed to set up Jellyfin via Podman, locally it is working fine, systemd configuration too.. I set up Caddy in the same way as on Windows, but when I'd like to connect to my Jellyfin via HTTPS, getting connection timed out.
This is my current setup:
podman network create server
podman create --replace \
--label "io.containers.autoupdate=registry" \
--name jellyfin \
--publish 8096:8096/tcp \
--network server \
--user $(id -u server):$(id -g server) \
--group-add=$(getent group render | cut -d: -f3) \
--device /dev/dri/renderD128:/dev/dri/renderD128:rwm \
--volume jellyfin-cache:/cache:Z \
--volume jellyfin-config:/config:Z \
--mount type=bind,source=/var/my_data/home/server/jellyfin/media,destination=/media,ro=true,relabel=private \
docker.io/jellyfin/jellyfin:latest
podman create --replace \
--label "io.containers.autoupdate=registry" \
--name caddy \
--publish 80:80/tcp \
--publish 443:443/tcp \
--network server \
--user 0:0 \
--volume /var/my_data/home/server/caddy/Caddyfile:/etc/caddy/Caddyfile:Z \
--volume /var/my_data/home/server/caddy/caddy_data:/data:Z \
docker.io/serfriz/caddy-duckdns:latest
Ports are allowed for Podman from port 80 via net.ipv4.ip_unprivileged_port_start=80
On my router, ports are forwarded 80, 443, 2019 (not modified these, had the same on Windows)
My Caddyfile:
myhost.duckdns.org {
reverse_proxy 0.0.0.0:8096
tls {
dns duckdns mytoken
}
}
DuckDNS script is configured based on the installation guide from their website and it is working.
semanage port -l | grep http
http_port_t tcp 2019, 80, 81, 443, 488, 8008, 8009, 8443, 9000
podman logs caddy
{"level":"info","ts":1709992788.8414624,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
{"level":"warn","ts":1709992788.8452077,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":4}
{"level":"info","ts":1709992788.846745,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
{"level":"info","ts":1709992788.8470774,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1709992788.847094,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"info","ts":1709992788.8476772,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
{"level":"info","ts":1709992788.8478417,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/...ffer-Sizes for details."}
{"level":"info","ts":1709992788.8480594,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
{"level":"info","ts":1709992788.8481236,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000040a80"}
{"level":"info","ts":1709992788.8481276,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
{"level":"info","ts":1709992788.848143,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["myhost.duckdns.org"]}
{"level":"info","ts":1709992788.849524,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1709992788.8495479,"msg":"serving initial configuration"}
{"level":"warn","ts":1709992788.8540523,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"2d238845-a3d0-45b8-acc3-f1a50bdb93f0","try_again":1710079188.8540483,"try_again_in":86399.999999469}
{"level":"info","ts":1709992788.8542216,"logger":"tls","msg":"finished cleaning storage units"}
I really like the idea of MicroOS, so please if someone can help, I'd appreciate!
I'm trying to move away from Windows as I won't get security updates anymore next year. My chosen OS is openSUSE MicroOS, at the moment I'm trying to figure out as a VM.
I managed to set up Jellyfin via Podman, locally it is working fine, systemd configuration too.. I set up Caddy in the same way as on Windows, but when I'd like to connect to my Jellyfin via HTTPS, getting connection timed out.
This is my current setup:
podman network create server
podman create --replace \
--label "io.containers.autoupdate=registry" \
--name jellyfin \
--publish 8096:8096/tcp \
--network server \
--user $(id -u server):$(id -g server) \
--group-add=$(getent group render | cut -d: -f3) \
--device /dev/dri/renderD128:/dev/dri/renderD128:rwm \
--volume jellyfin-cache:/cache:Z \
--volume jellyfin-config:/config:Z \
--mount type=bind,source=/var/my_data/home/server/jellyfin/media,destination=/media,ro=true,relabel=private \
docker.io/jellyfin/jellyfin:latest
podman create --replace \
--label "io.containers.autoupdate=registry" \
--name caddy \
--publish 80:80/tcp \
--publish 443:443/tcp \
--network server \
--user 0:0 \
--volume /var/my_data/home/server/caddy/Caddyfile:/etc/caddy/Caddyfile:Z \
--volume /var/my_data/home/server/caddy/caddy_data:/data:Z \
docker.io/serfriz/caddy-duckdns:latest
Ports are allowed for Podman from port 80 via net.ipv4.ip_unprivileged_port_start=80
On my router, ports are forwarded 80, 443, 2019 (not modified these, had the same on Windows)
My Caddyfile:
myhost.duckdns.org {
reverse_proxy 0.0.0.0:8096
tls {
dns duckdns mytoken
}
}
DuckDNS script is configured based on the installation guide from their website and it is working.
semanage port -l | grep http
http_port_t tcp 2019, 80, 81, 443, 488, 8008, 8009, 8443, 9000
podman logs caddy
{"level":"info","ts":1709992788.8414624,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
{"level":"warn","ts":1709992788.8452077,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":4}
{"level":"info","ts":1709992788.846745,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
{"level":"info","ts":1709992788.8470774,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1709992788.847094,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"info","ts":1709992788.8476772,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
{"level":"info","ts":1709992788.8478417,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/...ffer-Sizes for details."}
{"level":"info","ts":1709992788.8480594,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
{"level":"info","ts":1709992788.8481236,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000040a80"}
{"level":"info","ts":1709992788.8481276,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
{"level":"info","ts":1709992788.848143,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["myhost.duckdns.org"]}
{"level":"info","ts":1709992788.849524,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1709992788.8495479,"msg":"serving initial configuration"}
{"level":"warn","ts":1709992788.8540523,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"2d238845-a3d0-45b8-acc3-f1a50bdb93f0","try_again":1710079188.8540483,"try_again_in":86399.999999469}
{"level":"info","ts":1709992788.8542216,"logger":"tls","msg":"finished cleaning storage units"}
I really like the idea of MicroOS, so please if someone can help, I'd appreciate!
Jellyfin - v10.9.9
OS - openSUSE MicroOS (bare metal)
CPU - Intel i5-1340p
RAM - 16GB DDR4-3200 MHz CL20
SSD - 250GB M.2 (PCIe 3.0 4x NVMe)
HDD - 5TB WD 2.5" Elements Portable Black
OS - openSUSE MicroOS (bare metal)
CPU - Intel i5-1340p
RAM - 16GB DDR4-3200 MHz CL20
SSD - 250GB M.2 (PCIe 3.0 4x NVMe)
HDD - 5TB WD 2.5" Elements Portable Black