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
Nextcloud is just a php app. As long as you can run postgres and apache, you're golden. How to do that depends on your distro, but usually just involves installing apache and postgres from your package manager.
Once you have apache and postgres installed, consult this page on how to run nextcloud. It's not too hard, just copy nextcloud files to apache directory and edit some configuration file.
You don't even need Apache, you can run it with Nginx or Caddy, all you need is a webserver that supports interactions with php-fpm.
Using apache is smoother for beginner though because nextcloud can configure some of the webserver configuration it needs by generating a .htaccess file by itself without user intervention. On nginx you might need to tweak the webserver configuration yourself every once in a while when you update nextcloud, which OP seems to hate to do.
The original appeal of the AIO package is that it handles all that for you, but I'm beginning to think this is the only way forward that doesn't break the bank on hosting costs or break the software on update.
Sincerely appreciate your input!
One thing to watch for is file permissions. Just make sure it's all set to
www-data
and you're golden.This is very much what messed up my last install. Errors kept telling me that I needed to update file owners to 33:0, despite having done that on every mount point on the Ubuntu server. I even tried updating the ACLs from inside OpenMediaVault, but no dice. In hindsight I'm pretty sure that was stupid but it was already broken at that point and I was trying anything.
Some distro actually do not map
www-data
user to UID 33, so if you're on one of those distro, changing file owner to UID 33 won't help you. Pretty sure Ubuntu use UID 33 though, but I've seen people on other distros getting bitten by this. Also, some container systems can remap file ownership when mounting a volume.