Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
Hey !
The Basics
-
Nextcloud Server version (e.g., 29.x.x):
33.0.1
-
Operating system and version (e.g., Ubuntu 24.04):
Shared hosting environment (o2switch)
-
Web server and version (e.g, Apache 2.4.25):
Apache (version not exposed by hosting provider)
-
Reverse proxy and version _(e.g. nginx 1.27.2)
None configured
-
PHP version (e.g, 8.3):
PHP 8.3
-
Is this the first time you’ve seen this error? (Yes / No):
Yes
-
When did this problem seem to first start?
Immediately after installing Nextcloud and trying to access the Files app
-
Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Manual installation using the official Nextcloud archive.
Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
After installing Nextcloud on a shared hosting server, the Files application fails to load.
The browser console shows errors related to:
-
CSS files being returned as
text/html -
WebDAV requests failing
-
HTTP/2 protocol errors
As a result, the file list cannot be displayed and WebDAV requests fail.
The Nextcloud interface loads, but when opening the Files app, the directory listing fails to load.
Steps to replicate it (hint: details matter!)
- Open the Nextcloud instance
- Log in with a user account
- Open the Files app
- The file list does not load
- Open the browser developer tools (Console / Network)
- Errors appear related to WebDAV and MIME types
Log entries
Web Browser
Console output:
Refused to apply style from 'https://subdomaine.domaine.fr/apps/files_versions/css/sidebar-tab.css?v=8fe4de75-0'
because its MIME type ('text/html') is not a supported stylesheet MIME type,
and strict MIME checking is enabled.
WebDAV errors:
REPORT https://subdomaine.domaine.fr/remote.php/dav/files/LLoric/ net::ERR_HTTP2_PROTOCOL_ERROR
PROPFIND https://subdomaine.domaine.fr/remote.php/dav/files/LLoric/ net::ERR_HTTP2_PROTOCOL_ERROR
Additional errors:
Failed to load favorite nodes via WebDAV
Error while fetching content
TypeError: Failed to fetch
Other warnings present:
viewer: Some mimes were ignored because they are not enabled in the server previews config
@nextcloud/vue: You need to fill either the text or the ariaLabel props in the button component
These warnings appear secondary and do not seem to be the main issue.
Web server / Reverse Proxy
TNo direct access to Apache logs due to shared hosting environment.
Configuration
Nextcloud
$CONFIG = array (
'instanceid' => 'xxxx',
'passwordsalt' => 'xxxxx',
'secret' => 'xxx',
'datadirectory' => 'xxxxxx',
'dbtype' => 'mysql',
'version' => '33.0.1.2',
'overwrite.cli.url' => 'https://subdomaine.domaine.fr',
'trusted_domains' =>
array (
0 => 'subdomaine.domaine.fr',
),
'overwriteprotocol' => 'https',
'dbname' => 'xxxx',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc\_',
'mysql.utf8mb4' => true,
'dbuser' => 'xx',
'dbpassword' => 'XX’,
'installed' => true,
);
Additional observations
Since the CSS file is returned with MIME type text/html, it seems the server returns an HTML response instead of the expected CSS file, possibly indicating:
-
an Apache rewrite issue
-
a
.htaccessconfiguration problem -
a hosting-level security filter (mod_security)
-
or an HTTP/2 handling issue with WebDAV requests
The WebDAV endpoint also fails:
/remote.php/dav/files/<user>/
with:
ERR_HTTP2_PROTOCOL_ERROR