tasks icon indicating copy to clipboard operation
tasks copied to clipboard

Task list cannot load when using multiple nextcloud instances

Open qdii opened this issue 3 months ago • 2 comments

Steps to reproduce

  1. Install Nextcloud on kubernetes with more than 1 replica for high availability
  2. Install Tasks app in nextcloud
  3. Navigate to the Tasks app

Expected behavior

The list of tasks is loaded.

Actual behaviour

An error message shows up.

Image

In the network tools, the code 412 Precondition Failed appears.

Image

Tasks app version

0.16.1

CalDAV-clients used

No response

Browser

Google Chrome 139.0.7258.154

Client operating system

Arch Linux

Server operating system

Running on kubernetes (official Nextcloud helm chart)

Web server

Apache

Database engine version

MariaDB

PHP engine version

Other

Nextcloud version

No response

Updated from an older installed version or fresh install

None

List of activated apps

Enabled:
  - activity: 4.0.0
  - app_api: 5.0.2
  - cloud_federation_api: 1.14.0
  - dav: 1.33.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_sharing: 1.23.1
  - impersonate: 2.0.0
  - keeweb: 0.6.21
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - notes: 4.12.1
  - oauth2: 1.19.1
  - previewgenerator: 5.8.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - tasks: 0.16.1
  - theming: 2.6.1
  - theming_customcss: 1.18.0
  - twofactor_backupcodes: 1.20.0
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - viewer: 4.0.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0

Nextcloud configuration

