-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing mirror URL on project dashboard #28203
Comments
Could you find any error logs? |
@lunny. No. In browser I see this |
I think it maybe a translation problem. Could you try English? |
As I wrote. No -> I can't see any errors in the gitea logs. The screenshot which I posted was just from the browser. This was probably confusing. |
Yes. To confirm my guess. Could you try to switch English from the footer right corner and take a look again? |
I try this later. I'm upgrading now to PostgreSQL 16 and Ubuntu 22.04. |
I found at the moment 44 projects with this issue. But I have no time to check all mirrors. |
~80 mirrors now affected. |
@lunny no changes here with 1.21.1 |
@lunny when I do this
than I see the original_url. Looks good. I restarted my memcached. But there was no change. |
@lunny any updates here? The problem makes it a little difficult for me to work with Gitea. |
@lunny I found the problem. ~17% mirrors are affected on my gitea instance. The problem is, that in the The question is: why is this empty? |
After my fix in the DB three days ago nothing changes. It's looks good. @lunny if you think there is nothig to fix, than this issue can be closed. |
Maybe related to #26952 |
Let's leave the issue open since it's possible a bug. And how did you do the workaround? |
It seems that this issue is caused by the migration, as |
I set |
After you fix it manually, does any mirrors remote_address become empty? |
No. It works fine. |
But I just hope there could be a PR fixing the robust problem. It is critical and stops users from upgrading. |
Same issue when I migrate to new version. I have manually fixed it using the following SQL: UPDATE mirror m SET remote_address = (SELECT r.original_url FROM repository r WHERE r.id = m.repo_id); |
I didn't see this issue again after my manual fix in 2023. |
Description
Since I upgraded to 1.21.0 I see more and more mirrors with no Mirror URL
The sync for this mirror is working.
In PostgreSQL I see the URL
I checked ~200 projects. In 24 the mirror url is not visible. some days ago I deleted one mirror and added it again and I saw the mirror url. But today I can't see it in project dashboard.
Gitea Version
1.21.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.43.0
Operating System
Ubuntu 20.04.x
How are you running Gitea?
gitea-1.21.0-linux-amd64
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: