selfhosted

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

Heavybell, in Do any of you have that one service that just breaks constantly? I'd love to love Nextcloud, but it sure makes that difficult at times
@Heavybell@lemmy.world avatar

I dunno what you guys are doing that makes your nextcloud die without touching it. Mine runs happily until I decide to update it, and that usually goes fine, too. I don’t use docker for it, tho.

MaxHardwood,

I dunno what you guys are doing that makes your nextcloud die without touching it

Mine runs happily until I decide to update it

tostiman,
@tostiman@sh.itjust.works avatar

Just dont update it then

crusa187,

It’s the containerization causing this imo. I also host nextcloud on bare metal and it’s quite stable

9488fcea02a9, (edited )

I’ve been reading nextcloud forums/reddit/lemmy/etc. for years now, and i feel like 90% of the problems are from people using docker or whatever easy one-click solution is out there

I’ve been running NC the old fashioned way for years now and i’ve never had problems of NC dying for no reason.

Have i had issues? Of course… Not not like the ones people keep coming here and shitting on NC

The only times i’ve had major issues and it was actually a problem with nextcloud, is buggy major version releases… So i never install a new major release until X.0.1 these days. Havent really had problems since

Oisteink, in [solved] Nginx proxy server - strange behavior

As you can forward by ip but not by name it sounds like resolver issue.

tubbadu,

how can I find out more about this?

Oisteink, (edited )

On the host of the nginx rev proxy or in nginx config files. Something seems to block the lookup from name to ip, as ip works you know the proxy works. Check dns config and nginx config on that host

tubbadu,

here’s the configuration file for jellyfin:


<span style="color:#323232;"># ------------------------------------------------------------
</span><span style="color:#323232;"># jellyfin.tubbadu.duckdns.org
</span><span style="color:#323232;"># ------------------------------------------------------------
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">map $scheme $hsts_header {
</span><span style="color:#323232;">https   "max-age=63072000; preload";
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">server {
</span><span style="color:#323232;">set $forward_scheme http;
</span><span style="color:#323232;">set $server         "192.168.1.13";
</span><span style="color:#323232;">set $port           8096;
</span><span style="color:#323232;">
</span><span style="color:#323232;">listen 80;
</span><span style="color:#323232;">listen [::]:80;
</span><span style="color:#323232;">
</span><span style="color:#323232;">listen 443 ssl;
</span><span style="color:#323232;">listen [::]:443 ssl;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">server_name jellyfin.tubbadu.duckdns.org;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Let's Encrypt SSL
</span><span style="color:#323232;">include conf.d/include/letsencrypt-acme-challenge.conf;
</span><span style="color:#323232;">include conf.d/include/ssl-ciphers.conf;
</span><span style="color:#323232;">ssl_certificate /etc/letsencrypt/live/npm-18/fullchain.pem;
</span><span style="color:#323232;">ssl_certificate_key /etc/letsencrypt/live/npm-18/privkey.pem;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Block Exploits
</span><span style="color:#323232;">include conf.d/include/block-exploits.conf;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade;
</span><span style="color:#323232;">proxy_set_header Connection $http_connection;
</span><span style="color:#323232;">proxy_http_version 1.1;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">access_log /data/logs/proxy-host-5_access.log proxy;
</span><span style="color:#323232;">error_log /data/logs/proxy-host-5_error.log warn;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">location / {
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade;
</span><span style="color:#323232;">proxy_set_header Connection $http_connection;
</span><span style="color:#323232;">proxy_http_version 1.1;
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Proxy!
</span><span style="color:#323232;">include conf.d/include/proxy.conf;
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Custom
</span><span style="color:#323232;">include /data/nginx/custom/server_proxy[.]conf;
</span><span style="color:#323232;">}
</span>
tubbadu,

on the server host myserverhostname correctly resolves, but if I enter the container (docker exec -it nginx-app-1 bash) it does not work anymore:


<span style="color:#323232;">[root@docker-11e3869f946f:/app]# host tserver
</span><span style="color:#323232;">Host tserver not found: 3(NXDOMAIN)
</span>

(I had to install dnsutils before)

it seems a nginx issue then

Oisteink,

Could also be docker network-config. Docker should by default use the hosts resolver config if there’s nothing in /etc/resolve.conf

You can also supply dns server on the docker command or in your compose file if you’re using compose.

As a last resort you can enter server and ip i the container’s /ets/host file if the ip is static. But that’s gone once you rebuild the image.

Or maybe there’s env on the container you use for dns

tubbadu,

I found a solution: use myserverhostname.station instead of just the hostname. I really have no idea why, on the previous installation it worked well with just the hostname… ahh, whatever.

thank you very much for the help!

oDDmON, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

Yes. The magnets are ridiculously strong. Several hold screen in place on my heat exchanger, to keep leaves and lawn debris at bay.

Haven’t figured out a good use for the platters, but skeet shooting has crossed my mind.

cmnybo,

If you wind a 2 or 3 layer pancake coil the size of the platter out of 12 or 14AWG magnet wire and dump a couple kJ through it from a capacitor bank, the platter will launch into the air. Don’t try it indoors unless you want a platter embedded in the ceiling.

Gork,

Zombie apocalypse DIY railgun

BearOfaTime, in How well does the raspberry pi handle being a moonlight client

What’s moonlight? (Genuinely curious, always looking for new tools).

Thanks!

ShortN0te,
perishthethought,

Thank you!

MeatsOfRage, (edited )

moonlight-stream.org

Just to add some details to that link, it’s a network streaming app that lets you remote into another machine and depending on your network configuration it’s often fast and responsive enough to play games (I played through Celeste which is a very twitchy precision platformer with no issues). It’s also just cool streaming something like Cyberpunk on ultra settings to your phone. There are moonlight clients for nearly any device.

To host moonlight you used to be able to just do it natively through Nvidia gamestream but they turned that feature off. You can use Sunshine now to host github.com/LizardByte/Sunshine

BearOfaTime,

Oh, slick!

Now you given me yet another thing to sink time into, haha.

Thanks!

CapillaryUpgrade, in Alternative to Home Assistant for ESPHome Devices
@CapillaryUpgrade@lemmy.sdf.org avatar

Node-Red can do dashboards. I don’t know if it does data logging, but I would guess so since it can do dashboards. It also supports MQTT so it should handle ESPHome devices without a problem.

It’s made for automations (and great at it) but it can be a minimalist HA hub too.

TCB13,
@TCB13@lemmy.world avatar

Hmm… that’s interesting. I’ll have to explore further. Thanks.

IndustryStandard, in Raspberry as NAS, multiple HDDs and an enclosure

M2 is getting so cheap that having a drive spinning all day can add up in electricity whereas m2 is a lot more efficient.

CalicoJack,

For a NAS, you’re usually concerned with capacity first. And you can’t buy a 20TB m2.

IndustryStandard, (edited )

M2 isn’t much more expensive than HDDs anymore. It used to be five times times the cost. Now maybe 1.5 to 2 times. And they require a lot less space and no dedicated backplane with seperate power.

Also you need redundancy. A 20TB hdd is very expensive and usually very overkill. Rebuilding them takes very long if you ever have corruption issues, along with other problems.

It’s better to have three smaller drives than a single 20TB one.

Unless you’re running an actual datacenter with cooling and big rack space, m.2 is a likely more worth it these days for a small home NAS.

icanwatermyplants, in Alternative to Home Assistant for ESPHome Devices

Consider running HA in a light weight systemd-nspawn container with minimal debian. No docker, only install the repositories you need. HACS if needed. Run your own database on the side somewhere and let HA use it.

By itself HA is fairly lightweight already.

TCB13,
@TCB13@lemmy.world avatar

I was trying to go that route with LXC actually and while it seems great what about the ESPHome addon? I’m not even sure if that thing is required to use ESPHome devices or not.

Krafting, in Question: Best UI to manage VMs and containers?
@Krafting@lemmy.world avatar

Portainer and Cockpit if you want to run VM (it also manage container but only with podman)

hperrin,

Cockpit looks interesting. It’s got a lot of features I normally do with terminal commands, but the VM manager stuff looks like what I’m looking for.

hperrin, (edited ) in This Week in Self-Hosted (26 January 2024)

I released a relevant thing this week:

hub.docker.com/r/sciactive/nephele

It works well with nginx-proxy-manager.

savedbythezsh,

You should reach out to the creators and let them know! selfh.st/contact/

hperrin,

Good idea. Thanks. :)

possiblylinux127, in Raspberry as NAS, multiple HDDs and an enclosure

Your raspberry pi doesn’t have sata or pcie support. Depending on your use case you may want something other than USB as USB is slow

BearOfaTime,

And likes to drop the connection.

ShortN0te,

Wendell claims that it actually has gotten usable and stable in recent years.

piped.kavin.rocks/watch?v=NYGBm-m-h0s

WbrJr,

I have 2 HDDs with a speed of 180mb/s with a burst of 6gb/s according to the Seagate website. Usb3.0 has a data transfer rate of 5gbit/s

So the usb connection will be the bottle neck, but 1. My network speed is not that fast and 2. 5gbit/s is still plenty I think?

possiblylinux127,

First of all, you will never achieve usb3 full theoretical speed. Its just not going to happen. Even if you could though you wouldn’t be able to get full speeds because your bandwidth is split between devices. You will be sharing the bus between plugged in devices along with on board hardware devices.

ShortN0te,

A USB 3.2 gen 1 connection (5 Gb/s) is still plenty for multiple HDDs AND when you have no need for compute on the NAS the network Link is the relevant bottleneck which is half of the USB connection.

Then USB 3.2 gen 2 (10 Gb/s) interfaces on HDD enclosures get more common every day which gives even more headroom with little more expenses.

possiblylinux127,

Can I see some benchmarks then? I just always went for sata drives.

mirdaki, in I want to set up a selfhosted RSS reader but feel a bit lost

Hey, glad to welcome you to self hosting!

There are a few different components to RSS. The feed (in this case Instagram or something like webtoons), an aggregator (the software that pulls in all the feeds you’re interested in and keeps track of things like read status), and a client (the actual interface you interact with to read your feeds)

A lot of time, the aggregator will include a web client you can use, so these can be bundled together. But, because RSS is an open specification, you could use a client other than the one that comes with an aggregator. Examples of this are Miniflux or FreshRSS. If you’re interested in Nextcloud, there is also an RSS plugin for that

The other part, the feed, is often provided by a website directly. Webtoons does this for instances. For each comic, there is a URL that points to the feed. Some sites will have a little RSS icon that direct you to the feed. While other sites will have you manually add a something likr “/rss” or “/atom.xml” to find that feed

But other sites, like Instagram, don’t provide feeds directly. To get those feeds, you’ll need some kind of service that scrapes content from Instagram and creates a feed from that. I’m sure there are selfhosted options for this, but because the original content had to come from a third party anyway, I don’t mind using a public service to create feeds for me. I personally use openrss.org, which doesn’t require an account to use, though I’m sure there are others as well. It has support for Instagram and a bunch of other sites too. I will warn that by the nature of having a service that scrapes another, things may break sometimes. I don’t follow any Instagram feeds through openrss, but I have some other sites/feeds that I do get through them and am generally happy with it

TLDR: Put something like Miniflux on your server and add the Instagram feeds you want through openrss.org to Miniflux

Does that help?

AgnosticMammal,

I think this’d help massively by explaining the components to RSS.

As for instagram or the other sites that do not have RSS, you could choose to self host your own RSS generator, such as RSS-Bridge or RSSHub.

With self hosted though, you could even customise those feed generators and customise your own feeds.

kanzalibrary,

Thank you so much for this!

Fisk400,

This is super helpful, thank you for taking the time to write this.

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

But other sites, like Instagram, don’t provide feeds directly. To get those feeds, you’ll need some kind of service that scrapes content from Instagram and creates a feed from that. I’m sure there are selfhosted options for this

github.com/RSS-Bridge/rss-bridge !

possiblylinux127, in Proxmox HA, Docker Swarm, Kubrenetes, or what?

First off, replace WiFi with Ethernet. Seriously, it will be way more reliable. There are plenty of janky adapters that will work fine.

Once you have that done you can setup a Proxmox cluster. Proxmox won’t be a good experience with WiFi.

rambos,

OP can try power line if nothing else works

possiblylinux127, (edited ) in Hosting private UHD video

4 Mbit upload seems really slow by today’s standards.

Anyway you might want to have a look at peertube. Its designed to be public and federated but you may be able to disable federation.

Another option is Jellyfin but its geared toward movies and TV shows.

corroded,

4 Mbit is exceptionally slow by today’s standards; when I signed up for internet access (there’s only one provider available where I live), I told them “I will pay for whatever the fastest connection is that you can offer.” Turns out that’s just single-channel DSL. They won’t even install bonded DSL where I live, and believe me, I’ve tried. I do have Starlink as well, but because of the land around me, it’s always going to be obstructed by the land topology; when I calculated how high I would need to raise my antenna to avoid obstructions, it was several hundred feet. My pfSense box does a good job of routing traffic between my DSL connection and my Starlink connetion (and falling back when Starlink is obstructed), but for hosting anything, I need a stable connection. That leaves me with just my DSL connection.

rambos, in Raspberry as NAS, multiple HDDs and an enclosure

Pi NAS is a big pile of cables and adapters IMO. You can buy used PC with multiple SATA or M2 ports for 100€

thedirtyknapkin,

yeah, once you have the drives, building the rest of the system can be done for dummy cheap if you look at like cheap used workstations that some company or school is offloading. and it would still probably be a more capable system all around.

thepaperpilot, in PlanarAlly 2024.1 Release!

This looks cool, but I'm not sure there's any reason to use it over Foundry if you already have a license.

Jozzo,
@Jozzo@lemmy.world avatar

You’re probably right, but it’s an alternative for people who don’t.

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