selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

LunchEnjoyer, in Pi-Hole or something else for network ad blocking?
@LunchEnjoyer@lemmy.world avatar

NextDNS is awesome if you want the simple solution, and don’t have any hardware to install services on. Thee free version is somehwta limited to queries(300k per month), but personally didn’t hit those when I was using the free tier.

NextDNS has a lot of nice customization and can easily had custom block lists. The pro version is 2euros a month I believe. I personally stick with NextDNS due to never having to worry about updating the service and it always just works. I also have it hooked to my Tailnet, that way all my devices use it by default.

But ofc, Pihole, Adguard and the rest are also awesome. Best to just pick one that looks good for you. The end goal here is to just have something running in the background rather than nothing.

isles, in Server Configuration Update

Awesome to see, good luck to you!

If you’re looking for tips, I’d try to set up Prowlarr first if you intend to use it, it’ll save some reconfiguration down the line.

Though I don’t find anything as complex as mounting and permissions in the *arrs, haha.

But my favorite part about tinkering with home servers is just learning a little at a time, expanding naturally. It’s easy to find guides that are the “ultimate, best server configs”, but unless you understand what benefits they’re offering, you can’t really determine what fits best for YOUR needs.

I started with CouchPotato on Windows years ago and now have *arrs running through docker on headless boxes and keep adding on fun services.

possiblylinux127, (edited ) in Server Configuration Update

Cool, with time you will see the benefit of containers. I don’t use portainer but I do use podman and docker-compose.

Nice work though. For me I also bought and setup a HDhomerun for live tv with Jellyfin.

waigl, in Hetzner Server auction worth it?

In your case, instead of getting a dedicated server and putting proxmox on it, I would check if it might not be cheaper to just get individual virtual servers directly.

Other than that, sure, I have been a customer for many years now, and I have always been a fan of Hetzner’s price to quality ratio.

crony, (edited )
@crony@lemmy.cronyakatsuki.xyz avatar

The amount of stuff I host will easilly be double a dedicated server tho.

I decided to just get a dedicated box and will just put docker contsiner on bare metal.

onlinepersona, in Hetzner Server auction worth it?

Just don’t do anything with P2P on it. They really dislike that.

CC BY-NC-SA 4.0

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

I don’t plan on doing that tho

onlinepersona,

Then, you should be dandy. An alternative might be OVH? They don’t have a sale right now though.

CC BY-NC-SA 4.0

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

I have already went ahead and bought a hetzner dedicated box, I just couldn’t find a similar performance dedicated box on any other provider’s for what hetzner provided at this moment and I really needed one now.

Darkassassin07, (edited ) in Hetzner Server auction worth it?
@Darkassassin07@lemmy.ca avatar

I’ve only heard that name once, and it was when plex blocked them for hosting many plex servers against plexs ToS (selling access to private/pirate libraries).

kaki, (edited ) in Should i host LinguaCafe or are there better alternatives?
@kaki@sh.itjust.works avatar

I’m aware of LWT and LUTE with the same concept. Neither comes with predefined languages or texts, so they should work for any language as long as you have some texts you want to read.

Shadow_Zwiebel,

Thank you

Fedegenerate, in Pi-Hole or something else for network ad blocking?

I went with a pi running pi-hole. I got it as a project where the tool is the project. But, it’s essential infrastructure now and I don’t want to mess with it incase I break it. I’m an idiot with a poor history with pi guides so far, so I will break it. It’s running the adblock fine, I assume it’s doing the tracking and malware blocking fine too.

Sadly, that’s where I leave the project for now, I had intended to give it a HDD and some… other… software but I really don’t want to break it. I tried convincing the better half that I obviously need to N+1 but she wisely did not see reason.

khorak,

If you want to try setting it up in high availability with failover, give me a poke. And until then - go to Teleporter in the settings, and download the backup. You can restore from there.

One thing worth saying is this - you can grab a cheap refurbished ssd (the smaller - the better), check it’s SMART data for any red flags, and attach it to the pi as OS disk. It will be much more reliable than SD, but overkill if you only run pi on the box. Alternatively look into log2ram, it keeps your SD card alive for longer :D but backup first!

Fedegenerate, (edited )

Thanks. I already have Log2Ram running to prolong the life of the SD. My planned disaster relief is a spare SD, already set up and taped to the box ready to swap and reboot in case of emergency. SD cards are cheap so chucking <£10 at the setup once in a while is no big thing. A fresh install on the new SD allows me to improve on what I’ve already done, for example the new SD I’ll run DietOS instead of Raspbian, and reinforce skills. Less time efficient but that’s no matter when the box is working and it’s a hobby. I can then keep the old SD card taped inside the case as a physical back up. Perhaps more expensive in the long run, but an SD card taped to the inside of the case with simple instructions is an easy sell to the fiancée.

My experience with guides has shaken my confidence quite a bit. Which is fine, I’ll get over myself and the point is to learn, so me hitting snags is a good thing. But, until I have a functioning back up I’m not going to be fucking with it. Facebook cannot go down on account of my education.

