1
75
submitted 11 months ago by [email protected] to c/[email protected]

Just wrote up a little post for those who want to self host a lemmy instance with docker-compose and traefik.

2
77
submitted 1 week ago by [email protected] to c/[email protected]

After getting fed up with TrueNAS (after it borked itself for the third time and I would have had to set it up AGAIN) I decided to learn Ansible and write a playbook to setup my homeserver that way.

I wanted to share this playbook with you in case someone might find it useful for their own setup and maybe someone has some tips on things I could improve.

This server will not be exposed to the public/internet. If I want to access a service on it from outside my home network I have Wireguard setup on my router to connect to my home network from anywhere.

Keep in mind that I'm relatively new to sysadmin stuff etc so don't be too harsh please 😅

3
56
submitted 1 week ago by [email protected] to c/[email protected]

I would like to have a central Calendar that I could sync everything to it, from my email calendars and my to do list, is there something like that selfhosted or not, that is FOSS?

4
82
submitted 10 months ago by [email protected] to c/[email protected]

I just started getting into self hosting using docker compose and I wonder about possible backup solutions. I only have to safe my docker config so far, but I want host files as well. What software and hardware are you using for backup?

5
100
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

Interesting problem here. So I self host jellyfin, happy to share my (owned) movies with my family. Well, my mother has asked me to digitize her collection too and have me host it. Originally, fine, you give your movies to me, I host them, same thing.

However, what I didn't bet on was the amount of garbage, terrible movies she would give me. There's a few that are fine, but the vast majority are, well I'll just put it bluntly, christian propaganda. I don't think any of them are as terrible as some of the worst case, but think "My life was horrible until I found god now look and see how fulfilled I am" type propaganda - and they make for horrible plots. Left Behind with Kirk Cameron is a good example. Even removing the blatent boring christian plots - it's just a horribly made movie. Cheap, not thought out well, and honestly I read the book decades ago, it's a horrible adaptation too.

Not that I keep only top tier movies in my libraries, but these are, well they just bring a pit to my stomach.

