mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-13 02:57:44 -05:00
Missing mirror URL on project dashboard #12079
Open
opened 2025-11-02 09:57:07 -06:00 by GiteaMirror
·
26 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v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1
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#12079
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @somera on GitHub (Nov 24, 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
@lunny commented on GitHub (Nov 25, 2023):
Could you find any error logs?
@somera commented on GitHub (Nov 25, 2023):
@lunny. No.
In browser I see this
@lunny commented on GitHub (Nov 25, 2023):
I think it maybe a translation problem. Could you try English?
@somera commented on GitHub (Nov 25, 2023):
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.
@lunny commented on GitHub (Nov 25, 2023):
Yes. To confirm my guess. Could you try to switch English from the footer right corner and take a look again?
@somera commented on GitHub (Nov 25, 2023):
I try this later. I'm upgrading now to PostgreSQL 16 and Ubuntu 22.04.
@somera commented on GitHub (Nov 25, 2023):
I did it. Same problem

@somera commented on GitHub (Nov 25, 2023):
I found at the moment 44 projects with this issue. But I have no time to check all mirrors.
@somera commented on GitHub (Nov 26, 2023):
~80 mirrors now affected.
@somera commented on GitHub (Nov 27, 2023):
@lunny no changes here with 1.21.1
@somera commented on GitHub (Nov 27, 2023):
@lunny when I do this
than I see the original_url. Looks good.
I restarted my memcached. But there was no change.
@somera commented on GitHub (Nov 28, 2023):
@lunny any updates here? The problem makes it a little difficult for me to work with Gitea.
@somera commented on GitHub (Nov 29, 2023):
@lunny I found the problem. ~17% mirrors are affected on my gitea instance. The problem is, that in the
mirrorstable theremote_addresscolumn is empty. I can fix it by setting the column. But there is an bug, cause I migrated new mirrors and some days later the url was empty.The question is: why is this empty?
@somera commented on GitHub (Dec 2, 2023):
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.
@yp05327 commented on GitHub (Dec 5, 2023):
Maybe related to #26952
@lunny commented on GitHub (Dec 5, 2023):
Let's leave the issue open since it's possible a bug. And how did you do the workaround?
@yp05327 commented on GitHub (Dec 5, 2023):
It seems that this issue is caused by the migration, as
remote_addresscolumn is empty butoriginal_urlis not.@somera commented on GitHub (Dec 5, 2023):
I set
remote_addressto the same value likeoriginal_url. Before I did this, I compared all te mirrors whereremote_addresswas set.@lunny commented on GitHub (Mar 4, 2024):
After you fix it manually, does any mirrors remote_address become empty?
@wxiaoguang commented on GitHub (Mar 4, 2024):
There are not only one issue report for the RemoteAddress problem (eg: #29132)
I think " Add RemoteAddress to mirrors #26952 " is not robust enough.
@somera commented on GitHub (Mar 4, 2024):
No. It works fine.
@lunny commented on GitHub (Mar 4, 2024):
Yes, but maybe we can close this one or keep this open for some future refactor PRs about that?
@wxiaoguang commented on GitHub (Mar 4, 2024):
But I just hope there could be a PR fixing the robust problem. It is critical and stops users from upgrading.
@richex-cn commented on GitHub (Jan 22, 2025):
Same issue when I migrate to new version. I have manually fixed it using the following SQL:
@somera commented on GitHub (Jan 22, 2025):
I didn't see this issue again after my manual fix in 2023.
@wxiaoguang commented on GitHub (Jan 22, 2025):
Yup, it is a bug of #26952 (the migration), so after the version upgrade, it's unlikely to happen again.