Teams (circles) not working after instance URL was changed

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.3
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.3
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.58
  • PHP version (e.g, 8.3):
    • PHP 8.3.6
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • we were preparing this new NextCloud system, created Teams (circles), tested them and all was working, until we changed the url from https://system1.domain.ca to https://system2.domain.ca
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • System is installed on a VM
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

We had an old owncloud instance named https://system1.domain.ca. We installed a new Nextcloud instance (the one with the problem) with version 32.0.3, the Nextcloud instance was originally referred to as https://system2.domain.ca. We created Teams (circles) and added members. Everything was working fine until our migration. We decommissioned the old Owncloud instance and changed the url for the Nextcloud instance from https://system2.domain.ca to https://system1.domain.ca
After this change the Teams show with the number of original members, but if we click on the Teams, the members are not shown. Also the members are not able to reach their shared resources. The teams got broken during the change. I went into the oc_circles* tables and see that an “Instance” field is referred here, I think that is what broke our Teams, how can I change the instance on the Teams app from https://system2.domain.ca to https://system1.domain.ca to get my Teams to work again?

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

  1. Log into the Nextcloud instance and open any Team, the number next to the team will show the available members but the members don’t appear.

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.

Opening the Team doesn't trigger an error in the log file.

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!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            
        ],
        "cors.allowed-domains": [
            
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "activity_expire_days": 200,
        "version": "32.0.3.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "CA",
        "logtimezone": "UTC",
        "installed": true,
        "loglevel": 2,
        "ldapIgnoreNamingRules": false,
        "files_external_allow_create_new_local": "true",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 1.5,
            "password": "***REMOVED SENSITIVE VALUE***",
            "dbindex": 0,
            "persistent": false
        },
        "appstore.experimental.enabled": true,
        "enable_previews": "false",
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "quota_include_external_storage": false,
        "maintenance": false,
        "appcodechecker": false,
        "versions_retention_obligation": "auto, 5",
        "trashbin_retention_obligation": "1,1",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\DCM",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\TIFF"
        ],
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": true,
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpsecure": "ssl",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "integrity.excluded.files": [
            "core\/css\/header.css",
            "core\/img\/favicon.ico",
            "core\/img\/background.jpg",
            "core\/img\/logo.svg",
            "core\/img\/logo-icon.svg",
            "core\/img\/favicon.svg",
            "updater\/vendor\/autoload.php",
            "updater\/vendor\/composer\/autoload_real.php",
            "updater\/vendor\/composer\/autoload_static.php"
        ],
        "debug": false,
        "singleuser": false,
        "has_rebuilt_cache": true,
        "files_antivirus.av_path": "\/usr\/bin\/clamscan",
        "allow_user_to_change_mail_address": "",
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": false,
        "app_install_overwrite": [
            "impersonate"
        ],
        "mysql.utf8mb4": true,
        "mail_sendmailmode": "smtp",
        "maintenance_window_start": 1,
        "updater.release.channel": "stable"
    }
}

Apps

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

Enabled:

  • bruteforcesettings: 5.0.0-dev.0
  • circles: 32.0.0
  • cloud_federation_api: 1.16.0
  • contacts: 8.1.1
  • contactsinteraction: 1.13.1
  • dav: 1.34.2
  • federatedfilesharing: 1.22.0
  • federation: 1.22.0
  • files: 2.4.0
  • files_downloadlimit: 5.0.0-dev.0
  • files_external: 1.24.0
  • files_pdfviewer: 5.0.0-dev.0
  • files_reminders: 1.5.0
  • files_sharing: 1.24.1
  • files_trashbin: 1.22.0
  • files_versions: 1.25.0
  • guests: 4.6.0
  • impersonate: 3.0.0
  • lookup_server_connector: 1.20.0
  • nextcloud_announcements: 4.0.0-dev.0
  • notifications: 5.0.0-dev.0
  • oauth2: 1.20.0
  • password_policy: 4.0.0-dev.0
  • privacy: 4.0.0-dev.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • related_resources: 3.0.0-dev.0
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • sharebymail: 1.22.0
  • support: 4.0.0-dev.0
  • survey_client: 4.0.0-dev.0
  • systemtags: 1.22.0
  • text: 6.0.1
  • theming: 2.7.0
  • twofactor_backupcodes: 1.21.0
  • updatenotification: 1.22.0
  • user_ldap: 1.23.0
  • user_status: 1.12.0
  • viewer: 5.0.0-dev.0
  • weather_status: 1.12.0
  • webhook_listeners: 1.3.0
  • workflowengine: 2.14.0
    Disabled:
  • activity: 5.0.0-dev.0 (installed 4.0.0)
  • admin_audit: 1.22.0 (installed 2.1.3)
  • app_api: 32.0.0 (installed 32.0.0)
  • carnet: 0.25.6 (installed 0.25.6)
  • checksum: 1.2.6 (installed 1.2.6)
  • circlesdb: 1.8.2 (installed 1.8.2)
  • cms_pico: 1.0.21 (installed 1.0.21)
  • comments: 1.22.0 (installed 1.21.0)
  • dashboard: 7.12.0 (installed 2.0)
  • encryption: 2.20.0 (installed 1.3.0)
  • files_rightclick: 0.15.1 (installed 1.6.0)
  • files_texteditor: 2.15.1 (installed 2.15.1)
  • firstrunwizard: 5.0.0-dev.0 (installed 1.1)
  • fulltextsearch_elasticsearch: 31.0.0 (installed 31.0.0)
  • logreader: 5.0.0-dev.0 (installed 0)
  • photos: 5.0.0-dev.1 (installed 4.0.0-dev.1)
  • recommendations: 5.0.0-dev.0 (installed 4.0.0)
  • suspicious_login: 10.0.0-dev.0
  • theming_customcss: 1.18.0 (installed 1.18.0)
  • twofactor_nextcloud_notification: 6.0.0-dev.0
  • twofactor_totp: 14.0.0
  • user_external: 3.4.0 (installed 3.4.0)

Using occ circles:check might be helpful in this scenario.

Thank you, I get the following:

sudo -u www-data php nextcloud/occ circles:check

Checking loopback address.

. The loopback setting is mandatory and can be checked locally.
. The address you need to define here must be a reachable url of your Nextcloud from the hosting server itself.
. By default, the App will use the entry ‘overwrite.cli.url’ from ‘config/config.php’.

  • testing current address: https://https://box.bic.mni.mcgill.ca

  • You do not have a valid loopback address setup right now.

Please write down a new loopback address to test: box.bic.mni.mcgill.ca
format must be http[s]://domain.name[:post][/path]
Please write down a new loopback address to test: https://system1.domain.ca

Please write down a new loopback address to test:

I am having exactly the same issue reported here:

This is confirmed to be a bug when upgrading from NC 32.0.2 to NC 32.0.3 (with Teams 32.0.0). I reverted to NC 32.0.2 from our backups and the issue is gone.

May I point you on the double-“https://”? - Either it is an input error while typing the posting or it really is a configuration error.

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