What would you do in my situation? (And I'm going to go ahead and say the pure atheist comments aren't needed, yes of course I could burn them, or dance around them, but I'm not looking to just burn the bridge between my mother and myself over a lifetime of her indoctrination and bad taste in movies). I'm more looking for generic, how do you handle your users asking you to put content you don't find appealing on your server?

6
9
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

whenever I try to run a podman container, it'll through:

Error: running container create option: container has joined pod 4f[long_string]b1f and dependency container 34[long_string]9cd is not a member of the pod: invalid argument

An example of a dependent container compose file looks like this:

services:
  # https://docs.linuxserver.io/images/docker-qbittorrent
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - WEBUI_PORT=8090
      - PUID=0
      - PGID=0
    volumes:
      - ./config:/config:Z
      - ./files:/media:z
    restart: always
    depends_on:
      - gluetun
    network_mode: "container:gluetun"
services:
  # https://github.com/qdm12/gluetun
  gluetun:
    image: docker.io/qmcgaw/gluetun
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 8001:8000 # gluetun
      - 8090:8090 # qbittorrent
    volumes:
      - ./config:/gluetun:Z
    environment:
      - KEYS=REDACTED
    restart: always
    privileged: true

It worked until yesterday. I updated to fedora 40. I am not sure if that is just a coincidence or if that's the reason. Should I downgrade to 39?

7
10
linux dashboard (lemmy.world)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I want to create a custom dashboard web app thing for the purpose of learning and to make it avalaible for selfhosted servers.

The plan is to use existing linux cli tools as much as possible.. Which of them do you think are appropriate for that purpose?

There is a nice list in this blogpost but I dont have any experience with any of them: https://www.brendangregg.com/blog/2024-03-24/linux-crisis-tools.html

8
14
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

Jellyfin is very unreliable with live tv in my experience. It takes ages to reload a playlist and sometimes the old channels still appear in library. Is there a better alternative?

9
62
submitted 1 week ago by [email protected] to c/[email protected]

Hey everyone, I'm building a new server to run Jellyfin (with a few other services like Pi-hole) and I'm stuck on GPU or CPU transcoding.

My main concern is smooth 4K HDR transcoding for 1 stream. I've been reading mixed advice online – some people say a strong CPU with good single-core performance can handle it, while others recommend a dedicated GPU.

Should I focus my budget (~$1000AUD/$658USD) on a good CPU, or spend some of it on a dedicated GPU?

10
16
submitted 1 week ago by [email protected] to c/[email protected]

Hey everyone

I've got an old Mac Mini running Proxmox, right now all it has is a LXC for Plex and a Debian VM for Docker (OpenVPN/Transmission and Screeps server).

What is everyone's preferred monitoring solution?

I'm mostly interested in getting easy access to syslogs, seeing CPU/RAM/Disk space for the Proxmox host, VM and LXC. I have a Mac app called Daisy Disk that shows me all my data on my disk in a nice UI, something with similar capability would be great.

I randomly installed Netdata, didn't love it. Ran into issues with Cockpit and gave up, but I'd try it again if it's considered the best. But I'd love to hear options, preferably with minimal setup and maintenance (wish is probably wishful thinking). Don't hate Proxmox VE, but I feel like I can do better.

11
19
submitted 1 week ago by [email protected] to c/[email protected]

I've tried a few jellyfin plugins that are supposed to sync metadata and thumbnails from tube archivist, but it's just not working right.

I can see some thumbnails, but then the titles are just random gibberish. Or the titles somewhat work, but no thumbnails.

Any secret I'm missing?

Both are running in docker containers on a synology nas.

12
141
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

6 servers were decomissioned, Iwas able to only get the disks, RAM, CPUs and Network Card.

The total of this is : 88 x 8TB SAS disks 44 x 16GB RAM sticks (half 2133, half 2400) 6 x v3 Xeon e3 2630 6 x v4 Xeon e5 2640 3 x 10 GB PCIe dual port cards 12 x 1U heatsink

I'm really lucky to have all of these, even if I don't have a use for all of that for now (except some of the disks)

EDIT: Forgot to mention: All of this for free, I work in a datacenter!

13
71
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I assume it's not nvidia. Yet I have no idea how to differentiate between them and neither do I know what a good price is.

Let's say I don't want to think about what the video type is. I just want a smooth experience.

Edit: thank you guys!

14
21
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]

I am in the process of setting up a home server, and I am struggling to decide. I have previously used yunohost but in the meantime, freedom box has matured quite a bit. I have also looked at Tipi.

The use case right now is, running a wireguard server and probably some notes of sorts (to be decided). A web GUI for management and updating would be much desired.

Disclaimer: I don't have too much surplus of energy, due to a hectic life, so I would prefer something easy and without the requirement of docker/kubernettes

I will run on a Gigabyte Brix with:

  • AMD Ryzen 4300U (4 core)
  • 16 maybe 32 GB RAM
  • 512GB SSD

I am open to other suggestions.

P.S. I apologise if this has been debated before, but I have not really found anything.

Thank you in advance

EDIT: I have read your recommendations and arguments, and it is noted, I am watching docker tutorials now :)

15
0
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]

Hey all,

I've spent the majority of the last year hammering away at Pinepods. It's a Rust based podcast management system that manages podcasts with multi-user support and relies on a central database with clients to connect to it. It's complete with a browser based client and your podcasts and settings follow you from device to device due to everything being stored on the server. AntennaPod is great and all but sometimes I want to listen to podcasts from my laptop. Here's a great solution to that problem. There's also a client edition that you can download and install.

Search both The Podcast Index or Itunes to browse through shows and episodes, Import or export opmls of your podcasts, utilize the standard of podcasting 2.0. It's all fully dockerized and you can have an instance of your own up and running in 5 mins!

If you're on the fence you can try it out without installing the server too! Check the website for more info!

There's a lot more to come down the pipeline as well, such as a lightweight client to stream episodes to and alternative database support. Now is the perfect time to check it out and enjoy continued feature updates! Feel free to open issues or PRs if you experience any problems. Or drop a line on the discord. I'm happy to help!

Official website:

https://www.pinepods.online/

Github:

https://github.com/madeofpendletonwool/PinePods

Discord:

https://discord.com/invite/bKzHRa4GNc

16
95
submitted 2 weeks ago by [email protected] to c/[email protected]

Mimicing a thread I saw elsewhere.

I generally use this list to name my machines: https://en.wikipedia.org/wiki/List_of_mythological_objects

For my main server I use loeding: a modified version of Lædingr, a chain forged by Thor to bind and were broken by Fenrir. (Norse Mythology)

17
12
submitted 1 week ago by [email protected] to c/[email protected]

I have two cameras in Frigate.

One is a Raspberry Pi 3 running Monocle server, and this stopped working in Frigate some time back (driveway). The second is a Galayou G7 (nursery). The nursery camera is the one I am concerned about with this post.

Problem: Up until a month or two ago (I must have ran an update but I don't know) the audio from the Galayou camera worked in Home Assistant. I'd like to get that working again. Some searching led me to try setting up go2rtc in my config.

Here is my config before making any changes:

mqtt:
  host: 192.168.1.10
cameras:
  nursery:
    ffmpeg:
      inputs:
        - path: rtsp://redacted:[email protected]:554/live/ch1
          roles:
            - detect
    detect:
      width: 1280
      height: 720
  driveway:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.240:554/recording/7824851880350319106/replay?trackid=8836591
          roles:
            - detect
    detect:
      width: 1920
      height: 1080

This currently provides only jsmpeg video in Frigate. If I add something like this to the end:

go2rtc:
  streams:
    nursery:
      - rtsp://redacted:[email protected]:554/live/ch1

this adds mse and webrtc as options in Frigate. But, mse plays only video, no audio. And webrtc loads neither audio nor video. I have tried adding lines like - "ffmpeg:nursery#video=h264#audio=aac" and also with opus but to no avail.

Finally, if I ffplay rtsp://redacted:[email protected]:554/live/ch1 it loads audio/video without a problem. I'm also able to connect via ONVIF at onvif://192.168.1.241:8899 from onvif-gui.

So, something is wrong in my Frigate config, and I don't know what. I'm hoping someone here is a little more familiar and can give me a pointer or two here?

18
16
Fediverse Apps on Kubernetes? (lemmy.cloudhub.social)
submitted 2 weeks ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.cloudhub.social/post/347779

I am running a Kubernetes cluster for this domain, and I'm looking at more services to run (right now I have Mastodon and Lemmy).

I was considering WriteFreely and PixelFed, but they don't seem to have an easy solution for running on Kubernetes (WriteFreely doesn't even have a production-ready docker image).

Is anyone else running federated services in their lab? Do you run any of them on Kubernetes?

19
39
submitted 2 weeks ago by [email protected] to c/[email protected]

Initial Thoughts

Hello friends!

This is something that's been muddling around in my mind for a bit, in part because I now have a decent collection of DVDs, and I am starting get a digital collection of shows that are a bit hard to find. I'm also interested in the fact that there's a TubeArchivist plugin for Jellyfin, as media archival interests me and YouTube is starting to suck with Google's position on ad-blocking. It would be nice to be able to access this stuff anywhere as well, so creating a media/Jellyfin server seems like a good solution.

Thing is I'd rather have a physical server than pay a bunch of monthly fees for VPS hosting. Not knocking it of course, but on top of monthly fees I also have my skepticism about VPS hosts and if they're sharing data with people regarding my use of their service.

Completely wishful thinking setup

I'm not so much of a hardware guy as I am a software guy, funnily enough, but to give you an idea of what I would like here's my admittedly wishful thinking of what I'd like for a setup:

  • DragonflyBSD as the server OS, utilizing it's HAMMER2 filesystem and swapcache as I've heard great things about those.
  • Jellyfin, obviously.
  • NVMe SSD storage with some level of RAID.
  • Intel GPU, as I've heard they're very good at video decoding, but I've not looked into evidence of this.
  • Whatever CPU and RAM I can get good performance out of without wasting money.
  • Add it to the Wireguard network so I can watch stuff anywhere.

A few things with this:

  1. I don't know how up-to-date DragonflyBSD's dport of Jellyfin is, but maybe this is something worth contributing to.
  2. God only knows if the new Intel graphics card drivers work well on the BSDs. I know all of the BSDs basically just pull from the official Linux firmware for graphics (I think?).
  3. I'd have to figure out if any other hardware would not play well with DragonflyBSD, probably not too big of an issue but it's still something to look out for.
  4. Cost of hardware.

Wrap up

Overall it probably be just me and my wife who would use the server, mostly me. Maybe some immediate family, a few friends, maybe down the line use it for kids when we have them.

What are your recommendations?

20
59
submitted 2 weeks ago by [email protected] to c/[email protected]

I like the fact that my Android phone records my location timeline from Google Maps, but the fact that this is stored in Google servers creeps me out.

I know you can download the entire location history database from Google so I was planning on building a custom app to store and browse this data.

I was also curious if there would be the possibility of making the phone send locations to this app instead of Google, but I don't know much about Android and I don't know if this would be possible.

What do you think about it? Is there already an app like this? Do you think this is a good idea?

21
24
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I'm looking to replace my Rock 5B running Android TV (the OS jank has finally gotten to me) with an x64 Linux HTPC coupled with an Rii remote.

What distro would one recommend for a "Jellyfin native" client setup? I've run Kodi with the Jellyfin plugins before and not been a fan of the experience.

22
3
submitted 1 week ago by [email protected] to c/[email protected]
23
19
submitted 1 week ago by [email protected] to c/[email protected]

The primary OS for this disk was Unraid. Its formated in BTRFS. I don't think either of those matter. The disk spins and worked before the reboot. But now. No matter what machine, port or cable I use its not mountable. Is there anything I can try? I was going to attempt Spinrite on it however it doesn't see anything either. Thanks! Its a HGST drive dated May2019

24
54
submitted 2 weeks ago by [email protected] to c/[email protected]

I saw an appreciation post for Gluetun on here in the last couple of weeks. I'd set it up before my server died and I had to reinstall everything, but then gone for the easy method when I was reinstalling.

So my easy method install had a VM as a server running Plex and Docker and a second VM with Mullvad installed running anything that needed a VPN in Docker.

Yesterday I opened up a program behind the VPN and it wasn't working again. I had to restart the VM to get it going and it annoyed me. So before work I set up Gluetun.

I had previously used this walkthrough https://youtu.be/9dJPOd0XbN8 so I went back to it, looked in the notes and found his GitHub, then his docker compose under Torrent-VPN.

I stole his initial Gluetun config and the qBittorrent part, but then went into Portainer and took all my running containers and added them to the file. I took the ports out of each compose file and added the "network mode" and "depends on Gluetun" bits from the qBittorrent part of his config and added them to each compose file I added to the file.

Then the ports I had removed I added to the Gluetun part of his compose file.

Downloaded a config file for Mullvad and added the IP and private Key to the Gluetun compose.

Then launch the stack and it worked.

Now for the Gotchas. I had to go into Portainer to get the IP address that the whole stack used. This IP address was required to get containers talking to each other. If you need Sonarr to connect to Prowlarr it needs this IP address.

Also the downloader (he uses qBittorrent and I used RDT client) needed to be mapped using "localhost" for each container and the port

But other than those Gotchas it was quite easy and I managed to get everything set up an hour after finishing work. This was because I just used backups of my already running containers and restored them in the new ones, then edited the bits that had changed (IP addresses in my Gotchas)

The upside is that I'm now only using the one VM, meaning I've saved 4gb of RAM.

I can use that ram for something else now. Nextcloud? Immich?

Hope this helps someone else.

25
43
Reverse proxy (lemdro.id)
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]

I have an openwrt router at home which also acts as my home server. It's running a bunch of services using docker (Jellyfin, Nextcloud, etc.)

I have set up an SSH tunnel between my openwrt router and VPS and can access jellyfin successfully.

I understand that I need to set up a reverse proxy to access multiple services and have https.

But I'm confused if I should set up this reverse proxy on the VPS or on the router itself. Is nginx the easiest option? Should i add subdomains in cloudflare for every service?

Pease don't recommend vpns since they are all blocked where i live (wireguard, tailscale openVPN, etc.) I'm limited to using ssh tunneling only.

Thanks

view more: next ›

Selfhosted

36370 readers
614 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 11 months ago
MODERATORS