nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.57k stars 4.08k forks source link

[Bug]: `Unknown Error` toast notification when accessing Data Migration settings #34271

Closed meichthys closed 1 year ago

meichthys commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

I receive an unknown error when navigating to Data Migration in settings. It doesn't seem to negatively affect any functionality. image

Steps to reproduce

  1. Navigate to Personal Settings > Data Migration
  2. Wait 2 seconds
  3. See Unknown Error

Expected behavior

No error should be shown

Installation method

Community VM appliance

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

No response

Database engine version

PostgreSQL

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

No response

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

{
    "system": {
        "allow_local_remote_servers": "true",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "10.0.7.16",
            "nextcloud-vm",
            "nextcloud.domain.com"
        ],
        "debug": true,
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "25.0.0.13",
        "overwrite.cli.url": "https:\/\/nextcloud.domain.com\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "loglevel": "2",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "mail_smtpmode": "smtp",
        "remember_login_cookie_lifetime": "1800",
        "log_rotate_size": "10485760",
        "trashbin_retention_obligation": "auto, 60",
        "versions_retention_obligation": "auto, 180",
        "activity_expire_days": "120",
        "simpleSignUpLink.shown": false,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0.5,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "default_phone_region": "us",
        "logtimezone": "US\/Eastern",
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED_FOR"
        ],
        "updater.release.channel": "beta",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\GIF",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\SVG",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Font",
            "OC\\Preview\\Movie"
        ],
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "app_install_overwrite": [
            "side_menu",
            "forms",
            "fulltextsearch",
            "extract",
            "accessibility",
            "drawio",
            "files_antivirus",
            "richdocuments",
            "occweb",
            "cookbook",
            "external",
            "files_fulltextsearch",
            "tasks",
            "facerecognition",
            "user_migration",
            "video_converter",
            "workflow_ocr",
            "socialsharing_email",
            "files_retention",
            "previewgenerator",
            "pdf_downloader",
            "news",
            "imageconverter",
            "ocr",
            "mediadc",
            "radio",
            "files_markdown"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.17.0
  - admin_audit: 1.15.0
  - calendar: 4.0.0-alpha.1
  - circles: 25.0.0-alpha.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.0.0-alpha.3
  - contactsinteraction: 1.6.0
  - cookbook: 0.9.15
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.0-beta.2
  - external: 4.1.0
  - extract: 1.3.5
  - federatedfilesharing: 1.15.0
  - files: 1.20.0
  - files_antivirus: 3.3.1
  - files_automatedtagging: 1.15.0
  - files_fulltextsearch: 24.0.1
  - files_pdfviewer: 2.6.0
  - files_retention: 1.13.2
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - files_videoplayer: 1.14.0
  - files_zip: 1.1.2
  - firstrunwizard: 2.14.0
  - forms: 3.0.0-beta.1
  - fulltextsearch: 24.0.0
  - holiday_calendars: 0.1.0
  - imageconverter: 1.3.2
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.0.0-rc.1
  - maps: 0.2.1
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - occweb: 0.1.0
  - password_policy: 1.15.0
  - pdf_downloader: 1.0.6
  - photos: 1.7.1
  - previewgenerator: 5.1.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - radio: 1.0.3
  - recognize: 3.0.0-beta.3
  - recommendations: 1.4.0
  - related_resources: 1.0.0
  - richdocuments: 7.0.0-beta.2
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - side_menu: 2.5.1
  - socialsharing_email: 2.5.0
  - systemtags: 1.15.0
  - tasks: 0.14.4
  - text: 3.6.0
  - theming: 2.0.0
  - twofactor_backupcodes: 1.14.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_migration: 1.1.0
  - user_status: 1.5.0
  - video_converter: 1.0.5
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflow_ocr: 1.24.5
  - workflow_pdf_converter: 1.10.0
  - workflowengine: 2.7.0
Disabled:
  - bruteforcesettings: 2.4.0
  - drawio: 1.0.3
  - encryption: 2.13.0
  - facerecognition
  - federation: 1.13.0
  - files_external: 1.15.0
  - files_fulltextsearch_tesseract: 24.0.0
  - fulltextsearch_elasticsearch: 24.0.1
  - guests: 2.3.0
  - impersonate: 1.11.0
  - metadata: 0.16.0
  - support: 1.6.0
  - survey_client: 1.11.0
  - suspicious_login
  - user_ldap

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

The following is shown in the browser console when the error appears: image

szaimen commented 1 year ago

Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+

witzker commented 1 year ago

Hi same here It was working 3 months ago cant remember the NC version - now after some updates I wanted to do a migration again now on NC V. 25.0.6 image

I have only one option, and Error !

image

Any Ideas how to solve?

PS: I now went back with my snapshots and found that on NC V25.02 it is working BUT This is version 2.0.2 of migration!! After update to 25.03 same error as described may be this helps to solve.

witzker commented 1 year ago

You should get in Contact with the guys of the PASSWORDS APP!

When I removed This APP, User Migration is working again!!