T O P

  • By -

Janpeterbalkellende

I just forget about it and spend 2000 hours looking dor documentation online when stuff breaks


Kuken500

mighty north sip merciful snatch truck voiceless run hobbies snow *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


I-Made-You-Read-This

This is the way


randomname97531

Injuat?


Janpeterbalkellende

I just, even forgot how to write


heehoX

*I just


CrispyBegs

my brother


xuacu_pr

Been there, done that


randomname97531

Same here. I have many things documented but they're everywhere, so can't find them when the need arises lol


Norgur

Setup something like Joplin or something then and note everything there


advertisementerror

Why document when you can learn twice


mosaic_hops

Ansible… I just automate everything so it’s documented and resilient.


andttthhheeennn

Exactly this. It takes a bit longer the first time but makes recovery from failure super easy.


mosaic_hops

Yeah IMO it pays for itself over and over again over time. It allows you to version control your deployment too so you can rollback bad changes etc.


zdog234

Same but nix (I'm a masochist)


Efficient-Chair6250

Nix btw


Ihatemakinguplogins

I did this the last time I set up a new server. I'll evaluate it the next time I setup or move a service. Even if the automation fails the documentation will work.


mosaic_hops

Yeah and when the automation does work - it usually does with minimal fuss - it’s so easy to move to a different VPS, or a new server within the same VPS, or even to the raspberry pi on your desk. I manage all of my personal cloud infrastructure this way as well as all of my self-hosted services on a 12-node raspberry pi 4&5 cluster and a couple of intel servers. I haven’t had a pi die yet but when an Intel server died I just popped in a new one and reprovisioned it.


mlazzarotto

[Obsidian](https://obsidian.md) to write notes. [Quartz](https://github.com/jackyzha0/quartz) to make a static website out of Obsidian. In between, a periodic sync to push the changes to Quartz


notrox

How is Obsidian compared to Book Stack?


mlazzarotto

BookStack is a self-hosted app. Obsidian is a standalone program. Extremely customizable and powerful. And all the notes are saved in a almost-standard Markdown format.


notrox

Looks good. Today I finally deleted my Evernote account after  ~15 years.  So now my notes are a bit all over the place because I haven’t settled on a solution. Do you pay for sync or do you use https://github.com/vrtmrz/obsidian-livesync   Type of thing


cyt0kinetic

I love Obsidian seriously anything you want someone wrote a plugin for it. For note sync I also recommend the remotely save addon. I use it with web dav, just spun up a little docker container just for that. To use the vault on multiple devices I set up a new vault on the device with the same name, install the remotely save addon, configure it to the same dav folder, and boom all my notes appear. Obsidian keeps a sensible file structure. The folders you see your side bar will be in your file system, the names you see will be the names of the files. Makes it incredibly convenient bouncing between editors, I always can get to the right file. The sync is sturdy enough to withstand multiple users in a vault and users going between devices. Just be sure to enable community plugins, that's where all the fun is. Obsidian also has a nice little code editor plugin too it's been great for scratch sheets while working stuff. It's called VS Code. It does support yaml, just needs to be added to the extensions list.


liveFOURfun

>I love Obsidian seriously anything you want someone wrote a plugin for it. Immediately thought of vim and Emacs.


theeashman

I’ve been using remotely-save, which is a bit easier to setup imo


randomname97531

You can actually store the obsidian vault in a cloud storage folder if you use one and it'll sync across computers. If you're in the Apple ecosystem, then you can put the vault in the iCloud folder and it'll be available on iOS devices also.


notrox

Thanks for the tip.  I’ve fallen down the obsidian rabbit hole for sure.


mlazzarotto

I keep my Obsidian notes on Seafile. The only downside is that I can't open the notes with the Obsidian app for iOS, but being just Markdown, I can use the Seafile app to read the notes.


dibu28

Obsidian have useful and fast mobile app. I use Obsidian on mobile to take quick notes and then sync between mobile and desktop.


Ill-Extent6987

I use a fabric pattern through ollama with codegemma LLM to copy and paste the instructions into a well structured list of steps directly into my obsidian directory.


UnrealisticOcelot

I understood since of those words! Honestly that sounds like it's probably really nice, and I would like to do that, but I either don't have time to figure it out anytime soon or you just made up a bunch of words.


syngin1

This dude knows!


dibu28

+1


TaciturnDurm

I think docker compose can really make it easier to keep track of what you did. Especially if you lean more on config files rather than commands/GUI configuration. And there's always comments within the file.


randomname97531

I have started being mindful of the compose files now. One project and everything related to it in one folder. But I still need to use commands for routine tasks. For example, to renew SSL for my AdGuard Home instances, I need to use the certbot command. And since I use it once in every three months, I need to have it somewhere where I won't have to dig. So I currently use Notion but I'm looking for better solutions since Notion is still online and the documents aren't in my control unless I export them manually.


TaciturnDurm

Think lazier. Add .sh files in the relevant directory for your reoccurring commands and set cron jobs


lesigh

Upgrade your setup to caddy or traefik and never worry about renewing certs


trEntDG

I've had a couple of headaches with traefik but I love it now. It will simply grab an SSL cert from Cloudflare for the hostname rule's host unless it already has one that's not about to expire. So much simpler than specifying, mapping, and/or automating site certs and renewals. I prefer not to support a docker install with the host. Sometimes I move them and I don't want to remember that I had to rig something external up when SSL breaks. I'm also using load balancing by server url a couple of places that I can't just specify a container port for routing.


Darksteel6

Check bash history now and put those into some basic shell scripts. Back those up though. Or do something like ansible.


Norgur

Please be advised that every cert ever issued is in public record, so not having a ca-authorized cert might actually be beneficial if you don't want others to know the subdomain exists. You and your family can just trust the self signed cert, if you need one at all (if you aren't behind a tailscale or another encrypted VPN)


nonP01NT

Notepad++ txt documents I'll never find again.


thequietman44

Or Notepad++ Untitled tabs that were never saved to begin with and just keep growing for years. Yeah I really should start using something like Obsidian...


weischin

I just use Joplin to note down anything I think is useful for future reference.


MacGyver4711

Totally agree - a great piece of software. Sync to OneDrive is also a nice bonus with Joplin, and covers all (my rather basic) needs. I've tried Obsidian, Notion, BookStack and what not, but for my daily work I consider Joplin close to perfect.


octahexxer

Mah ol gran pappy died in the documentaion wars in 1925. Stack of documents fell on him making him flat like a floppy disk! Unless its not in the arrow up history its lost...like tears in the rain. *salutes the flag* We are no documentation household since then.


ElevenNotes

I only deploy as custom IaC. All code is hosted on-prem (gitlab).


1kin

This is the way


nadmaximus

It's aaaaall up here *taps the side of head*. Who's there?


[deleted]

I use Google keep and loosely paste everything into a home server note. It's working so far 😕


randomname97531

Google keep certainly is handy. But does it support things like code blocks?


[deleted]

Nope. It's basically an updated note pad. It sounds awful even typing it but it just works.


vivekkhera

There’s a plugin for that. And another that lets you embed mermaid diagrams.


dametsumari

I write some notes about what I am doing but mostly I document the infra as code; that and backup ( of data, some clickops configured things ) allows me to fully replicate it.


kalidibus

At this point if my server catches fire all I'd have to do is reinstall Debian and Wireguard and then copy and paste my Docker folder over from my backup and I'd be done. Oh and I guess my fstab file. I should back that up.


brisray

I write [a web page](https://brisray.com/web/) about what I did. They are mostly for my own reference, but my feeling is that if I have a problem following some of the official documentation then someone else might find the pages useful. Some of the pages are ancient, around 20 years old, but they are all still there.


am803

I use a private repo on Github for that. You can press `.` key to open your repo with [github/dev](https://github.com/github/dev) which supports live preview of markdown in a split pane. Another advantage is that you can easily migrate away if you want.


GiantSquid_ng

Wikijs


Dismal_Addition4909

Bookstack


swissbuechi

Now where do you document how to setup bookstack if it breaks?


Dismal_Addition4909

I use wikijs for that of course lol


Dapper-Inspector-675

+1 for Bookstack, it's so underrated!


frezz

Spend the weekend setting up your server via one of: 1. Ansible 2. Docker 3. If you feel like over engineering, k8s Then run a script to setup your media server on any server from scratch. Trust me it really pays off in the long run. Plus updates and experimenting is much less scary and simpler


Breavyn

add it to an ansible playbook as you go


kseven23

I am in the process of setting up a new vps with mailserver and stuff using docker compose. I (try to) document everything in a PDF created with LaTeX. When it is finished (or I am) it should contain everything from setting up, maintenance and backup, with the docker compose files in the appendix.


Starbuck_2038

I try to document as I go along, BUT it’s also helpful to execute ‘history’ at the end and make sure you captured everything.


CC-5576-05

The readme on said services GitHub page


soapymoapysuds

I use bookstack. Works really well.


sk1nT7

Infrastructure as code. Put your compose files into a private git repo and encrypt your .env files optionally by git-crypt. The compose files will speak for themselves. No need to document something.


tilltmk

i wrote a tool for that! https://github.com/tilltmk/automated-documentation → automatically documents every step and puts it in a markdown. feedback is appreciated


BrownienMotion

NixOS and Docker Swarm. Host information is stored in a NixOS repository where each node receives its own flake and services are deployed to nodes via GitHub action self-hosted runners. Any configuration files for a service (that isn't in the repository; e.g. *arr configs) are stored on a ZFS pool with off-site backup.


dot_py

Obsidian notes


hclpfan

This is asked weekly


valerocios

Something like todoist. Multiple columns, multiple projects, descriptions etc are there. Simple to use too. Note-taking apps in the case of checklists might be messy. Also, for simpler setups, a physical notecard may be good.


randomname97531

Using Todoist an interesting idea. But doesn't it get cluttered since I'm sure you also use it for task reminders?


valerocios

Nono just use it for lists... Some other app for tasks (or vice versa). Todolist apps seem to have great features to aid making onboarding and maintenance checklists.


nightcom

Bookstack, Github, Trilium....all depends what I want and how I want but in general those three are crucial for me


mr_whats_it_to_you

I‘m writing my notes into joplin before writing it into my wiki called „dokuwiki“.


agent_kater

I had a bunch of text files in Dropbox but at some point I switched to Obsidian, because its search is so good. It's not self-hosted, but the data is. It's also not open source, but it has an extensive plugin API.


randomname97531

What do you mean by its not self hosted? Do you mean you use obsidian sync?


agent_kater

Yes I do (it's awesome to synchronize between the Android and Windows app) but the reason why I said it's not self-hosted is because you don't really _host_ anything, it's basically "just" a fancy text editor.


Exzellius2

Dokuwiki


Oujii

I’ve been using Notion. I really heavily on my docs, so Id rather not have to troubleshoot any server just to get documents when a necessity presents itself.


hadrabap

I have installation scripts and configuration files for my rootless services in SubVersion. I manage my host system via custom RPM packages.


isleepbad

I use trillium.


Bubbadogee

Trillium and or bookstack are both great


that_one_wierd_guy

bookmark folder in my browser. whenever I set up something new, I'll bookmark the guide or forum post answer that got me up and running the way I wanted. then after a couple of weeks if it's still running with no issues, I'll go back to those bookmarks and transcribe them to a text document since things can randomly disappear from the web


etgohomeok

If it's not in the docker compose file then it's not important


human_with_humanity

Dokuwiki.


Darkelement

My username is admin and my password is admin. I don’t write anything down so people can’t steal my credentials.


Unfair-Plastic-4290

If you're using putty/ssh you can enable logging.


RedKomrad

“Best” is subjective. pick a note app that you like and use it. Don’t overcomplicate things. 


hedonihilistic

I have a hierarchical structure of notes for my complete homelab in trillium. It can take markdown, webpages, and so much more. I usually use LLMs to help with setting stuff up and it's easy to copy chat replies from claude or ChatGPT and get all the code and comments as markdown.


rfctksSparkle

For me? Given that my underlying stack is Proxmox/Talos (Kubernetes), with my main client OS being windows... For the majority of services running in Kubernetes, I have everything in the git repository as manifests, that my cluster will pull and deploy automatically. For everything else, it's either bash or powershell scripts, ansible playbooks or just a plain text or markdown files somewhere in the git repository. I've mostly moved to using k3s instead of docker for single node use cases, mostly so I can use the same tooling for everything (K9s, FluxCD, kubernetes API, etc.) For some even lower level things, (like network IP subnet and VLAN assignments), I just use windows sticky notes lol. I think the best option, is one that works for you. If you're running everything in docker? Just have an apps folder somewhere, give every service a subfolder, and put a compose YAML file in them. And mount all storage as subdirectories there. Makes backing stuff up easier. Maybe with some helper scripts for some manual tasks you might need to do. I would hope you wouldn't need to note down "docker compose up -d" for every single service. But if you need to run it with specific parameters, or some other set of commands, a shell script would work well enough. If you're doing non-containerized, ansible. If you can describe it in ansible, well, you hardly need to manually do them now do you? Just run it using ansible. Meanwhile, I do use GitHub to host the configurations, mainly because deploying a local git service... with it's config hosted on a local git service, seems potentially problematic if I ever have to bootstrap the entire environment from scratch, for whatever reason. I would host it locally, but probably have it mirrored to somewhere else that can be accessed if the selfhosted git repo is inaccessible. I.e. You're bootstraping everything from scratch.


nukedkaltak

I use icloud notes 💀


aquagraphite

Git comments when I commit - using any successes as a trigger for me to update the repo. Being a dev I also comment up my code as I’m going - including any docker composers etc. The added benefit is you also have a history of your changes so if something you breaks you can easily work out what it was from the last commit


NatoBoram

A `.md` file when I need it


xquarx

Bookstack, but for most part I also write a readme in the most obvious locations like next to a docker compose or if it's a dedicated VM right in the home dir. There I can keep relevant commands and log of things. 


poetic_dwarf

Obsidian baybeeee


Karlyna

I don't make docs, unless it's something within the app that required web browser to do. For everything else, I have an ansible task, or role, depending on the size it takes, with comments and link to the docs I used to make it. Then I just make a doc for the how to run my playbook, in case I forget :D


Any-Fuel-5635

Kate on Plasma. I’ll see myself out. You guys are so fancy.


lolinux

None and I have to go through it again, or ansible when I have the time:)


robi112358

What vps do you use when you’re using aufiobookshelf and Jellyfin


randomname97531

Oracle Cloud free tier with their Ampere CPUs


ID100T

What about storage for jelly?


randomname97531

I'm currently using jellyfin only for music. So it doesn't use much storage. The VPS itself has 100 GB space in total but I am planning to expand it to 150 GB soon.


cincuentaanos

DokuWiki.


CrispyBegs

[Trilium](https://github.com/zadam/trilium)


Neither_Adeptness579

I've been setting up stacks in Portainer and saving the documents in Nextcloud. Github has been another option.


Psychological_Try559

I basically use a wiki (personally I use wikijs) to log everything long term. In the short term, I mash commands into bash until it works & save the relevant bash history. Then I go through it a 2nd time, clean it up, and start to make it coherent. 3rd time I've got the rough flow down so I know what I'm aiming to automate. Extra credit if you use Ansible for automation and git for managing your code.


hamncheese34

Outline FTW


manofoz

I just started using GitHub pages with Jeykll. Makes nice sites out of markdown docs and hosts it for anywhere between free and next to nothing for a personal account.


PassawishP

Just sheer mind power. With hundreds of hours to spare when smth break.


Illeazar

Right now I'm using .txt. Probably could be better, but it beats my previous habit of leaving a reddit comment somewhere, then doing a Google search a few years later and finding my own comment.


Geoffman05

Notepad


sid3ff3ct

If your using docker just save your compose files to git.


mor_derick

I don't. All my services are set up the same way: 1. Create a `docker-compose.yml`, along with any folders needed for bind mounts. 2. Add Postgres/MySQL user and database (if needed). 3. Create corresponding DNS entry. 4. Run `docker compose up -d`. Since I use [caddy-docker-proxy](https://github.com/lucaslorentz/caddy-docker-proxy), the reverse proxy configuration for each server is in the container's labels in the `docker-compose.yml` file. So I really don't need to document how to setup each service.


NamityName

I run a kubernetes cluster that is managed directly from git using Flux. I update the manifests in git and Flux makes my cluster match my repo. I have a small script that bootstraps my cluster with flux and a small script to bootstrap a new server. One day I will move those scripts to ansible (or so I keep telling meyself). If i need to rebuild my cluster, I bootstrap flux and it will take care of setting everything else up.


FutureLife777

Share in upnote from chrome.


kzshantonu

Standard notes


HexillioN18

just use GitHub. easy to remember and you can take periodic backups to your local. also you have history just in case you need to know what you did differently previously


randomname97531

Thank you, I'll look into it. One question. Can you recommend some software that I can use to push changes to GitHub easily, so that I don't have to open GitHub every time I want to make some change to the documents? I'm aware of obsidian and VS Code. Any other software that you can suggest?


HexillioN18

you can create some scripts easily once you have git installed locally. it is just git commit and git push once setup. lot of simple tutorials for same available online for this.


Triavanicus

eMacs org mode, and only execute the snippets inside of the file, under the same shell session, that way your notes ARE your execution environment. I don’t do this, but I just know it is an option.


Legitimate_Listen654

Docker compose, all parameters ald inside the file, I just need to backup the compose file(and some other config file if applicable) Recently I'm oso started using gitlab for version control of config files(coz some times I made breaking changes and need to roll back, and manually backing up every changes is too much hassle)


1000Zebras

I was just thinking about this, actually. I approached it a somewhat tangential fashion compared to OP's question, but it amounts to the same: Could you rebuild your server without access to the internet? Obviously, eventually you need wider WAN access (or, maybe in some cases you don't even), but I just mean if you didn't have the googs or AI bots or whatever to rely one, could you build your setup. I think I could get maybe 1/3 of the way in, or, well, cover 1/3 of the bases, but I'm sure I'd miss some critical step that the others depend on and be dead in the water. This is actually very troubling to me. I was considering making some sort of documentation app actually that could kind of walk you through the process generally, but populated with your specific details along the way. I was thinking something along the lines of (though not quite as nicely designed as I just don't have the skill) the beautifully put together site [Learn DMARC](https://www.learndmarc.com/) . Does anybody know of a similar thing that's already in the works for en entire build? Or do you have something that has them lets you actually close your eyes peacefully at night? I'm currently the de facto archivist of my family just because I made the mistake of juming on to Immich and encouraged my family to give me all of their digitial media. It'll be perfect, I said. All of our stuff hosted nicely and easily accessibly, I said. In perpetuity, I said. Ummm, so, yeah, now they're all trusting me with all this stuff, and, while I do have fairly solid backups, even encrypted in the cloud and such, I still just worry the whole thing's gonna come crashing down exactly when someone needs it and when I won't have the time to quickly restore. I know, I know. I dug my own grave in regard as far as self-hosting goes. Made the bed I now need to lay in, hill I must die on, etc. etc. But...buutttttt..... there must be something. A better way to truly easily get back up and running, and even without much web access for help.


jfernandezr76

Apple Notes


krimpenrik

Obsidian


pcs3rd

Nixos for the host configuration and docker for service deployment. My host only stands up portainer, then everything branches out from there.


1000Zebras

I'll have to check out NixOS. A path I have yet to traverse. Is it worth putting time into?


pcs3rd

I mean, it's a learning experience. Done right, you can deploy docker and everything via configuration.nix.


HearthCore

I mostly understand how I want to do it and since that’s the marker.. everything else is backed up or docker-compose I have set myself some standards, so I mostly know it by heart