Skip to content
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

Tags not visible after upgrade to 1.20.5 #28043

Closed
dawnstrider opened this issue Nov 14, 2023 · 2 comments
Closed

Tags not visible after upgrade to 1.20.5 #28043

dawnstrider opened this issue Nov 14, 2023 · 2 comments
Labels
issue/workaround it is or has a workaround type/bug

Comments

@dawnstrider
Copy link

Description

I am trying to migrate from GOGS to GITEA. I have successfully taken all data, migrated to 1.0.2, then upgraded all the way to 1.19.4. I did "doctor recreate-table" with 1.19.4 to fix the table issues from previous versions.

Now, when I upgrade to 1.20.5, my repos loose all their tags in the UI. They are still there when i do a checkout, but not visible in the UI anymore.

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Self-hosted on Ubuntu with the binary file.

Database

None

@JakobDev
Copy link
Contributor

The tags are read from the database. Have you tried to push with the tags to the repo, to maybe trigger Gitea to add the branches to the database? I think this should also be added to the Admin dashboard.

@dawnstrider
Copy link
Author

Thanks for the hint. I found a solution with your remark:

To populate the "releases" table, which seems to be used for the tags since 1.20.x, I need to run "gitea-.... admin repo-sync-releases" which will put all tags into the releases table.

Afterwards, the tag list is updated again on the UI.

@lunny lunny added the issue/workaround it is or has a workaround label Nov 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/workaround it is or has a workaround type/bug
Projects
None yet
Development

No branches or pull requests

3 participants