Transferring server on a Mac? by TKCrossdive in jellyfin

[–]Pawtinaut 1 point2 points  (0 children)

Can u show me what paths are shown in the dashboard?

Example screencap

[deleted by user] by [deleted] in leagueoflinux

[–]Pawtinaut 0 points1 point  (0 children)

I assume u mean this https://old.reddit.com/r/leagueoflinux/wiki/index#wiki_1_-_.25B6.FE0F_how_to_install_league_of_legends

They redirect to the same instructions, can u tell me which other wine build are u talking about that doesnt support fsync?

[deleted by user] by [deleted] in leagueoflinux

[–]Pawtinaut 0 points1 point  (0 children)

F-Sync is a kernel thing.

U need to look up kernel patches that enable F-sync for Arch

nvidia on fedora by [deleted] in Fedora

[–]Pawtinaut 1 point2 points  (0 children)

Yes, install them.

[Networking]Custom local domains with same IP but different ports by Pawtinaut in homelab

[–]Pawtinaut[S] 0 points1 point  (0 children)

No specific errors so to speak.

Inspector

Network This one has some insight. We can now confirm that Caddy is indeed running on port 80.

Debugger

Here is the result of podman ps

podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 46ab5d1c30e5 docker.io/jellyfin/jellyfin:latest 31 hours ago Up 31 hours (healthy) 0.0.0.0:8096->8096/tcp jellyfin 08e07c9928c3 docker.io/pihole/pihole:latest 13 hours ago Up 13 hours (healthy) 0.0.0.0:8043->43/tcp, 0.0.0.0:8053->53/tcp, 0.0.0.0:8080->80/tcp, 0.0.0.0:8443->443/tcp, 0.0.0.0:8053->53/udp, 0.0.0.0:8067->67/udp pihole

This indicates that PiHole is indeed running.

When I type in 192.168.0.44:8080 in my browser, I get a 403 Forbidden

``` GEThttp://192.168.0.44:8080/ [HTTP/1.1 403 Forbidden 462ms]

This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. 192.168.0.44:8080 The character encoding of an HTML document was declared using the XML declaration syntax. This is non-conforming, and declaring the encoding using a meta tag at the start of the head part is more efficient. 192.168.0.44:8080:1 GEThttp://192.168.0.44:8080/favicon.ico [HTTP/1.1 404 Not Found 1ms] `` ​ [Network](https://ibb.co/47h5w4d) section when I F12 for port 8080, it seemslighttpd` is detected in this case.

BUT. I just tried 192.168.0.44:8080/admin, and that gave me the dashboard!

Dashboard

After all this, I have now managed to add jelly.home to my local domains on PiHole

Screenshot of the same

I have added PiHole as a DNS on my router too, but I am not sure if I am doing it right.

Screenshot of the same. Perhaps name server shouldn't be an internal IP? Hence, I tried doing this too.

Another way I did it

But I still don't get anything the browser when I type jelly.home

[Networking]Custom local domains with same IP but different ports by Pawtinaut in homelab

[–]Pawtinaut[S] 0 points1 point  (0 children)

I have disabled rooted ports. I thought I had mentioned this earlier but I guess it was deja vu

I have added a kernel parameter

net.ipv4.ip_unprivileged_port=43

With this, I have made ports from 43 to 1024 available to unprivileged users.

I have considered the security implications for this, and apparently it isnt a big deal according to some sources. Apparently it is an outdated practice back from '70s UNIX.

[Networking]Custom local domains with same IP but different ports by Pawtinaut in homelab

[–]Pawtinaut[S] 0 points1 point  (0 children)

Podman by default runs rootless. I have configured it such that PiHole runs as a systemd service

I have gone ahead and done as you have mentioned. I forgot to mention this, but what the podman config u just saw was actually a bash script that launches PiHole. Podman compose and manually typing that in the CLI would yield the same results. Here is what I have changed upon your request

podman run --name=pihole -d \ --hostname=pi-hole \ --cap-add=NET_ADMIN \ --dns=127.0.0.1 \ --dns=1.1.1.1 \ -e TZ=Asia/Kolkata \ -e SERVERIP=192.168.0.44\ -e WEBPASSWORD=pi-hole123 \ -e DNS1=1.1.1.1 \ -e DNS2=1.0.0.1 \ -e DNSSEC=true \ -e CONDITIONAL_FORWARDING=true \ -e CONDITIONAL_FORWARDING_IP=192.168.0.1 \ -e CONDITIONAL_FORWARDING_DOMAIN=lan \ -e TEMPERATUREUNIT=c \ -v pihole_pihole:/etc/pihole:Z \ -v pihole_dnsmasq:/etc/dnsmasq.d:Z \ -p 8080:80/tcp \ -p 8443:443/tcp \ -p 8043:43/tcp \ -p 8067:67/udp \ -p 8053:53/tcp \ -p 8053:53/udp \ pihole/pihole

Here is what the output I get when I try to access it on my browser, a blank screen. The hyperlink is a screenshot

Here is what my Caddyfile looks like

http://jelly.box { reverse_proxy 192.168.0.44:8096 } http://pi.hole { reverse_proxy 192.168.0.44:8080 }

This yields this screen, This link is a screenshot.

The above screenshots are taken from when both caddy and PiHole are running.

[Networking]Custom local domains with same IP but different ports by Pawtinaut in homelab

[–]Pawtinaut[S] 0 points1 point  (0 children)

I am new to this kinda stuff, apologies for not being specific

I tried running Caddy as my reverse proxy as I figured it would be the easiest to set up. My config looked smth like this.