{
    "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
        },
        "upgrade.disable-web": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "ng.dodges.it"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "ng.dodges.it",
        "overwriteprotocol": "https",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.4.1",
        "overwrite.cli.url": "https:\/\/ng.dodges.it",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "allow_local_remote_servers": true,
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "data-fingerprint": "b5ffb54760a4461f391a02e093608d53",
        "maintenance_window_start": 4,
        "trashbin_retention_obligation": "auto",
        "versions_retention_obligation": "auto",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtptimeout": 30,
        "mail_smtpsecure": "ssl",
        "loglevel": 0
    },
    "apps": {
        "activity": {
            "enable_email": "no",
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "no",
            "installed_version": "1.20.0",
            "types": "logging"
        },
        "app_api": {
            "enabled": "yes",
            "installed_version": "5.0.2",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "26"
        },
        "bruteforcesettings": {
            "enabled": "no",
            "installed_version": "3.0.0",
            "types": ""
        },
        "circles": {
            "enabled": "no",
            "installed_version": "29.0.0-dev",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1718119203,\"2\":1718122502,\"1\":1718122802}",
            "migration_22": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "no",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "no",
            "installed_version": "1.10.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "emailTestSuccessful": "1",
            "files_metadata_installed": "1",
            "installedat": "1681036893.9596",
            "lastcron": 1756453803,
            "lastupdateResult": "{\"version\":\"29.0.2.2\",\"versionstring\":\"Nextcloud 29.0.2\",\"url\":\"https:\\\/\\\/download.nextcloud.com\\\/server\\\/releases\\\/nextcloud-29.0.2.zip\",\"web\":\"https:\\\/\\\/docs.nextcloud.com\\\/server\\\/29\\\/admin_manual\\\/maintenance\\\/upgrade.html\",\"changes\":\"https:\\\/\\\/updates.nextcloud.com\\\/changelog_server\\\/?version=29.0.2\",\"autoupdater\":\"1\",\"eol\":\"0\"}",
            "lastupdatedat": 0,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "updater.secret.created": "1713388960",
            "vendor": "nextcloud",
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-place": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "ac2399ad783df69c4d4fa894dead2b9d",
                    "indexed": false,
                    "editPermission": 0
                },
                "files-live-photo": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 1
                }
            },
            "oc.integritycheck.checker": []
        },
        "dashboard": {
            "enabled": "no",
            "installed_version": "7.9.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.33.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "authentication"
        },
        "files": {
            "enabled": "yes",
            "installed_version": "2.3.1",
            "mimetype_version": "31.0.4.1",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "no",
            "installed_version": "2.0.0",
            "types": ""
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "0.15.1",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.23.1",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.15.1",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "no",
            "installed_version": "1.20.1",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "no",
            "installed_version": "1.23.0",
            "types": "filesystem,dav"
        },
        "fileslibreofficeedit": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.18.0",
            "types": "logging"
        },
        "fulltextsearch": {
            "installed_version": "29.0.0",
            "types": ""
        },
        "fulltextsearch_elasticsearch": {
            "enabled": "no",
            "installed_version": "29.0.1",
            "types": ""
        },
        "impersonate": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "prevent_group_restriction"
        },
        "keeweb": {
            "enabled": "yes",
            "installed_version": "0.6.21",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "levels": "11011",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "no",
            "installed_version": "3.5.6",
            "types": ""
        },
        "maps": {
            "enabled": "no",
            "installed_version": "1.3.1",
            "types": "filesystem"
        },
        "nextcloud_announcements": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "4.12.1",
            "types": ""
        },
        "notifications": {
            "enabled": "no",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.19.1",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "no",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "no",
            "installed_version": "3.0.2",
            "lastPlaceMappedUser": "qdii",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "previewgenerator": {
            "enabled": "yes",
            "installed_version": "5.8.0",
            "types": "filesystem"
        },
        "privacy": {
            "enabled": "no",
            "installed_version": "1.13.0",
            "types": ""
        },
        "profile": {
            "enabled": "yes",
            "installed_version": "1.0.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "prevent_group_restriction"
        },
        "recognize": {
            "clusterFaces.lastRun": "1717125155",
            "clusterFaces.status": "true",
            "concurrency.enabled": "false",
            "enabled": "no",
            "faces.batchSize": "500",
            "faces.enabled": "true",
            "faces.lastFile": "1717124560",
            "faces.status": "true",
            "imagenet.batchSize": "100",
            "imagenet.enabled": "true",
            "imagenet.lastFile": "1718006277",
            "imagenet.status": "false",
            "installed_version": "7.0.3",
            "landmarks.batchSize": "100",
            "landmarks.enabled": "true",
            "landmarks.lastFile": "1718006329",
            "landmarks.status": "true",
            "movinet.batchSize": "20",
            "movinet.enabled": "false",
            "musicnn.batchSize": "100",
            "musicnn.enabled": "true",
            "musicnn.lastFile": "1717313214",
            "musicnn.status": "true",
            "nice_binary": "\/usr\/bin\/nice",
            "nice_value": "0",
            "node_binary": "\/var\/www\/html\/custom_apps\/recognize\/bin\/node",
            "tensorflow.cores": "0",
            "tensorflow.gpu": "false",
            "tensorflow.purejs": "false",
            "types": "filesystem,dav"
        },
        "recommendations": {
            "enabled": "no",
            "installed_version": "2.1.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "no",
            "installed_version": "1.4.0",
            "types": ""
        },
        "serverinfo": {
            "cached_count_appdata_files": 19771,
            "cached_count_filecache": 1111736,
            "cached_count_storages": 8,
            "enabled": "yes",
            "installed_version": "3.0.0",
            "job_interval_storage_stats": "3600",
            "size_appdata_storage": 1980364,
            "token": "***REMOVED SENSITIVE VALUE***",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.14.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "no",
            "installed_version": "1.19.0",
            "types": "filesystem"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "no",
            "installed_version": "1.12.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "no",
            "installed_version": "1.17.0",
            "last_report": "{\"id\":\"ocx43oum996c\",\"items\":[[\"server\",\"version\",\"29.0.0.19\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"8.2.18\"],[\"php\",\"memory_limit\",2147483648],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",4294967296],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"11.1.3\"],[\"database\",\"size\",1061093376],[\"apps\",\"activity\",\"2.21.1\"],[\"apps\",\"admin_audit\",\"1.19.0\"],[\"apps\",\"circles\",\"29.0.0-dev\"],[\"apps\",\"cloud_federation_api\",\"1.12.0\"],[\"apps\",\"comments\",\"1.19.0\"],[\"apps\",\"contactsinteraction\",\"1.10.0\"],[\"apps\",\"dashboard\",\"7.9.0\"],[\"apps\",\"dav\",\"1.30.1\"],[\"apps\",\"federatedfilesharing\",\"1.19.0\"],[\"apps\",\"federation\",\"1.19.0\"],[\"apps\",\"files\",\"2.1.0\"],[\"apps\",\"files_downloadlimit\",\"2.0.0\"],[\"apps\",\"files_pdfviewer\",\"2.10.0\"],[\"apps\",\"files_reminders\",\"1.2.0\"],[\"apps\",\"files_rightclick\",\"disabled\"],[\"apps\",\"files_sharing\",\"1.21.0\"],[\"apps\",\"files_trashbin\",\"disabled\"],[\"apps\",\"files_versions\",\"1.22.0\"],[\"apps\",\"fileslibreofficeedit\",\"1.1.0\"],[\"apps\",\"firstrunwizard\",\"2.18.0\"],[\"apps\",\"fulltextsearch\",\"28.0.1\"],[\"apps\",\"fulltextsearch_elasticsearch\",\"disabled\"],[\"apps\",\"impersonate\",\"disabled\"],[\"apps\",\"keeweb\",\"0.6.18\"],[\"apps\",\"logreader\",\"2.14.0\"],[\"apps\",\"lookup_server_connector\",\"1.17.0\"],[\"apps\",\"mail\",\"disabled\"],[\"apps\",\"maps\",\"disabled\"],[\"apps\",\"nextcloud_announcements\",\"1.18.0\"],[\"apps\",\"notifications\",\"2.17.0\"],[\"apps\",\"oauth2\",\"1.17.0\"],[\"apps\",\"password_policy\",\"1.19.0\"],[\"apps\",\"photos\",\"2.5.0\"],[\"apps\",\"previewgenerator\",\"5.5.0\"],[\"apps\",\"privacy\",\"1.13.0\"],[\"apps\",\"provisioning_api\",\"1.19.0\"],[\"apps\",\"recognize\",\"6.1.1\"],[\"apps\",\"recommendations\",\"2.1.0\"],[\"apps\",\"related_resources\",\"1.4.0\"],[\"apps\",\"serverinfo\",\"1.19.0\"],[\"apps\",\"settings\",\"1.12.0\"],[\"apps\",\"sharebymail\",\"1.19.0\"],[\"apps\",\"support\",\"1.12.0\"],[\"apps\",\"survey_client\",\"1.17.0\"],[\"apps\",\"systemtags\",\"1.19.0\"],[\"apps\",\"text\",\"3.10.0\"],[\"apps\",\"theming\",\"2.4.0\"],[\"apps\",\"theming_customcss\",\"disabled\"],[\"apps\",\"twofactor_backupcodes\",\"1.18.0\"],[\"apps\",\"updatenotification\",\"1.19.1\"],[\"apps\",\"user_status\",\"1.9.0\"],[\"apps\",\"viewer\",\"2.3.0\"],[\"apps\",\"weather_status\",\"1.9.0\"],[\"apps\",\"workflowengine\",\"2.11.0\"],[\"stats\",\"num_files\",1116659],[\"stats\",\"num_users\",4],[\"stats\",\"num_storages\",5],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",4],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",243],[\"stats\",\"num_systemtags_mappings\",55938],[\"files_sharing\",\"num_shares\",27],[\"files_sharing\",\"num_shares_user\",1],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",26],[\"files_sharing\",\"num_shares_link_no_password\",26],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_17\",25],[\"files_sharing\",\"permissions_0_31\",1],[\"files_sharing\",\"permissions_3_31\",1],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}",
            "last_sent": "1717236622",
            "types": ""
        },
        "systemtags": {
            "enabled": "no",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.16.1",
            "types": ""
        },
        "text": {
            "enabled": "no",
            "installed_version": "3.10.0",
            "types": "dav"
        },
        "theming": {
            "cachebuster": "4",
            "enabled": "yes",
            "installed_version": "2.6.1",
            "name": "Nuage",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "types": "logging",
            "url": "***REMOVED SENSITIVE VALUE***"
        },
        "theming_customcss": {
            "cachebuster": "1704838095587",
            "customcss": ":root {\n    \/* Nord theme colours copied from  https:\/\/www.nordtheme.com\/docs\/colors-and-palettes *\/\n    --nord0: #2e3440;\n    --nord1: #3b4252;\n    --nord2: #434c5e;\n    --nord3: #4c566a;\n\n    --nord4: #d8dee9;\n    --nord5: #e5e9f0;\n    --nord6: #eceff4;\n\n    --nord7: #8fbcbb;\n    --nord8: #88c0d0;\n    --nord9: #81a1c1;\n    --nord10: #5e81ac;\n\n    --nord11: #bf616a;\n    --nord12: #d08770;\n    --nord13: #ebcb8b;\n    --nord14: #a3be8c;\n    --nord15: #b48ead;\n\n}\n\n:root {\n    \/* Forgot to comment which variable is used where. Future me will hate me. *\/\n    --color-main-text: var(--nord6);\n    --color-main-background: var(--nord0);\n    --color-main-background-translucent: rgba(46, 52, 64, 0.97);\n    --gradient-main-background: var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%;\n    --color-background-hover: var(--nord1);\n    --color-background-dark: var(--nord2);\n    --color-background-darker: var(--nord3);\n--color-placeholder-light: aqua;                \/* TODO find usage *\/\n--color-placeholder-dark: aqua;                 \/* TODO find usage *\/\n    --color-primary: var(--nord3);\n--color-primary-hover: aqua;                    \/* TODO find usage *\/\n    --color-primary-light: var(--nord3);\n    --color-primary-light-hover: var(--nord5);\n    --color-primary-text: var(--nord5);\n--color-primary-light-text: aqua;               \/* TODO find usage *\/\n--color-primary-text-dark: var(--color-main-text);\n    --color-primary-element: var(--nord2);\n--color-primary-element-hover: aqua;            \/* TODO find usage *\/\n    --color-primary-element-light: var(--nord1);\n    --color-primary-element-lighter: var(--nord3);\n    --color-error: var(--nord11);\n    --color-error-hover: var(--nord11);\n    --color-warning: var(--nord12);\n    --color-warning-hover: var(--nord12);\n    --color-success: var(--nord14);\n    --color-success-hover: var(--nord14);\n    --color-text-maxcontrast: var(--nord4);\n    --color-text-light: var(--nord3);\n    --color-text-lighter: var(--nord3);\n    --image-logo: url('\/core\/img\/logo\/logo.png?v=6');\n    --image-login-background: url('\/core\/img\/background.png?v=6');\n    --image-logoheader: url('\/core\/img\/logo\/logo.png?v=6');\n    --image-favicon: url('\/core\/img\/logo\/logo.png?v=6');\n    --color-loading-light: var(--nord4);\n    --color-loading-dark: var(--nord2);\n    --color-box-shadow: rgba(59, 66, 82, 0.5); \/* --nord1 as rgb *\/\n    --color-border: var(--nord3);\n    --color-border-dark: var(--nord3);\n    --border-radius: 3px;\n    --border-radius-large: 10px;\n    --border-radius-pill: 100px;\n    --font-face: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Cantarell, Ubuntu, Helvetica Neue, Arial, sans-serif, Noto Color Emoji, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;\n    --default-font-size: 15px;\n    --default-line-height: 24px;\n    --animation-quick: 100ms;\n    --animation-slow: 300ms;\n    --header-height: 50px;\n    --color-background-translucent: rgba(67, 76, 94 0.97) !important; \/* this _should_ change the 'customize' button on dashboard. But it doesn't. *\/\n}",
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": ""
        },
        "twofactor_nextcloud_notification": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "13.0.0-dev.0",
            "types": ""
        },
        "updatenotification": {
            "core": "29.0.2.2",
            "enabled": "no",
            "fulltextsearch_elasticsearch": "28.0.1",
            "installed_version": "1.19.1",
            "keeweb": "0.6.18",
            "maps": "1.4.0",
            "previewgenerator": "5.5.0",
            "recognize": "7.0.0",
            "theming_customcss": "1.16.0",
            "types": "",
            "update_check_errors": 0
        },
        "user_status": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": ""
        },
        "webhook_listeners": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.13.0",
            "types": "filesystem"
        }
    }
}

