Cobra Forum

Plesk Panel => Web Application => Topic started by: Administrator on Dec 30, 2022, 08:40 AM

Title: One-Click apps are updated regularly without notice. When launching a One-Click
Post by: Administrator on Dec 30, 2022, 08:40 AM
Introduction
Vultr's One-Click Nextcloud application is a quick way to launch your online file sharing platform. Select a server location, choose your size, and click Deploy Now. Your server will be ready to configure in about a minute.
Install SSL Certificate
This step is optional, but recommended. For better security and convenience, register a domain name and install an SSL certificate. If you plan to use a commercial SSL certificate, see the Commercial SSL section.
If you choose not to install an SSL certificate, log into your server with the Nextcloud user account at the server's IP address. You will need to proceed past the SSL certificate warning. See our instructions to bypass the HTTPS warning for self-signed SSL/TLS certificates.
Install a free Let's Encrypt SSL certificate
Quote# certbot --nginx --redirect --agree-tos --no-eff-email -d oneclick.example.com -m admin@example.com
Certbot should report success when finished.
Certbot considerations
Certbot makes changes to the Nginx configuration. If you used certbot to obtain a Let's Encrypt certificate, return the Nginx configuration files to default before proceeding.
Quote# cp -r /etc/nginx/ /root/nginx
Quote# certbot delete
Quote# /opt/vultr/fix-vhost.sh
[/list]
Backup Script
The Vultr team has provided a backup script for convenience.
Quote# cd /root/

# sh backup-nextcloud.sh
[/list]
The script makes a backup of the Nextcloud database, source code, and uploaded files in the /root folder. Ensure that you have enough available space to duplicate all of your data.
Reset Nginx Configuration
If you have trouble with the Nginx web server, we have included a script to reset the Nginx config files back to default.
Quote# /opt/vultr/fix-vhost.sh
[/list]
SQL Database
Nextcloud uses a MySQL database server. You can connect to the database by executing the following:
Quotemysql -u root
The MySQL root password is saved in /root/.my.cnf.
Theming
Please see the Nextcloud Theming Guide.
About One-Click Apps
One-Click apps are updated regularly without notice. When launching a One-Click app, you'll receive our latest version. We do not update deployed instances, and you are responsible for keeping the instance up-to-date. If you design an infrastructure based on One-Click apps and need to ensure the same app version in the future, take a snapshot of the initial deployment and create new instances from the snapshot.