But if I may, I have one question, a bunch of recommendations have the setup “segregated” (I dunno the word) in Docker and Portainers but I don’t understand the rationale. I wasn’t intending on doing this, instead opting to install Pi-hole, Log2Ram, UFW, and the… other… softwares directly to the OS for simplicity. Why would one set up a Pi-hole et al in a containers instead of directly?

My current set up is Raspbian OS running Pi-hole as ad, tracker, malware block and DHCP (the ISP router is a Sky2 box so no IP or DNS customisation), Log2Ram and UncomplicatedFireWall.

khorak,

I wasn’t intending on doing this, instead opting to install Pi-hole, Log2Ram, UFW, and the… other… softwares directly to the OS for simplicity. Why would one set up a Pi-hole et al in a containers instead of directly?

So there are many reasons, and this is something I nowadays almost always do. But keep in mind that some of us have used Docker for our applications at work for over half a decade now. Some of these points might be relevant to you, others might seem or be unimportant.

  • The first and most important thing you gain is a declarative way to describe the environment (OS, dependencies, environment variables, configuration).
  • Then there is the packaging format. Containers are a way to package an application with its dependencies, and distribute it easily through the docker hub (or other registries). Redeploying is a matter of running a script and specifying the image and the tag (never use latest) of the image. You will never ask yourself again “What did I need to do to install this again? Run some random install.sh script off a github URL?”.
  • Networking with docker is a bit hit and miss, but the big thing about it is that you can have whatever software running on any port inside the container, and expose it on another port on the host. Eg two apps run on port :8080 natively, and one of them will fail to start due to the port being taken. You can keep them running on their preferred ports, but expose one on 18080 and another on 19080 instead.
  • You keep your host simple and empty of installed software and packages. Less of a problem with apps that come packaged as native executables, but there are languages out there which will require you to install a runtime to be able to start the app. Think .NET, Java but there is also Python out there which requires you to install it on the host and have the versions be compatible (there are virtual environments for that but im going into too much detail already).

Basically I have a very simple host setup with only a few packages installed. Then I would remotely configure and start up my containers, expose ports etc. And I can cleanly define where my configuration is, back up only that particular folder for example and keep the rest of the setup easy to redeploy.

Fedegenerate, (edited )

I have nothing to add, and an upvote isn’t enough. Truly, thank you for your time, there’s a lot to think about.

I think for this initial iteration I’m going to direct install in the name of keeping it simple. Next go around I’ll try containerising, just to learn if nothing else. If I out-grow the Pi4 they’ll be good skills to have.

eager_eagle, (edited ) in rsync speed goes down over time
@eager_eagle@lemmy.world avatar

Bandwidth (disk and network) is just one metric. Could it be an increase in number of IOPS due to syncing several small files?

Tangent5280,

yeah this is what i thought too. proliferation of small files.

Kualk, in I broke nextcloud and i cant fix it

This is a major reason to use simpler technology.

I can’t help you, but i had a similar experience with similar technology. I spent lots of time recovering content. I succeeded, but i have software development experience. I didn’t want a repeat of that.

In the end I picked windows file sharing for home networking and filebrowser for occasional access to data files from outside of home networking.

Web dav is a very good alternative. Apache web server will be easier, but nginx can be made to work.

Joplin is another good alternative, which is based on web dav.

You can pay around $2-$3 a month to shared services provider for hosted web dav.

atzanteol,

Cool story. 🙄

MentallyExhausted,

FYI Nexctloud supports webdav.

InEnduringGrowStrong, in I broke nextcloud and i cant fix it
@InEnduringGrowStrong@sh.itjust.works avatar

Are you trying to recover data here?
Seems like you didn’t use it and (maybe?) don’t have data to lose here?

sidgames5,

No. I didn’t have any data stored

nevalem, in rsync speed goes down over time

You aren’t giving us enough information to even speculate the answer. Are these Enterprise grade servers in a datacenter? Are these home made servers with consumer or low grade hardware you’re calling servers? Are they in the same datacenter or do they go out to the Internet? What exists between the hops on the network? Is the latency consistent? What is the quality of both sides of the connection? Fiber? Wi-Fi? Mobile? Satellite?

Does it drop too nothing or just settle into a constant slower speed? What have you tried to trouble shoot? Is it only rsync or do other tests between the hosts show the same behavior?

Give us more and you might get some help. If these hosts are Linux I would start with iperf to do a more scientific test. And report to us some more info.

mvirts, in rsync speed goes down over time

It’s always the disk cache

eager_eagle,
@eager_eagle@lemmy.world avatar

At ~5GB per HOUR? I don’t think so

surewhynotlem,

It’s the floppy disk cache

possiblylinux127, in I broke nextcloud and i cant fix it

I don’t know much about the snap but you can use docker compose to stand up a deployment pretty quickly. If you aren’t super confident you could use Nextcloud AIO

phanto, in I broke nextcloud and i cant fix it

Did you remove the snap with purge?

Like, sudo snap remove --purge nextcloud? Because the purge will (should) erase stopped passwords and stuff.

I have a snap Nextcloud that I’ve managed to keep alive for seven years now… I’ve had a few issues, but it’s been pretty good overall.

One day I’ll put up a Docker and move everything over… One day.

sidgames5,

I will try that

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #