No server to federate with found

Sorry to hear you’re facing problems :slight_frown:

If you’re urgently looking for support to keep your business running, consider checking out our paid support options.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the following as you can (you can cut and paste this into your topic):


Nextcloud version (eg, 10.0.2): 12.0.2
Operating system and version (eg, Ubuntu 16.04): 16.04.3
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 5.6): PHP 7.0.22-0ubuntu0.16.04.1
Is this the first time you’ve seen this error?: no, been struggling this since v10

Can you reliably replicate it? (If so, please outline steps):

  • log in NC interface as Admin
  • click Gear - Admin
  • click Sharing on left hand side
  • go down to “Trusted servers”, click “Add trusted server”, type in “https://cloud.companyname.com”, click “Add”

PLEASE note, SSL certs on both NC are from GoDaddy

The issue you are facing:

The output of your Nextcloud log in Admin > Logging:
Error No server to federate with found 2017-08-17T13:25:48-0700

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'instanceid' => 'xxxxxxx', 'passwordsalt' => 'xxxxxxxxxx', 'secret' => 'xxxxxxxxxxxx', 'trusted_domains' => array ( 0 => 'cloud.westinbldg.com', ), 'datadirectory' => '/media/nextcloud.data', 'overwrite.cli.url' => 'https://cloud.xxxxxxxx.com', 'dbtype' => 'mysql', 'version' => '12.0.2.0', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'xxxxxxxxx', 'dbpassword' => 'xxxxxxxxxxxx', 'logtimezone' => 'America/Los_Angeles', 'memcache.local' => '\\OC\\Memcache\\APCu', 'logfile' => '/var/log/nextcloud.log', 'loglevel' => '2', 'installed' => true, 'knowledgebaseenabled' => false, 'customclient_desktop' => 'xxxxxxxxx', 'customclient_android' => 'xxxxxxxxxxxx', 'customclient_ios' => 'xxxxxxxxxxxxx', 'ldapIgnoreNamingRules' => false, 'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory', 'mail_smtpmode' => 'smtp', 'mail_from_address' => 'xxxxxxxxx', 'mail_domain' => 'xxxxxxxxx.com', 'mail_smtphost' => 'xxxxxxxx', 'mail_smtpport' => '25', 'maintenance' => false, 'htaccess.RewriteBase' => '/', 'theme' => '', 'updater.secret' => 'xxxxxxxxxxxxx', ); The output of your Apache/nginx/system log in `/var/log/____`: none, as the timestamp didn't match --- Remember, this information may be requested if it isn't supplied; for fastest response please provide as much as you can :heart: Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.