i have two nexctloud servers. Both on Ubuntuserver 20.04. First (NC1) of the instance ist running as a Dockercontainer behind traefik, the second (NC2) on apache2. Now i can share a folder over the federated ID from NC1 to NC2, but not back. If i want to share a folder from NC2 to NC1, i get an error:
“Fehler beim Erstellen der Freigabe: Freigabe von Arbeit fehlgeschlagen, da xxx@example.de nicht gefunden wurde. Möglicherweise ist der Server nicht erreichbar oder nutzt ein selbst zertifiziertes Zertifikat.”
If you want to share a folder from NC2 to NC1 then the server NC1 must be able to reach the server NC2 via HTTPS with correct certificate and no errors. Maybe is it not possible. In the first step you can test it with wget.
wget https://nc2.de
–2022-04-28 20:52:43-- https://nc2.de/
Auflösen des Hostnamens nc2.de (nc2.de) … 2a02:xxxx:xxxx:xxxx::1, 194.xxx.1xx.23
Verbindungsaufbau zu nc2.de (nc2.de)|2a02:xxx:xxx:xxx::1|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://nc2.de/login [folgend]
–2022-04-28 20:52:44-- https://nc2.de/login
Wiederverwendung der bestehenden Verbindung zu [nc2.de]:443.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 16821 (16K) [text/html]
Wird in »index.html.1« gespeichert.
index.html.1 100%[===================>] 16,43K --.-KB/s in 0,01s
I solved my problem. I removed all nc-containers, volumes and networks and installed my ansible-script again. Now i can share all folders. It works fine. Thx for your help!