No "+ New" button in Files

:sparkles: The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    Nextcloud Hub 10 (31.0.5)
  • Operating system and version (e.g., Ubuntu 24.04):
    Linux 5.14.0-503.35.1.el9_5.x86_64 x86_64
  • Web server and version (e.g, Apache 2.4.25):
    FPM/FastCGI
  • Reverse proxy and version _(e.g. nginx 1.27.2):
    cloudflare
  • PHP version (e.g, 8.3):
    8.3.20
  • Is this the first time you’ve seen this error? (Yes / No):*
    Yes
  • When did this problem seem to first start?
    Just after installation
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    Archive
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    Yes - Cloudflare

Summary of the issue you are facing:

While checking Files, there is no button of “+ New” there to create a new folder/file or upload..

Log entries

Nextcloud

{"reqId":"aDwrblIPTDz8aSeZsH-l9AAAABI","level":2,"time":"2025-06-01T10:29:09+00:00","remoteAddr":"REDACTED_IP","user":REDACTED_USER","app":"user_ldap","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"Configuration Error (prefix s01): No LDAP Host given!","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36","version":"31.0.5.1","data":{"app":"user_ldap"}}
{"reqId":"aDwrblIPTDz8aSeZsH-l9AAAABI","level":2,"time":"2025-06-01T10:29:09+00:00","remoteAddr":"REDACTED_IP","user":"REDACTED_USER","app":"user_ldap","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"Configuration Error (prefix s01): No LDAP Login Filter given!","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36","version":"31.0.5.1","data":{"app":"user_ldap"}}
{"reqId":"aDwrblIPTDz8aSeZsH-l9AAAABI","level":2,"time":"2025-06-01T10:29:09+00:00","remoteAddr":"REDACTED_IP","user":"REDACTED_USER","app":"user_ldap","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"Configuration Error (prefix s01): Not a single Base DN given.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36","version":"31.0.5.1","data":{"app":"user_ldap"}}
{"reqId":"aDwrblIPTDz8aSeZsH-l9AAAABI","level":2,"time":"2025-06-01T10:29:09+00:00","remoteAddr":"REDACTED_IP","user":"REDACTED_USER","app":"user_ldap","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"Configuration Error (prefix s01): login filter does not contain %uid place holder.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36","version":"31.0.5.1","data":{"app":"user_ldap"}}

Web Browser

Console

Kindly guide in this matter to resolve this..
Thank you in anticipation.

Someone here had the same problem:

You may also have activated the Office app, but not configured or not up to date?

I would test:

  1. Update all apps
  2. if not better: deactivate the office / collabora app
  3. if not better: deactivate all other apps

Until you find the nextcloud app that is causing this.

If that does not help: Is there an error visible in the developer console of your browser?

1 Like

Thank you for you reply.. I have checked and all apps are up-to-date. However, I tried disabling all apps but still “+ New” button doesn’t appear.

These are the warnings and errors in developer console of browser:

Please check the folder permissions in Nextcloud data folder.
should be www-data.www-data.

We can only make wild guesses since you overlooked the support template.

I have updated my post as per Support Template..

Thank You.

The two 403s in the developer console are strange.

  • You write that you use Cloudflare. Which web server are you using behind Cloudflare?
  • Does it work without Cloudflare in between?

Your screenshot shows a 403 when requesting /dist/core-common.js. What happens if you open this uri directly in the browser, do you also get a 403? If yes: Does the file exist?

What is the output of integrity:check-core?

sudo -u <user*> php /path/to/occ integrity:check-core

*for example www-data, depends on your system

I remember there was also some feature from Cloudflare that blocked some assets. Some auto minification or the like that interfered…

Thank you all for the helpful replies and support.

After reviewing the AUP of my hosting provider, I found that they specifically prohibit operating self-hosted file sync or “cloud storage” based services, including platforms like Nextcloud. So, it’s possible that certain restrictions are being enforced from their end, which could be affecting my setup or access.

Additionally, I tried pausing Cloudflare to rule out any interference from there, but unfortunately, it didn’t resolve the issue.

Thanks again!