Share between 2 nextcloud servers not working

Hello, I try to create a share between 2 users on different nextcloud servers.
At first I got a certificate warning, but I managed to fix this. Then I try to share a folder by typing the remote user: remoteuser@cloud.remotedomain.com
The remote user receives a notification, but when I click on Accept on the remote user site, it keeps the status ‘pending’ in the file list of that user.
Anyone any idea what I can do about this?

Thank you and regards,

Ralph Willemsen
Arnhem, Netherlands

Can you check your logfiles? Do you use SSL (you can verify your ssl settings at ssllabs.com)?

Hello, thanks for your reply.
When the remote user clicks on the share then
the remote Nextcloud server says in its logfile:
Error PHP
OCP\Files\StorageNotAvailableException: at /var/www/nextcloud/apps/files_sharing/lib/external/storage.php#309

What I did (after googling)
root@nextcloud:/var/www# sudo su -s /bin/bash www-data
www-data@nextcloud:~$ owncloud/occ files:scan --all
bash: owncloud/occ: No such file or directory
www-data@nextcloud:~$ nextcloud/occ files:scan --all

Scanning files for 5 users
Starting scan for user 1 out of 5 (userxxx)
Starting scan for user 2 out of 5 (useryyy)
Starting scan for user 3 out of 5 (userzzz)
Starting scan for user 4 out of 5 (ncadmin)
Starting scan for user 5 out of 5 (john)

±--------±------±-------------+
| Folders | Files | Elapsed time |
±--------±------±-------------+
| 74 | 2286 | 00:00:16 |
±--------±------±-------------+

StorageNotAvailableException

Are you running a firewall in between which might prevent certain operations?

Hello, it is fixed after upgrading to NC 10. Works as a charm now!

Thank you and regards,

Ralph Willemsen