Open riparise opened 1 year ago
I managed to be able to be followed.
For that, I changed the redirect nginx rule
location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$uri; }
to
location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$request_uri; }
However, I still can't follow, I face the same issue as here : https://github.com/nextcloud/social/issues/1813
I cannot follow users or see any post in the social app. I manage to narrow down the issue, but I fail to find a solution. Any help is much appreciated.
My nextcloud was installed via Softaculos in cpanel. I have no root access. The Nextcloud is running in a directory under the root of my website, which is served via Apache.
Here are some parts of the error log generated when I try to follow someone in the Social app:
As you can see, sometimes the URL is correctly formed (MYDOMAIN.COM/nextcloud/whatever) and sometimes it is wrong (MYDOMAIN.COM/nextcloud/nextcloud/whatever), which I assume is the cause of the issue.
The .htaccess file inside the root of the website looks like this:
It is weird because all the redirects seem to work fine:
If I go to MYDOMAIN.COM/nextcloud/index.php/.well-known/webfinger I get the following message:
{"message":"webfinger not supported"}
If I go to MYDOMAIN.COM/nextcloud/index.php/.well-known/nodeinfo I get the following message:
{"links": {"rel":"http:\/\/nodeinfo.diaspora.software\/ns\/schema\/2.0","href":"https:\/\/MYDOMAIN>COM\/nextcloud\/apps\/social\/.well-known\/nodeinfo\/2.0"}]}
In the MYDOMAIN.COM/nextcloud/apps/social/.well-known/nodeinfo/2.0 I can see:
{"version":"2.0","software":{"name":"My Nextcloud","version":"0.6.1"},"protocols":["activitypub"],"rootUrl":"https:\/\/MYDOMAIN.COM\/nextcloud\/apps\/social","usage":[],"openRegistrations":false}
I am not sure if this is a general bug on configuration issue on my side. If latter is the case, please feel free to close the issue