Federation via FederationID between two Nextcloud servers not working

Nextcloud version: 29.0.2
Operating system and version : Debian 12 bookworm
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.59
PHP version : PHP 8.3 (FPM) (mpm_event)
Active Apache modules: access_compat actions alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex cgid deflate dir env expires fcgid filter headers include mime mpm_event negotiation passenger perl proxy proxy_fcgi proxy_http python reqtimeout rewrite setenvif socache_shmcb ssl status suexec

Hello,

I cannot get federation via federation-id running. I have multiple NC server, all fresh install. Sharing by mail, link or to users on same server works without problems. Sharing using FederationID ist not possible. After accepting the remote share by destination- user no new folder or files show up. “Pending shares” and “Shared with you” remains empty. On source site activitys show “user@dst-server.fqdn” accepted the share.
This problem occurs between different vhosts on same Apache server and between vhosts on separate Apache servers.

Is this the first time you’ve seen this error?: Y

Steps to replicate it:

  1. On Source- Site create user “FederationSrc”
  2. On Destination- Site create user “FederationDst”
  3. On Source- Site log on as “FederationSrc”, create folder, create text file in folder
  4. On Source- Site create new share on folder, using FederationID: “FederationDst@dst-server.fqdn”
  5. On Destination- Site log on ad “FederationDst”
  6. On Destination- Site bell shows new notification for new remote share. No “Pending Share” entries will be shown.
  7. On Destination- Site accept remote share (“OK”). Notification empties, but no folder appears. “Pending shares” and “Shared with you” keeps empty.

In nextcloud.log- files I cannot find errors.

