Skip to content

[Bug]: InvalidCharacterError: Invalid qualified name: '@canAssign' in vue.runtime.esm.js:7399 #5490

Description

@victorarocha

⚠️ This issue respects the following points: ⚠️

Bug description

After upgrading to v33, I have this issue in Safari (for macOS).
When opening a file in Nextcloud Office, the screen hangs on the activity indicator and this error is thrown in the browser web console:

[Error] InvalidCharacterError: Invalid qualified name: '@canAssign'  vue.runtime.esm.js:7399
	hl (previewUtils-mb7vuryY.chunk.mjs:2:28512)
	gl (previewUtils-mb7vuryY.chunk.mjs:2:28450)
	Ru (previewUtils-mb7vuryY.chunk.mjs:2:28126)
	(anonymous function) (previewUtils-mb7vuryY.chunk.mjs:2:29239)
	bs (previewUtils-mb7vuryY.chunk.mjs:2:28632)

Same problem when using Firefox:

DOMException: String contains an invalid character
    VueJS 25
vue.runtime.esm.js:3065:17

In Chrome, the file displays correctly in Collabora (Nextcloud Office). Therefore, this issue cannot be reproduced in Chrome.

Steps to reproduce

  1. Upgrade to Nextcloud v33.0.0, upgrade all apps to latest version.
  2. Open an office file.
  3. The error occurs.

Expected behavior

Open the file in Collabora Online (Nextcloud Office)

Nextcloud Server version

33

Operating system

RHEL/CentOS

PHP engine version

