Extras: Nextcloud - dibrz/ARMBand GitHub Wiki

Nextcloud is a free, open-source, self-hosted file sharing solution, that functions similarly to Dropbox.

1. URL

  • To access Nextcloud, visit https://nextcloud.yourdomain.com

2. Initial Setup

1. Domain

  • See Adding a Subdomain on how to add the subdomain nextcloud to your DNS provider.

  • Note: You can skip this step if you are using Cloudflare with Cloudbox.

2. Install

  • Run the following commands:

    cd ~/cloudbox/
    sudo ansible-playbook cloudbox.yml --tags nextcloud  
    

3. Setup Wizard

  1. Visit https://nextcloud.yourdomain.com

  2. Under Create an admin account, set the following:

    • Username: fill in your preferred admin username.

    • Password: fill in your preferred admin password.

  3. Click the Storage & database link.

  4. Under data folder, the path below should already be filled in.

    /data
    
  5. Select MySQL/MariaDB under Configure the database.

  6. Fill in the following:

    • Database user: root

    • Database password: password321

    • Database name: nextcloud

    • Database host: mariadb:3306

  7. Click Finish setup.

  8. You will now be logged into Nextcloud.

4. Adding Folder(s)

  1. Click the icon at the top right and select "Apps".

  2. Enable External storage support. Type in your admin password to confirm.

  3. Click the icon at the top right and select "Settings".

  4. Click "External storages" under "Administration".

  5. For each folder you want to add, set the following:

    1. Folder name: your preference.

    2. External storage: local.

    3. Authentication: your preference (default is None).

    4. Configuration: /mnt/unionfs/Media/path/to/folder (make sure this path already exists; you could even share your entire /mnt/unionfs/Media/ path).

    5. Available for: your preference (default is blank - for all users).

    6. Press the checkmark to save.