Nextcloud config.php Source- Server

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***server.fqdn***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.2.2",
        "overwrite.cli.url": "https:\/\/***server.fqdn***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "default_language": "de",
        "default_locale": "de_DE",
        "default_phone_region": "DE",
        "default_timezone": "Europe\/Berlin",
        "maintenance_window_start": 1,
        "allow_local_remote_servers": true,
        "htaccess.RewriteBase": "\/",
        "skeletondirectory": "",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "loglevel": 3,
        "maintenance": false
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.21.1",
            "notify_email_calendar": "0",
            "notify_email_calendar_event": "0",
            "notify_email_calendar_todo": "0",
            "notify_email_circles_as_member": "0",
            "notify_email_circles_as_moderator": "1",
            "notify_email_circles_as_non_member": "0",
            "notify_email_comments": "0",
            "notify_email_contacts": "0",
            "notify_email_file_changed": "0",
            "notify_email_group_settings": "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_circles_as_member": "0",
            "notify_notification_circles_as_moderator": "0",
            "notify_notification_circles_as_non_member": "0",
            "notify_notification_comments": "0",
            "notify_notification_contacts": "0",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_notification_file_favorite_changed": "0",
            "notify_notification_group_settings": "0",
            "notify_notification_personal_settings": "0",
            "notify_notification_public_links": "0",
            "notify_notification_remote_share": "0",
            "notify_notification_security": "1",
            "notify_notification_shared": "0",
            "notify_notification_systemtags": "0",
            "notify_notification_virus_detected": "0",
            "notify_setting_batchtime": "3600",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "578"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "29.0.0-dev",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1718712100,\"2\":1718713303,\"1\":1718713603}",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "emailTestSuccessful": "1",
            "files_metadata_installed": "1",
            "installedat": "1717493557.4732",
            "lastcron": "1718713604",
            "lastupdateResult": "[]",
            "lastupdatedat": "1718711060",
            "moveavatarsdone": "yes",
            "newUser.sendEmail": "no",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "shareapi_allow_share_dialog_user_enumeration": "yes",
            "shareapi_default_expire_date": "yes",
            "shareapi_default_internal_expire_date": "no",
            "shareapi_default_remote_expire_date": "no",
            "shareapi_enable_link_password_by_default": "yes",
            "shareapi_enforce_expire_date": "yes",
            "shareapi_enforce_internal_expire_date": "yes",
            "shareapi_enforce_links_password": "yes",
            "shareapi_enforce_remote_expire_date": "yes",
            "shareapi_expire_after_n_days": "90",
            "shareapi_internal_expire_after_n_days": "90",
            "shareapi_restrict_user_enumeration_to_group": "yes",
            "vendor": "nextcloud",
            "files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"etag\":\"\",\"indexed\":true,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"blurhash\":{\"value\":null,\"type\":\"string\",\"etag\":\"25750af2546a2ff89ac51a738634e457\",\"indexed\":false,\"editPermission\":0}}",
            "oc.integritycheck.checker": "[]"
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.9.0",
            "types": ""
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "1.30.1",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "files": {
            "default_quota": "488,3 MB",
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": "filesystem"
        },
        "files_accesscontrol": {
            "enabled": "yes",
            "installed_version": "1.19.1",
            "types": "filesystem"
        },
        "files_antivirus": {
            "av_cmd_options": "",
            "av_host": "",
            "av_icap_mode": "reqmod",
            "av_icap_request_service": "avscan",
            "av_icap_response_header": "X-Infection-Found",
            "av_icap_tls": "0",
            "av_infected_action": "only_log",
            "av_max_file_size": "-1",
            "av_mode": "socket",
            "av_path": "\/usr\/bin\/clamscan",
            "av_port": "0",
            "av_scan_first_bytes": "-1",
            "av_socket": "\/var\/run\/clamav\/clamd.ctl",
            "av_stream_max_length": "26214400",
            "enabled": "yes",
            "installed_version": "5.5.4",
            "types": "filesystem,dav"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "files_retention": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "incoming_server2server_group_share_enabled": "yes",
            "installed_version": "1.21.0",
            "outgoing_server2server_group_share_enabled": "yes",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.18.0",
            "types": "logging"
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.14.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.5.0",
            "lastPlaceMappedUser": "nxtadmin",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "serverinfo": {
            "cached_count_filecache": "753",
            "cached_count_storages": "20",
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem"
        },
        "support": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "terms_of_service": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "types": "filesystem,dav"
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.10.0",
            "types": "dav"
        },
        "theming": {
            "cachebuster": "3",
            "color": "#EF8B00",
            "enabled": "yes",
            "faviconMime": "image\/png",
            "imprintUrl": "***REMOVED SENSITIVE VALUE***",
            "installed_version": "2.4.0",
            "logoMime": "image\/png",
            "logoheaderMime": "image\/png",
            "name": "***REMOVED SENSITIVE VALUE***",
            "privacyUrl": "***REMOVED SENSITIVE VALUE***",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "types": "logging",
            "url": "***REMOVED SENSITIVE VALUE***"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "11.0.0-dev",
            "types": ""
        },
        "updatenotification": {
            "core": "29.0.2.2",
            "enabled": "yes",
            "files_antivirus": "5.5.4",
            "installed_version": "1.19.1",
            "types": "",
            "update_check_errors": "0"
        },
        "user_ldap": {
            "background_sync_interval": "43200",
            "background_sync_offset": "0",
            "background_sync_prefix": "s01",
            "cleanUpJobOffset": "0",
            "enabled": "yes",
            "installed_version": "1.20.0",
            "s01_lastChange": "1717591844",
            "s01has_memberof_filter_support": "1",
            "s01home_folder_naming_rule": "",
            "s01last_jpegPhoto_lookup": "0",
            "s01ldap_admin_group": "",
            "s01ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_attr_address": "",
            "s01ldap_attr_biography": "",
            "s01ldap_attr_fediverse": "",
            "s01ldap_attr_headline": "",
            "s01ldap_attr_organisation": "",
            "s01ldap_attr_phone": "",
            "s01ldap_attr_role": "",
            "s01ldap_attr_twitter": "",
            "s01ldap_attr_website": "",
            "s01ldap_attributes_for_group_search": "",
            "s01ldap_attributes_for_user_search": "",
            "s01ldap_background_host": "",
            "s01ldap_background_port": "",
            "s01ldap_backup_host": "ldaps:\/\/***REMOVED SENSITIVE VALUE***",
            "s01ldap_backup_port": "636",
            "s01ldap_base": "OU=***REMOVED SENSITIVE VALUE***",
            "s01ldap_base_groups": "",
            "s01ldap_base_users": "",
            "s01ldap_cache_ttl": "600",
            "s01ldap_configuration_active": "1",
            "s01ldap_connection_timeout": "15",
            "s01ldap_default_ppolicy_dn": "",
            "s01ldap_display_name": "displayname",
            "s01ldap_dn": "CN=***REMOVED SENSITIVE VALUE***",
            "s01ldap_dynamic_group_member_url": "",
            "s01ldap_email_attr": "mail",
            "s01ldap_experienced_admin": "0",
            "s01ldap_expert_username_attr": "",
            "s01ldap_expert_uuid_group_attr": "samAccountName",
            "s01ldap_expert_uuid_user_attr": "samAccountName",
            "s01ldap_ext_storage_home_attribute": "",
            "s01ldap_gid_number": "gidNumber",
            "s01ldap_group_display_name": "cn",
            "s01ldap_group_filter": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_group_filter_mode": "1",
            "s01ldap_group_member_assoc_attribute": "member",
            "s01ldap_groupfilter_groups": "",
            "s01ldap_groupfilter_objectclass": "",
            "s01ldap_host": "ldaps:\/\/***REMOVED SENSITIVE VALUE***",
            "s01ldap_login_filter": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_login_filter_mode": "0",
            "s01ldap_loginfilter_attributes": "",
            "s01ldap_loginfilter_email": "1",
            "s01ldap_loginfilter_username": "1",
            "s01ldap_mark_remnants_as_disabled": "1",
            "s01ldap_matching_rule_in_chain_state": "unknown",
            "s01ldap_nested_groups": "0",
            "s01ldap_override_main_server": "",
            "s01ldap_paging_size": "500",
            "s01ldap_port": "636",
            "s01ldap_quota_attr": "",
            "s01ldap_quota_def": "",
            "s01ldap_tls": "0",
            "s01ldap_turn_off_cert_check": "0",
            "s01ldap_turn_on_pwd_change": "0",
            "s01ldap_user_avatar_rule": "default",
            "s01ldap_user_display_name_2": "",
            "s01ldap_user_filter_mode": "1",
            "s01ldap_userfilter_groups": "",
            "s01ldap_userfilter_objectclass": "person",
            "s01ldap_userlist_filter": "***REMOVED SENSITIVE VALUE***",
            "s01use_memberof_to_detect_membership": "1",
            "types": "authentication"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "types": "filesystem"
        }
    }
}

