Table of Contents
Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $300 by adding new articles!

One-Click Nextcloud

Published on: Tue, Jan 10, 2017 at 12:05 pm EST
Vultr Apps

This article contains information about the Nextcloud application that can be deployed on Vultr.

App Details

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.

Backup Script

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/

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.

Nginx Fails to Load

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.

  1. Login to your server using ssh as root.
  2. Run the command /opt/vultr/

SSL Warning

Your Nextcloud server must be accessed with https:// URLs. 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:

  1. Obtain a certificate from a certificate authority for your domain.
  2. Login to your server using ssh as root.
  3. Replace the server.crt and server.key files in /etc/nginx/ssl/ with the updated certificate. Details on converting certificate formats are outside of the scope of this article.
  4. Restart the web server: systemctl restart nginx.service && systemctl restart php7.2-fpm.service ( PHP version may vary )

DNS Setup

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 ( 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 /var/www/html/config/config.php.

SQL Database

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 /root/.my.cnf.

About Vultr Applications

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.

Want to contribute?

You could earn up to $300 by adding new articles