Skip to content

Releases page is 404 after migrating from 1.2.3 to 1.11.3 #10987

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

Closed
2 of 7 tasks
rougin opened this issue Apr 6, 2020 · 2 comments
Closed
2 of 7 tasks

Releases page is 404 after migrating from 1.2.3 to 1.11.3 #10987

rougin opened this issue Apr 6, 2020 · 2 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@rougin
Copy link

rougin commented Apr 6, 2020

  • Gitea version (or commit ref): 1.11.3
  • Git version: 2.22
  • Operating system: CentOS 6
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Hi, I would like to raise an issue regarding the "Releases" page being 404 after upgrading it to 1.11.3 from 1.2.3. For the upgrading process, I tried to upgrade to each version (1.2 to 1.3 then 1.3 to 1.4, etc.). Even though there are some issues encountered along the way, I managed to upgrade its version to the latest but I overlooked this one.

I initially thought this was caused by the Git version as stated on #1133 so I updated the Git to its latest version but the issue still persists. When I go to the FAQ page, I executed the commands found in the Missing releases after migrating repository with tags but with no progress. I guess this might be a UI issue so I tried to access it directly through a URL however it shows 404.

I can confirm also that the Releases page will only show on created repositories after the said upgrade. I created a new repository and pushed a single file then the Releases page shows up after. This is not the case on existing repositories though.

@rougin rougin changed the title Releases page is 404 after migrating to 1.11.3 Releases page is 404 after migrating to 1.11.3 from 1.2.3 Apr 6, 2020
@lunny
Copy link
Member

lunny commented Apr 6, 2020

It may because you lost some data on table repo_unit. I remember somebody has workround about that you can search on issues.

@lunny lunny added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Apr 6, 2020
@rougin
Copy link
Author

rougin commented Apr 6, 2020

Hi, @lunny thanks for the response. Fortunately, I was able to fix this issue on my own. In the settings of the specified repository, I just press the Update Settings button in the Advanced Settings and both Releases and Activity tabs were now visible on the page. With this, I will now close this issue.

@rougin rougin closed this as completed Apr 6, 2020
@rougin rougin changed the title Releases page is 404 after migrating to 1.11.3 from 1.2.3 Releases page is 404 after migrating from 1.2.3 to 1.11.3 Apr 11, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

2 participants