Nextcloud clients being redirected to Yunohost

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.10
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain:
I did add one or two permissions, to try and fix this issue, mainly to add api access the visitors group.

Description of my issue

After upgrading Element and Nextcloud, I can access Nextcloud through the web browser, but all of the external Nextcloud clients give errors when trying to connect. This includes the Nextcloud Android Client, Dav5X, Nextcloud News, NextPush, CalDav clients, Thunderbird calendar etc. They seem to redirect to a Yunohost SSO url.

I’m trying to get them to connect and work again.

For example, when trying to use Thunderbird to connect to my Nextcloud calendar, I get the following error message:

The server is redirecting the URI for the calendar “XXXXX”. Accept the redirect and start using the new URI for the calendar?

Current URI:
https://NEXTCLOUD DOMAIN/remote.php/dav/calendars/USER/CALENDAR/

Redirecting to new URI:

Nextcloud’s internal diagnostics says that there are 9 errors in the logs, but I’m not sure where to find Nextclouds own logs. They’re not in /etc/logs or /var/www/nextcloud. Yunohost’s logs tool doesn’t seem to show logs for specific apps.

Sadly, the logs for the Nextcloud / Element upgrade don’t seem to no longer be available from the Yunohost webmin.

Sounds like “visitors” are not allowed for Nextcloud’s main permission

Thank you! That was it. I thought the Nextcloud API permission would be enough, but apparently not.

I just made a small donation to Yunohost to say thanks for your help.

1 Like