firstrunwizard icon indicating copy to clipboard operation
firstrunwizard copied to clipboard

Could not find resource firstrunwizard/js/personalsettings.js to load

Open didim99 opened this issue 1 year ago • 5 comments

Steps to reproduce

  1. Open Personal Settings
  2. Access the “Mobile & desktop” tab

Expected behaviour

Nothing new appears Admin Error log

Actual behaviour

Everytime a user accesses the “Mobile and Desktop” tab under personal settings, the following error is added to the log:

Server configuration

Operating system: Ubuntu 20.04

Web server: Apache 2.4 (perhaps not relevant)

Database: MySQL 8.0.36 (perhaps not relevant)

PHP version: 8.1.27 (perhaps not relevant)

Nextcloud version: 29.0.1

Where did you install Nextcloud from: Official GitHub release (updated to 29 via web-updater)

List of activated apps:

  - activity: 2.21.1
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - drawio: 3.0.2
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_3dmodelviewer: 0.0.14
  - files_accesscontrol: 1.19.1
  - files_downloadlimit: 2.0.0
  - files_external: 1.21.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - forms: 4.2.4
  - groupfolders: 17.0.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - metadata: 0.20.0
  - nextcloud_announcements: 1.18.0
  - notes: 4.10.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.2
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.1.1",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_sendmailmode": "smtp",
        "mail_smtpport": "25",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "maintenance": false,
        "app_install_overwrite": [
            "files_3d"
        ],
        "loglevel": 2,
        "default_phone_region": "RU",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "theme": "",
        "maintenance_window_start": 22,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": ***REMOVED SENSITIVE VALUE***,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        }
    }
}

Client configuration

Browser: Firefox 126.0 (perhaps not relevant)

Operating system: Ubuntu 20.04 Desktop (perhaps not relevant)

Logs

Nextcloud log (data/owncloud.log)

{"reqId":"***","level":3,"time":"2024-05-26T10:22:56+00:00","remoteAddr":"***","user":"didim","app":"jsresourceloader","method":"GET","url":"/index.php/settings/user/sync-clients","message":"Could not find resource firstrunwizard/js/personalsettings.js to load","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0","version":"29.0.1.1","data":{"app":"jsresourceloader"},"id":"***"}

Browser log

Nothing to show

This is just a copy from Nextcloud Help thread where several users (including me) reporting similar problem, it seems to be a bug.

didim99 avatar May 26 '24 10:05 didim99

This is just a copy from Nextcloud Help thread where several users (including me) reporting similar problem, it seems to be a bug.

I get the error message also... I am running version 29.0.2, and the error does occur when visiting the “Mobile & desktop” tab.

197788 avatar Jun 17 '24 22:06 197788

I have the same issue on 29.0.2 installed on TrueNAS Scale.

[jsresourceloader] Error: Could not find resource firstrunwizard/js/personalsettings.js to load GET /settings/user/sync-clients

fastSimulations avatar Jun 21 '24 10:06 fastSimulations

Experiencing the very same issue on Nextcloud Server version 29.0.2 in a dockerized environment. I'm using postgres as DB server and these are my environment variables of the nextcloud:apache (latest) container:

"Env": [
            "REDIS_HOST=redis",
            "POSTGRES_HOST=db",
            "POSTGRES_PASSWORD=XXX_REDACTED_XXX",
            "POSTGRES_DB=XXX_REDACTED_XXX",
            "POSTGRES_USER=XXX_REDACTED_XXX",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
            "PHP_INI_DIR=/usr/local/etc/php",
            "APACHE_CONFDIR=/etc/apache2",
            "APACHE_ENVVARS=/etc/apache2/envvars",
            "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
            "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
            "PHP_LDFLAGS=-Wl,-O1 -pie",
            "GPG_KEYS=XXX_REDACTED_XXX",
            "PHP_VERSION=8.2.20",
            "PHP_URL=https://www.php.net/distributions/php-8.2.20.tar.xz",
            "PHP_ASC_URL=https://www.php.net/distributions/php-8.2.20.tar.xz.asc",
            "PHP_SHA256=4474cc430febef6de7be958f2c37253e5524d5c5331a7e1765cd2d2234881e50",
            "PHP_MEMORY_LIMIT=512M",
            "PHP_UPLOAD_LIMIT=512M",
            "APACHE_BODY_LIMIT=1073741824",
            "NEXTCLOUD_VERSION=29.0.2"
        ]

I can provide more info if needed, please just let me know. I'll subscribe to this thread to stay updated on any further info regarding it. Thanks y'all.

knarxy avatar Jun 23 '24 02:06 knarxy

I disabling the app, until a solution can be found. image

thesorskod avatar Jul 02 '24 12:07 thesorskod

Also have this issue with the latest aio. no custom settings or config for the base deployment.

Gyarbij avatar Jul 15 '24 21:07 Gyarbij