Cannot create folder in groupfolders

The Basics

  • Nextcloud Server version (e.g., 29.x.x):

    • 32.0.5
  • Operating system and version (e.g., Ubuntu 24.04):

    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):

    • Apache2
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • none
  • PHP version (e.g, 8.3):

    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):

    • yes
  • When did this problem seem to first start?

    • from the begening
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • VM
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • Cloudflared

Summary of the issue you are facing:

Whenever I try to create a folder in a team folder I get an error “failed to create folder”.

Log entries

{"reqId":"SoMZP1KfKsxBYy4hPHzA","level":1,"time":"2026-02-08T12:54:31+00:00","remoteAddr":"::1","user":"kazimierzkrauze","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/kazimierzkrauze/Hesia-Kazik/","scriptName":"/remote.php","message":"The app config key files/watermark_enabled is not defined in the config lexicon","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36","version":"32.0.5.0","data":[]}
{"reqId":"ju9tEi1Ql0dxhB80Pa1Q","level":1,"time":"2026-02-08T12:54:32+00:00","remoteAddr":"::1","user":"kazimierzkrauze","app":"no app in context","method":"MKCOL","url":"/remote.php/dav/files/kazimierzkrauze/Hesia-Kazik/New%20folder","scriptName":"/remote.php","message":"The app config key files/watermark_enabled is not defined in the config lexicon","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36","version":"32.0.5.0","data":[]}
{"reqId":"ju9tEi1Ql0dxhB80Pa1Q","level":1,"time":"2026-02-08T12:54:32+00:00","remoteAddr":"::1","user":"kazimierzkrauze","app":"no app in context","method":"MKCOL","url":"/remote.php/dav/files/kazimierzkrauze/Hesia-Kazik/New%20folder","scriptName":"/remote.php","message":"Uncaught exception","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36","version":"32.0.5.0","exception":{"Exception":"Sabre\\DAV\\Exception\\Forbidden","Message":"Could not create directory /Hesia-Kazik/New folder","Code":0,"Trace":[{"file":"/var/www/nc.jeansibelius.net/3rdparty/sabre/dav/lib/DAV/Server.php","line":1210,"function":"createDirectory","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nc.jeansibelius.net/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":560,"function":"createCollection","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nc.jeansibelius.net/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMkcol","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nc.jeansibelius.net/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nc.jeansibelius.net/apps/dav/lib/Connector/Sabre/Server.php","line":211,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nc.jeansibelius.net/apps/dav/lib/Server.php","line":424,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/var/www/nc.jeansibelius.net/apps/dav/appinfo/v2/remote.php","line":22,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nc.jeansibelius.net/remote.php","line":151,"args":["/var/www/nc.jeansibelius.net/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nc.jeansibelius.net/apps/dav/lib/Connector/Sabre/Directory.php","Line":153,"message":"Uncaught exception","exception":{},"CustomMessage":"Uncaught exception"}}

(Is there a way to read these logs from cli like a normal person? Or I have to manage this gibberish?)

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

Probably not relevant.

Configuration

Nextcloud

The output of occ config:list system :

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "none",
            "nc.jeansibelius.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.5.0",
        "overwrite.cli.url": "none",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "default_phone_region": "PL",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        }
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 5.0.0-dev.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - bruteforcesettings: 5.0.0-dev.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_antivirus: 6.1.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_retention: 3.0.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - groupfolders: 20.1.10
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notifications: 5.0.0-dev.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - photos: 5.0.0-dev.1
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - richdocuments: 9.0.2
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - support: 4.0.0-dev.0
  - survey_client: 4.0.0-dev.0
  - systemtags: 1.22.0
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - updatenotification: 1.22.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Disabled:
  - encryption: 2.20.0
  - files_external: 1.24.1
  - suspicious_login: 10.0.0-dev.0
  - twofactor_nextcloud_notification: 6.0.0-dev.0
  - twofactor_totp: 14.0.0
  - user_ldap: 1.23.0

Can you please help me out?

Best,
Miro

​​

Can you elaborate how you setup the Team Folder/etc?

Sure.

  1. I installed and enabled application called Team folders (or something)
  2. I created group group_A, added myself to it
  3. I created group folder folder_A and added permissions rws to it to a group group_A
  4. Then through files I tried to create a folder inside folder_A

Effect:

From this time there are these logs:

nc-logs

I’m trying to find some info about them.