This article contains information about the Nextcloud application that can be deployed on Vultr.
Nextcloud runs on the Ubuntu Server LTS operating system. You can log into this system with an SSH client using the root login found on your Vultr control panel.
To access the Nextcloud application, navigate to
https://[SERVER_IP]/ in your web browser. Substitute the
[SERVER_IP] with the IP address of your VPS. The SSL certificate warning can be safely ignored. This is explained in further detail below. Your Nextcloud login credentials are listed in the Vultr control panel.
The Vultr team has provided a backup script for convenience. This is located in the
/root/ folder. You can run this file by logging in as root and executing:
cd /root/ sh backup-nextcloud.sh
A backup of the Nextcloud database, source code, and uploaded files will be created in the
/root/ folder. Ensure that you have enough space on your VPS to duplicate all of your files before running it.
If your instance was deployed after December 1st 2019 we have included a script for your convenience to reset your your Nginx config files back to the default for you.
Your Nextcloud server must be accessed with
http:// URLs will be rewritten to
https:// By default, the
https:// URL uses a self-signed certificate, which displays a security warning. This can be safely ignored.
Depending on your plans for your Nextcloud site, you may want to update the certificate to one provided by an actual certificate authority. This will remove the security warning error. To install a new certificate, do the following:
/etc/nginx/ssl/with the updated certificate. Details on converting certificate formats are outside of the scope of this article.
systemctl restart nginx.service && systemctl restart php7.2-fpm.service( PHP version may vary )
If you plan on using a domain with your Nextcloud server, you will need to point the DNS "A record" to your
[SERVER_IP]. This will allow you to access Nextcloud by navigating to your website (
www.example.com). Nextcloud also requires that you add your domain to its "trusted domain" list. You can add a domain to the trusted domain list either in the Nextcloud interface, or by manually editing
There is a MySQL database server running on the VPS. This is used by Nextcloud. You can connect to the database by executing the following:
mysql -u root
The MySQL root password is saved on the VPS in
Vultr applications use modern releases of software packages. Applications are configured to be deployed with specific versions of software. Over time, the Vultr team will update the application offerings to include newer operating systems, package versions, etc. This document only provides up-to-date information about the latest version of this application. Vultr applications are updated without notice. If you plan to build a project or infrastructure based on our application templates, we recommend taking a snapshot of the application used in your initial deployment.