About NextCloud

NextCloud is an open-source, on-premise file share and collaborative platform that allows you to save your files and access them across multiple devices such as PCs, smartphones, and tablets.

As a popular self-hosting platform that works much like DropBox, it allows you to seamlessly collaborate on various projects, manage your calendar, send and receive emails as well as make video calls.

Official Website: https://nextcloud.com/
Underlying OS: Ubuntu 20.04 (64 Bit)

Minimum System Requirements

1 vCPU Core
15 GB of Disk

Getting Started

Once the application is installed, you can visit the IP address of your server to configure the server

NextCloud Login: http://{your-server-ip}

During first login, please enter your desired username and password to setup NextCloud

Let's Encrypt Installation (SSL)

1) Run the following command to allow the connection via the domain example.com to your NextCloud

nextcloud.occ config:system:set trusted_domains 1 --value=example.com

Replace example.com with your domain

2) Enable SSL and request a Let’s Encrypt SSL certificate:

nextcloud.enable-https lets-encrypt

3) The following message will appear, confirm it by pressing y on your keyboard:

In order for Let's Encrypt to verify that you actually own the
domain(s) for which you're requesting a certificate, there are a
number of requirements of which you need to be aware:

1. In order to register with the Let's Encrypt ACME server, you must
agree to the currently-in-effect Subscriber Agreement located


By continuing to use this tool you agree to these terms. Please
cancel now if otherwise.

2. You must have the domain name(s) for which you want certificates
pointing at the external IP address of this machine.

3. Both ports 80 and 443 on the external IP address of this machine
must point to this machine (e.g. port forwarding might need to be
setup on your router).

Have you met these requirements? (y/n)

4) Enter your email address when asked to do so and confirm by pressing Enter:

Please enter an email address (for urgent notices or key recovery): user@domain.com

5) Enter the domain name that you have configured in a previous step for your instance (your.domain.com in our case), then confirm by pressing Enter:

Please enter your domain name(s) (space-separated): example.com

6) Your certificate is being requested and apache will be restarted. The following messages will appear, once the certificate has been obtained:

Attempting to obtain certificates... done
Restarting apache... done

Additional Notes

Run the following command to add an email address for the admin account or any user.

nextcloud.occ user:setting USERNAME settings email "EMAIL_ADDRESS"

Run the following command to reset password for admin account or any user.

nextcloud.occ user:resetpassword USERNAME

Important files and documents

Visit NextCloud official documentation site here: https://docs.nextcloud.com/

NextCloud Management Screen
Was this article helpful?
Thank you!