nextcloud / circles

👪 Create groups with other users on a Nextcloud instance and share with them
GNU Affero General Public License v3.0
147 stars 48 forks source link

[Bug]: #941

Closed morpheus8111 closed 2 years ago

morpheus8111 commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

After Upgrade to NC 23.0.2 the User Administration rais an error and stop working if Circles-App are enabled.

[no app in context] Fehler: OCA\Circles\Service\FederatedUserService::deserializeJson(): Argument nextcloud/server#1 ($json) must be of type string, bool given, called in /var/www/html/xxx/nextcloud/apps/circles/lib/Service/FederatedUserService.php on line 1211 in file '/var/www/html/xxx/nextcloud/apps/circles/vendor/artificial-owl/my-small-php-tools/lib/Traits/Nextcloud/nc22/TNC22Deserialize.php' line 111

GET /ocs/v2.php/cloud/users/details?offset=0&limit=25&search= from xxx.xxx.xxx.xxx by xxx at 2022-03-03T06:25:27+01:00

If we disable the Circles-App all features works fine.

Steps to reproduce

1. 2. 3.

Expected behavior

All User get listed and can be configured

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

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": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "xxx.xxx.de",
            "xxx.xxx.de",
            "xxx.xxx.xxx.xxx",
            "xxx.xxx.xxx.xxx"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "23.0.2.1",
        "overwrite.cli.url": "https:\/\/cloud.vdkht.de",
        "overwritehost": "cloud.vdkht.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "session_lifetime": 7200,
        "session_keepalive": false,
        "remember_login_cookie_lifetime": 7200,
        "default_phone_region": "DE",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "logfile": "\/var\/nc_data\/nextcloud.log",
        "ldapIgnoreNamingRules": false,
        "default_language": "de",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mysql.utf8mb4": true,
        "data-fingerprint": "3419aad3ab8b21e9fa475022896ff39b",
        "has_rebuilt_cache": true,
        "updater.release.channel": "stable",
        "share_folder": "\/Shares",
        "quota_include_external_storage": false,
        "activity_expire_days": 14,
        "auth.bruteforce.protection.enabled": true,
        "blacklisted_files": [
            ".htaccess",
            "Thumbs.db",
            "thumbs.db"
        ],
        "cron_log": true,
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown"
        ],
        "filesystem_check_changes": 0,
        "filelocking.enabled": "true",
        "htaccess.RewriteBase": "\/",
        "integrity.check.disabled": false,
        "allow_local_remote_servers": true,
        "knowledgebaseenabled": false,
        "logtimezone": "Europe\/Berlin",
        "log_rotate_size": 104857600,
        "preview_max_x": 1024,
        "preview_max_y": 768,
        "preview_max_scale_factor": 1,
        "trashbin_retention_obligation": "auto, 7",
        "app_install_overwrite": [
            "sharerenamer",
            "social",
            "files_readmemd",
            "audioplayer",
            "emlviewer",
            "files_fulltextsearch_tesseract"
        ],

    }
}

List of activated Apps

Enabled:
  - accessibility: 1.9.0
  - activity: 2.15.0
  - admin_audit: 1.13.0
  - appointments: 1.12.1
  - bruteforcesettings: 2.3.0
  - calendar: 3.1.0
  - camerarawpreviews: 0.7.15
  - checksum: 1.1.3
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contacts: 4.0.8
  - contactsinteraction: 1.4.0
  - dav: 1.21.0
  - deck: 1.6.0
  - drawio: 1.0.2
  - emlviewer: 1.0.0
  - event_update_notification: 1.4.0
  - federatedfilesharing: 1.13.0
  - federation: 1.13.0
  - files: 1.18.0
  - files_accesscontrol: 1.13.0
  - files_automatedtagging: 1.13.0
  - files_pdfviewer: 2.4.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - firstrunwizard: 2.12.0
  - forms: 2.4.0
  - groupfolders: 11.1.2
  - groupquota: 0.1.7
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - mail: 1.11.7
  - nextcloud_announcements: 1.12.0
  - notes: 4.3.1
  - notifications: 2.11.1
  - notify_push: 0.3.0
  - oauth2: 1.11.0
  - onlyoffice: 7.3.0
  - password_policy: 1.13.0
  - passwords: 2022.2.22
  - photos: 1.5.0
  - polls: 3.5.4
  - previewgenerator: 4.0.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - quota_warning: 1.13.1
  - recommendations: 1.2.0
  - registration: 1.4.0
  - sendent: 1.2.10
  - serverinfo: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - spreed: 13.0.3
  - support: 1.6.0
  - survey_client: 1.11.0
  - systemtags: 1.13.0
  - tasks: 0.14.2
  - text: 3.4.0
  - theming: 1.14.0
  - twofactor_backupcodes: 1.12.0
  - twofactor_totp: 6.2.0
  - updatenotification: 1.13.0
  - user_status: 1.3.1
  - viewer: 1.7.0
  - weather_status: 1.3.0
  - workflowengine: 2.5.0
Disabled:
  - circles: 23.0.1
  - dashboard: 7.0.0
  - encryption: 2.4.0
  - external: 3.10.2
  - files_external: 1.12.1
  - user_ldap: 1.13.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

...

Additional info

...

ArtificialOwl commented 2 years ago

please test this: https://github.com/nextcloud/circles/pull/929