Hi @Some1,
āDonāt come back here till youāve proven you have read all the manuals and you can type all bash commands with your eyes closed.ā
These are the initiation rituals of the very closed open source community. Donāt let them put you off!
If you donāt want to build and maintain your own server and have some money to spend: you can run about everything in Docker on a Synology NAS. This site has very accurate tutorials, also for Nextcloud. But you will need a model with Intel or AMD processor to run Docker and lots of RAM or upgradable RAM to run multiple Docker containers. These are the more pricy models.
I did about everything they are telling you here not to do. It was great fun and I learned a lot by being stupid and blindly following tutorials. I did not go back to school to study debian, Linux, PHP and MySQL first.
Instead I got me an Intel NUC as mini server to experiment with (NUC7PJYH with Pentium Silver J5005 4-core). 20 years of experience with Windows but never done anything with Unix. I installed Ubuntu LTS on it from a bootable USB and it simply worked from start. Desktop version, not server because I love GUIs and get sweaty hands from command line. And I just started tryingā¦.
Now 4 years later it is running 2 WordPress staging websites, a Discourse forum (like this one) for a small community, a large Piwigo photo database and Nextcloud, just for myself. I use it for syncing files, calendar and contacts across my devices.
I never had any issue with the server itself. It never crashed, I went from 18.04 LTS via 20.04 LTS to 22.04 LTS. Every month I click on āInstall all updatesā. Much, much more reliable than Windows Update, although that has improved the last few years.
The little server consumes about 11 Watt on average with a 2 TB SSD in it. It officially supports 8 GB max, but I had 2 x 16 GB lying around and it works perfect.
Iāll mention some minor headaches I had to go through. Always found solutions by ducking around on the Internet:
-
Running the server headless. Linux on the NUC would not boot without a monitor attached. I had to install a driver that creates a dummy virtual monitor. For GUI access I run KDE Connect on the server and VNC Viewer on my desktops. And Teamviewer when Iām not at home, but I only needed that once. After a few years I lost my fear of SSH and Iām using that as well sometimes.
-
Running multiple web services. I started with Discourse, again: by blindly following a tutorial with commands, without really knowing how Docker works. After that I tried to install WordPress natively but that resulted in a fight for port 80 (http) and 443 (https). So I learned that you can make an application use different ports by editing config files. In the end I started understanding what Docker is about and now everything runs in Docker containers. As a GUI lover Iām using Portainer to manage them.
-
Using my own FQDN and subdomains. If you want to run multiple web services and make them accessible from the outside world on *.yourdomain.com you need something called a reverse proxy. I am lucky to have a fixed IP address but otherwise youāll need dynDNS as well. After a day of fruitless fiddling with NGINX and HAProxy I discovered that my Synology has a reverse proxy function, a bit hidden in the Control Panel settings. With a nice GUI you can make it send traffic for https://nextcloud.yourdomain.com to something like 192.168.1.2:9833. The Synology also takes care of renewing the Letsencrypt (wildcard) certificate.
What I have not solved yet: an all-in-one backup solution. There is a Backup app for Nextcloud but I could not get it working and many others are reporting issues with it. Currently I backup all applications separately. Discourse has a build-in backup tool, For WordPress there are plugins. Piwigo and Nextcloud I backup by putting them in maintenance mode, making an SQL export and copying all files to my NAS. That is extremely slow for Nextcloud. It is time-consuming and needs improvement.
So IMHO you can learn by trial and error if you make sure you have an alternative until your confident it works reliable enough.