NethServer / ns8-nextcloud

Nextcloud module for NS8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ns8-nextcloud

Start and configure a Nexctloud instance:

Install

Instantiate the module:

add-module nextcloud 1

The output of the command will return the instance name. Output example:

{'module_id': 'nextcloud8', 'image_name': 'nextcloud', 'image_url': 'ghcr.io/nethserver/nextcloud:latest'}

Configure

Let's assume that the nextcloud istance is named nextcloud1.

Then launch configure-module, by setting the following parameters:

  • fully qualified domain name for Nextcloud
  • let's encrypt option
  • LDAP domain (optional)

Example:

api-cli run configure-module --agent module/nextcloud1 --data - <<EOF
{
    "host": "nextcloud.nethserver.org",
    "lets_encrypt": true,
    "domain": "ad.nethserver.org",
    "password": "Nethesis,1234"
}
EOF

To execute occ command inside an instance:

runagent -m nextcloud1 occ <args>

You can customize FPM configuration by changing the file named zzz_nethserver.conf inside the state directory. Example:

runagent -m nextcloud1 vi zzz_nethserver.conf

Uninstall

To uninstall the instance:

remove-module --no-preserve nextcloud1

Testing

Test the module using the test-module.sh script:

./test-module.sh <NODE_ADDR> ghcr.io/nethserver/nextcloud:latest

The tests are made using Robot Framework

UI translation

Translated with Weblate.

To setup the translation process:

About

Nextcloud module for NS8

License:GNU General Public License v3.0


Languages

Language:Vue 46.3%Language:Shell 25.1%Language:Python 19.2%Language:JavaScript 4.0%Language:RobotFramework 2.4%Language:Dockerfile 1.3%Language:HTML 0.7%Language:SCSS 0.6%Language:PHP 0.3%