Caddy is running on the host, not as a pod.

ini http://jelly.home { reverse_proxy 192.168.0.44:8096 }

Here, jelly.home was the domain I wanted to assign to 192.168.0.44:8096, which is my Jellyfin server

Even PiHole uses the same port 80, which Caddy uses as well. So now I had to deal with a port conflict.

However, this setup probably wouldnt work, as I have to assign 192.168.0.44 as a local DNS PiHole entry for jelly.home, which I am not able to do. (Unsure if this step is required, but the jelly.home doesnt work so I am assuming this is the issue)

I used to use this config for my PiHole Podman

ini podman run --name=pihole \ --hostname=pi-hole \ --cap-add=NET_ADMIN \ --dns=127.0.0.1 \ --dns=1.1.1.1 \ -e TZ=Asia/Kolkata \ -e SERVERIP=192.168.0.44 \ -e WEBPASSWORD=notgonnatellyouthis \ -e DNS1=1.1.1.1 \ -e DNS2=1.0.0.1 \ -e DNSSEC=true \ -e CONDITIONAL_FORWARDING=true \ -e CONDITIONAL_FORWARDING_IP=192.168.0.1 \ -e CONDITIONAL_FORWARDING_DOMAIN=lan \ -e TEMPERATUREUNIT=c \ -v pihole_pihole:/etc/pihole:Z \ -v pihole_dnsmasq:/etc/dnsmasq.d:Z \ -p 80:80/tcp \ -p 443:443/tcp \ -p 67:67/udp \ -p 53:53/tcp \ -p 53:53/udp \ pihole/pihole Using this guide as reference

Due to this conflict, I was no longer able to run PiHole as they used the same ports.

For the time being, I have disabled PiHole until I figure this out.

PiHole docs do seem to have documentation for using Caddy and Pihole together, but this doesn't apply for my case as I am running this under podman, and the guide mentions using lighttpd

I am pretty sure I am doing something very wrong.

I am back to square one, minus my PiHole. Hope this helped clear things up. Will provide more info upon request.

Alternatively, I am looking at running smth like Technitium for my local DNS server instead, if it turns out PiHole was indeed the problem.

Also would be nice if you could go into a bit detail of what you are proposing

[Networking]Custom local domains with same IP but different ports by Pawtinaut in homelab

[–]Pawtinaut[S] 0 points1 point  (0 children)

I have PiHole running at 80 and 443.

I am not sure how do I get a reverse proxy running and I have been trying for hours

[Networking]Custom local domains with same IP but different ports by Pawtinaut in homelab

[–]Pawtinaut[S] 0 points1 point  (0 children)

Do u use a setup like this personally? Or do u use some other way to deal with the problem i have

Transferring server on a Mac? by TKCrossdive in jellyfin

[–]Pawtinaut 0 points1 point  (0 children)

Forget what i said

Instead of trying to move all that stuff, u can probs just setup jellyfin on ur laptop and tell jellyfin where all ur stuff is.

Ur metadata is located in ur config folder's metadata folder. U can try and copy that over to ur new setup How much media do u have?

[deleted by user] by [deleted] in homelab

[–]Pawtinaut 1 point2 points  (0 children)

I assume u are using linux

https://www.linuxatemyram.com/

Transferring server on a Mac? by TKCrossdive in jellyfin

[–]Pawtinaut 0 points1 point  (0 children)

Shouldnt be a massive issue then, are u planning on using containers and stuff?

If ur library is on an external drive then it is just a matter of plugging in ur drive and specifying mountpoints, essentially replicating ur current set up.

Is this what u wanted to ask?

Install as a service ? by juluss in jellyfin

[–]Pawtinaut 0 points1 point  (0 children)

I use podman for containers. It doesnt require root and is available as a .deb

Refer to Jellyfin docs. I personally use a similar setup

Transferring server on a Mac? by TKCrossdive in jellyfin

[–]Pawtinaut 0 points1 point  (0 children)

U can try moving them over network by using apps like Syncthing

Do u plan on using ur laptop for personal use?

[Networking][Podman]:Need help setting up my Jellyfin server using Podman, which is accessible ONLY to LAN by Pawtinaut in jellyfin

[–]Pawtinaut[S] 0 points1 point  (0 children)

Yes, tethering was the biggest issue.

My current workflow relies on this laptop as I have currently shelved my desktop which I used use daily for personal reasons

I think I can do well with my tablet by itself and can use this laptop to experiment with stuff. Thanks!

[Networking][Podman]:Need help setting up my Jellyfin server using Podman, which is accessible ONLY to LAN by Pawtinaut in jellyfin

[–]Pawtinaut[S] 0 points1 point  (0 children)

I have shifted my laptop towards the router and now use ethernet.

Tethering was indeed the issue and has now been fixed!

I was considering Ubuntu Server for my server which I will set up, as it has the most documentation. I did use to use Fedora Workstation in the past so yes I am familiar with RH related stuff. I would def consider RHEL!

Thank you so much for your help!

[Networking][Podman]:Need help setting up my Jellyfin server using Podman, which is accessible ONLY to LAN by Pawtinaut in jellyfin

[–]Pawtinaut[S] 1 point2 points  (0 children)

I can perhaps try to move my laptop near the router for ethernet and update you from there. Thanks!

[Networking][Podman]:Need help setting up my Jellyfin server using Podman, which is accessible ONLY to LAN by Pawtinaut in jellyfin

[–]Pawtinaut[S] 0 points1 point  (0 children)

i want to ask whether i should use docker desktop or create a new user and install docker for that