1
16
submitted 1 hour ago* (last edited 1 hour ago) by sylverstream@lemmy.nz to c/selfhosted@lemmy.world

I've got a HP ProDesk G3 which I'm using as home server, I've installed Ubuntu on it. Earlier this week the services I host on it stopped (Immich & Frigate). I tried to SSH, but it just hung after asking for a password. I could ping it, but it was just unresponsive.

I had to force reboot it manually. This is fine, but I'm not always at home.

The chip has Intel vPro as far as I know, which could be an option, but I have no idea how this works. The documentation on the Intel site seems focused on enterprises. I tried to connect with RealVNC which does not work, so I think I've got to install/configure something on the server first.

I also asked Bing Chat but it came up with non existing packages & commands. Welcome your thoughts!

/edit: I just found this, which seems to be exactly what I need: https://manpages.ubuntu.com/manpages/focal/en/man7/amt-howto.7.html

2
14
XMPP... on a Pi? (feddit.uk)
submitted 6 hours ago by Cyber@feddit.uk to c/selfhosted@lemmy.world

So, I've had it up to here (^^^) with the family using WhatsApp, etc and I'm heading off into the land of XMPP to find a better solution.

I've got a Pi3 hanging off my pfSense firewall acting as a kinda DMZ box, so thought I could setup an XMPP server on it (Prosody?)

Any advice? Will the Pi crumble (see what I did there) under the pressure of 4 people using it?

Issues with proxying outside with a Lets Encrypt cert on the pfSense box, but maybe not inside the network?

"Better" server software?

Thanks

3
-23
4
-21
5
10

Is it RDMA? Is it a modification of SR-IOV?

I'm having trouble even trying to find out more about this since the RDMA definition just says "remote access to device memory" and I'd like to confirm if that includes virtual instances of PCIe devices over the network.

Essentially, I'm looking for a way to share virtual instances of supported PCIe devices over IP. I.e. If you have a GPU, you can create virtual slices of it with SR-IOV on KVM-based hypervisors. I'm looking for something that will take this and make it available over IP.

I have come across Infiniband and QLogic, Mellanox and HP and IBM and RDMA support on Debian and all of that. I just need someone to ELI5 this to me so I know where/what to search and see if what I want is really even possible with FOSS.

I know that Nutanix allows one to serve PCIe hardware over IP on their hypervisor, but I plan to stick with FOSS as far as possible.

Thanks!

6
7

I'm runninv Jellyfin in Docker in my home server for movies and shows. I recently added a music directory and apparently after that I'm getting almost hourly notifications from my Uptime-Kuma instance connected to Gotify that Jellyfin is down with status code 502. It's quickly up again, but I'm wondering what's causing this.
I have Nginx Proxy Manager configured for a local and a public domain pointing to my Jellyfin instance.
Any idea what could be causing this?

7
63
8
19
submitted 12 hours ago by moddy@feddit.de to c/selfhosted@lemmy.world

Hi. I switched from a few SBCs to a proxmox-server and i really enjoy it. Now - after playing a little bit around - i plugged an external 8tb-hdd on my server mainly for backups. I followed this tutorial: https://ostechnix.com/add-external-usb-storage-to-proxmox/

Next step is to use urbackup. I created a folder /urbackup on the 8tb-hdd and now i would like to assign this folder to the urbackup-docker but i do not understand how to do this.

What "content" do i have to choose for this case and how can i assign the folder to the docker?

9
111
submitted 21 hours ago by summerof69@lemm.ee to c/selfhosted@lemmy.world

I recently decided to replace the SD card in my Raspberry Pi and reinstall the system. Without any special backups in place, I turned to rsync to duplicate /var/lib/docker with all my containers, including Nextcloud.

Step #1: I mounted an external hard drive to /mnt/temp.

Step #2: I used rsync to copy the data to /mnt/tmp. See the difference?

Step #3: I reformatted the SD card.

Step #4: I realized my mistake.

Moral: no one is immune to their own stupidity 😂

10
7
submitted 14 hours ago by trem@feddit.it to c/selfhosted@lemmy.world

I’ve had an rpi4 running yunohost for a while, and it runs just fine. Last year I got an optiplex running proxmox. Yuno is accessible directly through a couple of domains I own, while I connect to proxmox using Tailscale (fine for me, not so fine when the rest of the family is involved).

Here’s the thing: I’m wondering if it would be best to add custom redirects on Yuno pointing to the services I have on proxmox, or if I should point my router to proxmox running nginx, and use it to point to Yuno (if that’s even possible, since I believe Yuno itself runs on nginx). Or maybe I should just ditch the rpi/yuno and try to move everything to the single proxmox machine (but that would take me some time). I even thought of backing up Yuno and loading it inside a VM in proxmox, but I believe that wouldn’t really change the main path-to-service problem.

11
73
  • Unraid is switching to annual subscription pricing, offering Starter, Unleashed, and Lifetime licenses with optional extension fees for updates.
  • Existing Basic, Plus, and Pro licenses can be upgraded to higher levels of perpetual licenses.
  • This change may increase revenue for Lime Technology but could also make other NAS providers more appealing to users.

Archive link: https://archive.ph/YCFoR

12
14
submitted 21 hours ago* (last edited 5 hours ago) by Kalcifer@sh.itjust.works to c/selfhosted@lemmy.world

Cross-posted to: https://sh.itjust.works/post/14975166


Solution

I'm still not really sure exactly what the root cause of the issue was (I would appreciate it if someone could explain it to me), but I disabled HTTPS on the Nextcloud server

nextcloud.disable-https

and, all of a sudden, it started working. My Caddyfile simply contains the following:

nextcloud.domain.com {
    server-LAN-ip:80
}

Original Post

I am trying to upgrade my existing Nextcloud server (installed as a Snap) so that it is sitting behind a reverse proxy. Originally, The Nextcloud server handled HTTPS with Let's Encrypt at domain.com; now, I would like for Caddy to handle HTTPS with Let's Encrypt at nextcloud.domain.com and to forward the traffic to the Nextcloud server.

With my current setup, I am encountering an error where it is saying 301 Moved Permanently. Does anyone have any ideas on how to fix or troubleshoot this?

Caddyfile:

https://nextcloud.domain.com {
        reverse_proxy 192.168.1.182:443
        header / Strict-Transport-Security max-age=31536000;
}

And here is the output of curl -v https://nextcloud.domain.com/:

