selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

originalucifer, in Backing-up Single Board Computer
@originalucifer@moist.catsweat.com avatar

one of the benefits of things like docker is creating a very lightweight configuration, and keeping it separate from your data.

ive setup things so i only need to rsync my data and configs. everything else can be rebuilt. i would classify this as 'disaster recovery'.

some people reeeeally want that old school, bare-metal restore. which i have to admit, i stopped attempting years ago. i dont need the 'high availability' of entire system imaging for my personal shit.

rsync is your friend. its ubiquitous.

Krafting,
@Krafting@lemmy.world avatar

Do you have tips to save multiple location, as I also have non-docker configs to backup in /etc and /home, how do you do it ? just multiple rsync command in a sh script file with cron executing it periodically ? or is there a way to backup multiple folder with one command ?

jubilationtcornpone, in entire system backups onto the server - how?

I use Veeam Backup & Recovery Community Edition. If you’re runing VM’s you have to be on VMWare or Hyper-V. You can also use agents on the individual VM/Server. It also requires a pretty hefty Windows host, at least if you want your backups to complete fairly quickly.

Those are understandably downsides for some people. But, Veeam is in a class by itself. It has no serious competitors and as far as ease of use and reliability, it’s top tier.

I’m lazy. I don’t want to spend a bunch of time configuring finicky backups only to find out I needed one and it failed. I honestly wish there were a comparable open source backup system. I have yet to find anything that works as well.

ZeDoTelhado,

I was reading about it and I actually like a lot this solution’s principle. It reminds me a lot of puppet which I have seen before (for other kind of tasks) to orchestrate several computers. Big shame it works on windows though, since I have a server with docker on ubuntu server at this point and was not really looking forward to change that. But thanks for the suggestion, is for sure very interesting

Mautobu,

Another vote for Veeam. I use it at home and professionally. It’s a solid product and has saved my ass countless times.

Lodra, in entire system backups onto the server - how?
@Lodra@programming.dev avatar

If you’re up for it, it’s generally better to not backup everything. Only backup the data that you need. Like a database. Or photos, music, movies, etc. for personal data. For everything else, it’s best to automate the install and maintenance of your server.

Disclaimer: this does take more effort!

ZeDoTelhado,

Nowadays I sort of do this with seafile. Select folders to sync, open the app every other time to resync stuff, carry on with your day. The only thing I wanted to take away if there is a better way to not have a massive hassle to reinstall everything in case something happens (and in case I forget to select a folder to sync also).

But your suggestion I think is very valid as well. At least for mint have a way to make a more automated installer or similar to get the stuff I use usually. Yet another rabbit hole to go into…

taladar, in entire system backups onto the server - how?

I think Borg Backup would fit your needs. You would still need to reinstall things like a boot sector and recreated partitions but on the other hand file based backups have the advantage that you can restore individual files when needed too and that it is easier to only backup what changed. Just make sure to exclude any temporary files you don’t want to keep from the backup (e.g. cache dirs, log files that get rewritten often and aren’t relevant long-term,…).

SnotFlickerman, (edited ) in entire system backups onto the server - how?
@SnotFlickerman@lemmy.blahaj.zone avatar

github.com/teejee2008/timeshift

I think TimeShift could maybe work for you, but you might need a script to offload the backups it creates.

restic.net

Restic is another option, but it’s a little less user friendly and is all CLI, if i recall correctly. However I’m pretty sure you can send backups straight to a server via Restic.

ZeDoTelhado, (edited )

I checked a couple of times time shift, but it’s a shame not even ftp is allowed as a backup destination.

As for restic, will give a check later

EDIT: just read about restic, and I think this can be the solution I was looking for. Docker image is available and all, so for me that is a big plus. Once I have the chance I will test drive it and see where it goes. Thanks!

Appoxo, in This Week in Self-Hosted (12 January 2024)
@Appoxo@lemmy.dbzer0.com avatar

One of the few newsletters I read and actually engage with.
Such a gem.

momsi, (edited ) in Need Advice on Stable WiFi for Home with Multiple WiFi Devices

I am very happy with my Omada setup. It’s an ecosystem, not a single device. I use an er605 as router and eap610 as AP. I also have a switch, probably you don’t need that, and I now have an Omada controller (you can also host that in as a docker container, so not strictly needed). For wifi you can simply throw another ap somewhere and have excellent Mesh wifi. It’s more complex than a simple consumer router, but also has a lot more functionality.

erre, (edited )
@erre@programming.dev avatar

Does the controller software have to run 24/7 or only when you need to make config changes?

I’m looking into the Omada ecosystem and wondering if the hardware controller is crucial or a convenience that can be deferred.

momsi,

The controller does not need to run 24/7. The controller configures the devices and the config remains on the devices. Though, when your devices are adapted by a controller, you cannot access any settings on the devices themselves, only via the controller.

Maybe should add: depending on the network set-up, I’d strongly recommend getting a hardware controller. For me, I have one server hosting all my stuff. I also hosted the controller with docker in this server. Which ends up being a single point of failure, and no way to look into your routing if your server is down/unreachable. I got a hardware controller (oc200) eventually just to separate my interner and network infrastructure from my hosting and service infrastructure.

lemming741,

The controller also handles roaming, as I understand it. I have a software controller on a VM. They provide a .deb! I have 3 EAP670s and an EAP-655-Wall. Roaming works perfectly on phones and laptops. I have a hidden SSID on each individual AP that I use to lock dumber stuff. Some devices fight the AP Lock on Omada.

I see the value in going 100% omada, but I couldn’t justify the cost of the switches I’d need. Their routers look good for the price too, but my use case is a notch or two above their target market.

MonitorZero, (edited ) in TrueNAS shares help.

There’s an integrity check they implemented last year.

Login to your TrueNAS

Go to the Shares section from the left hand menu

Turn off the share

Launch the app you need

Once the app is fully deployed turn the file share back on again

That should do it. If the system goes down or the app updates and redeploys you’ll need to turn off the share again to pass the integrity check.

k0mprssd,

this seems to have worked, but whenever I go in in filebrowser everything is read only. any way to change this?

Dhs92,

Or mount it as an NFS share if it gives you the option

RegalPotoo, in Lighter weight replacements for Sentry bug logging
@RegalPotoo@lemmy.world avatar

glitchtip.com

API compatible, but lower resource consumption - is missing some of the newer features (big one for me is tracing, but just install Tempo).

Not actually tried it, but looks promising

dan,
@dan@upvote.au avatar

Thanks! I’ll try it out. I don’t see anything on their site about JavaScript source mapping, so I assume they don’t do it. With Sentry, you upload the source map to the server as part of your JS build process, and their backend automatically maps minified stack traces to unminified ones using the uploaded source map. Maybe I’d be fine losing that in exchange for something lighter weight.

justcallmelarry,

glitchtip.com/blog/2022-04-25-glitchtip-1-12

This blog post mentions that it should be possible at least!

Im currently using their free tier for a hobby project and have been happy with it. Have considered moving over to self hosting the solution, but have been keeping off on it due to resource contraints, but might make the leap soon! Would be nice to get use of the uptime pings, which currently would fill the event way too quickly for the free tier.

dan,
@dan@upvote.au avatar

Perfect, thanks. Strange that it’s not in their docs, but it does seem like their docs are very minimal.

bufke,

Hello, I’m the lead dev of GlitchTip. Fun to see it mentioned here. Source maps are supported. I wish I had time to make the feature easier to use and write better docs. Contributions are welcome. It’s very much a hobby project for the little time I have after work and family. Right now all of my attention is on an event ingest rewrite to work with fewer resources.

dan,
@dan@upvote.au avatar

Nice to see you on here! I understand the lack of time - I’ve got some projects I’ve had on hold for years because of time constraints. I’m definitely going to try Glitchtip.

If I get some free time, I’ll see if I can write some docs about using source maps for JS apps. Sounds like it works in the same way as Sentry’s does.

It was a great idea for GlitchTip to reuse the Sentry SDKs and CLI, because their SDKs are solid. They’ve got the best .NET SDK out of all of the error logging systems I evaluated two years ago which is why I was using Sentry. Unfortunately, Sentry has become significantly heavier over those two years.

eluvatar, in Why docker

About the trust issue. There’s no more or less trust than running on bare metal. Sure you could compile everything from source but you probably won’t, and you might trust your distro package manager, but that still has a similar problem.

taaz, (edited ) in Thumbnail cache saved to object storage?

Are you absolutely sure that object storage is used? (eg. having proper config file or env vars).

I am running pictrs 5.1 in container with postgres and backblaze b2 (so, there are no volumes that can actually ballon out).

Might it be possible that you are talking about the sled/state files (the part that can be replaced with postgres)?

glowie,
@glowie@h4x0r.host avatar

I am using the from scratch install and on 0.18.5 and using pictrs 0.4.0 beta (or whichever build comes with the embed version)

Initially, when I set my object storage creds in the docker-compose.yml file, it seemed to work and I see in my bucket it populated some files.

But now I don’t think it is writing anything to the bucket. Any ideas? Thanks!

nbafantest, in I want to set up plex server, no windows.. any simple options?

I run Plex on a Raspberry Pi 3, it can support two simultaneous 1080p Streams on my local Wifi. Cant support 2k or 4k videos at all. And cant support video outside of the local network.

“use your favorite Unix then install Plex” or “Here are 56 perfect versions of Unix to install for your Plex server”

What part of this do you think is hard?

Each step can be scary at first but its not hard if you break it into pieces.

Booting Ubuntu or some linux OS is a fun first step if you actually have a spare computer handy

Fashtas,

What part of this do you think is hard?

Not hard… essentially worthless however…

The articles are saying “Here is a list of almost all known versions of Linux, these are good for you to use” when you query what the best option is… Hardly narrowing down anything. Likewise saying “Use your favorite… then install the product you want to use” is also useless information if you are asking the question I was… I have no favorite obviously since I know nothing about it… and OBVIOUSLY I am going to install the produce I just asked about installing…

The pages I was looking at answered the question “How do I install Linux?” by saying “First, Install Linux”

Not to say there aren’t better sources, but all the first ones I found where along that theme

nbafantest,

Ah yeah, i know what you mean. That can be overwhelming. There are a loooooot of choices, and the differences might be things I’ve never even heard of before.

I think a lot of these articles are written with the expectation that you will try several different versions after you learn to flash/boot. I think i ended up with 4 different forks i could boot from.

When I started, i went with Ubuntu first just because it seemed pretty stable and had support from a large company, but once I leanred how to boot Ubuntu it was easy to do the same steps for the other versions to try them out.

Fashtas,

I actually went back and had a look at a few of the top results and I have a feeling a lot were AI written Sandtraps. Several were very similar “Install your favorite Linux then <copy and paste from Plex web site on how to install Plex>”

Makes it had for a newbie who doesn’t know what they don’t know so can’t ask the right question.

The Mint install works fine now, I made a lot of mistakes and took a while to get head around the folder structure and permissions but once I am more comfortable next time I’ll try something a little more headless I think, though playing around I reckon I’d be happy with Mint as a daily machine (if only my job wasn’t coding Windows apps :/)

nbafantest,

Thats great progress

lumpy, in I want to set up plex server, no windows.. any simple options?

I just got into self-hosting about a week ago and started by getting a small beelink s12 mini. Since you have an old pc you don’t need to worry about hardware for now.

To get going with the software I followed this (lemmy.world/post/6542476) lemmy post in the beginning. It took me a couple of evenings to understand some basic concepts and after getting everything going I found the recommdation for yams.media. So I wiped everything (because I decided to not encrypt the system and to go with Ubuntu 22.04.03 LTS instead of 23.10) and was supprised how quickly I had yams running again.

So just follow the guide and ask here or on the yams discord if you have any questions during the installation.

Skotimusj,

Check the compatibility with Linux but I also used Ubuntu with very little problem. It works flawlessly for me. I had no experience with Linux before this and was able to set it up with some googling and Asking ChatGPT for some useful commands. It was a fun project. The *arr suite is great.

guyinachair, (edited ) in I want to set up plex server, no windows.. any simple options?

Have you considered truenas scale? It’s debian based and there’s an official app for Plex. Not to mention a plethora of guides to get scale and Plex up and running.

possiblylinux127, in I want to set up plex server, no windows.. any simple options?

The simplest solution would be to install Debian. The thing to note is that the Debian installer is designed to be multipurpose so it will default to installing a GUI.

Assuming you can boot off of a live USB with the Debian installer, you can follow the steps until you get to tasksel software selection from there uncheck gnome and check system utilities and ssh server. Also Debian defaults to separate root and user accounts. I would recommend disabling root (see steps below)

On a different machine, ssh into the server (I’m using debian.local but you should replace that with a hostname or IP)


<span style="color:#323232;">ssh username@debian.local
</span>

Once you have access run the following commands to switch to root.


<span style="color:#323232;">su - 
</span>

Install sudo and give yourself access


<span style="color:#323232;">sudo apt update
</span><span style="color:#323232;">sudo apt install sudo
</span><span style="color:#323232;">sudo usermod -aG sudo username 
</span>

Now type exit twice to exit the shell entirely. Once that’s done log back in.


<span style="color:#323232;">ssh username@debian.local
</span>

Lock root


<span style="color:#323232;">sudo passwd -l root
</span>

Now you have a system to set things up. I would start by enabling automatic updates and installing docker compose. (Docker compose allows you to deploy software very quickly in co trainers via a yaml spec)


<span style="color:#323232;">#enable automatic updates
</span><span style="color:#323232;">sudo apt install unattended-upgrades
</span><span style="color:#323232;">sudo dpkg-reconfigure unattended-upgrades
</span><span style="color:#323232;">sudo systemctl start unattended-upgrades #probably not needed
</span><span style="color:#323232;">
</span><span style="color:#323232;">#install updates and install docker and docker-compose
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo apt update
</span><span style="color:#323232;">sudo apt upgrade 
</span><span style="color:#323232;">sudo apt install docker.io docker-compose
</span><span style="color:#323232;">sudo systemctl start docker
</span><span style="color:#323232;">sudo usermod -aG docker username
</span><span style="color:#323232;">
</span>

You will need to log out and then back in to apply the docker permission.

I hope that gets you started.

Fashtas,

Thanks, I decided to see what happened with a Mint Install (Before I saw your reply) so as a Toe-in-water thing to learn more about the OS and see what stuff was like. I only Kitty into a Linux server for work and do some basic tasks on it occasionally so was interested.

An … interesting experience… trivial install, easy enough to understand the UI, entirely failed to get a Plex server working though… Nothing on the network can see it (Local works fine) which doesn’t make much difference because Plex has nothing to server since it can’t see the folder with movies on it due to, I believe, ownership issues (The files are on a portable USB drive)

Still fiddling but most help documents descend into arcane command line arguments very quickly and are generally “wrong” in that they suggest editing files that don’t exist in folders that aren’t there.

Still… a learning experience :) (Easy enough to kill it and tried Debian if I can’t work out chown!

Fashtas,

Hah! Apparently in the long list of UFW commands I was running, the first one didn’t run or I missed it, can see the server now at least, just need it to see the files!
Entertaining but the wife is getting impatient :/

possiblylinux127,

Just a disclaimer I have never used Plex has I use Jellyfin.

For your firewall mint has a GUI for it. I’m not sure why your firewall is even turned on as it should be off by default.

Fashtas,

Could be, dunno yet how to tell these things but the issue was a port was not open. Once opened the server was seen fine!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #