Skip Navigation

Search

Starting 1 January all of the posts that do not have a tag such as , , , , WILL be REMOVED.

14

Recommendations for a SFF backup server

Hi folks, I'm considering setting up an offsite backup server and am seeking recommendations for a smallish form factor PC. Mainly, are there some suitable popular second hand PCs which meet the following requirements:

  • fits 4x 3.5" HDD
  • Smaller than a regular tower (e.g. mATX or ITX)
  • Equipped with a 6th of 7th gen Intel CPU at least (for power efficiency and transcoding, in case I want it to actually to some transcoding) with video output.
  • Ideally with upgradeable RAM

Do you know of something which meets those specs and is rather common on the second hand market?

Thanks!

Edit: I'm looking for a prebuilt system, such as a dell optiplex or similar.

7

what is the recommended procedure for replacing a pool on TrueNAS?

I bought some new drives to replace the old ones I had lying around, and want to replace them entirely (4x 1tb -> 2x 4tb). I have a few apps running on it (Syncthing, Transmission, Tailscale, etc.), and I wanted to know what the best way to perform a drive upgrade would be. AFAIK the apps are installed on the pool as well, so will I just have to reinstall them from scratch?

The motherboard has 5 SATA ports, which are all currently occupied, so I don't know if I can do an "in-house" replacement.

4

For running Samba on a Debian host, what's the better solution? Native, LXC container, or VM?

My environment is a (freshly installed) Debian server with ZFS pools. I would like to store files in ZFS and share them using Samba.

My question is which is better from efficiency, effort, and security (for the host) perspectives? Running it natively on the bare-metal Debian host, running it in an LXC container, or running it in a VM? Why do you think one way is better than the others? I'm pretty familiar with VMs, but don't have much experience or knowledge of containers.

This is what I'm thinking at the moment, but I would appreciate any feedback:

  1. Natively: no resource overhead, medium admin overhead (manual Samba configuration), least secure(?)
  2. LXC: small resource overhead, least admin overhead (preconfigured containers and/or reproducible configs), possibly more security than native(?)
  3. VM: most resource overhead, most admin overhead (not only manual configuration, but also managing virtual disk [including snapshots, backups, etc]), most secure
10

What should I look for in a mini PC to upgrade

Howdy All! I've been self hosting some services on a pi 4 for a year or two now and have been fiddling with new services lately. I realized I'm pushing 60% or so of RAM and maxing out the SWAP file while fiddling with things. I currently just set up a nightly reboot as a temporary solution but I'm thinking about picking up a mini PC of some sort to replace it with, and wanted to get input from the community (Read: people smarter than me haha.)

I'm happy to hear any preferences anyone would care to share on hardware. I know obviously more RAM is key, as far as I'm aware CPU isn't super important and any recent-ish box will probably have a fine enough processor in it, and of course I'll probably end up getting a bigger external drive to hook up to it but that's not a big deal.

Also, I'm currently running docker/portainer on an OMV core, just how I learned/got into self hosting. Should I take the opportunity to learn Kubernetes or some other big boy system? I've not done alot of reading into it but I know clusters are gaining steam these days even for self hosting, would that be valuable to learn more about as a hobbyist/enthusiast/whatever? I'm fairly competent and used to have some CompTIA certs but as such I know better than to unnecessarily complicate my life lol. It sounds cool but I don't see a use case in my personal usage.

Thank y'all for your time and knowledge!

I'm currently running: Baikal, Bookstack, Bitwarden, Duplicati, Filebrowser, freshrss , Linkwarden, Apache, Navidrome, nginx, portainer, rpi-monitor, searxng, stirlingpdf, syncthing, watchtower,

I'm considering: Nextcloud, Maybe a game server or two depending on the needs?, Whatever else seems interesting, I guess :P

4

Automated CI/CD Data Snapshots

Is there a feature in a CI/CD pipeline that creates a snapshot or backup of a service's data prior to running a deployment? The steps of a ideal workflow that I am searching for are similar to:

  1. CI tool identifies new version of service and creates a pull request
  2. Manually merge pull request
  3. CD tool identifies changes to Git repo
    1. CD tool creates data snapshot and/or data backup
    2. CD tool deploys update
  4. Issue with deployment identified that requires rollback
    1. Git repo reverted to prior commit and/or Git repo manually modified to prior version of service
    2. CD tool identifies the rolled back version
      1. (OPTIONAL) CD tool creates data snapshot and/or data backup
      2. CD tool reverts to snapshot taken prior to upgrade
      3. CD tool deploys service to prior version per the Git repo
  5. (OPTIONAL) CD tool prunes data snapshot and/or data backup based on provided parameters (eg - delete snapshots after _ days, only keep 3 most recently deployed snapshots, only keep snapshots for major version releases, only keep one snapshot for each latest major, minor, and patch version, etc.)
0

Why is Matrix mentioned more often than XMPP in self hosted forums?

I'm looking into hosting one of these for the first time. From my limited research, XMPP seems to win in every way, which makes me think I must be missing something. Matrix is almost always mentioned as the de-facto standard, but I rarely saw arguments why it is better than XMPP?

Xmpp seems way easier to host, requiring less resources, has many more options for clients, and is simpler and thus easier to manage and reason about when something goes wrong.

So what's the deal?

12

TV consumption SBC's

A few years ago I turned a pine64 rock64 SBC into a kodi box, and saw immediate performance improvement over the stock Roku chip on my TCL TV when streaming from SMB. As always "better" becomes... ehhhhh I want more. I want to stick with an SBC because of power consumption on a box that I'm going to leave running 24/7. So my question is: What's the best price to video performance SBC out there?

2

Self-hosting small snippets of text, like for Discord or similar?

More or less title.

The idea is, one can already excise the corporation social media somewhat, or limit their reach into your content, if you self-host your social media (or at least if you participate in the Fediverse, say on Mastodon Lemmy etc) and instead link or cross post to corporate ones such as say Twitter or Discord.

But I'm looking for something to self-host that is better geared to do this with small snippets of text that (mostly) stand by themselves. Something that would fit in a original!tweet or even smaller and would not have much use for the "conversation workflow" UI of corporate social media.

The two use cases I'm aiming for are:

  • instead of posting something creative directly on eg.: Reddit or Discord (by which in the latter it would get locked and lost in that blackhole), I just post it in $THINGY and then link it on Reddit / Discord. That way I also retain license.
  • having a "local" archive of my comments on various stuff that I can tag, query or consult on, or even easily share with other people.

At first I thought "maybe what I'm looking is micro-blogging" but on second thought it feels like I'm looking for something even smaller than that? I'm not at all sure, so I thought to ask around here what would you guys self-host for this kind of thing or if it's even a Thing.

Cheers.

12

Are there any Twitter/X mirroring bot that I could self host.

Preferably a docker image, but given the instructions, I could build an image. Any suggestions on the best practises are also welcome. Like the type of server (VM/Swarm/K8s) etc.

1

Resizing Proxmox local / local-lvm?

I'm dangerously close to running out of space for my VMs on local-lvm, but noticed I have a lot of free space in my local storage where I only have a dozen ISOs stored.

Can anybody help me figure out how I'd go about shrinking the local storage so I can extend my local-lvm?

0

Shared folder across devices

I have a VPS server in the cloud that I use for wireguard. I got the idea to also use it to host a shared folder across my devices: Linux laptop and Android phone.

I started doing some research on this, and would welcome pointers.

11

What to spend money on for server upgrade?

I've been running a headless Ubuntu server for about 10 years or so. At first, it was just a file/print server, so I bought a super low power motherboard/processor to cut down on the energy bill. It's a passively cooled Intel Celeron J3455 "maxed out" with 16BG of RAM.

Since then it's ballooned into a Plex/Shinobi/Photoprism/Samba/Frigate/MQTT/Matrix/Piwigo monster. It has six drives in RAID6 and a 7th for system storage (three of the drives are through a PCI card). I'm planning on moving my server closet, and I'll be upgrading the case into a rack-mount style case. While I'm at it, I figured I could upgrade the hardware as well. I was curious what I should look for in hardware.

I've built a number of gaming PCs in the past, but I've never looked at server hardware. What features should I look for? Also, is there anything specific (besides a general purpose video card) that I can buy to speed up video encoding? It'd be nice to be able to real-time transcode video with Plex.

20

Should I switch to a Raspberry Pi or just buy a new HDD?

Hi, I'm running the Nextcloud snap on my dad's 12 year old laptop (hp elitebook 8470w) but it has some performance issues. It fails to load for half a minute pretty often.

I'm considering buying a rPi 5 instead to run a few things:

  • umami.is or similar simple web analytics
  • Nextcloud with memories.gallery to store all my family photos
  • maybe HUGO to build websites
  • possibly listmonk to send emails later

Another positive could be the lower power draw, but I'm not sure one pi5 is strong enough to run these.

What I'd need help with is the SMART results of the laptops HDD:

Getting these kinds of errors:

[451080.136193] ata1.00: failed command: WRITE FPDMA QUEUED 451080.136235] ata1.00: cmd 61/08:08:80:07:4a/00:00:10:00:00/40 tag 23 ncq dma 4096 out [ [451080.136235] res 40/00:ff: 00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) 451080.136352] ata1.00: status: { DRDY } [ [451080.136385] ata1.00: failed command: WRITE FPDMA QUEUED 451080.136427] ata1.00: cmd 61/08:00:90:07:4a/00:00:10:00:00/40 tag 24 ncq dma 4096 out [ [451080.136427] res 40/00:01:00:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout) [451080.136543] ata1.00: status: { DRDY } [451080.136577] ata1.00: failed command: WRITE FPDMA QUEUED [451080.136619] ata1.00: cmd 61/08:c8:28:08:4a/00:00:10:00:00/40 tag 25 ncq dma 4096 out [451080.136619] res 40/00:01:c8:7f:d5/00:00:10:00:00/e0 Emask 0x4 (timeout) [451080.139084] ata1.00: status: { DRDY 3 }

And I couldn't make sense of the smartmontools long test results for the HDD:

ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 6799 (249 70 0) 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 4753 170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0 171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 76 183 Runtime_Bad_Block 0x0032 100 100 010 Old_age Always - 8 184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 76 199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0 225 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always -5 59312 226 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 65535 227 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 48 228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 65535 232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0 233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0 241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 559312 242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 523233 249 Unknown_Attribute 0x0013 100 100 000 Pre-fail Always - 16098

5

Stay with Gitea or jump to Forgejo?

Does anyone who’s more on the pulse of stuff than I know if I should stick with Gitea or jump to Forgejo while I can?

I understand that, for the moment at least, Forgejo should be a drop-in replacement for Gitea as they shared codebase for so long…

Anyone have experience that this is the case? What version did you make the switch on? Was it really just a binary/docker container swap on existing database or did you run into any troubles?

I’m at a crossroads where as a casual HomeLab user I don’t really care either way, but if there is a chance Gitea does something that ruins my use of it, I will regret having not switched while it was supposed to be easy. On the other hand, if Gitea remains the stronger choice and Forgejo fizzles out, I will regret leaving it behind. Help me decide? I’m on Gitea 1.21.5, the last “guaranteed” jump point now.

11

Alt-text service, self hosted

[question] Alt-text service, self hosted

Is there a service that I could plug into my misskey/firefish/whatev that provides an alt-text for an image I'm posting. I don't post images that often, so the few times, it would be nice to have an automatic OCR or LLM/Stable Diffusion description of a picture attached to it.

Of course, without depending on Google or similars.

Any ideas? cc @[email protected] @[email protected]

3

Family oriented social network that is local only

Hey selfhosters,

I'm looking for some help finding a selfhosted local only social network with mobile apps (for the less tech savvy).

Basically my family lives all over the place and we want an easy way to share photos of our children and family events with comments and engagement. We are privacy minded and don't want pictures of our kids drifting over a social network. I'm struggling to find any software that is always local only and private.

Somethings I have seen that seem promising but not quite right:

  • Secure Scuttlebutt Apps
  • Mastodon +Hometown
  • Immich
  • Just a plane old blog

Hometown is almost perfect but it still allows for federation and that will be hard to teach some of my family about. Immich looks great! But doesn't have anyway to engage nor feed.

Hopefully someone out there knows of something. Ideally it would have an interface like social media without the intent to reach the wider world outside of my family.

15

Is there a project to automatically act as a peer for a peertube channel?

Question is in the title, I am a fan of a channel and would like to automatically connect to the swarm and support the broadcast even if I am not watching live. I seem to remember a project that ran in docker and kind of acted like a cdn node for a channel, but I can't find it now. Anyone know of such a solution?

2

Back Up Strategies?

I started self-hosting recently. Getting the hang of it, and have immich and paperless-ngx running. Other stuff too, but those 2 have data i'd like to retain.

I'd like to commit to switching over to these services, and possibly others in the future, however I need to figure out back ups.

Until now, I've kept all data on my NAS, and back ups on flash drives. Some i keep here, some i keep off-site (3-2-1 strategy), all encrypted.

I'd like to follow a similar strategy, but going forward i'll likely have tons of meta data and configs associated with these files and services, which will be just as valuable to backup. Is it simple as copying a folder over, or is there popular back up strategy most people use. Again i'm new, not trying to over complicate things, but don't want all my eggs in one basket.

3

How to integrate sendgrid API into Lemmy Ansible installation?

I'm using the Lemmy ansible installation method. I've been trying to add sendgrid to the postfix section of the config.hjson file on my local machine. But where do I add the API key and username? I used port 587 but nothing works. Can anyone help walk me through how to integrate sendgrid into Lemmy-Ansible? Thanks!!

the email section of config.hjson looks like this, did I do this right?

email: { smtp_server: "smtp.sendgrid.net:587" smtp_from_address: "noreply@{{ domain }}" tls_type: "tls" }

I was able to find the server location on my VPS under srv/lemmy/domain, so I can edit the lemmy.hjson file there if need be.

0