Nextcloud config.php Destination- Server

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***server.fqdn***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.2.2",
        "overwrite.cli.url": "https:\/\/***server.fqdn***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "default_language": "de",
        "default_locale": "de_DE",
        "default_phone_region": "DE",
        "default_timezone": "Europe\/Berlin",
        "maintenance_window_start": 1,
        "allow_local_remote_servers": true,
        "htaccess.RewriteBase": "\/",
        "skeletondirectory": "",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "loglevel": 3,
        "maintenance": false
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.21.1",
            "notify_email_group_settings": "0",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "316"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "29.0.0-dev",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1718712400,\"2\":1718713303,\"1\":1718713603}",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "emailTestSuccessful": "1",
            "files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"etag\":\"\",\"indexed\":true,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"blurhash\":{\"value\":null,\"type\":\"string\",\"etag\":\"ebf5a47e7ef0eb06882699705861f5c2\",\"indexed\":false,\"editPermission\":0}}",
            "files_metadata_installed": "1",
            "installedat": "1717493628.102",
            "lastcron": "1718713604",
            "lastupdateResult": "[]",
            "lastupdatedat": "1718710997",
            "moveavatarsdone": "yes",
            "newUser.sendEmail": "no",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "shareapi_default_expire_date": "yes",
            "shareapi_enable_link_password_by_default": "yes",
            "shareapi_enforce_expire_date": "yes",
            "shareapi_enforce_links_password": "yes",
            "shareapi_expire_after_n_days": "90",
            "shareapi_restrict_user_enumeration_to_group": "yes",
            "vendor": "nextcloud",
            "oc.integritycheck.checker": "[]"
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.9.0",
            "types": ""
        },
        "dav": {
            "enabled": "yes",
            "installed_version": "1.30.1",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "files": {
            "default_quota": "488,3 MB",
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": "filesystem"
        },
        "files_accesscontrol": {
            "enabled": "yes",
            "installed_version": "1.19.1",
            "types": "filesystem"
        },
        "files_antivirus": {
            "av_mode": "socket",
            "av_path": "\/usr\/bin\/clamscan",
            "av_socket": "\/var\/run\/clamav\/clamd.ctl",
            "enabled": "yes",
            "installed_version": "5.5.4",
            "types": "filesystem,dav"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "files_retention": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "incoming_server2server_group_share_enabled": "yes",
            "installed_version": "1.21.0",
            "outgoing_server2server_group_share_enabled": "yes",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.18.0",
            "types": "logging"
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.14.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.5.0",
            "lastPlaceMappedUser": "nxtadmin",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "serverinfo": {
            "cached_count_filecache": "552",
            "cached_count_storages": "10",
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem"
        },
        "support": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "terms_of_service": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "types": "filesystem,dav"
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.10.0",
            "types": "dav"
        },
        "theming": {
            "cachebuster": "3",
            "color": "#EF8B00",
            "enabled": "yes",
            "faviconMime": "image\/png",
            "imprintUrl": "***REMOVED SENSITIVE VALUE***",
            "installed_version": "2.4.0",
            "logoMime": "image\/png",
            "logoheaderMime": "image\/png",
            "name": "***REMOVED SENSITIVE VALUE***",
            "privacyUrl": "***REMOVED SENSITIVE VALUE***",
            "slogan": "***REMOVED SENSITIVE VALUE***",
            "types": "logging",
            "url": "***REMOVED SENSITIVE VALUE***"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "11.0.0-dev",
            "types": ""
        },
        "updatenotification": {
            "core": "29.0.2.2",
            "enabled": "yes",
            "files_antivirus": "5.5.4",
            "installed_version": "1.19.1",
            "types": "",
            "update_check_errors": "0"
        },
        "user_ldap": {
            "background_sync_interval": "43200",
            "background_sync_offset": "0",
            "background_sync_prefix": "s01",
            "cleanUpJobOffset": "0",
            "enabled": "yes",
            "installed_version": "1.20.0",
            "s01_lastChange": "1717591946",
            "s01has_memberof_filter_support": "1",
            "s01home_folder_naming_rule": "",
            "s01last_jpegPhoto_lookup": "0",
            "s01ldap_admin_group": "",
            "s01ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_attr_address": "",
            "s01ldap_attr_biography": "",
            "s01ldap_attr_fediverse": "",
            "s01ldap_attr_headline": "",
            "s01ldap_attr_organisation": "",
            "s01ldap_attr_phone": "",
            "s01ldap_attr_role": "",
            "s01ldap_attr_twitter": "",
            "s01ldap_attr_website": "",
            "s01ldap_attributes_for_group_search": "",
            "s01ldap_attributes_for_user_search": "",
            "s01ldap_background_host": "",
            "s01ldap_background_port": "",
            "s01ldap_backup_host": "ldaps:\/\/***REMOVED SENSITIVE VALUE***",
            "s01ldap_backup_port": "",
            "s01ldap_base": "OU=***REMOVED SENSITIVE VALUE***",
            "s01ldap_base_groups": "",
            "s01ldap_base_users": "",
            "s01ldap_cache_ttl": "600",
            "s01ldap_configuration_active": "1",
            "s01ldap_connection_timeout": "15",
            "s01ldap_default_ppolicy_dn": "",
            "s01ldap_display_name": "displayname",
            "s01ldap_dn": "CN=***REMOVED SENSITIVE VALUE***",
            "s01ldap_dynamic_group_member_url": "",
            "s01ldap_email_attr": "mail",
            "s01ldap_experienced_admin": "0",
            "s01ldap_expert_username_attr": "",
            "s01ldap_expert_uuid_group_attr": "samAccountName",
            "s01ldap_expert_uuid_user_attr": "samAccountName",
            "s01ldap_ext_storage_home_attribute": "",
            "s01ldap_gid_number": "gidNumber",
            "s01ldap_group_display_name": "cn",
            "s01ldap_group_filter": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_group_filter_mode": "1",
            "s01ldap_group_member_assoc_attribute": "member",
            "s01ldap_groupfilter_groups": "",
            "s01ldap_groupfilter_objectclass": "",
            "s01ldap_host": "ldaps:\/\/domserver1.pirna.local",
            "s01ldap_login_filter": "(&(&(|(objectclass=person)))(samaccountname=%uid))",
            "s01ldap_login_filter_mode": "0",
            "s01ldap_loginfilter_attributes": "",
            "s01ldap_loginfilter_email": "1",
            "s01ldap_loginfilter_username": "1",
            "s01ldap_mark_remnants_as_disabled": "0",
            "s01ldap_matching_rule_in_chain_state": "unknown",
            "s01ldap_nested_groups": "0",
            "s01ldap_override_main_server": "",
            "s01ldap_paging_size": "500",
            "s01ldap_port": "636",
            "s01ldap_quota_attr": "",
            "s01ldap_quota_def": "",
            "s01ldap_tls": "0",
            "s01ldap_turn_off_cert_check": "0",
            "s01ldap_turn_on_pwd_change": "0",
            "s01ldap_user_avatar_rule": "default",
            "s01ldap_user_display_name_2": "",
            "s01ldap_user_filter_mode": "1",
            "s01ldap_userfilter_groups": "",
            "s01ldap_userfilter_objectclass": "person",
            "s01ldap_userlist_filter": "***REMOVED SENSITIVE VALUE***",
            "s01use_memberof_to_detect_membership": "1",
            "types": "authentication"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "types": "filesystem"
        }
    }
}

