After an upgrade of the Gitea application, the server always redirects me back to the "yunohost/sso/" route instead of opening Gitea

My YunoHost server

Hardware: Raspberry Pi 3 at home
YunoHost version: 11.1.15 (stable)
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 ? : no
If yes, please explain:

Description of my issue

Hello / Salut! I am not entirely sure what happened but I believe that after the last upgrade of Gitea on my system I no longer get the login-page when opening the application. When I push to the git server I am getting a redirect to this route: “/yunohost/sso/”

Where do I start to resolve this?

Gitea domain: https://git.redacted.domain/gitea
Gitea Installed version: 1.19.0~ynh1

You can try to re-set the domain with your application.
In your webadmin > Domains > select your domain name > Default App.

Your Gitea service have no error write in your log ?

Thank you for the quick reply. No errors in the log. I think I have set the default.

Screens from the configs:


You should provide logs found in webadmin → tools → services → Gitea

please find the logs here:

https://paste.yunohost.org/ewegizowir.sql

A reinstall of the application resolved the issue. But I lost the repos hosted in that process. Not ideal and I could not find any other way of resolving this. Just so be warned - make back ups.

Now Gitea works again, but the authentication does not.

I have exactly the same problem now… I pushed s/ome changes to my repo about an hour ago successfully and viewed the web interface a day before.
But now I receive a redirect to sso.
I have gitea in the path /git.
When I call https://myyunohost.de/git I get a 301 to https://myyunohost.de/git/ and from that a 302 to https://myyunohost.de/yunohost/sso/?token.

I had a yunohost update and run yunohost 11.1.15 (stable) and gitea 1.19.0~ynh1 now.

Why does this change by update simply and what can I do to get back my working gitea configuration?

Okay. This is easily fixed in my case: I changed the sub path /git to /gitea, saved, then back to /git, saved. The interface is up again, redirection is gone.

But where did it come from? Who added it? The gitea update or yunohost itself? Both were updated recently. But as this only happened with gitea in my case I would think it was the update for gitea package…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.