Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Really a pain in the ass to set up and tweak to your liking. After you overcome that hurdle, it runs relatively good.
Using Nextcloud AIO takes that pain away if you are into Docker. It has everything needed bundled in it, including a db and web server.
I was surprised to know that there is no tool to pass from Nextcloud to AIO.
That's saddening. I think that best you can do is a backup of your data and restore it when using AIO is setup
True. Have a setup running on Kubernetes with their helm chart but the documentation is (or at least was) insufficient on what is important to back up, so I had to start over once, learning the hard way that the config file contains the one string you always need for recovering data. Since then, it is pretty stable and I had almost no problems.
What was it? I'm planning to do a nextcloud deployment via helm soon.
Update: seems like the persistence section is sufficient; I have
at the end of my values file which references a volume claim (and volume) that I created manually upfront. The importand file is config.php. Back that thing up immediately and three times, print it if you have to. The secret in there is unrecoverable otherwise and needed for any repair actions.
I also use the postgresql sub-chart (by simply enabling postgresql as database) and provide a claim there:
Hope it helps!
I think it was literally called "config". I will check my setup and provide the mount points I used here later today, if you back these up, it should work. Put some disposable data on it once you finished setup and then upgrade to a newer version to see if everything works. You can specify the image tag to use manually (or you install an older chart version).
I also pinned the postgres version to 14, not sure if I can recommend that but I had issues with DB upgrades in a docker installation, so I tend to be careful there.
docker-compose up -d
Oof what a pain this was! Glad it finally works and I can move on with my life!!
Hey hey hey. That’s not fair. You also have to
sudo apt install docker.io docker-compose
You really should not install those from the distro repositories. They are far less up-to-date. This is the official documentation for adding the Docker repository to a Debian system, there's one for Ubuntu as well. You can just copy and paste the entire code block from step 1. Afterwards you can just use apt to install it, but you want to use this command to make sure you get everything you need:
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Installing it this way will mean you need to use the
docker compose
command, notdocker-compose
which is deprecated.