Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

kbin.social

thecrotch , to Selfhosted in how to access nextcloud outside LAN?

Absolutely do not expose your server on port 80. Http is unencrypted, you'd be sending your login credentials in plaintext across the open internet. That is Very Bad™. If you own a domain name, you can set up a letsencypt cert fairly easily for free. Then you could expose 443 and at least your traffic will be encrypted in transit. It won't solve the other potential issues of exposing your instance like brute force or ddos attacks, but I'd consider it a bare minimum.

If you use a VPN like many others are suggesting it won't matter as much because the unencrypted traffic never leaves your local network.

peeteer ,

As a side note: you not technically need a domain or a let's encrypt certificate to enable https. As a test you can create your own certificate, and use that for https (snake-oil certificate).

This is not appropriate for longer-term usage.
If you want to run websites on the Internet long-term, you should buy a domain and get a lets-encrypt certificate.

thecrotch ,

Technically true but I wouldn't suggest using a self signed cert on the internet under any circumstances.

vegetaaaaaaa ,
@vegetaaaaaaa@lemmy.world avatar
AtariDump , to Selfhosted in Best Audio Format for Storage?

Sheet music.

TheWoozy ,

Sheet music carved in stone

jjlinux , to Selfhosted in Beginner looking for NAS advice
@jjlinux@lemmy.ml avatar

Synology or QNAP will do the trick. However, once you get into the self-hosted rabbit hole, they'll become insufficient pretty quickly.
My suggestion it's to start with a self-built right with a Ryzen 5 or 7, enough RAM (16GB should suffice at first) and take it from there. That way you have flexibility in terms of what hardware (disks, ram, processor, board, power supply, cooling, etc) and its usually very cost effective in terms of bang-for-the-buck.
You can then test OMV, or Ubuntu server, or TrueNAS or anything else, and find your favorite.
There are plenty of cases that can meet those needs without breaking the bank.

Kaldo OP ,
@Kaldo@kbin.social avatar

Hmm, I bought a used laptop on which I wanted to tinker with linux and docker services, but I kinda wanted to separate the NAS into a separate advice to avoid the "all eggs in one basket" situation (also I can't really connect that many hard drives to it unless I buy some separately charged USB disk hubs or something, if those exist and are any good?)

However I do see the merit in your suggestion considering some of the suggestions here are driving me into temptation to get a $500 NAS and that's even without the drives... that's practically more than what my desktop is worth atm.

jjlinux ,
@jjlinux@lemmy.ml avatar

That's exactly the point. Forking over almost 500 bucks for a low profile but low end computer to put disks into, while making it easier for less technology "risk taking" people to achieve some self-hosting features, when adding about 100 to 150 more you can actually get over 4 times the power any of those things can give you, kind of looks like a huge waste of money to me.
I made that mistake once. I outgrew my QNAP in less than a year, so I ended up passing it over to my sister since she doesn't tinker at all and uses it exclusively for backing up her data, nothing else.
I self-host nextcloud, bitwarden, have a cloudflare tunnel set up to avoid opening ports in my PFSense, I host my own Wireguard, AdguardHome, Bitwarden, Joplin, Home Assistant, 2 search engines (SearX and Whoogle), and many things more.

KingThrillgore , (edited )
@KingThrillgore@lemmy.ml avatar

I disagree with this. I have managed to get by quite well with my 4-bay Synology for over five years. They still even provide updates for it. That said, most of the "work" is done on a server of its own accord, and not on the NAS. More than anything, this server will be getting an upgrade later this year with a newer workhorse from either Dell or Supermicro to better suit the needs of virtualization and LXC, and on-hardware AI with whatever consumer PCI cards I can get my hands on.

I don't foresee a need to upgrade outside of disk replacements for storage for another few years, by that time it may be time for 10GigE at home and then, we can talk upgrade.

jjlinux ,
@jjlinux@lemmy.ml avatar

I guess I misspoke. It became insufficient for me rather quickly. When I started to find new platforms that would allow me to replace the data-hogs out there by self-hosting, any of those devices would have trouble keeping up. I went the so-called "overkill" route and made sure what I built could handle at least double my needs in terms of power, performance and storage capacity. After all this time I have yet to see my processor reach over 20% utilization and my RAM hasn't hit 25% even once.
At the end of the day, we all need to make our own choices. I'm actually glad that your synology has worked so good for you, seriously. After all, it is an investment.

KingThrillgore , (edited )
@KingThrillgore@lemmy.ml avatar

For what its worth, I think building a NAS has a few benefits, one being Native Level ZFS support if you use FreeNAS. Synology has gone in a different direction with btrfs and LVM, and I wish they would just stick with ZFS in User Space instead. Synology has managed to do a lot in their consumer lineup, they've even ditched ARM for x86 so they can offer Docker/LXC which is a big win, even if its not as performant as my own Proxmox stack off consumer hardware. That said, use what you feel comfortable with.

jjlinux ,
@jjlinux@lemmy.ml avatar

That's the beauty of self-hosting, choice. This must be one of the very few subjects in which we can disagree on something, and it's still always good advise regardless of the choice.

Fades ,

+1 for QNAP, mine is great

qaz ,

-1 because of Qlocker

dillydogg ,

I'd like to ask a clarifying question.

I'm interested in building a computer to self host from that would exclusively run on my local network. I would like to have some storage (on the order of 2x 16TB HDDs in RAID1 or 3x in RAID5) but also have the ability to host some other services, like Nextcloud, Arr stack, RSS feed, Immich for photos, and a Joplin server. I would probably put Wireguard on there to access these services remotely (but not the *arr stack).

Someday I might want to host some services that are accessible from the internet (not Wireguard), but I think that is for another time in my life.

I am gathering from your comments that, for more than strictly local storage, it is probably worth building a server with storage, rather than trying to stretch a Synology NAS to do all of this for me. Does that sound right?

I've been toying with this idea for a while and am not sure if I sound just go with a Synology or self build. But I think I have more interest in tinkering with the system than a Synology would allow. I'm not totally new to self hosting, I have a VPS that serves a few apps and my blog online, and use an RPi at home to serve a few things. I suppose a third option is to buy the NAS, but then build a computer to host the other applications using the NAS data.

Clusterfck ,

Mainstream NASs (like Synology and QNAP) are very good at what they’re built for, which is be available on the network and have plenty of storage.

They CAN do more, but then you start to notice the limitations. It is still “just a NAS.” It’s not called a NASAHVAVMM (Network Attached Storage and Hypervisor and VM Manager)

If you want to do what you described, a smaller NAS would probably be good for backups, but look into a fully fledged, capable server too.

dillydogg ,

This is great advice. I think the smaller NAS is a prudent investment now, and the more capable server can come later. I think I don't want to let perfect be the enemy of good and keep me from investing in a local storage solution.

jjlinux ,
@jjlinux@lemmy.ml avatar

My personal opinion is that the devil is in the details. What I mean by this is that it will depend on budget, what you want to do right now plus what you want to do in the future, how willing you are to "build and rebuild" over time, how much physycal space you have to keep your rigs at, etc.
I like having full control of my devices, both at the hardware and at the software levels, and I'm well enough financially that I can change whatever I need or want without affecting my family's quality of life negatively. But I also dont just want to throw money out the window, so I research a lot when I want to add or switch something. Based on this, my preference is to DYI instead of choosing a pre-built server.
For what you say you want to do, I think a QNAP or Synology NAS would suffice (I've had both, but I like QNAP better, although they are both very similar when you compare them at the same tier levels). However, if and when you decide to up your game, you already spent the money on the pre-built, and it's not always easy to sell them used to recoup a fee bucks (which is why I chose to give mine to my sister instead of going the "selling it" route.)
I speak from my experience, and I understand that what works for me won't necessarily work for everyone else. But I like letting others know where I made kistaies in hopes that they can avoid them when the time comes.
A good example is that you want to go the Raid way, whereas I have UnRaid because I like the array option much better (I think its a more flexible approach), which can also be achieved by using OMV.
Your understanding of mybtrain of thought on this subject is exactly right. I personally prefer to have more control on as many components as possible in case I need/want to upgrade (RAM, storage, processor, GPU, TPU) because, in my experience, once I started self-hosting, I find something new I want to add almost daily (80% of the time I just test, end up not liking it, and remove, but this is how I've gotten my server to the state it's in today, trial and error mostly 🤣🤣).

dillydogg ,

I think this is great advice. You've made me realize that I'm entering a stage of my training that is notorious for lack of free time, so maybe I'll leave the self build tinkering for another day. It is more important for me to get the local storage going sooner than later but I will plan on building a tinkering PC someday.

jjlinux ,
@jjlinux@lemmy.ml avatar

I'm genuinely happy I could help. I wish you the best luck with this, and above all, have fun. It is a lot of fun (until my wife starts wanting me to do something the moment I set my mind to start playing with my server or network, 🤪).
You evidently have your priorities straight, and that's great to choose the best course of action for each step.
Another hack, in case you're interested, I got my disks shucked out of some WD external drives that I knew were actually WD Red (3 10TB drives) and I ended up saving about 150 dollars total. But know that of you choose to go this route, you'll need to disable the 3v pins on each drive, either by covering them with some electric tape, or just remonif the pins altogether (which is what I did).
Enjoy buddy.

SLfgb , to Fuck Cars in Guess how much jail time for - through a red light, wrong way down a one way street, crashes, takes one year old out of the car, reverses over it causing fractured skull and broken ribs, drives on and crashes again. All while drunk.

let's see, it's not exposing torture and war crimes in the press, so... 6 months?

Tja , to Privacy in Is it possible to have an on-screen keyboard that provides word suggestions without compromising privacy?

It can and it will. That is one of the uses of "NPUs" I'm most excited about.

Basically you can run an (potentially open-source) small LLM on the phone using whatever context the keyboard has access to (at a minumim, what you've typed so far) and have the keyboard generate the next token(s).

Since this is comptationally intensive the model has to be small and you need dedicated hardware to optimize it, otherwise you would need a 500W GPU like the big players. You can do it for 0.5W locally. Of course, adjust your expectations accordingly.

I don't know any project doing it right now, but I imagine that Microsoft will integrate in SwiftKey soon, with open source projects to follow.

technomad ,

What are NPU's?

MrFunnyMoustache ,

Neural Processing Unit. Basically AI processor inside the chip, alongside your CPU and GPU.

technomad ,

Interesting concept, thanks for explaining

kevincox ,
@kevincox@lemmy.ml avatar

I think you hugely estimate what it takes to complete and correct a few words. Maybe you would want some sort of accelerator for fine tuning but 1. You probably don't even need fine tuning and 2. You can probably just run it on the CPU while your device is charging. But for inference modern CPUs are by far powerful enough.

Tja ,

Yeah, modern arm CPUs can run at 3GHz and play PS4 level games, but I don't want my phone to become a handwarmer every time I want to typefvvn a quick email...

And of course, I'm not talking about correcting "fuck" to "duck", I'm talking about ChatGPT level prediction. Or llama2, or gemini nano, or whatever....

Maxy , to Selfhosted in Best Audio Format for Storage?

Which compression level are you using? My old server is able to compress flac’s at the highest (and therefore “slowest”) compression level at >50x speed, so bumping the level up shouldn’t be too hard on your CPU.

reddig33 , to Mildly Infuriating in When you have to use multiple browsers because one place doesn't work

Sounds like “that one place” is put together by the lowest bidder.

RotaryKeyboard , to Selfhosted in Beginner looking for NAS advice
@RotaryKeyboard@lemmy.sdf.org avatar

First things first: Synology as a beginner NAS is perfect! It’s what I recommend to everyone that is getting started out. So good move there.

I think you should get a four-bay NAS. You don’t have to put four drives in it; you can put two drives in it and have an upgrade path for later. Plus the drives are far easier to install and remove. The processor will also be better in a four-bay NAS, which will give you more options if you want to play around with a docker container or run a VM.

To answer your questions:

  1. If the NAS you choose has a USB port on it, you will be able to connect things like external hard drives, thumb drives, etc. NASes with USB3 connectors support USB 3 drives. Just be sure to use a file system that is not proprietary. So NTFS is out, but exFat is fine.
  2. I have connected to volumes on the NAS and have connected the NAS to other volumes without issues. It will work fine.
  3. I had two NASes sitting right next to my head in my office at ear level — probably the worst case scenario for noise. I barely noticed them. I could hear them crunching away during backups, but it wasn’t bad. I never heard a fan running — just the internal drives making their read/write noises.
  4. The drives fail before the NASes do. Synology had some issues with bult-in power supplies going bad after a few years. Their modern NASes now have plugs with a power brick on the cable, which I assume was in response to this issue. It’s a lot less expensive to replace a power cable than a whole NAS! But beyond that one issue (which affected one NAS of mine), the NASes I’ve been using have lasted for … oh, 8 years now.
  5. There are many choices for syncing data with your synology NAS. They provide Synology Drive, which gives you a local drop-box-like folder syncing option. They support rsync, and they provide HyperBackup, which is a block-level backup utility. You can choose a Synology shared drive as the destination for a Time Machine backup on a Mac. (I assume you can do this with Windows’ backup solution, but I’ve never personally used it.)
pineapplelover ,

I have a 2 bay synology nas as well. I fucking love how easy it was to set up following guides online like from Marius Hosting (I gotta donate to that guy). Everything works perfectly from Adguard, Jellyfin, syno photos, etc. As I progress, the next nas I might make it myself but for now, the Synology nas is amazing.

Zepfanman , to Free and Open Source Software in Looking for a REALLY simple video editor for win10, nothing fancy please! [E: already solved. Amazing, thanks!]

@AdvicePleaseThankyou What was your final choice?

Damage , to Free and Open Source Software in Looking for a REALLY simple video editor for win10, nothing fancy please! [E: already solved. Amazing, thanks!]

Avidemux is very basic, if a little unintuitive

frightful_hobgoblin , to Privacy in Any EU based users of reddit should immediately file a complaint under GDPR with their supervisory authority

Any based users in general, really

some_guy , to Fuck Cars in Guess how much jail time for - through a red light, wrong way down a one way street, crashes, takes one year old out of the car, reverses over it causing fractured skull and broken ribs, drives on and crashes again. All while drunk.

How is that not attempted murder and child abuse?

shortwavesurfer , to Privacy in Is it possible to have an on-screen keyboard that provides word suggestions without compromising privacy?
Tucumano88 ,
@Tucumano88@lemmy.zip avatar

Or sayboard

Samsy ,

Thx for sharing this adds perfectly to helium's openboard.

Decronym Bot , (edited ) to Selfhosted in how to access nextcloud outside LAN?

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CGNAT Carrier-Grade NAT
IP Internet Protocol
NAT Network Address Translation
TCP Transmission Control Protocol, most often over IP
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

6 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

[Thread for this sub, first seen 19th Jan 2024, 23:25]
[FAQ] [Full list] [Contact] [Source code]

thantik ,

You missed CVE -- Common Vulnerabilities and Exposures

shrugal , to Selfhosted in Best Audio Format for Storage?
@shrugal@lemm.ee avatar

I'm transcoding everything to 320kbps MP3s. It's much much smaller than flac, and I can't hear the difference even if I try.

Johnmannesca ,
@Johnmannesca@lemmy.world avatar

Best part is mp3 even works with older media players like the usb port of 201X cars

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines