Nextcloud
Nextcloud is An open source file sync and share software for everyone, used for Document Collaboration . Nextcloud is an open source file sync and share software for everyone, provides a safe, secure, and compliant file synchronization and sharing solution on servers that you control.
Prepare
When referring to this document to use **Nextcloud **, please read and ensure the following points:
-
This application is installed by Websoft9 console.
-
The purpose of this application complies with the AGPL-3.0 open source license agreement.
-
Configure the domain name or server security group opens external network ports for application access.
Getting started
Login verification
-
When completed installation of Nextcloud at Websoft9 Console, get the applicaiton's Overview and Access information from My Apps
-
Access Nextcloud URL and login to the backend to start.
Document preview and edit
Integration of Nextcloud Office
Nextcloud has built-in Nextcloud Office (based on Collabora Online Development Edition, or CODE). Install the CODE plugin to enable
Integration with ONLYOFFICE Docs
-
Optional: Websoft9 console App Store, install ONLYOFFICE
-
Nextcloud console top right gear icon, select +Apps > Office & text, install ONLYOFFICE and enable it.
-
Nextcloud console upper right corner gear icon, select Administration Settings, find ONLYOFFICE settings, Integration ONLYOFFICE
-
After the installation completed, locate the SETUP page and configure ONLYOFFICE as shown (refer to the official documentation)
Install the application offline
-
From Nextcloud App Market find the app package URL and download to server.
-
Extract it to the Nextcloud container /var/www/html/apps directory.
-
Enter the container CLI and change the permissions of the apps directory.
chown -R www-data:www-data /var/www/html/apps/appname
-
Login to the Nextcloud backend, enter the application center, and enable the extension.
WebDAV service
WebDAV is used to establish a mapping between local computer and Nextcloud:
- NextCloud console File > File Settings, get the WebDav URL.
- Local Windows PC configure WebDAV client
Connecting to external storage
Nextcloud supports many popular enterprise storage services, the steps to use them are as follows:
-
Login to Nextcloud background, select Apps > Your Apps, find and enable External storage support.
-
In Administration Settings of Nextcloud backend, set up external storage, S3 compatibility protocol settings:
- Bucket: corresponds to the storage bucket of some vendors.
- Hostname: corresponds to the Endpoint of some vendors
- Access Key: Generally required.
Rebuild Indexes
After moving or copying the Nextcloud data directory to another location, you need to run occ files:scan --all
to rebuild the index.
Secure use of HTTPS
-
In the Websoft9 console, select Gateway, edit the proxy for the Nextcloud application, clear Custom Nginx Configuration in Advance and save it.
-
select My Apps > Compose > Go to Edit Repository > .env and uncomment the line OVERWRITEPROTOCOL to rebuild the application.
Configuration options
-
App Market (✅):
-
Configuration file (mounted):/var/www/html/config/config.php
-
multilingual (✅): Configured through “Personal Settings”.
-
SMTP (✅): Configured via Administration Settings > Basic Settings > Email Servers
-
Mainstream External Storage Service storage-configuration): Amazon S3, Dropbox, FTP, Google Drive, SMB, WebDAV, SFTP, etc.
-
Mobile (✅): Nextcloud Desktop Client, Nextcloud Android App, Nextcloud iOS App
-
CLI:
occ
for installing and upgrading Nextcloud, managing users, managing password and more.
Administer
-
Modify URL: configuration file parameter
overwrite.cli.url
, defaults to wildcard, which can automatically any URL change -
Online Backup: install OwnBackup to achieve online backup.
Troubleshooting
Disable ONLYOFFICE certificate validation?
If Nextcloud is HTTPS, ONLYOFFICE also needs HTTPS, otherwise the connection will be abnormal.
You can disable certificate verification by setting in Nextcloud backend plugin or adding the following paragraph in configuration file:
'onlyoffice' =>
array (
'verify_peer_off' => TRUE,
),
Can't install apps due to network timeout?
Please refer to the Install apps offline scenario