Photo viewing cripples server

It will be green when files are shared in both directions and a contact sync had been done. They are then trusted and will be green.

suggestion: If they aren’t green, have the UI pop up your explanation alongside it, which gives a good clue how to get it to work (havent tried yet obvs.)

From the docs:

"A red light means the connection failed. The yellow light indicates a successful connection, with no user names exchanged. The green light indicates a successful connection with user names exchanged.

The prerequisiste for a green status is that the trusted servers were maintained in both interacting Nextcloud servers. Additionally occ federation:sync-addressbooks must have been executed (part of cron job list)."

https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/federated_cloud_sharing_configuration.html

There is no notification about it. And for me (I might be a bit blind since if worked with it for several years) it doesn’t have to. But might just be me.

I’m trying to figure out this federation thing. First I seem to have needed to add redirects from port 80 to 443. Some shares to external servers have worked, but I don’t find that I can share between the ones I want. Right now, I can receive the notification and accept it, but nothing shows up. I saw this error about undefined array key in the log. This is how I changed the code:

            $tmpv = explode('://', $cloudId->getRemote(), 2);
            $remote = end($tmpv);

However, it’s still not working. I’m not a PHP programmer, but I think explode() will return an array and we just want the last value of the array, and when I searched, the end() function came up.

You dont need redirects - I thought this at one point too, but I explicitly never enabled them this time round and its working. It took a while before both my NC boxes decided the other were “green” though.

It’s be really nice if NC was more talkative about what it’s up to. Most of the time, you’re left wondering “is it doing the thing?” or “has it done the thing?” with no obvious way to tell if anything has worked :frowning:

This topic was automatically closed after 2 days. New replies are no longer allowed.