Hacker News new | ask | show | jobs
by KennyBlanken 1498 days ago
Here's what you need to run a small NextCloud server:

* linuxserver.io container

* redis instance (enormous speed-up. Really, do this. Running a redis container is very painless.)

* use SQlite for the backend DB (unless you have a huge number of files)

* disable every module/plugin you don't NEED

Run a cron script that periodically fetches new images, kicks over the container, and purges old images.

Run another script that periodically tries to run updater.phar in the container, or notifies you when there's an update, or subscribe to the nextcloud RSS feed, etc.

I recommend overriding the defaults for deleted file behavior and versioning. Most folks don't want or need deleted files hanging around until 50% of your disk space is used, for example. The versioning defaults are fairly reasonable IMHO, but I decided I didn't care about anything past two months. Some folks who have lots of fast changing files will probably want to tweak the retention policy because it will save second-by-second versions for a few minutes to an hour (I forget exactly) and that could generate a lot of IO and SSD wear unnecessarily.

Done! I was dreading switching over from syncthing but it's been painless, and the NextCloud clients are all pretty slick and Just Work.