selfhosted

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

savedbythezsh, in This Week in Self-Hosted (19 January 2024)

Sucks about VMWare, that’s a blow for sure

jubilationtcornpone,

It’s a song that’s been played so many times the record is starting to get worn out.

Big manufacturer buys software company.

Big manufacturer does not understand software business, software company, or software company’s customers.

Big manufacturer makes a bunch of cost reductions based on incorrect assumptions.

Big shot at big corp customer calls peon (like me) at budget time to ask why we spend so much money on this “VMWare”.

Peon explains that "VMWare is very important software which used to be “Best in Class” but has become “Overpriced, second rate, yada yada…” And suggests we switch to Hyper-V.

Big shot asks (a little suspiciously) if we would save money without any negative impact to operations.

Peon says, “Yes.”

Big shot writes big check to Microsoft.

Other big shot at big manufacturer is stuck trying to figure out where all the customers went; not realizing that big manufacturer pissed all over the peons who actually have to use their [now] shitty software.

Big manufacturer decides the acquisition was a failure, learns nothing from it, and sells the shell of the once popular software company for a fraction of what they paid for it.

BearOfaTime, (edited )

I’m not so sure the VMWare/Broadcom story is as much ignorance as many are, but rather intentional. They see the big bucks are in the large cloud providers, and knowing it’s not easy to switch away from your current virtualization, they can bend them over a barrel for a year or two and see massive profit gains. Those providers may consider transitioning to other products, but VMware will lock them in with new contracts first.

And for the resellers and SMB customers, it’s pennies compared to the cloud providers.

Fine, I can see the SMB space embracing things like Proxmox/KVM. It runs on x86 hardware, so if we see companies like Dell providing on server hardware, it’s game over in the SMB space for VMware. Imagine having to choose to renew a VMware license for 30% more, or just build new hosts running Proxmox, and transition. Especially since all hardware has a limited lifespan, often 3-5 years in SMB. So a server replacement is just around the corner… Good time to transition.

SMB has hit the point of being the “next market”. There’s a smaller set of enterprise environments, many more SMB’s, and there’s more volatility in the SMB space. So being able to support them, and manage mergers, etc, without worrying about licensing, is a huge benefit. Licensing in SMB is a hellscape, especially when dealing with mergers/transitions.

reddig33, in Centralized User Management Like Plex for eBook Server

I love the look and idea of Kavita, but I wish it was written in something like node.js instead of .net. It requires a handful of shared libraries on non-windows platforms, and I can rarely get it to work.

WestwardWind,

It’s not as slick looking but take a look at Ubooquity. I have it on my Linux server and haven’t had any issues. Granted I mostly use it for sharing ebook files, not reading them on the server itself so it might not be what you’re looking for

WeirdGoesPro,
@WeirdGoesPro@lemmy.dbzer0.com avatar

Have you tried the docker version? Works perfectly for me. Here’s my docker config if you want to give it a shot:

sudo docker run -d
–name=kavita
-e PUID=1000
-e PGID=1000
-e TZ=YOUR/TIMEZONE
-p 5000:5000
-v path/to/kavita/config/:/config
-v path/ro/kavita/ebooks/:/data
–restart unless-stopped
lscr.io/linuxserver/kavita:latest

Edit the time zone and volume paths as needed. You can just make a new volume for config and it will fill it with settings stuff, and then point the data volume to the folder with your ebooks.

The ebooks themselves need to be sorted a little differently depending on if they are PDF’s, ePub, or comics, but it isn’t to hard once you get the hang of it. Basically ePub likes to be in a subfolder and PDF likes to be in the root folder for some reason, otherwise it puts the PDF’s in a collection named after the subfolder.

Overall, I’ve been really happy with Kavita and think it has a lot of potential, especially as an ebook extension of Plex since the layout is nearly identical.

teslasaur, in Help me get started with VPN

Personally I would have gone for OpenVPN access server on Debian. Fairly simple and well documented for those starting out.

I have used and worked with OpenVPN connect on android, PC and Mac.

PlutoniumAcid,
@PlutoniumAcid@lemmy.world avatar

PiVPN offers both services, Wireguard and OpenVPN.

What app do you use on Android? And on Windows?

teslasaur,

