nextcloud / nextcloud/profiler

Cannot open General Request and Response View

Open
#715 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Vue
Stars
11
Forks
5
Avg merge
2h 41m
Merged PRs (30d)
17

Description

Steps to reproduce
  1. Enable the Profiler
  2. Click on the any buttons of the profiler toolbar
Expected behaviour

One of the 5 views open (general request/response, database, event, LDAP queries, cache)

Actual behaviour

Nothing happens

Server configuration

Web server: Apache

Database: MariaDB

PHP version: 8.3.28

Nextcloud version: 32.0.1

Profiler branch: stable32

List of activated apps

Enabled:

  • activity: 5.0.0-dev.0
  • app_api: 32.0.0
  • assistant: 2.11.0
  • cloud_federation_api: 1.16.0
  • dav: 1.34.2
  • federatedfilesharing: 1.22.0
  • federation: 1.22.0
  • files: 2.4.0
  • files_external: 1.24.0
  • files_pdfviewer: 5.0.0-dev.0
  • files_sharing: 1.24.0
  • guests: 4.6.0
  • impersonate: 3.0.0
  • integration_openai: 3.9.1
  • keeweb: 0.6.22
  • logreader: 5.0.0-dev.0
  • lookup_server_connector: 1.20.0
  • notes: 4.12.4
  • oauth2: 1.20.0
  • previewgenerator: 5.11.0
  • profile: 1.1.0
  • profiler: 3.0.0-dev.0
  • provisioning_api: 1.22.0
  • richdocuments: 9.0.2
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • tasks: 0.17.1
  • theming: 2.7.0
  • theming_customcss: 1.19.0
  • twofactor_backupcodes: 1.21.0
  • twofactor_nextcloud_notification: 6.0.0-dev.0
  • twofactor_totp: 14.0.0
  • user_status: 1.12.0
  • viewer: 5.0.0-dev.0
  • webhook_listeners: 1.3.0
  • workflowengine: 2.14.0

Disabled:

  • admin_audit: 1.22.0 (installed 1.20.0)
  • bruteforcesettings: 5.0.0-dev.0 (installed 3.0.0)
  • circles: 32.0.0 (installed 29.0.0-dev)
  • comments: 1.22.0 (installed 1.19.0)
  • contactsinteraction: 1.13.1 (installed 1.10.0)
  • dashboard: 7.12.0 (installed 7.9.0)
  • encryption: 2.20.0
  • files_downloadlimit: 5.0.0-dev.0 (installed 2.0.0)
  • files_reminders: 1.5.0 (installed 1.3.0)
  • files_trashbin: 1.22.0 (installed 1.20.1)
  • files_versions: 1.25.0 (installed 1.23.0)
  • firstrunwizard: 5.0.0-dev.0 (installed 2.18.0)
  • integration_collaboard: 1.0.10 (installed 1.0.10)
  • nextcloud_announcements: 4.0.0-dev.0 (installed 1.18.0)
  • notifications: 5.0.0-dev.0 (installed 2.17.0)
  • password_policy: 4.0.0-dev.0 (installed 1.19.0)
  • photos: 5.0.0-dev.1 (installed 3.0.2)
  • privacy: 4.0.0-dev.0 (installed 1.13.0)
  • recommendations: 5.0.0-dev.0 (installed 2.1.0)
  • related_resources: 3.0.0-dev.0 (installed 1.4.0)
  • sharebymail: 1.22.0 (installed 1.19.0)
  • support: 4.0.0-dev.0 (installed 1.12.0)
  • survey_client: 4.0.0-dev.0 (installed 1.17.0)
  • suspicious_login: 10.0.0-dev.0
  • systemtags: 1.22.0 (installed 1.19.0)
  • text: 6.0.1 (installed 3.10.0)
  • updatenotification: 1.22.0 (installed 1.19.1)
  • user_ldap: 1.23.0
  • weather_status: 1.12.0 (installed 1.9.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",
        "cache_path": "\/run\/nextcloud\/cache",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "user": "admin"
        },
        "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": "32.0.1.2",
        "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,
        "app_install_overwrite": [
            "integration_collaboard"
        ],
        "config_preset": 2,
        "debug": true,
        "profiler": true
    }
}
Browser

Browser name: Chrome

Browser version: 141.0.7390.122

Operating system: Arch Linux

Browser log
runtime-core.esm-bundler.js:275 TypeError: Cannot read properties of undefined (reading 'token')
    at C (ProfilerToolbar.vue:302:15)
    at l.value.n.value.c.onClick.e.<computed>.e.<computed> (ProfilerToolbar.vue:40:13)
ku	@	runtime-core.esm-bundler.js:275
Pr	@	runtime-core.esm-bundler.js:255
Dn	@	runtime-core.esm-bundler.js:201
Jt	@	runtime-core.esm-bundler.js:206
n	@	runtime-dom.esm-bundler.js:729

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in ProfilerToolbar.vue, especially the click handler around line 302 identified by the browser log. Reproduce the issue by enabling the Profiler and clicking each toolbar button, then trace why the expected token is undefined. Done means all five profiler views open from their toolbar buttons without a browser error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, observability
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.