Web server error log

192.168.2.1 - - [29/Aug/2025:07:58:31 +0000] "GET /csrftoken HTTP/2.0" 200 123 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36" 35 0.178 [nextclou
192.168.2.1 - - [29/Aug/2025:07:58:32 +0000] "GET /apps/files HTTP/2.0" 200 7896 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36" 35 0.536 [nextcl
192.168.2.1 - - [29/Aug/2025:07:58:32 +0000] "GET /apps/tasks/api/v1/collections HTTP/2.0" 412 31 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
192.168.2.1 - - [29/Aug/2025:07:58:32 +0000] "GET /csrftoken HTTP/2.0" 200 122 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36" 35 0.279 [nextclou
192.168.2.1 - - [29/Aug/2025:07:58:32 +0000] "GET /apps/files/img/app.svg HTTP/2.0" 200 240 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36" 43 0.

Log file

Nothing interesting there

Browser log

1576792511526248755:1 Refused to apply style from 'https://ng.dodges.it/custom_apps/tasks/css/tasks-store.css?v=f5f692bb-4' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
1576792511526248755:1 Refused to apply style from 'https://ng.dodges.it/custom_apps/tasks/css/tasks-Plus.css?v=f5f692bb-4' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
UnifiedSearch.vue:79 [DEBUG] core: Unified search initialized! {app: 'core', uid: 'qdii', level: 0}
session-heartbeat.js:83 session heartbeat polling started
collections:1  Failed to load resource: the server responded with a status of 412 ()
store-BBMiux8F.chunk.mjs:451 Request to https://ng.dodges.it/apps/tasks/api/v1/collections failed because of a CSRF mismatch. Fetching a new token
(anonymous) @ store-BBMiux8F.chunk.mjs:451
Promise.then
_request @ store-BBMiux8F.chunk.mjs:451
request @ store-BBMiux8F.chunk.mjs:450
In.<computed> @ store-BBMiux8F.chunk.mjs:451
(anonymous) @ store-BBMiux8F.chunk.mjs:446
get @ store-BBMiux8F.chunk.mjs:4357
(anonymous) @ store-BBMiux8F.chunk.mjs:4357
loadCollections @ store-BBMiux8F.chunk.mjs:4357
(anonymous) @ store-BBMiux8F.chunk.mjs:490
Ru.dispatch @ store-BBMiux8F.chunk.mjs:490
Ru.dispatch @ store-BBMiux8F.chunk.mjs:490
beforeMount @ tasks-main.mjs?v=298d9e57-4:57
(anonymous) @ store-BBMiux8F.chunk.mjs:2
Zr @ store-BBMiux8F.chunk.mjs:2
k0 @ store-BBMiux8F.chunk.mjs:2
e.__weh.e.__weh @ store-BBMiux8F.chunk.mjs:2
nc @ store-BBMiux8F.chunk.mjs:2
re @ store-BBMiux8F.chunk.mjs:2
run @ store-BBMiux8F.chunk.mjs:2
Ee.S.update @ store-BBMiux8F.chunk.mjs:2
Ee @ store-BBMiux8F.chunk.mjs:2
pe @ store-BBMiux8F.chunk.mjs:2
he @ store-BBMiux8F.chunk.mjs:2
y @ store-BBMiux8F.chunk.mjs:2
n0 @ store-BBMiux8F.chunk.mjs:2
mount @ store-BBMiux8F.chunk.mjs:2
e.mount @ store-BBMiux8F.chunk.mjs:2
(anonymous) @ tasks-main.mjs?v=298d9e57-4:73
RedirectUnsupportedBrowsers.js:22 [DEBUG] core: this browser is officially supported ! 🚀 {app: 'core', uid: 'qdii', level: 0}
autoconsent.js:2916 [Violation] 'requestIdleCallback' handler took 64ms
store-BBMiux8F.chunk.mjs:451 New request token H+nC2iTVWuLbuFbgur3Em6BleDt1Youw5Jg2TSyg6rw=:LsKGsFSvNNS8jBLTyJL38fIDO14+F7iJlM1iZkHimo4= fetched
/remote.php/dav/principals/users/qdii/:1  Failed to load resource: the server responded with a status of 401 ()
store-BBMiux8F.chunk.mjs:2 aF
    at i.onreadystatechange (store-BBMiux8F.chunk.mjs:488:19906)
OB @ store-BBMiux8F.chunk.mjs:2
r4 @ store-BBMiux8F.chunk.mjs:2
(anonymous) @ store-BBMiux8F.chunk.mjs:2
Promise.catch
k0 @ store-BBMiux8F.chunk.mjs:2
e.__weh.e.__weh @ store-BBMiux8F.chunk.mjs:2
nc @ store-BBMiux8F.chunk.mjs:2
re @ store-BBMiux8F.chunk.mjs:2
run @ store-BBMiux8F.chunk.mjs:2
Ee.S.update @ store-BBMiux8F.chunk.mjs:2
Ee @ store-BBMiux8F.chunk.mjs:2
pe @ store-BBMiux8F.chunk.mjs:2
he @ store-BBMiux8F.chunk.mjs:2
y @ store-BBMiux8F.chunk.mjs:2
n0 @ store-BBMiux8F.chunk.mjs:2
mount @ store-BBMiux8F.chunk.mjs:2
e.mount @ store-BBMiux8F.chunk.mjs:2
(anonymous) @ tasks-main.mjs?v=298d9e57-4:73
global.js:160 [Debug observer-helper.js:217] KeePassXC-Browser - Input fields found:
global.js:163 []

Additional info

My guess is that the javascript is getting a CSRF token from one instance and trying to use it in another instance, but the token isn't synchronized between the two instances, so the second instance rejects it.

qdii avatar Aug 29 '25 08:08 qdii

Do other apps work or is it only the Tasks app?

jaylinski avatar Nov 10 '25 21:11 jaylinski

Other apps work fine in my set up.

I worked around this by changing my load-balancing so that only a user always ends up on the same, single nextcloud instance.

qdii avatar Nov 16 '25 13:11 qdii