PHP 8.5

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "serverid": 1,
        "trusted_domains": [
            "cloud.inblay.mx"
        ],
        "cookie_domain": "",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "version": "33.0.0.16",
        "dbtype": "mysql",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbpersistent": "",
        "db.log_request_id": false,
        "installed": true,
        "default_language": "en",
        "force_language": "en",
        "default_locale": "en_US",
        "reduce_to_languages": [],
        "default_phone_region": "MX",
        "force_locale": "en_US",
        "default_timezone": "America\/Mexico_City",
        "knowledgebaseenabled": true,
        "knowledgebase.embedded": false,
        "allow_user_to_change_display_name": true,
        "skeletondirectory": "core\/skeleton",
        "templatedirectory": "",
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "davstorage.request_timeout": 30,
        "carddav_sync_request_timeout": 30,
        "carddav_sync_request_truncation": 2500,
        "session_relaxed_expiry": false,
        "session_keepalive": true,
        "auto_logout": false,
        "token_auth_enforced": false,
        "token_auth_activity_update": 60,
        "auth.bruteforce.protection.enabled": true,
        "auth.bruteforce.protection.force.database": false,
        "auth.bruteforce.protection.testing": false,
        "auth.bruteforce.max-attempts": 10,
        "ratelimit.protection.enabled": true,
        "security.ipv6_normalized_subnet_size": 56,
        "auth.webauthn.enabled": true,
        "auth.storeCryptedPassword": true,
        "hide_login_form": false,
        "lost_password_link": "disabled",
        "logo_url": "https:\/\/www.inblay.mx",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpdebug": false,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": 465,
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_template_class": "\\OC\\Mail\\EMailTemplate",
        "mail_send_plaintext_only": false,
        "mail_smtpstreamoptions": [],
        "mail_sendmailmode": "smtp",
        "overwritehost": "",
        "overwriteprotocol": "https",
        "overwritewebroot": "",
        "overwritecondaddr": "",
        "overwrite.cli.url": "https:\/\/cloud.inblay.mx",
        "htaccess.RewriteBase": "\/",
        "htaccess.IgnoreFrontController": false,
        "proxy": "",
        "proxyuserpwd": "***REMOVED SENSITIVE VALUE***",
        "proxyexclude": [],
        "allow_local_remote_servers": true,
        "trashbin_retention_obligation": "7,14",
        "versions_retention_obligation": "7,14",
        "appcodechecker": true,
        "updatechecker": true,
        "updater.server.url": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "has_internet_connection": true,
        "connectivity_check_domains": [
            "https:\/\/www.nextcloud.com",
            "https:\/\/www.startpage.com",
            "https:\/\/www.eff.org",
            "https:\/\/www.edri.org"
        ],
        "check_for_working_wellknown_setup": true,
        "check_for_working_htaccess": true,
        "check_data_directory_permissions": true,
        "config_is_read_only": false,
        "log_type": "file",
        "log_type_audit": "file",
        "logfile": "[datadirectory]\/nextcloud.log",
        "logfile_audit": "[datadirectory]\/audit.log",
        "logfilemode": 416,
        "loglevel": 2,
        "loglevel_frontend": 2,
        "loglevel_dirty_database_queries": 0,
        "syslog_tag": "Nextcloud",
        "syslog_tag_audit": "Nextcloud",
        "log.backtrace": false,
        "logdateformat": "F d, Y H:i:s",
        "logtimezone": "America\/Mexico_City",
        "log_query": false,
        "log_rotate_size": 10485760,
        "profiler": false,
        "profiling.request": false,
        "profiling.request.rate": 0.001000000000000000020816681711721685132943093776702880859375,
        "profiling.secret": "",
        "profiling.sample": false,
        "profiling.sample.rate": 1,
        "profiling.sample.rotation": 60,
        "profiling.path": "\/tmp",
        "customclient_desktop": "https:\/\/nextcloud.com\/install\/#install-clients",
        "customclient_android": "https:\/\/play.google.com\/store\/apps\/details?id=com.nextcloud.client",
        "customclient_ios": "https:\/\/itunes.apple.com\/us\/app\/nextcloud\/id1125420102?mt=8",
        "customclient_ios_appid": "1125420102",
        "customclient_fdroid": "https:\/\/f-droid.org\/packages\/com.nextcloud.client\/",
        "defaultapp": "dashboard,files",
        "appstoreenabled": true,
        "appstoreurl": "https:\/\/apps.nextcloud.com\/api\/v1",
        "appsallowlist": [],
        "apps_paths": [
            {
                "path": "\/moon\/home\/inblaymx\/www\/cloud\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "enable_previews": true,
        "preview_concurrency_all": 8,
        "preview_concurrency_new": 4,
        "preview_max_x": 4096,
        "preview_max_y": 4096,
        "preview_max_filesize_image": 50,
        "preview_max_memory": 256,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "preview_ffprobe_path": "\/usr\/bin\/ffprobe",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "enabledPreviewProviders": [
            "OC\\Preview\\BMP",
            "OC\\Preview\\GIF",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\Krita",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PNG",
            "OC\\Preview\\TXT",
            "OC\\Preview\\XBitmap"
        ],
        "metadata_max_filesize": 256,
        "max_file_conversion_filesize": 100,
        "ldapUserCleanupInterval": 51,
        "sort_groups_by_name": false,
        "comments.managerFactory": "\\OC\\Comments\\ManagerFactory",
        "systemtags.managerFactory": "\\OC\\SystemTag\\ManagerFactory",
        "maintenance": false,
        "maintenance_window_start": 1,
        "ldap_log_file": "",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "read_timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "cache_path": "",
        "cache_chunk_gc_ttl": 86400,
        "cache_app_config": true,
        "objectstore.multibucket.preview-distribution": false,
        "sharing.managerFactory": "\\OC\\Share20\\ProviderFactory",
        "sharing.enable_mail_link_password_expiration": false,
        "sharing.mail_link_password_expiration_interval": 3600,
        "sharing.maxAutocompleteResults": 25,
        "sharing.minSearchStringLength": 0,
        "sharing.enable_share_accept": false,
        "sharing.force_share_accept": false,
        "sharing.allow_custom_share_folder": true,
        "share_folder": "\/",
        "sharing.enable_share_mail": true,
        "sharing.allow_disabled_password_enforcement_groups": false,
        "transferIncomingShares": false,
        "sharing.federation.allowSelfSignedCertificates": false,
        "hashing_default_password": false,
        "hashingThreads": 1,
        "hashingMemoryCost": 65536,
        "hashingTimeCost": 4,
        "hashingCost": 10,
        "dbdriveroptions": {
            "1014": false
        },
        "mysql.utf8mb4": true,
        "supportedDatabases": [
            "mysql"
        ],
        "forbidden_filenames": [
            ".htaccess"
        ],
        "forbidden_filename_basenames": [],
        "forbidden_filename_characters": [],
        "forbidden_filename_extensions": [
            ".part",
            ".filepart"
        ],
        "theme": "",
        "enforce_theme": "",
        "theming.standalone_window.enabled": true,
        "cipher": "AES-256-CTR",
        "encryption.use_legacy_base64_encoding": false,
        "minimum.supported.desktop.version": "3.1.0",
        "maximum.supported.desktop.version": "99.99.99",
        "localstorage.allowsymlinks": false,
        "localstorage.umask": 18,
        "localstorage.unlink_on_truncate": false,
        "quota_include_external_storage": false,
        "external_storage.auth_availability_delay": 1800,
        "files_external_allow_create_new_local": true,
        "filesystem_check_changes": 0,
        "part_file_in_storage": true,
        "mount_file": "data\/mount.json",
        "filesystem_cache_readonly": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED",
            "HTTP_FORWARDED_FOR"
        ],
        "allowed_admin_ranges": [],
        "max_filesize_animated_gifs_public_sharing": 10,
        "filelocking.ttl": 3600,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "filelocking.debug": false,
        "upgrade.disable-web": false,
        "upgrade.cli-upgrade-link": "",
        "user_ini_additional_lines": "",
        "documentation_url.server_logs": "",
        "debug": false,
        "data-fingerprint": "deb35cdc92eefd9d5c37db1c4105b1b5",
        "lookup_server": "https:\/\/lookup.nextcloud.com",
        "gs.enabled": false,
        "gs.federation": "internal",
        "csrf.optout": [
            "\/^WebDAVFS\/",
            "\/^Microsoft-WebDAV-MiniRedir\/"
        ],
        "simpleSignUpLink.shown": false,
        "login_form_autocomplete": true,
        "login_form_timeout": 300,
        "no_unsupported_browser_warning": false,
        "files_no_background_scan": false,
        "query_log_file": "",
        "query_log_file_requestid": "",
        "query_log_file_parameters": "",
        "query_log_file_backtrace": "",
        "redis_log_file": "",
        "diagnostics.logging": true,
        "diagnostics.logging.threshold": 0,
        "profile.enabled": true,
        "account_manager.default_property_scope": [],
        "projects.enabled": false,
        "bulkupload.enabled": true,
        "reference_opengraph": true,
        "unified_search.enabled": false,
        "enable_non-accessible_features": true,
        "binary_search_paths": [
            "\/usr\/local\/sbin",
            "\/usr\/local\/bin",
            "\/usr\/sbin",
            "\/usr\/bin",
            "\/sbin",
            "\/bin",
            "\/opt\/bin"
        ],
        "files.chunked_upload.max_size": 104857600,
        "files.chunked_upload.max_parallel_count": 5,
        "files.trash.delete": true,
        "enable_lazy_objects": true,
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "app_install_overwrite": []
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0-dev.0
  - admin_audit: 1.23.0
  - app_api: 33.0.0
  - bruteforcesettings: 6.0.0-dev.0
  - calendar: 6.2.1
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contacts: 8.4.1
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - external: 8.0.0
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0-dev.0
  - files_external: 1.25.1
  - files_fulltextsearch: 33.0.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
  - firstrunwizard: 6.0.0-dev.0
  - forms: 5.2.5
  - fulltextsearch: 33.0.0
  - fulltextsearch_elasticsearch: 33.0.0
  - groupfolders: 21.0.6
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - notify_push: 1.3.1
  - oauth2: 1.21.0
  - password_policy: 5.0.0-dev.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
  - spreed: 23.0.1
  - support: 5.0.0
  - survey_client: 5.0.0-dev.0
  - suspicious_login: 11.0.0-dev.0
  - systemtags: 1.23.0
  - tables: 2.0.1
  - text: 7.0.0-dev.3
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_nextcloud_notification: 7.0.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
  - whiteboard: 1.5.7
  - workflowengine: 2.15.0
Disabled:
  - encryption: 2.21.0
  - user_ldap: 1.24.0 (installed 1.21.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions