Integrity Check fails

Support intro

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.7
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 13.1 podman 5.4.2
  • Web server and version (e.g, Apache 2.4.25):
    • -
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Traefik3.7.5
  • PHP version (e.g, 8.3):
    • 8.4.24
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • after updating from 33.0.4 → 33.0.7
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • podman-compose podman pull occ upgrade
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

php occ integrity:check-core

  • INVALID_HASH:
    • core/js/mimetypelist.js:
      • expected: cb945c6402e12d9e7d42d0359acf95a6e9a9b0c1f3bd8528f598a7fb1694e5ae34c80cf44ef6c8901eac1bfdd152de3315fc7eac007efee0f33f09ed3e518b6a
      • current: 6b290ba45e633706e1fe761ca21422053c113f17b2bb35f2351f2cf1c3b893aa543af6c594077ca213c755cfa0d002e22109bb1797bbadd8fb410ca839143e0e

Steps to replicate it (hint: details matter!):

  1. podman-compose down -v

  2. Change compose.yml container version “image: nextcloud:33.0.6”

  3. podman-compose up -d (pulls 33.0.6)

  4. In container as www-data: php occ maintenance:mode --on

  5. In container as www-data: php occ upgrade

  6. In container as www-data: php occ integrity:check-core

Log entries

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.

not appropriate

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

not appropriate

Web server / Reverse Proxy

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

not appropriate

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": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "nc.myexample.test",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/nc.myexample.test",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nc.myexample.test"
        ],
        "serverid": "1",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.7.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "DE",
        "maintenance_window_start": "1",
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": true,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [],
        "loglevel": 3,
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": []
    }

Apps

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

Enabled:

  • activity: 6.0.0
  • admin_audit: 1.23.0
  • app_api: 33.0.0
  • appointments: 2.7.4
  • bruteforcesettings: 6.0.0
  • calendar: 6.5.2
  • circles: 33.0.0
  • cloud_federation_api: 1.17.0
  • comments: 1.23.0
  • contacts: 8.7.5
  • contactsinteraction: 1.14.1
  • dashboard: 7.13.0
  • dav: 1.36.0
  • deck: 1.17.4
  • encryption: 2.21.0
  • federatedfilesharing: 1.23.0
  • federation: 1.23.0
  • files: 2.5.0
  • files_accesscontrol: 4.0.1
  • files_antivirus: 6.3.2
  • files_automatedtagging: 4.0.0
  • files_bpm: 1.8.3
  • files_downloadlimit: 5.1.0
  • files_external: 1.25.1
  • files_pdfviewer: 6.0.0
  • files_reminders: 1.6.0
  • files_retention: 4.0.1
  • files_sharing: 1.25.2
  • files_trashbin: 1.23.0
  • files_versions: 1.26.0
  • firstrunwizard: 6.0.0
  • integration_paperless: 1.0.13
  • libresign: 13.3.0
  • logreader: 6.0.0
  • lookup_server_connector: 1.21.0
  • mail: 5.10.10
  • nextcloud_announcements: 5.0.0
  • notes: 6.0.1
  • notifications: 6.0.0
  • notify_push: 1.3.5
  • oauth2: 1.21.0
  • password_policy: 5.0.0
  • passwords: 2026.7.20
  • photos: 6.0.0
  • privacy: 5.0.0
  • profile: 1.2.0
  • provisioning_api: 1.23.0
  • recommendations: 6.0.0
  • related_resources: 4.0.0
  • richdocuments: 10.3.0
  • richdocumentscode: 26.4.104
  • serverinfo: 5.0.0
  • settings: 1.16.0
  • sharebymail: 1.23.0
  • spreed: 23.0.9
  • support: 5.0.0
  • survey_client: 5.0.0
  • suspicious_login: 11.0.0
  • systemtags: 1.23.0
  • tasks: 0.18.1
  • terms_of_service: 4.7.1
  • text: 7.0.1
  • theming: 2.8.0
  • twofactor_backupcodes: 1.22.0
  • twofactor_nextcloud_notification: 7.0.0
  • twofactor_totp: 15.0.0
  • updatenotification: 1.23.0
  • user_saml: 8.2.0
  • user_status: 1.13.0
  • viewer: 6.0.0
  • weather_status: 1.13.0
  • webhook_listeners: 1.5.0
  • workflowengine: 2.15.0
    Disabled:
  • user_ldap: 1.24.0 (installed 1.24.0)

Hey @Ocres1 welcome to the Nextcloud community :waving_hand:

you’re running your instance with podman, so the podman folks will be able to help… please be patient.