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

The repository names listing at home page is empty by default after upgrading to 1.12.6. #13843

Closed
1 of 6 tasks
biju-ps opened this issue Dec 4, 2020 · 4 comments
Closed
1 of 6 tasks

Comments

@biju-ps
Copy link

biju-ps commented Dec 4, 2020

  • Gitea version :1.12.6

  • Git version: 2.17

  • Operating system: Ubuntu 18.04

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
  • Log gist:

Description

The repository names listing is empty by default after upgrading to 1.12.6.
The List will populate once you play around with the filter option.
FYI All my repositories are private
Screen capture attached
...

Screenshots

gitea_issue3

@ghost
Copy link

ghost commented Feb 26, 2021

Similar problem for me with Gitea 1.12.6 on Debian 4.9 and Git 2.11.

All repositories are private.
Only the ones I created after the upgrade appear.

To display all non-archived repositories, I have to check both boxes (archived and private).
But it also displays the archived repositories which does not interest me.

Especially since the order of display is according to the date of last operation and the last operation performed is an archiving, so they appear first .

@zeripath
Copy link
Contributor

I suspect that this is a duplicate of another already solved issues and due to is_archived fields being NULL. I'm not certain how this has happened as it should not and won't happen in future.

Run:

gitea doctor --run check-db-consistency

To check what is inconsistent

and

gitea doctor --run check-db-consistency --fix

to fix them.

@ghost
Copy link

ghost commented Mar 1, 2021

I suspect that this is a duplicate of another already solved issues and due to is_archived fields being NULL. I'm not certain how this has happened as it should not and won't happen in future.

Run:

gitea doctor --run check-db-consistency

To check what is inconsistent

and

gitea doctor --run check-db-consistency --fix

to fix them.

Thanks but nothing's returned from gitea doctor --run check-db-consistency

@zeripath
Copy link
Contributor

zeripath commented Mar 1, 2021

You need to run the doctor command with the appropriate environment and flags for your system. That is, you are likely to need to set -c for the path to the config file etc.

You could also check your db to see if the is_archived field in the repository table contains any nulls? It should not and they should all be false or true. (with true/false mapped appropriately for your db.)

If you are running 1.12.6 I recommend you upgrade to 1.13.2 in any case.

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants