Brackets of IPV6 addresses are removed when updated in config.php

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.4.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian GNU/Linux 12. 6.1.21-v8+ (aarch64)
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.62 (Debian) OpenSSL/3.0.15
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • no proxy
  • PHP version (e.g, 8.3):
    • PHP 8.3.14
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • Since version 30
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • NCP, Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Due to another case URL is missing scheme or host I enclosed ipv6 address in config.php with brackets and noticed that these have been removed automatically resulting in the very same error message “URL is mssinig scheme or host” when calling the web administration overview.
This behaviour is new since version 30 I suppose. In previous versions it used to work without problems.

Steps to replicate it (hint: details matter!):

  1. enclose ipv6 address in brackets if not present
  2. brackets are removed automatically either by update ot reboot (or remove those manually for a repro)

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"Z17afuobaGHYB1YWWtZBMgAAxQY","level":3,"time":"2024-12-15T14:32:52+01:00","remoteAddr":"192.168.10.22","user":"ncp","app":"no app in context","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0","version":"30.0.4.1","exception":{"Exception":"InvalidArgumentException","Message":"URL is missing scheme or host","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php","line":81,"function":"normalizeUrl","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php","line":130,"function":"getTestUrls","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/SetupChecks/WellKnownUrls.php","line":56,"function":"runRequest","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/var/www/nextcloud/lib/private/SetupCheck/SetupCheckManager.php","line":34,"function":"run","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/CheckSetupController.php","line":147,"function":"runAll","class":"OC\\SetupCheck\\SetupCheckManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"check","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/settings/lib/SetupChecks/CheckServerResponseTrait.php","Line":97,"message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","exception":[],"CustomMessage":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host"},"id":"675edb484c154"}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "3": "nextcloudpi",
            "1": "192.168.10.33",
            "2": "nextcloudpi.31fqey8qafjrkyf6.myfritz.net",
            "11": "[2a02:3100:3b9c:4400:dea6:32ff:fe5b:e2de]",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.4.1",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/myCloudDrive1\/ncdata\/data\/tmp",
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "debug": false,
        "loglevel": 0,
        "loglevel_frontend": 2,
        "log_type": "file",
        "log_query": false,
        "logtimezone": "Europe\/Berlin",
        "default_phone_region": "de",
        "maintenance": false,
        "maintenance_window_start": 1,
        "theme": "",
        "logfile": "\/media\/myCloudDrive1\/ncdata\/data\/nextcloud.log",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "ssl",
        "app_install_overwrite": [
            "files_texteditor",
            "gallery"
        ],
        "data-fingerprint": "17969ceef17d61d2b154ae0f8f8958b3",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "2FA"
        ],
        "twofactor_enforced_excluded_groups": [],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***"
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "notify_email_calendar": "0",
            "notify_email_calendar_event": "0",
            "notify_email_calendar_todo": "0",
            "notify_email_comments": "0",
            "notify_email_favorite": "0",
            "notify_email_file_changed": "0",
            "notify_email_file_favorite_changed": "0",
            "notify_email_public_links": "0",
            "notify_email_remote_share": "0",
            "notify_email_shared": "0",
            "notify_email_systemtags": "0",
            "notify_notification_calendar": "0",
            "notify_notification_calendar_event": "0",
            "notify_notification_calendar_todo": "0",
            "notify_notification_comments": "0",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_notification_file_favorite_changed": "1",
            "notify_notification_group_settings": "1",
            "notify_notification_personal_settings": "1",
            "notify_notification_public_links": "0",
            "notify_notification_remote_share": "0",
            "notify_notification_security": "1",
            "notify_notification_shared": "0",
            "notify_notification_systemtags": "0",
            "notify_notification_twofactor_totp": "1",
            "notify_setting_batchtime": "3600",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "logging"
        },
        "app_api": {
            "enabled": "yes",
            "installed_version": "4.0.3",
            "types": ""
        },
        "audioplayer": {
            "enabled": "yes",
            "installed_version": "3.4.1",
            "types": "filesystem"
        },
        "audioplayer_sonos": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "sonos": "checked",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "43648"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "5.0.6",
            "types": ""
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "30.0.0",
            "loopback_tmp_path": "\/",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"maximum\":4,\"3\":1734269102,\"2\":1734269702,\"1\":1734269702,\"4\":1660615214,\"5\":1660359605}",
            "migration_22": "1",
            "migration_22_1": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.20.1",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "6.1.1",
            "types": "dav"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "default_encryption_module": "OC_DEFAULT_MODULE",
            "emailTestSuccessful": "1",
            "enterpriseLogoChecked": "yes",
            "files_metadata_installed": "1",
            "installedat": "1563678315.1977",
            "lastcron": 1734269702,
            "lastupdateResult": "[]",
            "lastupdatedat": 1734269561,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "scss.variables": "0566b63eef88e22e269da0c0be15c49e",
            "shareapi_default_internal_expire_date": "yes",
            "shareapi_default_remote_expire_date": "yes",
            "theming.variables": "d41d8cd98f00b204e9800998ecf8427e",
            "updater.secret.created": 1733461883,
            "vendor": "nextcloud",
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-place": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "d9fb353f7693419c88a58ee1b3204337",
                    "indexed": false,
                    "editPermission": 0
                },
                "files-live-photo": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 1
                }
            },
            "oc.integritycheck.checker": []
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.10.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "generateBirthdayCalendar": "no",
            "installed_version": "1.31.1",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "sendEventRemindersPush": "no",
            "types": "filesystem"
        },
        "encryption": {
            "enabled": "no",
            "encryptHomeStorage": "0",
            "installed_version": "2.4.0",
            "masterKeyId": "master_be70ad98",
            "publicShareKeyId": "pubShare_be70ad98",
            "recoveryKeyId": "recoveryKey_be70ad98",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "default_quota": "10 GB",
            "enabled": "yes",
            "installed_version": "2.2.0",
            "mimetype_version": "30.0.4.1",
            "types": "filesystem"
        },
        "files_accesscontrol": {
            "enabled": "yes",
            "installed_version": "1.20.1",
            "types": "filesystem"
        },
        "files_automatedtagging": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "filesystem"
        },
        "files_downloadactivity": {
            "enabled": "no",
            "installed_version": "1.17.0",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": ""
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": ""
        },
        "files_scripts": {
            "enabled": "no",
            "first_run": "false",
            "installed_version": "4.1.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.14.0",
            "types": ""
        },
        "files_trackdownloads": {
            "enabled": "no",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.20.1",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": "filesystem,dav"
        },
        "fileslibreofficeedit": {
            "enabled": "yes",
            "installed_version": "2.0.1",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": "logging"
        },
        "gallery": {
            "enabled": "no",
            "installed_version": "18.4.0",
            "types": ""
        },
        "keeweb": {
            "enabled": "no",
            "installed_version": "0.6.12",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "shownLevels": "[2,3,4]",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "music": {
            "enabled": "no",
            "installed_version": "1.5.2",
            "types": "filesystem"
        },
        "news": {
            "autoPurgeCount": "200",
            "autoPurgeMinimumInterval": "60",
            "enabled": "no",
            "exploreUrl": "",
            "feedFetcherTimeout": "60",
            "installed_version": "24.0.0",
            "maxRedirects": "10",
            "types": "",
            "updateInterval": "3600",
            "useCronUpdates": "1"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "nextcloudpi": {
            "enabled": "no",
            "installed_version": "0.0.1",
            "types": ""
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "4.11.0",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": "logging"
        },
        "notify_push": {
            "base_endpoint": "https:\/\/nextcloudpi\/push",
            "cookie": "***REMOVED SENSITIVE VALUE***",
            "enabled": "yes",
            "installed_version": "0.7.0",
            "types": "filesystem"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.18.1",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "enforceHaveIBeenPwned": "1",
            "installed_version": "2.0.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "3.0.2",
            "lastPlaceMappedUser": "Paul",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "preview": {
            "jpeg_quality": "60"
        },
        "previewgenerator": {
            "enabled": "no",
            "heightSizes": "256",
            "installed_version": "99.99.99",
            "squareSizes": "32 256",
            "types": "filesystem",
            "widthSizes": "256 384"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "prevent_group_restriction"
        },
        "ransomware_protection": {
            "enabled": "no",
            "installed_version": "1.14.0",
            "notes_include_biased": "yes",
            "types": "logging"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": ""
        },
        "serverinfo": {
            "cached_count_filecache": "205356",
            "cached_count_storages": "6",
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "filesystem"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "last_report": "{\"id\":\"oclaqn5ofjmm\",\"items\":[[\"server\",\"version\",\"30.0.2.2\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"8.3.14\"],[\"php\",\"memory_limit\",-1],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",2097152],[\"database\",\"type\",\"mysql\"],[\"database\",\"version\",\"10.11.6\"],[\"database\",\"size\",145309696],[\"apps\",\"activity\",\"3.0.0\"],[\"apps\",\"admin_audit\",\"1.20.0\"],[\"apps\",\"app_api\",\"4.0.0\"],[\"apps\",\"audioplayer\",\"3.4.1\"],[\"apps\",\"audioplayer_sonos\",\"disabled\"],[\"apps\",\"bruteforcesettings\",\"3.0.0\"],[\"apps\",\"calendar\",\"5.0.6\"],[\"apps\",\"circles\",\"30.0.0\"],[\"apps\",\"cloud_federation_api\",\"1.13.0\"],[\"apps\",\"comments\",\"1.20.1\"],[\"apps\",\"contacts\",\"6.1.1\"],[\"apps\",\"contactsinteraction\",\"1.11.0\"],[\"apps\",\"dashboard\",\"7.10.0\"],[\"apps\",\"dav\",\"1.31.1\"],[\"apps\",\"encryption\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.20.0\"],[\"apps\",\"federation\",\"1.20.0\"],[\"apps\",\"files\",\"2.2.0\"],[\"apps\",\"files_accesscontrol\",\"1.20.1\"],[\"apps\",\"files_automatedtagging\",\"1.20.0\"],[\"apps\",\"files_downloadactivity\",\"disabled\"],[\"apps\",\"files_downloadlimit\",\"3.0.0\"],[\"apps\",\"files_external\",\"1.22.0\"],[\"apps\",\"files_pdfviewer\",\"3.0.0\"],[\"apps\",\"files_reminders\",\"1.3.0\"],[\"apps\",\"files_rightclick\",\"disabled\"],[\"apps\",\"files_scripts\",\"disabled\"],[\"apps\",\"files_sharing\",\"1.22.0\"],[\"apps\",\"files_texteditor\",\"disabled\"],[\"apps\",\"files_trackdownloads\",\"disabled\"],[\"apps\",\"files_trashbin\",\"1.20.1\"],[\"apps\",\"files_versions\",\"1.23.0\"],[\"apps\",\"fileslibreofficeedit\",\"2.0.1\"],[\"apps\",\"firstrunwizard\",\"3.0.0\"],[\"apps\",\"gallery\",\"disabled\"],[\"apps\",\"keeweb\",\"disabled\"],[\"apps\",\"logreader\",\"3.0.0\"],[\"apps\",\"lookup_server_connector\",\"1.18.0\"],[\"apps\",\"music\",\"disabled\"],[\"apps\",\"news\",\"disabled\"],[\"apps\",\"nextcloud_announcements\",\"2.0.0\"],[\"apps\",\"nextcloudpi\",\"disabled\"],[\"apps\",\"notes\",\"4.11.0\"],[\"apps\",\"notifications\",\"3.0.0\"],[\"apps\",\"notify_push\",\"0.7.0\"],[\"apps\",\"oauth2\",\"1.18.1\"],[\"apps\",\"password_policy\",\"2.0.0\"],[\"apps\",\"photos\",\"3.0.2\"],[\"apps\",\"previewgenerator\",\"disabled\"],[\"apps\",\"privacy\",\"2.0.0\"],[\"apps\",\"provisioning_api\",\"1.20.0\"],[\"apps\",\"ransomware_protection\",\"disabled\"],[\"apps\",\"recommendations\",\"3.0.0\"],[\"apps\",\"related_resources\",\"1.5.0\"],[\"apps\",\"serverinfo\",\"2.0.0\"],[\"apps\",\"settings\",\"1.13.0\"],[\"apps\",\"sharebymail\",\"1.20.0\"],[\"apps\",\"support\",\"2.0.0\"],[\"apps\",\"survey_client\",\"2.0.0\"],[\"apps\",\"suspicious_login\",\"8.0.0\"],[\"apps\",\"systemtags\",\"1.20.0\"],[\"apps\",\"tasks\",\"0.16.1\"],[\"apps\",\"text\",\"4.1.0\"],[\"apps\",\"theming\",\"2.5.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.19.0\"],[\"apps\",\"twofactor_gateway\",\"disabled\"],[\"apps\",\"twofactor_totp\",\"12.0.0-dev\"],[\"apps\",\"updatenotification\",\"1.20.0\"],[\"apps\",\"user_status\",\"1.10.0\"],[\"apps\",\"viewer\",\"3.0.0\"],[\"apps\",\"weather_status\",\"1.10.0\"],[\"apps\",\"webhook_listeners\",\"1.1.0-dev\"],[\"apps\",\"workflow_ocr\",\"1.30.0\"],[\"apps\",\"workflow_pdf_converter\",\"1.15.0\"],[\"apps\",\"workflow_script\",\"disabled\"],[\"apps\",\"workflowengine\",\"2.12.0\"],[\"stats\",\"num_files\",202805],[\"stats\",\"num_users\",3],[\"stats\",\"num_storages\",6],[\"stats\",\"num_storages_local\",3],[\"stats\",\"num_storages_home\",3],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",9],[\"files_sharing\",\"num_shares_user\",0],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",9],[\"files_sharing\",\"num_shares_link_no_password\",9],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_17\",7],[\"files_sharing\",\"permissions_3_31\",2],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"yes\"]]}",
            "last_sent": "1732992308",
            "types": ""
        },
        "suspicious_login": {
            "enabled": "yes",
            "installed_version": "8.0.0",
            "types": "authentication"
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.16.1",
            "types": ""
        },
        "text": {
            "enabled": "yes",
            "installed_version": "4.1.0",
            "types": "dav"
        },
        "theming": {
            "backgroundMime": "image\/png",
            "enabled": "yes",
            "installed_version": "2.5.0",
            "logoDimensions": "500x500",
            "logoMime": "image\/svg+xml",
            "name": "NextCloudPi",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "types": "logging",
            "url": "***REMOVED SENSITIVE VALUE***"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "twofactor_gateway": {
            "enabled": "no",
            "installed_version": "0.17.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "12.0.0-dev",
            "types": ""
        },
        "updatenotification": {
            "audioplayer": "3.4.1",
            "calendar": "5.0.6",
            "contacts": "5.5.3",
            "core": "30.0.4.1",
            "enabled": "yes",
            "files_accesscontrol": "1.18.1",
            "files_automatedtagging": "1.15.3",
            "files_downloadactivity": "1.16.0",
            "files_rightclick": "0.15.1",
            "files_scripts": "4.0.3",
            "fileslibreofficeedit": "2.0.1",
            "installed_version": "1.20.0",
            "music": "1.3.3",
            "news": "24.0.0",
            "notes": "4.11.0",
            "notify_push": "0.7.0",
            "previewgenerator": "3.1.1",
            "ransomware_protection": "1.11.0",
            "tasks": "0.16.1",
            "twofactor_totp": "4.1.3",
            "types": "",
            "update_check_errors": 0,
            "workflow_ocr": "1.27.5",
            "workflow_pdf_converter": "1.14.1"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": ""
        },
        "webhook_listeners": {
            "enabled": "yes",
            "installed_version": "1.1.0-dev",
            "types": "filesystem"
        },
        "workflow_ocr": {
            "enabled": "yes",
            "installed_version": "1.30.1",
            "types": "filesystem"
        },
        "workflow_pdf_converter": {
            "enabled": "yes",
            "installed_version": "1.15.0",
            "types": "filesystem"
        },
        "workflow_script": {
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.12.0",
            "types": "filesystem"
        }
    }
}

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

They are just put into a string?
1=>' 2a01:1:2:3::567'

I have tried to put it in my setup (I never used the plain ip address, always via hostname), but for the moment it stays there.
With the change date, can you figure out if the change is related to the last access, or to the reboot time, or the last cronjob?

I’m still on NC 30.0.2 and do not use NCP. NextcloudPi might have a bug there:

I don’t think that it’s a bug of nextcloudpi because config.php is a nextcloud config file and is maintained by nc software. Moreover it’s mentioned in the documentation chapter trusted domains that ipv6 should be enclosed in brackets.

I did a test and at least after a restart the square brackets are removed.

Just found the check in file CheckServerResponseTrait.php, but I don’t know who does the update when the ipv6 address has changed.

What happens at a restart?

Nextcloud itself does not run anything specific at restart, just after some times the cronjobs start running again. NextcloudPi might check for hostnames and/or ip addresses and might try to adjust to a change after boot (e.g. change of ip address).

The problem will need to be fixed in NCP. It’s not in Nextcloud itself. I commented on the linked issue in the NCP repo with the problematic area.

Thanks for your explanation. That means that you have already addressed this issue in ncp, becaue in the script in queston there is no statement referring to ipv6.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.