Webdav cannot access some folders | 403 (Forbidden) | Hidden Files

Describe your issue in detail

When accessing the webdav I cannot open certain folders (I will be showing 1 folder as an example, but there are many folders that don’t work and have this same issue, but there are also many folders that do work). However, in the webui I can access those folders. When I try to access them in the dav I get this log:

2023-05-23T15:13:31.487Z	ERROR     pydio.gateway.dav	|- DAV END	{"method": "PROPFIND", "path": "/dav/personal-files/2023 Promo Posts", "error": "{\"Id\":\"DAV\",\"Code\":403,\"Detail\":\"Cannot create hidden folders\",\"Status\":\"Forbidden\"}"}

I will have images, but since I am a new user I can only put 2 links. I will put an album of images here:

In windows I am using explorer to view the files and folders:
Image 1*

When using cyberduck I get the same issue:
Image 2*

I can view it on the webui however:
Image 3*

What version of Cells are you using?

Software Version: Pydio Cells Home Edition 4.2.1 - May 22, 2023

What is the server OS? Database name/version? Browser name or mobile device description (if issue appears client-side)?

Linux debian 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux

Client:
Version: 20.10.5+dfsg1
API version: 1.41
Go version: go1.15.15
Git commit: 55c4c88
Built: Mon May 30 18:34:49 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Server:
Engine:
Version: 20.10.5+dfsg1
API version: 1.41 (minimum version 1.12)
Go version: go1.15.15
Git commit: 363e9a8
Built: Mon May 30 18:34:49 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.13~ds1
GitCommit: 1.4.13~ds1-1~deb11u4
runc:
Version: 1.0.0~rc93+ds1
GitCommit: 1.0.0~rc93+ds1-5+deb11u2
docker-init:
Version: 0.19.0
GitCommit:

version: '3.7'

services:
  cells:
    image: pydio/cells:latest
    container_name: pydio
    restart: unless-stopped
    expose:
      - 8080
    volumes:
      - /mnt/configs/pydio/cells:/var/cells
      - /mnt/data:/var/cells/data
    networks:
      - pydio

  mariadb:
    image: mariadb
    container_name: pydio_mariadb
    restart: unless-stopped
    expose:
      - 3306
    environment:
      # for testing everything is pydio
      - MYSQL_DATABASE=pydio
      - MYSQL_USER=pydio
      - MYSQL_PASSWORD=pydio
      - MYSQL_ROOT_PASSWORD=pydio
    command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
    volumes:
      - /mnt/configs/pydio/mariadb:/var/lib/mariadb
    networks:
      - pydio

volumes:
    data: {}
    cellsdir: {}
    mariadbdir: {}

networks:
  pydio:
    external: true

I am using my own caddy instance as I have many other containers and wanted them in 1 docker-compose file.

version: "3.3"

services:
  caddy:
    container_name: caddy
    image: caddy:latest
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - /mnt/truenas-configs/caddy/config/Caddyfile:/etc/caddy/Caddyfile
      - /mnt/truenas-configs/caddy/config/site:/srv
      - /mnt/truenas-configs/caddy/config/data:/data
      - /mnt/truenas-configs/caddy/config/config:/config
    networks:
      - caddy
      # .... a lot more containers
      - pydio

networks:
  caddy:
    external: true
  # .... a lot more containers
  pydio:
    external: true

And my caddy file:

example.com {
    encode zstd gzip
    reverse_proxy pydio:8080 {
        # use https with a self signed cert between caddy and cells
	transport http {
	    tls
	    tls_insecure_skip_verify
	}
    }
    header {
        # enable HSTS
        Strict-Transport-Security max-age=31536000;
        # disable clients from sniffing the media type
        X-Content-Type-Options nosniff
        # clickjacking protection
        X-Frame-Options DENY
        # keep referrer data off of HTTP connections
        Referrer-Policy no-referrer-when-downgrade
        # Content-Security-Policy: default-src 'self'
        # Enable cross-site filter (XSS) and tell browser to block detected attacks
        X-XSS-Protection "1; mode=block"
        # Prevent search engines from indexing (optional)
        X-Robots-Tag "none"
        # Server name removing
        -Server
    }
}

What steps have you taken to resolve this issue already?

I have tried 2 different ways of viewing the dat and I have been trying to turn on and off the remote-server setting:
Images 4 and 5*

Hello @bsikar welcome to the forums!

No specific pattern for folders that fail? e.g. space in the folder name?
Did you try without going through caddy ?

Forget about the “remote server” option, it has nothing to do with webdav :wink:

Hello,

I don’t think there is a pattern. I was going to check for you right now, but it seems that there is another issue as well… I cannot login, I havent done anything with the server since my last message. Could we try and resolve this one first (I dont want to hijack the thread- maybe I should make another issue?).

I am trying to login and its saying unauthorized, the logs show it as well:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.