Yesterday, 01:05 PM
(This post was last modified: Yesterday, 04:23 PM by 4r5hw45twh. Edited 20 times in total.)
My setup:
Mini PC with latest Ubuntu LTS on it. Docker (not Docker Desktop) installed with Jellyfin in it.
Regarding restoring backup from another OS:
I just switched from a Windows 10 non-Docker setup. I backed up my Windows JF server before wiping the OS and getting Ubuntu. I now use a Docker setup for JF.
Are there certain files I can transfer to my Ubuntu JF installation so that all the metadata and data in general stays how it was? User accounts, themes, collections, etc etc.
It seems my Windows' ProgramData folder looks similar to my Ubuntu's /Jellyfin/Config folder, minus some folders.
Could I simply copy everything in the old ProgramData folder and paste into /Jellyfin/Config folder, or how does a nom-Docker Windows backup get restored to a Docker Ubuntu setup?
Ok, so I tried simply copy & pasting from ProgramData (ServerData in photo below) to my Ubuntu Config area, and that does seem to transfer my theme at least but then if I access Jellyfin in my browser, it shows my server name to connect to but never lets me actually connect to it.
Regarding reverse proxy:
EDIT: ALL of the below has been resolved (for now). I needed to remove the network_mode: 'host' line on my docker compose file for Jellyfin. Jesus.
What is the easiest route to go with Linux? I installed NPM in Docker, but I just get too lost following the guide here because
at the very end of it, it says, "In the 'SSL' tab, use the jellyfin.example.org certificate that you created with Nginx Proxy Manager" but when I test my domain name in that section, I get:
"There is a server found at this domain but it returned an unexpected status code 502. Is it the NPM server? Please make sure your domain points to the IP where your NPM instance is running."
EDIT for above: So, not sure what changed, but I actually am getting a success message when testing the SSL now in NPM. HOWEVER, I still get a 502 Bad Gateway error on my domain name's page itself that accesses Jellyfin....
I have my own domain name and use Cloudflare with it. On Windows, I also had Cloudflared installed as a service to make a tunnel with CF. Do I need this with Linux as well? I'm also thinking the issue might simply be that I run
JF in Docker now, so I don't have my DNS in Cloudflare pointing to the correct IP or something? On Windows, I had JF as a tray icon, so it had my PC's IP, not something in Docker. How would I fix this?
Not sure if it helps, but if I do "sudo docker ps," it looks like NPM is at:
And then if I do "sudo docker inspect [npm container ID from previous command above]", I get an IP address at the bottom.
It looks like "172.xx.x.x"
My initial NPM docker-compose file was:
I also put NPM & JF on the same Docker network in the docker-compose file for them both. Let's just call it "mynetwork" for now.
EDIT: Actually, I just ran "sudo docker ps --format "table {{.Names}}\t{{.Networks}}"" and got
So when I re-ran the docker-compose for Jellyfin, it didn't change to NPM's network for some reason? I assume it has something to do with Jellyfin's docker compose section of "network_mode: 'host'"?
If I try to force JF to use that network with "sudo docker network connect mynetwork jellyfin", I get this error:
"Error response from daemon: container sharing network namespace with another container or host cannot be connected to any other network"
Mini PC with latest Ubuntu LTS on it. Docker (not Docker Desktop) installed with Jellyfin in it.
Regarding restoring backup from another OS:
I just switched from a Windows 10 non-Docker setup. I backed up my Windows JF server before wiping the OS and getting Ubuntu. I now use a Docker setup for JF.
Are there certain files I can transfer to my Ubuntu JF installation so that all the metadata and data in general stays how it was? User accounts, themes, collections, etc etc.
It seems my Windows' ProgramData folder looks similar to my Ubuntu's /Jellyfin/Config folder, minus some folders.
Could I simply copy everything in the old ProgramData folder and paste into /Jellyfin/Config folder, or how does a nom-Docker Windows backup get restored to a Docker Ubuntu setup?
Ok, so I tried simply copy & pasting from ProgramData (ServerData in photo below) to my Ubuntu Config area, and that does seem to transfer my theme at least but then if I access Jellyfin in my browser, it shows my server name to connect to but never lets me actually connect to it.
Regarding reverse proxy:
EDIT: ALL of the below has been resolved (for now). I needed to remove the network_mode: 'host' line on my docker compose file for Jellyfin. Jesus.
What is the easiest route to go with Linux? I installed NPM in Docker, but I just get too lost following the guide here because
at the very end of it, it says, "In the 'SSL' tab, use the jellyfin.example.org certificate that you created with Nginx Proxy Manager" but when I test my domain name in that section, I get:
"There is a server found at this domain but it returned an unexpected status code 502. Is it the NPM server? Please make sure your domain points to the IP where your NPM instance is running."
EDIT for above: So, not sure what changed, but I actually am getting a success message when testing the SSL now in NPM. HOWEVER, I still get a 502 Bad Gateway error on my domain name's page itself that accesses Jellyfin....
I have my own domain name and use Cloudflare with it. On Windows, I also had Cloudflared installed as a service to make a tunnel with CF. Do I need this with Linux as well? I'm also thinking the issue might simply be that I run
JF in Docker now, so I don't have my DNS in Cloudflare pointing to the correct IP or something? On Windows, I had JF as a tray icon, so it had my PC's IP, not something in Docker. How would I fix this?
Not sure if it helps, but if I do "sudo docker ps," it looks like NPM is at:
Code:
0.0.0.0:80-81->80-81/tcp, :::80-81->80-81/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp
It looks like "172.xx.x.x"
My initial NPM docker-compose file was:
Code:
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
I also put NPM & JF on the same Docker network in the docker-compose file for them both. Let's just call it "mynetwork" for now.
EDIT: Actually, I just ran "sudo docker ps --format "table {{.Names}}\t{{.Networks}}"" and got
Code:
jellyfin host
npm-app-1 mynetwork
If I try to force JF to use that network with "sudo docker network connect mynetwork jellyfin", I get this error:
"Error response from daemon: container sharing network namespace with another container or host cannot be connected to any other network"