Apache vhost- configuration Source- Server

<Directory /var/www/***src-server.fqdn***>
    AllowOverride None
        Require all denied
    </Directory>
<VirtualHost *:80>

    DocumentRoot /var/www/clients/client1/web3/web
    ServerName ***src-server.fqdn***
    ServerAlias www.***src-server.fqdn***
    ServerAdmin webmaster@***src-server.fqdn***

    ErrorLog /var/log/ispconfig/httpd/***src-server.fqdn***/error.log

    <Directory /var/www/***src-server.fqdn***/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>
    <Directory /var/www/clients/client1/web3/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>


    # suexec enabled
    <IfModule mod_suexec.c>
      SuexecUserGroup web3 client1
    </IfModule>
    <IfModule mod_fastcgi.c>
        <Directory /var/www/clients/client1/web3/cgi-bin>
            Require all granted
        </Directory>
        <Directory /var/www/***src-server.fqdn***/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        <Directory /var/www/clients/client1/web3/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        Action php-fcgi /php-fcgi virtual
        Alias /php-fcgi /var/www/clients/client1/web3/cgi-bin/php-fcgi-*-80-***src-server.fqdn***
        FastCgiExternalServer /var/www/clients/client1/web3/cgi-bin/php-fcgi-*-80-***src-server.fqdn*** -idle-timeout 300 -socket /var/lib/php8.2-fpm/web3.sock -pass-header Authorization  -pass-header Content-Type
    </IfModule>
    <IfModule mod_proxy_fcgi.c>
      #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php8.2-fpm/web3.sock|fcgi://localhost//var/www/clients/client1/web3/web/$1
      <Directory /var/www/***src-server.fqdn***/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web3.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      <Directory /var/www/clients/client1/web3/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web3.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      </IfModule>

    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web3 client1
    </IfModule>
    <IfModule mod_dav_fs.c>
    # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web3/webdav>
        <ifModule mod_security2.c>
          SecRuleRemoveById 960015
          SecRuleRemoveById 960032
        </ifModule>
        <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web3/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>


