Files keeps loading on web portal

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

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:

(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).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.0-1
      
  • Operating system and version (e.g., Ubuntu 24.04):
    • archlinux latest
  • Web server and version (e.g, Apache 2.4.25):
    • nginx 1.28.2
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx 1.28.2
  • PHP version (e.g, 8.3):
    • php-legacy 8.3.30
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • around Feb 22, after upgrading to 33.0.0
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • pacman
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I am using PostgreSQL 18.2.

After upgrading to 33.0.0, the files won’t show up on web portal. Desktop client is fine (so WebDAV is running well). It keeps loading. I found 1 error on the “network” tab of development . I found some errors on the console – one resource is missing.

Steps to replicate it (hint: details matter!)

The bug is there for a day. Restarting will not fix it. I don’t know if a fresh install can replicate it.

I have tried re-installing nextcloud with pacman, re-assigning file ownership and permissions, occ maintanance related commands, and occ file:scan –-all.

Log entries

From web console (I masked out some personal information)

The resource from “https://nc.example.com/apps/files_versions/css/sidebar-tab.css?v=82be69eb-28” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). files
Uncaught Error: Invalid entry
    validateEntry index.mjs:473
    registerEntry index.mjs:445
    T index.mjs:501
    30312 newFromTemplate.ts:51
    30312 newFromTemplate.ts:50
    30312 init.ts:50
    Webpack 5
index.mjs:473:13
[WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config 
Object { app: "viewer", uid: "username", level: 2, ignoredMimes: (3) […] }
index.mjs:44:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.oasis.opendocument.text", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.oasis.opendocument.spreadsheet", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.oasis.opendocument.graphics", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.oasis.opendocument.presentation", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.lotus-wordpro", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.visio", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/vnd.wordperfect", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "application/rtf", handler: {…} }
index.mjs:47:17
[ERROR] viewer: The following mime is already registered 
Object { app: "viewer", uid: "username", level: 2, mime: "text/rtf", handler: {…} }
index.mjs:47:17
[WARN] @nextcloud/vue: You need to fill either the text or the ariaLabel props in the button component. 
Object { uid: "username", app: "@nextcloud/vue", level: 2, text: undefined, ariaLabel: null, instance: {…} }
index.mjs:44:17
[WARN] files: No current view after DOMContentLoaded, redirecting to the default view 
Object { app: "files", uid: "username", level: 2 }

There is one failed resource in network:

https://nc.example.com/apps/files_versions/css/sidebar-tab.css?v=82be69eb-28

I checked the installing path /usr/share/webapps/nextcloud, and this file is missing (actually the whole css subdir is missing).

Nginx did not have meaningful error logs. The only log entry is related to sidebar-tab.css:

127.0.0.1 - - [23/Feb/2026:19:03:09 -0500] "GET /apps/files_versions/css/sidebar-tab.css?v=82be69eb-28 HTTP/1.1" 404 31 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0"

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

I did not find any logs higher or equal than warning level during this bug.

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "log_type": "file",
        "loglevel": 2,
        "logfile": "\/var\/log\/nextcloud.log",
        "apps_paths": [
            {
                "path": "\/usr\/share\/webapps\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/lib\/nextcloud\/apps",
                "url": "\/wapps",
                "writable": true
            }
        ],
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "10.0.0.112",
            "nc.example.com",
        ],
        "version": "33.0.0.16",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbtype": "pgsql",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbport": 5432,
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "US",
        "theme": "",
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "updater.release.channel": "stable",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 6,
        "app_install_overwrite": [
            "unsplash",
            "files_rightclick"
        ],
        "files.chunked_upload.max_size": 20971520
    }
}

Apps

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

Enabled:
  - activity: 6.0.0-dev.0
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_accesscontrol: 4.0.0
  - files_automatedtagging: 4.0.0
  - files_downloadlimit: 5.1.0-dev.0
  - files_pdfviewer: 6.0.0-dev.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - fileslibreofficeedit: 2.0.1
  - firstrunwizard: 6.0.0-dev.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - officeonline: 3.1.1
  - password_policy: 5.0.0-dev.0
  - phonetrack: 1.0.0
  - photos: 6.0.0-dev.0
  - privacy: 5.0.0-dev.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - recommendations: 6.0.0-dev.0
  - related_resources: 4.0.0-dev.0
  - richdocuments: 10.1.0
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - support: 5.0.0
  - survey_client: 5.0.0-dev.0
  - systemtags: 1.23.0
  - text: 7.0.0-dev.3
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0-dev.0
  - updatenotification: 1.23.0
  - user_status: 1.13.0
  - viewer: 6.0.0-dev.0
  - weather_status: 1.13.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - admin_audit: 1.23.0
  - app_api: 33.0.0 (installed 33.0.0)
  - bruteforcesettings: 6.0.0-dev.0 (installed 2.3.0)
  - encryption: 2.21.0
  - files_external: 1.25.1
  - files_rightclick: 0.15.1 (installed 0.15.1)
  - suspicious_login: 11.0.0-dev.0
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

I have been using Nextcloud for 5 years and it is an essential tool in my daily life and work. Thanks for your effort, and hope my report can help to improve the stability of nextcloud!

I think a similar issue was reported before: Errors after upgrading to version Nextcloud 33 "Hub 26 Winter"

your error

sounds very similar

1 Like

Thank you so much! Yes this is the same issue. I disabled offline online with CLI then the files can load now.

It seems I have the same issue here.

apps/files_versions/css/sidebar-tab.css is giving me 404 response. This has to be a bug!

EDIT: see issue ticket: Can't open sidebar in slideshow · Issue #3426 · nextcloud/photos · GitHub