Skip to content

Users and Organizations gone #17748

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
MrCoala opened this issue Nov 21, 2021 · 4 comments
Closed

Users and Organizations gone #17748

MrCoala opened this issue Nov 21, 2021 · 4 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@MrCoala
Copy link

MrCoala commented Nov 21, 2021

Hello,

all my users seem to be gone but they can still login. Same applies to organizations. I created two new admin users via the command line and these are the only two users that show up in the admin area:

image

The users that dont show up any longer are still able to login though. Also if i login with such a broken user i am still able to see the organizations. The both new users cant see the old users nor do they show up in the admin interface (same applies to organizations)

I used the doctor to recreate the user table and made him perform all checks but the problem still persists.

Any idea on how i could solve that?

@techknowlogick
Copy link
Member

There is a form that requests specific information that you have bypassed. We request this information because it helps us help you otherwise we would be completely guessing. Please provide this information.

@techknowlogick techknowlogick added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Nov 21, 2021
@MrCoala
Copy link
Author

MrCoala commented Nov 22, 2021

Sorry,

here is the requested information:

gitea version:
1.15.6

databse: sqlite

running as docker (latest) and i keep automatically update the container once a week.

The difference between the users within the database for the users that show up / i created with the command line tool:

not defined fields: full_name, keep_email_private, login_type, login_name, type, location, all num_* fields except num_following, use_custom_avatar, allow_* fields

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Feb 8, 2022

The number comes from SELECT COUNT(*) FROM user WHERE type=0 (0 is normal user, 1 is org)

Did you do some operation to you SQLite database? Restored?

@wxiaoguang
Copy link
Contributor

stale

@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
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

3 participants