OpenVPN connect on both. I load the .ovpn-file that is exported from the server and that’s it.

N0x0n, in Adding services to an existing Docker nginx container

This how I do it, not saying it’s the best way, but serves me well :).

For each type of application, 1 docker-compose.yaml. This will have all linked containers in 1 file but all your different applications are seperate !

Every application in it’s respective folder.

  • home/user/docker/app1/docker-compose.yml
  • home/user/docker/app2/docker-compose.yml
  • home/user/docker/app3/docker-compose.yml

Everything is behind an application proxy (traefik in my case) and served with self-signed certificate.

I access all my apps through their domain name on my LAN with wireguard.

mudeth,

Yes this is what I want to do. My question is how docker manages shared processes between these apps (for example, if app1 uses mysql and app2 also uses mysql).

Does it take up the RAM of 2 mysql processes? It seems wasteful if that’s the case, especially since I’m on a low-RAM VPS. I’m getting conflicting answers, so it looks like I’ll have to try it out and see.

N0x0n,

Nah, that’s not how it works ! I have over 10 applications and half of them have databases, and that’s the prime objective of containers ! Less resource intensive and easier to deploy on low end machines. If I had to deploy 10 VMs for my 10 applications, my computer would not be able to handle it !

I have no idea how it works underneath, that’s a more technical question on how container engines work. But if you searx it or ask chatGPT (if you use this kind of tool) i’m sure you will find out how it works :).

mudeth,

This is promising, thanks!

JCreazy, in Haier hits Home Assistant plugin dev with takedown notice

GE has garbage company for a very long time. It’s a shell of its former self. If I’m paying for a product I am going to do whatever I want with it because it’s my money. And if a company has a problem with that, it sounds like the company needs to fix it on their end. If it’s possible to create a plugin that cost your company millions of dollars is obviously you’re not running your company properly.

Deway, in Haier hits Home Assistant plugin dev with takedown notice

Even their Wikipedia page mentions it, I love it.

scrubbles,
@scrubbles@poptalk.scrubbles.tech avatar

I don’t know how to edit Wikipedia, but it’d be great if somebody would edit the Streisand effect Wikipedia page to include this

StopSpazzing, in I bought a Cybergeek minipc but my pcie drive isn't showing up
@StopSpazzing@lemmy.world avatar

Could be a bad drive. Contact support if still under warranty.

possiblylinux127,

The drive is good. I’m thinking its the slot.

Moonrise2473, in Public DNS server with gui

I use technitium but it’s like pihole, designed for a few concurrent users in a local network? Instead you want that anyone in the world can use your DNS?

But you would only attract bad actors, normal users won’t use a random DNS server as it could redirect specific sites to phishing pages

possiblylinux127,

I’m going to use it to resolve my domain.

Moonrise2473,

Ah you want to host a name server

That’s the hardest thing ever to self host, can’t just use the free name server service from the registrar or cloudflare?

IMHO even the most dedicated sysadmin wouldn’t even think to self host that

possiblylinux127,

I’m starting to realize it would be a massive headache.

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

I ran Pi-hole for years. Switched to adguardhome running on 2 servers (primary and secondary) with AGH sync keeping the two instances identical. I like the UI better, dns rewrites, and the ability to simply block services entirely with a single click.

Flying_Hellfish,

I did this as well, I still have 2 pihole instances running with gravitysync for now, but AGH sync is much easier to setup and maintain. My 2 pihole instances are running for my guest network only and AGH is running everything else.

DreadPotato, in RaspberryPi becoming unresponsive at random intervals
@DreadPotato@sopuli.xyz avatar

This is likely an issue with your SD card…Pi’s eat them up, even the good ones that supposedly can handle it get chewed up pretty quickly. It really sucks that they haven’t transitioned to emmc but insist on using SD cards.

AverageGoob,
@AverageGoob@lemmy.world avatar

Yeah seems like a weird choice to have a default storage type that is known in the community to be unreliable.

ExLisper, in RaspberryPi becoming unresponsive at random intervals

Yeah, I had the same issue. Sometimes it was the SD card, sometimes the network interface (not your case obviously), sometimes things connected to USB, sometimes it was running hot… I gave up and now I just run everything on an older Slimbook Zero. Yes, power consumption is higher (still pretty low) but so is stability.

