Nextcloud 20
On this page, we explain step by step how to setup Nextcloud 20 with CloudPanel.
Installation
In the following example we will setup Nextcloud under the domain www.domain.com.
Preparation
Before we can start with the installation, we need to create an SSH User, a Database, and a Domain.
When you Add the Domain, make sure to select the Nextcloud 20 Vhost Template and the right PHP Version.

Installation
To install Nextcloud do the following steps:
- Login via SSH to the server e.g. with john-ssh and go to the users tmp directory:
cd ~/tmp
- Download and extract the latest Nextcloud 20 version.
curl -sLo nextcloud-20.zip https://download.nextcloud.com/server/releases/nextcloud-20.0.2.zip && unzip nextcloud-20.zip -d nextcloud-20
Latest Version
You find the latest version on github: https://github.com/nextcloud/server/releases
- Move files to the htdocs directory of the domain:
cp -R nextcloud-20/nextcloud/* /home/cloudpanel/htdocs/www.domain.com/
- Reset permissions.
cd /home/cloudpanel/htdocs/
clpctl system:permissions:reset www.domain.com 775
- Clean up the tmp directory.
rm -rf ~/tmp/*
- Open your domain in the browser and enter your admin account and database credentials.
Click on the button Finish setup to install Nextcloud 20.

- Done! Nextcloud 20 is now installed.