* Host nextcloud.domain.com:443 was resolved.
* IPv6: (none)
* IPv4: public-ip
*   Trying public-ip:443...
* Connected to nextcloud.domain.com (public-ip) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_CHACHA20_POLY1305_SHA256 / x25519 / id-ecPublicKey
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=nextcloud.domain.com
*  start date: Feb 21 06:09:01 2024 GMT
*  expire date: May 21 06:09:00 2024 GMT
*  subjectAltName: host "nextcloud.domain.com" matched cert's "nextcloud.domain.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
*   Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://nextcloud.domain.com/
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: nextcloud.domain.com]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.6.0]
* [HTTP/2] [1] [accept: */*]
> GET / HTTP/2
> Host: nextcloud.domain.com
> User-Agent: curl/8.6.0
> Accept: */*
> 
< HTTP/2 301 
< alt-svc: h3="public-ip:443"; ma=2592000
< content-type: text/html; charset=iso-8859-1
< date: Wed, 21 Feb 2024 07:45:34 GMT
< location: https://nextcloud.domain.com:443/
< server: Caddy
< server: Apache
< strict-transport-security: max-age=31536000;
< content-length: 250
< 


301 Moved Permanently

<h1>Moved Permanently</h1>
<p>The document has moved here.</p>

* Connection #0 to host nextcloud.domain.com left intact
13
121
submitted 1 day ago* (last edited 1 day ago) by CosmicTurtle@lemmy.world to c/selfhosted@lemmy.world

It looks like !buildapc community isn't super active so I apologize for posting here. Mods, let me know if I should post there instead.

I built my first PC when I was I think 10-11 years old. Built my next PC after that and then sort of moved toward pre-made HP/Dell/etc. My last PC's mobo just gave out and I'm looking to replace the whole thing. I've read over the last few years that prefabs from HP/Dell/etc. have gone to shit and don't really work like they used to. Since I'm looking to expand comfortably, I've been thinking of giving building my own again.

I remember when I was a young lad, that there were two big pain points when putting the rig together: motherboard alignment with the case (I shorted two mobos by having it touch the bare metal of the grounded case; not sure how that happened but it did) and CPU pin alignment so you don't bend any pins when inserting into the socket.

Since it's been several decades since my last build, what are some things I should be aware of? Things I should avoid?

For example, I only recently learned what M.2 SSD are. My desktop has (had) SATA 3.5" drives, only one of which is an SSD.

I'll admit I am a bit overwhelmed by some of my choices. I've spent some time on pcpartpicker and feel very overwhelmed by some of the options. Most of my time is spent in code development (primarily containers and node). I am planning on installing Linux (Ubuntu, most likely) and I am hoping to tinker with some AI models, something I haven't been able to do with my now broken desktop due to it's age. For ML/AI, I know I'll need some sort of GPU, knowing only that NVIDIA cards require closed-source drivers. While I fully support FOSS, I'm not a OSS purist and fully accept that using a closed source drivers for linux may not be avoidable. Happy to take recommendations on GPUs!

Since I also host a myriad of self hosted apps on my desktop, I know I'll need to beef up my RAM (I usually go the max or at least plan for the max).

My main requirements:

  • Intel i7 processor (I've tried i5s and they can't keep up with what I code; I know i9s are the latest hotness but don't think the price is worth it; I've also tried AMD processors before and had terrible luck. I'm willing to try them again but I'd need a GOOD recommendation)
  • At least 3 SATA ports so that I can carry my drives over
  • At least one M.2 port (I cannibalized a laptop I recycled recently and grabbed the 1TB M.2 card)
  • On-board Ethernet/NIC (on-board wifi/bluetooth not required, but won't complain if they have them)
  • Support at least 32 GB of RAM
  • GPU that can support some sort of ML/AI with DisplayPort (preferred)

Nice to haves:

  • MoBo with front USB 3 ports but will accept USB 2 (C vs A doesn't matter)
  • On-board sound (I typically use headphones or bluetooth headset so I don't need anything fancy. I mostly listen to music when I code and occasionally do video calls.)

I threw together this list: https://pcpartpicker.com/list/n6wVRK

It didn't matter to me if it was in stock; just wanted a place to start. Advice is very much appreciated!

EDIT: WOW!! I am shocked and humbled by the great advice I've gotten here. And you've given me a boost in confidence in doing this myself. Thank you all and I'll keep replying as I can.

14
36
Starting from zero (lemmy.world)
submitted 1 day ago* (last edited 1 day ago) by gedaliyah@lemmy.world to c/selfhosted@lemmy.world

I'm interested in exploring the world of self hosting, but most of the information that I find is incredibly detailed and specific, such as what type of CPU performs better, etc. What I'm really looking for is an extremely basic square 1 guide. I know basically nothing about networking, I don't really know any coding, but it seems like there are a lot of tools out there that might make this possible even for a dummy like me.

Right now, my cloud computing is pretty much typical, I think. I use onedrive to sync my documents and old files. I need to be able to quickly access files on different devices, such as a powerpoint created on one device and presented on another. On my phone I use Android and my backups of downloads and photos and other data (messages, etc) are all on Google Drive /Google 1.

I'm willing to spend the time learning to an extent, but I'm not looking to become a network expert. I'm also willing to spend a little bit of money on hardware or a subscription service if necessary. Ideally I'd like to be out of this subscription service game, but the main goal is to be in charge of my own files. I have an old laptop running Linux to play around with and a fast and stable home internet connection.

Eventually, I would like to not only be syncing my files, photos, and documents in real time, but also I'd like to maybe try using it as an entertainment server to watch/listen to downloaded media on my home network.

Is there such a thing as a guide for a total beginner starting from zero? Is this worth attempting, or will I quickly find myself frustrated and in way over my head? Or, do I need to wait a little longer until more idiot-proof tools become available?

15
38
Bad 4K Performance on Jellyfin (poptalk.scrubbles.tech)

Hi all, looking for some help with the Jellyfin Media Player.

For background, I've used Plex for years, and I've had it working well. I'm trying out Jellyfin because of all of the reasons you're already thinking of.

One issue I'm having - I like uncompressed 4K HDR. I'm trying to play a large movie, one Plex direct plays perfectly fine to my HTPC. (2.5GB networking through and through, direct access, all the basics have checked). However Jellyfin Media Player seems to stutter and drop frames.

Not like "It stops and buffers", but more like playing a video game and it drops down to 15fps. Is there a setting somewhere I'm missing to enable GPU support or something? I toggled OpenGL on and off and it didn't seem to have an effect.

Video says it's direct play, no transcode. Not sure what else it could be beyond hardware acceleration?

Thanks!

16
32

cross-posted from: https://discuss.online/post/5391072

February 20, 2024 piefedadmin writes:

For a very small instance with only a couple of concurrent users a CDN might not make much difference. But if you take a look at your web server logs you’ll quickly notice that every post / like / vote triggers a storm of requests from other instances to yours, looking up lots of different things. It’s easy to imagine how quickly this would overwhelm an instance once it gets even a little busy.

One of the first web performance tools people reach for is to use a CDN, like Cloudflare. But how much difference will it make? In this video I show you my web server logs before and after and compare them.

Read How much difference does a CDN make to a fediverse instance?

17
11
submitted 1 day ago* (last edited 1 day ago) by mnemonicmonkeys@sh.itjust.works to c/selfhosted@lemmy.world

I'm looking into building my first NAS/Jellyfin server, and one thing I keep wondering about is whether I should try and make it work as a Sunshine server to stream games to my TV via Moonlight.

On my current desktop, I mainly do this for emulated games or former console exclusives. That being said, I'd rather not use my desktop as a server, hence wanting to cram it into a NAS/Jellyfin server. Is this a good idea? Or should I drop it and keep the media server separate?

18
163
submitted 2 days ago* (last edited 2 days ago) by scrubbles@poptalk.scrubbles.tech to c/selfhosted@lemmy.world

Per the pricing plan, all licenses are forever licenses, but the lowest two tiers only offer 1 year of updates.

After that you can choose to renew, or continue with your current version.

If you do not like subscriptions, there still a lifetime plan, but at a higher pricepoint.

All existing plans are grandfathered in.

Full announcement form Lime: https://unraid.net/blog/pricing-change

Note: I have mixed emotions about this, but I'm seeing a lot of rage bait, and if we're going to rage we might as well have our facts straight.

If you haven't subbed already and are interested, check out the unraid community at !unraid@reddthat.com. We are already discussing it over there too.

19
8
submitted 1 day ago by Fisch@lemmy.ml to c/selfhosted@lemmy.world

The major thing keeping me from self-hosting my music is that I mostly discover music by using the radio function in ViMusic (Uses the YT Music API to stream music) or by finding a song through friends, social media, etc. and then listening to it in ViMusic to see whether it's good and I want to add it to my playlist.

Not having the radio function wouldn't be that big a deal but having to wait for a song to download before being able to listen to it could be very annoying, depending on the situation.

So my question is: Is there some way to have a Subsonic server where I'm able to search for any song from a client and have the server stream it from something like YT Music when it's not downloaded?

20
28
submitted 2 days ago by padook@feddit.nl to c/selfhosted@lemmy.world

I've been slowly moving access to my Self hosted services from multiple WireGuard VPN connections over to tailscale for that nice flat network feel. One thing that was holding me back from the switch was that I liked vpn'ing my internet traffic from my phone and laptop back to my network and into the PiHole to avoid ads/tracking when I was away from home.

Then I found the DNS settings on the tailscale admin console and everything lit up! I added the server that PiHole is running on as a nameserver and changed the global settings and BINGO! No ads!

Unfortunately.... A few days later when looking at my PiHole admin console I realized that the PiHole that I set up at my parents house for them was one of the biggest clients.....Not optimal.....

Is there a way to make an exception to the global DNS setting? Any suggestions? I don't want to remove their PiHole from my tailnet as it makes it much easier to maintain.

21
198
22
19

I have an aging gaming desktop with a GTX 970 that I've previously used to let friends/family stream games. My area has a lot of fiber so it's surprisingly usable, even got VR working. Problem is, I'd prefer to use it as a NAS most the time as it has plenty of drive bays and I need somewhere better to run jellyfin than my desktop.

I'm somewhat aware of the options as I've used various hypervisors etc before, but I also want something as simple as possible. Because of that, I'm looking at TrueNAS. I'm aware my point of difficulty is gonna be the GPU. Is there any easy way to use it for a gaming VM at times and jellyfin encode others? If there's not some nifty feature in Proxmox or TrueNAS to solve my problem, how dumb would running a linux VM with both the games and Jellyfin be?

Forgive me if this is a more generic question than I realize. I'd be plenty happy to be pointed to some existing resources.

23
228

Hi all!

I'd like to share some slow, but steady progress I've made on my self-hosted personal photo gallery - a Google Photos alternative. It's been a while since I last posted any updates - the last time was about v0.9.2 on /r/selfhosted, so it's actually my first post here.

What's new?

Lots of things! Here's a quick summary:

Show me the demo

https://demo.photofield.dev/

Now hosted on Hetzner's arm64-based CAX11 - 2 vCPUs & 4 GB of RAM - the cheapest one.

The photos are © by their authors. Since migrating to the CAX11, it only uses one size of internally pregenerated sqlite-based thumbnails, taking up roughly 4% of the disk space of originals. Support for Synology Moments thumbnails is still there, but doesn't seem as crucial as before.

How do I try it out?

It's very low commitment, a single executable or Docker image that you can mount with read-only access to an existing file structure, see Quick Start (also on GitHub if the website is dead).

Another one??? Why?

It's a conspiracy to increase fragmentation and increase shareholder value of big tech companies. 😄 Jokes aside, I think there is some space for a fast, self-contained, extremely easy to deploy solution. But mainly, it's to scratch my developer itch and I get to learn new things.

Thanks

Thanks to everyone who's been using it, contributing, and giving feedback! See also foss_photo_libraries for alternatives if this doesn't fit your needs.

Let me know what you think and what you'd like to see next! 🙏

24
67
25
40
Spam posts (lemmy.techtriage.guru)

So what can we do to combat this Spam posting as a community? Anyone have any ideas?

view more: next ›

Selfhosted

35138 readers
902 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

founded 8 months ago
MODERATORS