AverageGoob,
@AverageGoob@lemmy.world avatar

Yeah it seems a lot of people are saying the SD card is the issue which wouldn’t surprise me. I do have some spare space on my proxmox server but it would just be a huge pain in the dick to move everything… But it’s looking like I may need to sadly.

Lordjohn68, in Help me get started with VPN

I chose wireguard implemented by pivpn (i like pi’s)

Wireguard app on phone and a quick duckduck will find you a script or app for your laptop. Connected to your home in seconds.

PlutoniumAcid,
@PlutoniumAcid@lemmy.world avatar

PiVPN is elegant. Easy install, and I am impressed with the ascii QR code it generates.

But I could not make it work. I am guessing that my Android setup is faulty, orrrr maybe something with the Pi? This is incredibly difficult to troubleshoot.

AtariDump,

What didn’t work?

Lordjohn68,

As a side note i had to portforward in my router to make this work.

PlutoniumAcid,
@PlutoniumAcid@lemmy.world avatar

Obviously :) and make sure to forward to the correct LAN IP address, and make sure that machine has a static IP (or DHCP reservation).

TurboLag,

Here is a script to easily install WireGuard and generate client config files for any server: github.com/Nyr/wireguard-install

ShortN0te, in Adding services to an existing Docker nginx container

So from what i get reading your question, i would recommend reading more about container, compose files and how they work.

To your question, i assume when you are talking about adding to container you are actually referring to compose files (often called ‘stacks’)? Containers are basically almost no computational overhead.

I keep my services in extra compose files. Every service that needs a db gets a extra one. This helps to keep things simple and modular.

I need to upgrade a db from a service? -> i do just that and can leave everything else untouched.

Also, typically compose automatically creates a network where all the containing services of that stack communicate. Separating the compose files help to isolate them a little bit with the default settings.

mudeth,

Aren’t containers the product of compose files? i.e. the compose files spin up containers. I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).

I’m getting some answers saying that it deduplicates, and others saying that it doesn’t. It looks more likely that it’s the former though.

ShortN0te,

A compose file is just the configuration of one or many containers. The container is downloaded from the chosen registry and pretty much does not get touched.

A compose file ‘composes’ multiple containers together. Thats where the name comes from.

When you run multiple databases then those run parallel. So every database has its own processes. You can even see them on the host system by running something like top or htop. The container images themself can get deduplicated that means that container images that contain the same layer just use the already downloaded files from that layer. A layer is nothing else as multiple files bundled. For example you can choose a ‘ubuntu layer’ for the base of your container image and every container that you want to download using that same layer will just simply use those files on creation time. But that basically does not matter. We are talking about a few 10th or 100th of MB in extreme cases.

But important, thoses files are just shared statically and changing a file in one container does not affect the other. Every container has its own isolated filesystem.

I understand the architecture, I’m just not sure about how docker streamlines separate containers running the same process (eg, mysql).

Quite simple actually. It gives every container its own environment thats to namespacing. Every process thinks (more or less) it is running on its own machine.

There are quite simple docker implementations with just a couple of hundreds lines of code.

ArbiterXero, in Tailscale help needed

What do the links look like on the start page?

The problem is that Tailscale gives your server a “magic” ip, which isn’t the same one as on your local network. On your local network, do you access them by port? Or reverse proxy?

Machine:8080 or service.machine.localdomain

schmurian, (edited )
@schmurian@lsmu.schmurian.xyz avatar

I think this is what you should look into. Are the services in Heimdall listed with the local IP or host names? Or are they referenced with the tailscale IP?

Three things I want to add here:

  • On tailscale I can only access my home lab’s root page with the services being accessible with something like domain.tld/service.
  • service.domain.tld is not supported by tailscale. (See github issue)
  • The local domain is different to the tailscale domain. If you want to use them with a reverse proxy (nginx, caddy) you need to have rules configured for your tailscale magic DNS domain too.

I hope this helps.

markr, in Adding services to an existing Docker nginx container

Containers are very lightweight. I have no desire to build anything so I always just add another service container to my existing stacks.

mudeth,

That was my impression as well. But since I’m on a low-RAM VPS any overhead in RAM adds up, and I wanted to know how process deduplication works before I get into it.

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