selfhosted

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

anzo, in Hetzner Server auction worth it?

You can compare prices (and locations) of “dedi(s)” here lowendbox.com/category/virtual-servers/

Unyieldingly, in rsync speed goes down over time

Use a VPN to check for a bottleneck, my ISP will cap my downloads from Steam to 10MB/s with a shitty VPN i get 25+MB/s.

Tolstoy, in Noob question about PiHole
@Tolstoy@lemmy.world avatar

AFAIK the FritzBox switchs mainly to the faster DNS Server. I tried to use Quad9 with cloudfare as the second DNS server, most of the time cloudfare was the used since it was a bit faster.

seedd, (edited ) in Noob question about PiHole

I tried that, devices just request to alternate dns when they get nothing from pihole. I use adgh, and ig there is a setting where you can set the answer to blocked stuff, like 0.0.0.0, empty…etc. if you set thay to 0.0.0.0, devices won’t query 2nd dns (i hope) when adgh is up. But it is best to have a 2nd pihole/adgh, i have one on my proxmox and another on a pi, synced with adgh sync Edit: if you don’t have another pi, use nextdns

nul9o9, in Noob question about PiHole

I’ve set my secondary DNS to cloudflare, and my pihole still blocked ads for me. I assumed the secondary DNS server is used only if the primary can’t be pinged. But i haven’t actually looked into it.

rambos,

Afaik there is no primary and secondary, you cant tell which one to use. Its best to have 2 piholes, but having 2nd DNS set to nextdns or something like that should be fine if you cant run 2 instances, probably not the best setup tho

mateomaui,

I have two piholes, and sometimes both will receive requests at the same time, if there’s a lot of traffic.

Rootiest,
@Rootiest@lemmy.world avatar

Yeah this is what I do.

Putting Cloudflare as my secondary would allow some requests to get through and then often the device whose requests went to Cloudflare would continue using Cloudflare for a while.

The best solution I found was to run a second Pihole and use it as the secondary.

You can use something like orbital sync to keep them syncronized

mateomaui, (edited )

Pretty much. Not sure how the router determines which DNS to use, but mine seems to latch onto whichever one serves up results the fastest, which would inevitably be cloudflare direct after the pihole returns enough blocks.

So I use a Raspberry Pi Zero W as a dedicated pihole, and my Pi 4 seedbox acts as its own pihole and as a redundant backup. Then use gravity-sync from the Zero to the 4 to mirror the settings.

Rootiest, (edited )
@Rootiest@lemmy.world avatar

Another cool trick is using tailscale to ensure your portable devices always can access your Pihole(s) from anywhere and then setting those server’s tailscale addresses as your DNS servers in tailscale.

This way you can always use your DNS from anywhere, even on cell data or on public networks

I keep a third instance of Pihole running on a VPS and use it as the first DNS server in tailscale so it will resolve a bit faster than my local DNS servers when I’m away from home

mateomaui,

Huh, I’ll definitely look into that. Both times I tried to route external pihole access, somehow other mystery services found it and it slowed to a crawl from getting absolutely pounded by requests not from me. Thanks for that tip!

AtariDump,
nul9o9,

Thanks for the clarification. I’ll be updating my settings.

mateomaui, in Noob question about PiHole

I would avoid it, as it may use the alternate instead of the pihole at anytime. If you want redundancy, it’s best to have a second pihole.

water1309, in Server Configuration Update

Nice! Would you mind sharing the configuration for permanently mounting? I tried it in the past but I never really could get it to work right consistently.

anonymouse,

I’ll look up the exact info when I get home and provide links if I can find them again.

The summary is that I had to add a line to /etc/fstab with the ip and folder route of the nas drive and folder, then the mount point in linux, the file system type for the mount, options that give login creds/group id + establish permissions I want to apply to the mount, and an option that keeps the drive from trying to mount until my network is connected.

Finally, for that last option to work, I had to enable a process that I forget the name of. I think it was in systemd, but I was able to initiate it from the command line.

anonymouse, (edited )

Since I don’t know your level of expertise, I’ll go step by step. Forgive me if you already know how to do some of this.

In terminal, type “sudo nano /etc/fstab” (without quotes). This brings up a file where you can add the mount point so it mounts at boot and set options for the mount. Go to the end of the file and enter a line like the following, substituting your info in the appropriate places:

//[static ip for nas]/[top level folder on nas you want to mount] /[mount point in Linux] [file system type for mount] [mount options, nas login credentials, permissions] 0 0

Mine looks like this: //192.168.1.0/Media /mnt/Media cifs _netdev,user=anonymouse,password=*****,uid=1000,file_mode=0777,dir_mode=0777 0 0

The “_netdev” option is the one that delays the mount until after your network is up. The “file_mode” & “dir_mode” set the mount permissions. There is info out there showing how to insert a reference to a credentials file instead of placing them in fstab in plain text, but I didn’t bother since I have my computer and user profile pretty well locked down.

To get _netdev to work, I had to enter the following in terminal (without quotes): “sudo systemctl enable systemd-networkd-wait-online”.

I couldn’t find all the sites I visited while setting this up, but here are a few:

unix.stackexchange.com/…/how-do-i-mount-a-cifs-sh…

unix.stackexchange.com/…/fstab-not-automatically-…

help.ubuntu.com/community/Fstab#Options

Hope this helps!

water1309,

Hey, thanks very much! I’ll give it a try!

filister, (edited ) in I broke nextcloud and i cant fix it

Did you try


<span style="color:#323232;">sudo snap remove --purge nextcloud
</span>

This will remove the data directory of Nextcloud. Alternatively you can check where snapd is creating this directory and remove it manually.

If you also have entered your email in Nextcloud you can try to reset your password over the mail. docs.nextcloud.com/…/reset_admin_password.html#:~….

Amity_Noceda, in rsync speed goes down over time

Could be ISP throttling, at least that’s my experience with cross-country data transfer

NeoNachtwaechter, (edited ) in rsync speed goes down over time

Humans slow down over time. Computers slow down over time.

Since we don’t know any more details, I put my $.02 on a cheap plastic router that wants to get rebooted sometimes.

atzanteol, in I broke nextcloud and i cant fix it

Have you tried reading the docs?

docs.nextcloud.com/…/reset_admin_password.html

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

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

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

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.

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