Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Nextcloud Storage Provider Setup

The Nextcloud Storage Provider can be used to allow users to map in their Nextcloud files into their container-based Kasm Session. Access is provided via Nextcloud's WebDAV interface via the Rclone Docker volume plugin.

Reference Docs:

The storage provider configuration is as follows:

NameNextcloud
Storage Provider TypeNextcloud
Enabledchecked
Webdav URLhttps://<hostname>:<port>/remote.php/dav/files/
Default Target/nextcloud
Volume Config{ "driver" : "rclone", "driver_opts" : { "type" : "webdav", "webdav-vendor" : "nextcloud", "uid" : "1000", "gid" : "1000", "allow_other" : "true" } }
Mount Config{}
note

Many of the storage provider examples include default storage driver options used by Rclone. These options work well with Kasm in its default configuration, and administrators can adjust them as needed. The available options often vary by provider plugin, for example Google Drive compared with OneDrive.

The Rclone Docker plugin is installed by default as part of the standard Workspace install. For more information about Rclone driver options, see the Rclone Docker documentation.

Nextcloud storage mapping configuration

  1. From any page, select the profile icon at the top right.

Edit the user profile

Edit Profile
  1. Select the Cloud Storage section, then Add Storage Mapping.

Add a storage mapping from the profile

Add Storage Mapping
  1. Select Nextcloud from the drop-down. Enter the Nextcloud Username and Nextcloud Password, then select Next.

Configure the Nextcloud storage mapping

Configure Storage
  1. The new storage mapping appears in the Cloud Storage section of the profile.

The Nextcloud storage mapping in the profile

Storage Mapping
  1. Launch a new container-based session. Confirm that the Nextcloud files are mapped inside the session at the /nextcloud location.

Nextcloud files mapped inside a session

In Session View