Skip to content

Unable to access files through WebDav #5655

@isasmendiagus

Description

@isasmendiagus

Describe the bug

Although I can access to the web interface, cannot access files through WebDav.
Tested with Nautilus on Ubuntu 22.04 and cadaver CLI

$ cadaver https://10.44.66.22:9200
WARNING: Untrusted server certificate presented for `127.0.0.1':
Certificate was issued to hostname `127.0.0.1' rather than `10.44.66.22'
This connection could have been intercepted.
Issued to: Acme Corp
Issued by: Acme Corp
Certificate is valid from Sat, 25 Feb 2023 13:12:52 GMT to Sun, 25 Feb 2024 13:12:52 GMT
Do you wish to accept the certificate? (y/n) y
Could not access / (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `10.44.66.22' closed.

I have also tried to access through Nautilus without success
image

Steps to reproduce

  1. Install cadaver WebDav CLI. On Debian based OS apt install cadaver
  2. Connect to Ocis Proxy over my LAN (https://10.44.66.22:9200)
  3. I got an error 'not WebDAV-enabled?'

Expected behavior

As an end user I expect to be able to access my files through WebDav.
I would like to mount a directory with davfs2 and work as if the remote files were local.

I can see here this is easily done with classic OwnCloud. Is that possible as well for Ocis?

Setup

ocis.env

OCIS_URL=https://10.44.66.22:9200
OCIS_INSECURE=true
OCIS_CONFIG_DIR=/etc/ocis
OCIS_BASE_DATA_PATH=/var/lib/ocis

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions