opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

Unable to add self-hosted Opencloud session to neither Nemo or GNOME Online Services (Unable to find WebDav endpoint)

Open casanovalx opened this issue 2 months ago • 6 comments

Describe the bug

Hello. Decided to self-host Opencloud today, and it went well. Just wanted to check if it's possible to add the self-hosted cloud via WebDav... and it seems it's impossible - no idea. May anyone help? (Additional information: the "server" (actually a weak-a*s laptop I received for free) has no firewall on it since I use it in local network only)

Steps to reproduce

  1. Make a self-hosted Opencloud instance
  2. Copy WebDav link and create an app token
  3. Try to log in via Nemo file manager or GNOME Control Center's Online Services tab

Expected behavior

Just to allow connection, I guess

Actual behavior

Gives errors: "Not a WebDav entry" in Nemo and "Unable to find WebDav endpoint" in GNOME Control Center (in photos)

Setup

The setup itself is made on classic Docker (not Compose) on a cheap laptop for local network purpose only.

-p 9200:9200
-v $HOME/.opencloud/opencloud-config:/etc/opencloud
-v $HOME/.opencloud/opencloud-data:/var/lib/opencloud
-e OC_INSECURE=true
-e PROXY_HTTP_ADDR=0.0.0.0:9200
-e OC_URL=192.168.0.106:9200 (made so instead of localhost for accessing from main PC)

Additional context

I can access the web interface easily, if it'll be a question, but connecting through WebDav - nah...

Image Image

ED: first image was incorrect

casanovalx avatar Oct 13 '25 14:10 casanovalx

From the screenshot, your web dav url looks wrong

micbar avatar Oct 13 '25 15:10 micbar

We have a end user documentation in docs.openCloud.eu where to find it.

micbar avatar Oct 13 '25 15:10 micbar

We have a end user documentation in docs.openCloud.eu where to find it.

I did it just as in the docs. Here's the full WebDav URL: https://192.168.0.106:9200/remote.php/dav/spaces/b0b157e6-bae1-494e-9452-7227b2eee315$e0166079-d856-4c0d-837b-5f816dc7e9fb/ Yet it still doesn't access it. It's from the web interface

casanovalx avatar Oct 13 '25 15:10 casanovalx

Maybe there is an encoding issue with the id in the client. Do you have the possibility to check what the client is sending?

micbar avatar Oct 13 '25 15:10 micbar

Maybe there is an encoding issue with the id in the client. Do you have the possibility to check what the client is sending?

I don't think I can, which's saddening, actually. I mean, web client works fine. Though, Nemo's weird WebDAV connector is actually strange. It seems to actually accept the connection, but then gives the "No WebDav entry" error, 'cause it warns of certificate issues.

casanovalx avatar Oct 13 '25 16:10 casanovalx

Yes. You may need proper certificates.

micbar avatar Oct 13 '25 17:10 micbar