26
4
submitted 3 days ago by [email protected] to c/[email protected]

Setting up a Synology server, I made the mistake of just buying a UPS that had a USB plug on the back thinking oh this is a solved problem, it must just work. No no far from it.

So the UPS I mistakenly purchased is not compatible with Synology. SRV1KI-E wants to run this weird program called PowerChute.

Anyone have success marrying this into the Synology ecosystem?

It also has a RS 232 serial port, I wonder if there's an off-the-shelf device that would speak serial but output power state via the network or USB.

27
45
submitted 5 days ago by [email protected] to c/[email protected]

Perhaps this is a weird question I have, but I've been watching some technotim videos lately and he seems to have local dns addresses for local services. Perhaps I've got this wrong, but if not: how would you go over doing this?

I have a pterodactyl dashboard, which I access locally using the machines IP and the port, but it would be great to have a pterodactyl.example.com domain, which isn't accessible from other networks, but does work on my own network. I also still want some services exposed to the internet, so I'm not sure if this would work.

28
11
submitted 4 days ago* (last edited 4 days ago) by [email protected] to c/[email protected]

I used Docker Compose to install and run changedetection.io and everything's working nice, but I want to enable Playwright content fetcher so I can specify when I want to be notified, and not just to be notified when there are even changes in the code of the site.

I can toggle an option in the changedetection settings to use WebDriver Chrome/Javascript instead of the default Basic fast Plaintext/HTTP Client, but when I tried to use the Visual Filter Selection within a watched item it tells me that:

Sorry, this functionality only works with Playwright/Chrome enabled watches. Enable the Playwright Chrome fetcher, or alternatively try our very affordable subscription based service. This is because Selenium/WebDriver can not extract full page screenshots reliably.

And honestly I want to try this to myself, not to just pay a subscription and that's it. So, I keep up and read through their wiki and according to their own wiki while using a docker compose based Change Detection service (as I am) to enable Playwright content fetcher it's as simple as:

In docker-compose.yml uncomment PLAYWRIGHT_DRIVER_URL under environment, and the playwright-chrome section under services.

I already tried that and toggle the fetching method to WebDriver Chrome/Javascript, but now instead of just not letting me using the Visual Filter Selection because of while trying to fetch any site it gives me this error:

Exception: HTTPConnectionPool(host='browser-chrome', port=4444): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4d42417e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

But before of doing these changes I didn't receive any error message and everything works nice, so possibly I'm doing something wrong... Here is the pastebin of the docker-compose file that I edited, I won't share it here because the format fucked the whole code.

29
91
submitted 6 days ago by [email protected] to c/[email protected]

Hi, I am planning to purchase a 2.5-inch HDD. If I connect it to my computer using a SATA to USB adapter instead of directly to the computer's SATA, can it somehow affect the result of this scan?

I apologize for my ignorance but I couldn't find an answer to this question anywhere

30
28
submitted 5 days ago by [email protected] to c/[email protected]

Hello everyone,

Since my daughter was born I am searching for a solution to share pictures of our child with my wife and create a copy of each smartphones photos and other files (documents). At first I tried nextcloud, but there is a lot of overhead and the administration feels kind of complex for what I need.

Anyone else having some input on which software to use?

So my main goal is:

Software running on raspberry pi (preferable docker). Has abilities like shared folder where pictures and documents get uploaded from multiple users and can be viewed (collaboration editing is not needed). Automatically copy files from smartphone (android) to raspberry from selected folder for a simple redundancy.

31
26
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]

Kinda proud of this, so forgive me while I brag. I found a likely "phone home" tracking image in DocuSeal. I searched around: there was an extant issue about the image. I asked the devs: would they accept a PR to remove the image? A maintainer responded quickly that they were not interested in a PR to remove it, so I forked it in minutes with my tiny hack, built a new Docker image and re-deployed to my server after making a one-line change in a Docker Compose file.

Here's the hack: https://github.com/meonkeys/docuseal/commit/e710678d

Happy to share my compose config as well if folks are interested.

I do want to put in a plug for DocuSeal: they made an excellent thing. It's a fast and beautiful app for adding signatures to PDFs, similar to DocuSign or HelloSign, but awesomely AGPL licensed and easy to self-host. I got it running in minutes and it worked very well. I support what they're doing and I want to see them succeed. OpenSign looks cool too but I haven't tried that one yet.

So yeah. Self-hosting and FOSS FTW!


cross-posted to: reddit r/selfhosted (there's no additional content in the post at that link. Sorry, I should have posted on Lemmy first! Anyway, above is the copy/pasted post so you can get it without having to use reddit)

32
30
HDD data recovery (lemmy.dbzer0.com)
submitted 5 days ago by [email protected] to c/[email protected]

I have a HDD 4tb Toshiba drive I had in a Raid 1 NAS device (NSA320) that failed in the raid and I replaced it and rebuilt the raid and life was good.

I have finally moved to a better custom TrueNas scale setup with 2x 8tb HDD in a Raid 1 with weekly encrypted backups to online cloud. I have 2 4tb Toshiba HDDs that match closely with the dead hdd.

I want to try to recover data from it mainly because I want the experience... Let me explain. The drive clicks, yes you can hear the disks spin up to speed and then you hear clicking as it's trying to read.

I want to know if I can start off trying to swap the circuit board to rule that out without much issue? I have true HEPA filter air purifiers and I can rotate and angle them to have a positive pure air pressure if I need to open it up and swap out the arms.

Is it worth trying? Anything I should know or think about in my decision to try this?

33
36
Funkwhale + Portainer? (www.funkwhale.audio)
submitted 6 days ago by [email protected] to c/[email protected]

Has anybody here managed to install Funkwhale using Portainer? I've already tried 3 times, first tried a template, but turns out the AIO container is deprecated, then tried modifying the default docker-compose and env files available on Funkwhale's repo, didn't work (couldn't run the required commands to create a user). Then I spun up a brand new debian 12 LXC container on proxmox, ran their quick install script and failed (something related to snapd, even though it was installed).

Up until now I've been an avid Navidrome user, but since we've been cutting some costs, Spotify had to go. Too late I realised Navidrome has no library separation: Even though you can have multiple users, they all pull from the same library, making it a mess.

I'm just looking for a simple deployment I can use either within my LAN or via TailScale, just for me and a few family members.

34
18
Alpine Linux on NanoPi R6S (links.hackliberty.org)
submitted 5 days ago by [email protected] to c/[email protected]

Hey everyone, I’m looking to replace my router with a NanoPi R6S but want to do everything myself from Alpine Linux.

I’ve been doing a lot of research and it seems that the chipset and hardware are supported as of Linux 6.3, but looking at Alpine’s ARM documentation makes installation sound a bit more advanced than I’m used to (specifically, the partition layout and U-Boot are confusing to me).

Has anyone gone this route?

35
37
Encrypted P2P Chat (chat.positive-intentions.com)
submitted 6 days ago by [email protected] to c/[email protected]

chat.positive-intentions.com

https://github.com/positive-intentions/chat

I'm excited to share with you an instant messaging application I've been working on that might interest you. This is a chat app designed to work within your browser, with a focus on browser-based security and decentralization.

What makes this app unique is that it doesn't rely on messaging servers to function. Instead, it works based on your browser's javascript capabilities, so even low-end devices should work.

Here are some features of the app:

  • Encrypted messaging: Your messages are encrypted, making them more secure.
  • File sharing: Easily share files using WebRTC technology and QR codes.
  • Voice and video calls: Connect with others through voice and video calls.
  • Shared virtual space: Explore a shared mixed-reality space.
  • Image board: Browse and share images in a scrollable format.

Your security is a top priority. Here's how the app keeps you safe:

  • Decentralized authentication: No central server is required for login, making it harder for anyone to gain unauthorized access.
  • Unique IDs: Your ID is cryptographically random, adding an extra layer of security.
  • End-to-end encryption: Your messages are encrypted from your device to the recipient's device, ensuring only you and the recipient can read them.
  • Local data storage: Your data is stored only on your device, not on any external servers.
  • Self-hostable: You have the option to host the app on your own server if you prefer.

The app is still in the early stages and I'm exploring what's possible with this technology. I'd love to hear your feedback on the idea and the current state of the app. If you have any feature requests or ideas, I'm all ears in the comments below!

Looking forward to hearing your thoughts!

The live app

About the app

Docs

36
26
submitted 6 days ago by [email protected] to c/[email protected]

I set up Netbird with Nginx Proxy Manager to reach my self-hosted servers. But I can't get it to configure Mailcow. Does anyone have an idea how I can make Mailcow work with Netbird and NPM?

37
18
submitted 6 days ago* (last edited 6 days ago) by HumanPerson to c/[email protected]

My family needs a new router to replace the old (though not old enough that it should be dying) netgear router that is slowly dying. I want to do something with good foss firmware like opnsense or openwrt. I was thinking that the BananaPi options look good, but had some concerns. I would like to install the firmware myself, rather than trust that the manufacturer didn't modify it in any way. I don't know if the pre-made openwrt bananapi routers can be flashed with custom firmware easily. Also I need something with wifi (ideally wifi 6 or better), though would be willing to consider a separate WAP. VLANs would be nice too, but I could live without them. Have any of you done this? What has your experience been, both with install and long term? Is there anything I should look out for that I might not think of? What resources can I use to find out more about this?

Edit: This is the one I'm looking at. Sorry for linking to Amazon but I used FF's remove tracking from URL feature. https://www.amazon.com/youyeetoo-BPI-R3-Development-MediaTek-Support/dp/B0BLVF9697/ref=cm_cr_arp_d_product_top?ie=UTF8

38
-6
submitted 3 days ago by [email protected] to c/[email protected]

Check out our open-source, language-agnostic mutation testing tool using LLM agents here: https://github.com/codeintegrity-ai/mutahunter

Mutation testing is a way to verify the effectiveness of your test cases. It involves creating small changes, or “mutants,” in the code and checking if the test cases can catch these changes. Unlike line coverage, which only tells you how much of the code has been executed, mutation testing tells you how well it’s been tested. We all know line coverage is BS.

That’s where Mutahunter comes in. We leverage LLM models to inject context-aware faults into your codebase. As the first AI-based mutation testing tool, Our AI-driven approach provides a full contextual understanding of the entire codebase by using the AST, enabling it to identify and inject mutations that closely resemble real vulnerabilities. This ensures comprehensive and effective testing, significantly enhancing software security and quality. We also make use of LiteLLM, so we support all major self-hosted LLM models

We’ve added examples for JavaScript, Python, and Go (see /examples). It can theoretically work with any programming language that provides a coverage report in Cobertura XML format (more supported soon) and has a language grammar available in TreeSitter.

Here’s a YouTube video with an in-depth explanation: https://www.youtube.com/watch?v=8h4zpeK6LOA

Here’s our blog with more details: https://medium.com/codeintegrity-engineering/transforming-qa-mutahunter-and-the-power-of-llm-enhanced-mutation-testing-18c1ea19add8

Check it out and let us know what you think! We’re excited to get feedback from the community and help developers everywhere improve their code quality.

39
23
submitted 1 week ago by [email protected] to c/[email protected]

Speaker: Martin Kleppmann, University of Cambridge, Inc & Switch

We have come a long way since my colleagues and I published the local-first essay five years ago. In this talk I'll review where the local-first idea came from, where we are now, and what I hope the local-first community can work towards in the future.

40
49
submitted 1 week ago by [email protected] to c/[email protected]
41
19
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

Hi! I'm starting out with self-hosting. I was setting up Grafana for system monitoring of my mini-PC. However, I ran into issue of keeping credentials secure in my Docker Compose file. I ended up using Docker Swarm since it was the path of least resistance. I've managed to set up Grafana/Prometheus/Node stack and it's working well.

However, before continuing with Docker Swarm, I want to check if this is a good idea or will I potentially dig myself into a corner? Some of the options I've found while searching:

  • Continue with Docker Swarm and look into automation of stack/swarm in future

    • Ansible playbook has plugins for Docker Swarm.
  • Self-hosted vault: I want to avoid hosting my own secret/password manager at the moment.

  • Kubernetes (k8s / k3s) - I don't wanna 😭

    • More seriously, I'm actually learning this for work but don't see the point of implementing it at home. The extra overhead doesn't seem worth it for a single node cluster.
  • ~~Live dangerously - Store crdentials in plaintext. Also use admin as password for everything~~

Edit: Most of the services I'm planning on hosting will likely be a single replica service.

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

cross-posted from: https://lemmy.world/post/16959253

I got this AP for free, and had some fun trying to configure it, and I decided to look at the inside of this thing. It has a PowerPC processor, pretty cool!

It is a Cisco Aironet 1131AG

More pics:

It's an old AP from around 2007, I managed to get the latest firmware thanks to some guy on the Internet Archive (thank god they exists) ! ( https://archive.org/download/cIOS-firmware-images/ )

43
82
Server for a boat (lemmy.world)
submitted 1 week ago by [email protected] to c/[email protected]

Good day, friends. Since catching the self-hosting bug, I've set up a couple of Proxmox home servers with a bunch of services I enjoy.

Now I'd like to set up a server and local network on my sailboat so I can self-host servarr, pihole, and other services while traveling. The tricky part is that everything on the boat is 12V and I would rather not use an inverter, if possible. Also, it needs to be ultra-low power so I can leave it on at all times and not to deplete my batteries too much.

Criteria:

  • ultra-low power
  • Small form factor
  • runs on 12V
  • 10 TB of storage plus ability to make full local backup
  • Capable of hosting servarr, audiobookshelf, freshrss, etc. via docker
  • HDMI output
  • Full local mirror/backup of the entire file system, including the media library.
  • We will have two laptops and two Android phones to access the server, so the server doesn't need to run a desktop environment.

I'll have a mobile wifi router and a cellular signal booster (or maybe Starlink eventually) for internet access. Since internet bandwidth will be limited and expensive while traveling, I don't want to have to re-download a massive media llibrary if the storage media fail. Thus, I want the media library to be mirrored or fully backed up or synced locally.

What hardware and Linux distro would you use in this situation?

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

I'm new to self hosting and just got CasaOS setup following up to part two of Tech DB's guide. The SMB works on my Linux computer, I can create documents, etc. However I'm having trouble accessing it on my Android phone. I'm using Material Files, Search for SMB shares, and find "CASAOS" but it's under a different IP address as the server. Then when I click on it, it prefills some of the lines such as "Hostname: CASAOS" and "Port: 445". I have added my login info as either my CasaOS login and SSH login but both don't work and I've changed the port to 80 as that's CasaOS default but every combination I try fails with "java8... UnknownHostConnection... and more" Any ideas?

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

Hi,

not sure where else to post this. For a while now, I've unsuccessfully been trying to get WireGuard to work with Crunchyroll.

Setup is as follows:

  • dedicated server hosts a wg-quick instance in [neighboring country]
  • OPNSense acts as peer on a single IP
  • I have a rule for routing the entire traffic of some source device via that IP

This works just fine. Handshake successful, traffic is routed via the server. traceroute shows the server as the hop immediately after my device's local gateway. The connection is stable, and fast.

...except for Crunchyroll. The site / app itself is fine, but I can not, for the life of me, get a video to play. It just keeps loading forever.

I don't think this is an issue with CR recognizing that I'm not where I say I am - looking online, it seems pretty easy to use CR with a VPN. I've also tried from multiple other devices, all with the same symptom.

If anyone has suggestions, I'd love to hear them 😅

EDIT: ~~It was MTU. Had to manually set it to 1500 on both devices.~~

Nope, still the same issues. I was using the fallback interface there briefly.

EDIT: It WAS MTU related, I had to enable MSS clamping on the OPNSense.

46
28
submitted 1 week ago by [email protected] to c/[email protected]

Hey all,

I have given up hope of hosting my own mail server but was hoping for one that would serve as an archive -

  • downloads new emails via IMAP from my mail provider on a regular basis
  • allows my mail clients to connect via IMAP to view and search emails

Any suggestions for a docker solution for this?

Thanks

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

I understand that people enter the world of self hosting for various reasons. I am trying to dip my toes in this ocean to try and get away from privacy-offending centralised services such as Google, Cloudflare, AWS, etc.

As I spend more time here, I realise that it is practically impossible; especially for a newcomer, to setup any any usable self hosted web service without relying on these corporate behemoths.

I wanted to have my own little static website and alongside that run Immich, but I find that without Cloudflare, Google, and AWS, I run the risk of getting DDOSed or hacked. Also, since the physical server will be hosted at my home (to avoid AWS), there is a serious risk of infecting all devices at home as well (currently reading about VLANS to avoid this).

Am I correct in thinking that avoiding these corporations is impossible (and make peace with this situation), or are there ways to circumvent these giants and still have a good experience self hosting and using web services, even as a newcomer (all without draining my pockets too much)?

Edit: I was working on a lot of misconceptions and still have a lot of learn. Thank you all for your answers.

48
295
submitted 1 week ago by [email protected] to c/[email protected]

Centralization is bad for everyone everywhere.

That bring said... I just moved my homeserver to another city... and I plugged in the power, then I plugged in the ethernet, and that was the whole shebang.

Tunnels made it very easy. No port forwarding no dns configuration no firewall fiddling no nothing.

Why do they have to make it so so easy...

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

Hello,

I'm trying to setup an online computer store via YunoHost installed on my VPS. I'm okay with payments to be handled via a third party payment processor (who preferrably also has no JS, but I understand that is probably unlikely). I also have my domain up and running, so I'm ready to test whatever I can get.

TIA!

50
28
submitted 1 week ago by [email protected] to c/[email protected]

I’ve made a few posts in the past about my experimentation with connecting various devices and servers over a VPN (hub and spoke configuration) as well as my struggles adapting my setup towards a mesh network.

I recently decided to give a mesh setup another go. My service of choice is Nebula. Very easy to grasp the system and get it up and running.

My newest hurdle is now enabling access to the nebula network at the same time as being connected to my VPN service. At least on iOS, you cannot utilize a mesh network and a VPN simultaneously.

TLDR: Is it a bad or a brilliant idea to connect my iOS device to a nebula mesh network to access for example my security camera server, as well as route all traffic/web requests through another nebula host that has a VPN such as mullvad on it so I can use my phone over a VPN connection while still having access to my mesh network servers?

view more: ‹ prev next ›

Selfhosted

37770 readers
299 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 1 year ago
MODERATORS