I do have the same “problem”. Servers are added automatically to federated share but are yellow. I also added the domain to trusted_domains in the config.php but it is still yellow. Has this been solved by someone?
Strange. I read this Thread this morning and would Look at my server if anything happen here. But now all Servers are green. I didn’t made any changes on the server. No restart, Nothing…
Maybe this need some times to “sync” between the connected servers?
I have tried a host of things as well and no avail. I have 5 nextcloud instances. All on 22. All sitting on a Ubuntu 20.04 server on bare metal. I have one pair of instances that see each other as green. The rest are yellow.
Seems like almost no one really knows how to deal with it. It’s like a black bunny: people say they exist but I never saw one. I never saw green trust level instances either.
That is awesome. And very helpful. Exactly what I face (“Reason 2: shared_secret is null”) It’s just that without having B in control the workaround is not working.
Now that you have established the shared_secret, you may need to rerun php occ federation:sync-addressbooks on Server B so that B becomes green 🟢 as well.