</VirtualHost>

<VirtualHost *:443>

    DocumentRoot /var/www/clients/client1/web3/web
    ServerName ***src-server.fqdn***
    ServerAlias www.***src-server.fqdn***
    ServerAdmin webmaster@***src-server.fqdn***
    <IfModule mod_http2.c>
      Protocols h2 http/1.1
    </IfModule>
    <IfModule mod_brotli.c>
      AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript application/xml application/xml+rss application/atom+xml application/json application/x-font-ttf application/vnd.ms-fontobject image/x-icon
    </IfModule>
    ErrorLog /var/log/ispconfig/httpd/***src-server.fqdn***/error.log

  <IfModule mod_ssl.c>
    SSLEngine on
    SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
    # SSLCipherSuite    ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
    SSLHonorCipherOrder   on
    # <IfModule mod_headers.c>
    # Header always add Strict-Transport-Security "max-age=15768000"
    # </IfModule>
    SSLCertificateFile /var/www/clients/client1/web3/ssl/***src-server.fqdn***-le.crt
    SSLCertificateKeyFile /var/www/clients/client1/web3/ssl/***src-server.fqdn***-le.key
    SSLUseStapling on
    SSLStaplingResponderTimeout 5
    SSLStaplingReturnResponderErrors off
   </IfModule>
    <Directory /var/www/***src-server.fqdn***/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>
    <Directory /var/www/clients/client1/web3/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>


    # suexec enabled
    <IfModule mod_suexec.c>
      SuexecUserGroup web3 client1
    </IfModule>
    <IfModule mod_fastcgi.c>
        <Directory /var/www/clients/client1/web3/cgi-bin>
          Require all granted
        </Directory>
        <Directory /var/www/***src-server.fqdn***/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        <Directory /var/www/clients/client1/web3/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        Action php-fcgi /php-fcgi virtual
        Alias /php-fcgi /var/www/clients/client1/web3/cgi-bin/php-fcgi-*-443-***src-server.fqdn***
        FastCgiExternalServer /var/www/clients/client1/web3/cgi-bin/php-fcgi-*-443-***src-server.fqdn*** -idle-timeout 300 -socket /var/lib/php8.2-fpm/web3.sock -pass-header Authorization  -pass-header Content-Type
    </IfModule>
    <IfModule mod_proxy_fcgi.c>
      #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php8.2-fpm/web3.sock|fcgi://localhost//var/www/clients/client1/web3/web/$1
      <Directory /var/www/***src-server.fqdn***/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web3.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      <Directory /var/www/clients/client1/web3/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web3.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      </IfModule>

    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web3 client1
    </IfModule>
    <IfModule mod_dav_fs.c>
    # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web3/webdav>
        <ifModule mod_security2.c>
          SecRuleRemoveById 960015
          SecRuleRemoveById 960032
        </ifModule>
        <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web3/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>


</VirtualHost>
<IfModule mod_ssl.c>
  SSLStaplingCache shmcb:/var/run/ocsp(128000)
</IfModule>

Apache vhost- configuration Destination- Server

<Directory /var/www/***dst-server.fqdn***>
    AllowOverride None
    Require all denied
</Directory>
<VirtualHost *:80>

    DocumentRoot /var/www/clients/client1/web4/web
    ServerName ***dst-server.fqdn***
    ServerAlias www.***dst-server.fqdn***
    ServerAdmin webmaster@***dst-server.fqdn***

    ErrorLog /var/log/ispconfig/httpd/***dst-server.fqdn***/error.log

    <Directory /var/www/***dst-server.fqdn***/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>
    <Directory /var/www/clients/client1/web4/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>


    # suexec enabled
    <IfModule mod_suexec.c>
      SuexecUserGroup web4 client1
    </IfModule>
    <IfModule mod_fastcgi.c>
        <Directory /var/www/clients/client1/web4/cgi-bin>
            Require all granted
        </Directory>
        <Directory /var/www/***dst-server.fqdn***/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        <Directory /var/www/clients/client1/web4/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        Action php-fcgi /php-fcgi virtual
        Alias /php-fcgi /var/www/clients/client1/web4/cgi-bin/php-fcgi-*-80-***dst-server.fqdn***
        FastCgiExternalServer /var/www/clients/client1/web4/cgi-bin/php-fcgi-*-80-***dst-server.fqdn*** -idle-timeout 300 -socket /var/lib/php8.2-fpm/web4.sock -pass-header Authorization  -pass-header Content-Type
    </IfModule>
    <IfModule mod_proxy_fcgi.c>
      #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php8.2-fpm/web4.sock|fcgi://localhost//var/www/clients/client1/web4/web/$1
      <Directory /var/www/***dst-server.fqdn***/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web4.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      <Directory /var/www/clients/client1/web4/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web4.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      </IfModule>

    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web4 client1
    </IfModule>
    <IfModule mod_dav_fs.c>
    # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web4/webdav>
        <ifModule mod_security2.c>
          SecRuleRemoveById 960015
          SecRuleRemoveById 960032
        </ifModule>
        <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web4/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>


</VirtualHost>

<VirtualHost *:443>

    DocumentRoot /var/www/clients/client1/web4/web
    ServerName ***dst-server.fqdn***
    ServerAlias www.***dst-server.fqdn***
    ServerAdmin webmaster@***dst-server.fqdn***
    <IfModule mod_http2.c>
      Protocols h2 http/1.1
    </IfModule>
    <IfModule mod_brotli.c>
      AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript application/xml application/xml+rss application/atom+xml application/json application/x-font-ttf application/vnd.ms-fontobject image/x-icon
    </IfModule>
    ErrorLog /var/log/ispconfig/httpd/***dst-server.fqdn***/error.log

  <IfModule mod_ssl.c>
    SSLEngine on
    SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
    # SSLCipherSuite    ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
    SSLHonorCipherOrder   on
    # <IfModule mod_headers.c>
    # Header always add Strict-Transport-Security "max-age=15768000"
    # </IfModule>
    SSLCertificateFile /var/www/clients/client1/web4/ssl/***dst-server.fqdn***-le.crt
    SSLCertificateKeyFile /var/www/clients/client1/web4/ssl/***dst-server.fqdn***-le.key
    SSLUseStapling on
    SSLStaplingResponderTimeout 5
    SSLStaplingReturnResponderErrors off
  </IfModule>
    <Directory /var/www/***dst-server.fqdn***/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>
    <Directory /var/www/clients/client1/web4/web>
        # Clear PHP settings of this website
        <FilesMatch ".+\.ph(p[345]?|t|tml)$">
            SetHandler None
        </FilesMatch>
        Options +SymlinksIfOwnerMatch
        AllowOverride All
        Require all granted
    </Directory>


    # suexec enabled
    <IfModule mod_suexec.c>
      SuexecUserGroup web4 client1
    </IfModule>
    <IfModule mod_fastcgi.c>
        <Directory /var/www/clients/client1/web4/cgi-bin>
          Require all granted
        </Directory>
        <Directory /var/www/***dst-server.fqdn***/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        <Directory /var/www/clients/client1/web4/web>
          <FilesMatch "\.php[345]?$">
            <If "-f '%{REQUEST_FILENAME}'">
              SetHandler php-fcgi
            </If>
          </FilesMatch>
        </Directory>
        Action php-fcgi /php-fcgi virtual
        Alias /php-fcgi /var/www/clients/client1/web4/cgi-bin/php-fcgi-*-443-***dst-server.fqdn***
        FastCgiExternalServer /var/www/clients/client1/web4/cgi-bin/php-fcgi-*-443-***dst-server.fqdn*** -idle-timeout 300 -socket /var/lib/php8.2-fpm/web4.sock -pass-header Authorization  -pass-header Content-Type
    </IfModule>
    <IfModule mod_proxy_fcgi.c>
      #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php8.2-fpm/web4.sock|fcgi://localhost//var/www/clients/client1/web4/web/$1
      <Directory /var/www/***dst-server.fqdn***/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web4.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      <Directory /var/www/clients/client1/web4/web>
        <FilesMatch "\.php[345]?$">
          <If "-f '%{REQUEST_FILENAME}'">
            SetHandler "proxy:unix:/var/lib/php8.2-fpm/web4.sock|fcgi://localhost"
          </If>
        </FilesMatch>
      </Directory>
      </IfModule>

    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web4 client1
    </IfModule>
    <IfModule mod_dav_fs.c>
    # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client1/web4/webdav>
        <ifModule mod_security2.c>
          SecRuleRemoveById 960015
          SecRuleRemoveById 960032
        </ifModule>
        <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      DavLockDB /var/www/clients/client1/web4/tmp/DavLock
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>


</VirtualHost>
<IfModule mod_ssl.c>
  SSLStaplingCache shmcb:/var/run/ocsp(128000)
</IfModule>

nextcloud.log on source server shows no errors.

nextcloud.log on destination server fills up with these errors:
“Undefined array key 1 at /var/www/clients/client1/web4/web/apps/files_sharing/lib/External/Cache.php#41”

{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"no app in context","method":"GET","url":"/apps/files/files/565?dir=/","message":"The loading of lazy AppConfig values have been requested","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","exception":{"Exception":"RuntimeException","Message":"ignorable exception","Code":0,"Trace":[{"file":"/var/www/clients/client1/web4/web/lib/private/AppConfig.php","line":1206,"function":"loadConfig","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/AppConfig.php","line":127,"function":"loadConfigAll","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/AllConfig.php","line":196,"function":"getKeys","class":"OC\\AppConfig","type":"->"},{"file":"/var/www/clients/client1/web4/web/apps/user_ldap/lib/Helper.php","line":133,"function":"getAppKeys","class":"OC\\AllConfig","type":"->"},{"file":"/var/www/clients/client1/web4/web/apps/user_ldap/lib/Helper.php","line":74,"function":"getServersConfig","class":"OCA\\User_LDAP\\Helper","type":"->"},{"file":"/var/www/clients/client1/web4/web/apps/user_ldap/lib/AppInfo/Application.php","line":133,"function":"getServerConfigurationPrefixes","class":"OCA\\User_LDAP\\Helper","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":45,"function":"OCA\\User_LDAP\\AppInfo\\{closure}","class":"OCA\\User_LDAP\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/clients/client1/web4/web/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/var/www/clients/client1/web4/web/apps/user_ldap/lib/AppInfo/Application.php","line":124,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\User_LDAP\\AppInfo\\Application","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/private/legacy/OC_App.php","line":128,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/clients/client1/web4/web/lib/base.php","line":1022,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/clients/client1/web4/web/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/clients/client1/web4/web/lib/private/AppConfig.php","Line":1220,"message":"The loading of lazy AppConfig values have been requested","exception":{},"CustomMessage":"The loading of lazy AppConfig values have been requested"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":3,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"PHP","method":"GET","url":"/apps/files/files/565?dir=/","message":"Undefined array key 1 at /var/www/clients/client1/web4/web/apps/files_sharing/lib/External/Cache.php#41","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"PHP"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"workflowengine","method":"GET","url":"/apps/files/files/565?dir=/","message":"Flow activation: rules were requested for operation Zugriff auf Datei verhindern","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"workflowengine","level":"0"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"workflowengine","method":"GET","url":"/apps/files/files/565?dir=/","message":"No flow configurations is going to run Zugriff auf Datei verhindern","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"workflowengine","level":"0"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"workflowengine","method":"GET","url":"/apps/files/files/565?dir=/","message":"Flow activation: rules were requested for operation Zugriff auf Datei verhindern","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"workflowengine","level":"0"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"workflowengine","method":"GET","url":"/apps/files/files/565?dir=/","message":"No flow configurations is going to run Zugriff auf Datei verhindern","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"workflowengine","level":"0"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"workflowengine","method":"GET","url":"/apps/files/files/565?dir=/","message":"Flow activation: rules were requested for operation Zugriff auf Datei verhindern","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"workflowengine","level":"0"}}
{"reqId":"QaQZHxU0wYd7DgQPSOgQ","level":0,"time":"2024-06-18T12:12:04+00:00","remoteAddr":"172.16.1.220","user":"FederationDst","app":"workflowengine","method":"GET","url":"/apps/files/files/565?dir=/","message":"No flow configurations is going to run Zugriff auf Datei verhindern","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0","version":"29.0.2.2","data":{"app":"workflowengine","level":"0"}}

I’m also trying to get federation working.

I think mine show up in the notifications. However, when I accept them, they don’t show up in the filesystem.

At one point I got one to work shared from NC28 to NC29, but I’m not quite sure what made that work at this point. Maybe I need to try again. Most of my attempts are between NC29 servers, which are located on my local network.

Regarding the Undefined array key 1 at Cache #41, I get that as well, and created a patch so that it doesn’t show up. (The code there seems brittle.) However, I’m not entirely sure what it’s trying to parse and whether my patch helps. (I just allow it to use the full string if it can’t find the scheme.)

A update after upgrading NC to 29.0.3:

Things becoming a little better:
Shares from external NC are now visible under “Shared with you” after accepting. Also pending shares are visible.

But: Federation is still not working. :frowning:
External shares do not appear under “files”. If clicked under “Shared with you” the view simply switches to files root (“All files”).

Hi ! a small question
the part for federation in config.php…
i enabled the app on my both servers but i do not have this entry.
Is it mandatory ?

Ciao Gerd

Hello Gerd,

no, this is an mistake by me. It is not config.php, this is an output of

 sudo -u web1 php occ config:list

But all settings from config.php are included in this output.

After update to version 29.0.4 everything is working as expected.

Thanks to the developers!

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