server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Nextcloud 33 tries to load missing `/core/js/systemtags.js`

Open xtrflash opened this issue 8 months ago • 4 comments

⚠️ This issue respects the following points: ⚠️

Bug description

The workflowengine app attempts to load a non-existent JavaScript file core/js/systemtags.js in Nextcloud 33.

This results in an error in the logs when opening the workflow settings page.

Steps to reproduce

  1. Go to /index.php/settings/user/workflow
  2. Check the logs

Expected behavior

No missing resource should be loaded and no error should appear in logs.

Nextcloud Server version

33

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • [x] 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***",
        "trusted_domains": [
            "localhost",
            "10.10.1.0",
            "192.168.1.2",
            "cloud.domain.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "default_phone_region": "RU",
        "version": "33.0.0.16",
        "overwrite.cli.url": "https:\/\/cloud.domain.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "loglevel": 2,
        "maintenance": false,
        "maintenance_window_start": 2,
        "defaultapp": "files",
        "mail_smtpmode": "disable",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "disable_analytics": true,
        "theme": "",
        "config_preset": 3,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "serverid": "764ecb56d98e4310e56447cf71332142",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "admin",
            "users",
            "guest_app"
        ],
        "twofactor_enforced_excluded_groups": [],
        "app_install_overwrite": [],
        "overwriteprotocol": "https",
        "enforce_theme": ""
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0-dev.0
  - bruteforcesettings: 6.0.0-dev.0
  - cloud_federation_api: 1.17.0
  - dav: 1.36.0
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.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
  - 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
  - related_resources: 4.0.0-dev.0
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - spreed: 23.0.2
  - survey_client: 5.0.0-dev.0
  - text: 7.0.0-dev.3
  - theming: 2.8.0
  - theming_customcss: 1.20.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0-dev.0
  - twofactor_webauthn: 2.6.0
  - unroundedcorners: 1.1.5
  - updatenotification: 1.23.0
  - user_status: 1.13.0
  - viewer: 6.0.0-dev.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)
  - circles: 33.0.0 (installed 31.0.0)
  - comments: 1.23.0 (installed 1.23.0)
  - contactsinteraction: 1.14.1 (installed 1.14.1)
  - dashboard: 7.13.0 (installed 7.13.0)
  - encryption: 2.21.0
  - files_downloadlimit: 5.1.0-dev.0 (installed 5.1.0-dev.0)
  - files_external: 1.25.1
  - recommendations: 6.0.0-dev.0 (installed 6.0.0-dev.0)
  - sharebymail: 1.23.0 (installed 1.23.0)
  - support: 5.0.0 (installed 5.0.0)
  - suspicious_login: 11.0.0-dev.0
  - systemtags: 1.23.0 (installed 1.23.0)
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0
  - weather_status: 1.13.0 (installed 1.13.0)

Nextcloud Signing status


Nextcloud Logs

{"reqId":"bpQRgCG1n6JJOTvkzYdW","level":3,"time":"2026-04-01T10:46:28+00:00","remoteAddr":"192.168.1.1","user":"yura","app":"jsresourceloader","method":"GET","url":"/index.php/settings/user/workflow","scriptName":"/index.php","message":"Could not find resource core/js/systemtags.js to load","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:149.0) Gecko/20100101 Firefox/149.0","version":"33.0.0.16","data":{"app":"jsresourceloader"}}
{"reqId":"ZeftS8kQCkP5D5wW6y4Z","level":3,"time":"2026-04-01T12:07:31+00:00","remoteAddr":"192.168.1.1","user":"yura","app":"jsresourceloader","method":"GET","url":"/index.php/settings/user/workflow","scriptName":"/index.php","message":"Could not find resource core/js/systemtags.js to load","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:149.0) Gecko/20100101 Firefox/149.0","version":"33.0.0.16","data":{"app":"jsresourceloader"}}

Additional info

The issue appears to be caused by a reference to a removed or relocated script in Nextcloud 33. The file core/js/systemtags.js is not present in the current version.

xtrflash avatar Apr 01 '26 13:04 xtrflash

version 3302 did not solve the issue yet

[jsresourceloader] Fout: Could not find resource core/js/dist/systemtags.js to load GET /settings/admin/onlyoffice from xxx.xxx.xxx.xxx by adminhrl at 3 apr 2026, 07:42:21

[jsresourceloader] Fout: Could not find resource core/js/systemtags.js to load GET /settings/admin/workflow from xxx.xxx.xxx.xxx by adminhrl at 3 apr 2026, 07:42:14

HRL62 avatar Apr 03 '26 05:04 HRL62

version 3303 did not solve the issue yet

[jsresourceloader] Fout: Could not find resource core/js/dist/systemtags.js to load GET /settings/admin/onlyoffice from xxx.xxx.xxx.xxx by adminhrl at 1 may 2026, 12:42:21

so I used these 2 commands as a temporary solution again until the developers fix it:

mkdir -p /var/www/html/core/js/dist/ ln -s /var/www/html/dist/systemtags-init.mjs /var/www/html/core/js/dist/systemtags.js

HRL62 avatar May 01 '26 11:05 HRL62

It's fixed in server completely from what I can tell. There are zero references. However, any app may opt to load it.

I see it potentially in the OnlyOffice integration app:

https://github.com/ONLYOFFICE/onlyoffice-nextcloud/blob/edcde350f5c8e2344ba1b45fa64a787534277c2d/templates/settings.php#L37

joshtrichards avatar May 05 '26 20:05 joshtrichards

This issue has been automatically locked because it has been closed for more than 14 days. As we do not monitor closed issues, we are locking this issue to prevent further comments from getting lost in the noise. Please open a new issue if you have a similar problem instead. For general discussions, please use our forum: https://help.nextcloud.com

github-actions[bot] avatar Nov 09 '26 00:11 github-actions[bot]