Skip to content

Neverending Repository Migration Blocks All Current and Future Migrations #17005

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
1 task done
SentToDevNull opened this issue Sep 9, 2021 · 8 comments
Closed
1 task done

Comments

@SentToDevNull
Copy link

SentToDevNull commented Sep 9, 2021

  • Gitea version (or commit ref): Gitea version 1.15.2 built with GNU Make 4.1, go1.16.7 : bindata, sqlite, sqlite_unlock_notify
    • this release executable was downloaded directly from Github
  • Git version: Git Version: 2.31.1, Wire Protocol Version 2 Enabled
  • Operating system: Gentoo (stable)
  • Database (use [x]):
    • PostgreSQL
  • Attempt to reproduce this bug on gitea.io: bug not present on gitea.io instance when migrating same repository
  • Log gist: see here
    • search for "blockbook"; this is the repository that never stops migrating; I've migrated far larger repositories than this in the past, and they all both finished and finished within at least a few hours; this one is small and has taken days so far
    • note: the migration of "blockbook" (to "trezor-blockbook-archived") prevents any and all future migrations, which exhibit the same behavior of appearing to take (literally) forever to migrate, even when the repositories I try to migrate are empty test repositories
@delvh
Copy link
Member

delvh commented Sep 10, 2021

Well, as it seems, there seems to exist an infinite recursion inside LDAP because of some error. (line [0m�[32m...es/auth/ldap/ldap.go:199:�[32mcheckAdmin()�[0m �[1;31m[E]�[0m LDAP Admin Search failed unexpectedly! (�[1mLDAP Result Code 201 "Filter Compile Error": ldap: filter does not start with an '('�[0m) and below).
That would be my uneducated guess.
By the way interesting that Gitea logs can be colored…

Related: #12917

@zeripath
Copy link
Contributor

By the way interesting that Gitea logs can be colored…

Yes, log coloring has been available since 1.7 - it's very helpful for looking at the logs on an color terminal or reader, but it can also easily be turned off as necessary [log] COLORIZE=false

However, the advice when sending us logs for issues, as linked to in the issue proforma (https://docs.gitea.io/en-us/logging-configuration/#debugging-problems) is to turn off the coloring unless you're able to strip out the coloring for us because Github (and Gitea for that matter, and most editors) won't apply the ANSI coloring codes so it's just going to make it harder for us to help.


LDAP Result Code 201 "Filter Compile Error": ldap: filter does not start with an '('

Thank you for finding this - I'll take a look at that.

Just on the face of it "Filter Compile Error" sounds like a misconfiguration error to me but it may be that we're doing something silly/bad like composing the filter using something that essentially boils down to fmt.Sprintf("cn=%s,....", someUserProvidedString) and then compiling that output. If we're doing that well...

Clearly if it's a misconfiguration error we should be handling it and then inactivating the source.

@SentToDevNull
Copy link
Author

SentToDevNull commented Sep 10, 2021

The only thing I have LDAP set up for is login to the Gitea instance, and I've never had any issue with it. I've just logged out and logged back in, and that works just fine.

I'm also not using authentication (LDAP or other) in that migration of the Github repo that stalls forever; that migration is done with only a Github API token and no other credentials.

Is there any way to just kill the migration? Maybe that will mitigate this issue. (Unfortunately stopping Gitea and restarting it doesn't help in that regard.)

@zeripath
Copy link
Contributor

The only thing I have LDAP set up for is login to the Gitea instance, and I've never had any issue with it. I've just logged out and logged back in, and that works just fine.

I'm also not using authentication (LDAP or other) in that migration of the Github repo that stalls forever; that migration is done with only a Github API token and no other credentials.

Yeah looking at the logs I don't think this is the issue. However, it's clear that the adminFilter and the restrictedFilter here are incorrect and you should check them.

Is there any way to just kill the migration? Maybe that will mitigate this issue. (Unfortunately stopping Gitea and restarting it doesn't help in that regard.)

I think we need to work out where in the migration it is stuck.

The suspicious line to me is:

2021/09/07 23:34:25 ...ns/gitea_uploader.go:824:func2() [W] GetRepoRawDiffForFile failed when migrating [/opt/storage/gitea/data/gitea-repositories/hardwareandembeddedsw/trezor-blockbook-archived.git, 16c32098f>

but I'm not sure if that's really the issue.

When there is a migration you should now get told which thing it is attempting to migrate. What does it report that it is migrating?

Could you add a trace logger with EXPRESSION=modules/migrations as per the instructions on https://docs.gitea.io/en-us/logging-configuration/#debugging-problems

@zeripath
Copy link
Contributor

You also aren't telling us where you're migrating from. Is this from Github?

@NexZhu
Copy link

NexZhu commented Sep 27, 2021

Encountered the same issue on a fresh install. I've added a trace logger with EXPRESSION=modules/migrations as mentioned by @zeripath , there's no error in the log, just infinite loop of some DB queries. I'm migrating a repo from a self-hosted Phabricator instance with public access (I only set it to public access temporally to make sure it's not related to authentication issue).

2021/09/27 23:00:49 ...s/graceful/server.go:62:NewServer() [I] Starting new Web server: tcp:0.0.0.0:3000 on PID: 17
2021/09/27 23:00:49 ...s/graceful/server.go:75:func1() [D] Starting server on tcp:0.0.0.0:3000 (PID: 17)
2021/09/27 23:00:59 Started GET /metrics for 10.0.1.119:57850
2021/09/27 23:00:59 models/user.go:949:CountUsers() [I] [SQL] SELECT count(*) FROM "user" WHERE (type=0) [] - 574.425µs
2021/09/27 23:00:59 models/models.go:285:GetStatistic() [I] [SQL] SELECT count(*) FROM "user" WHERE (type=1) [] - 595.225µs
2021/09/27 23:00:59 models/models.go:286:GetStatistic() [I] [SQL] SELECT count(*) FROM "public_key" [] - 313.132µs
2021/09/27 23:00:59 models/repo.go:1199:CountRepositories() [I] [SQL] SELECT count(*) FROM "repository" WHERE (id > 0) [] - 293.312µs
2021/09/27 23:00:59 models/models.go:288:GetStatistic() [I] [SQL] SELECT count(*) FROM "watch" [] - 251.325µs
2021/09/27 23:00:59 models/models.go:289:GetStatistic() [I] [SQL] SELECT count(*) FROM "star" [] - 277.885µs
2021/09/27 23:00:59 models/models.go:290:GetStatistic() [I] [SQL] SELECT count(*) FROM "action" [] - 340.95µs
2021/09/27 23:00:59 models/models.go:291:GetStatistic() [I] [SQL] SELECT count(*) FROM "access" [] - 202.831µs
2021/09/27 23:00:59 models/models.go:292:GetStatistic() [I] [SQL] SELECT count(*) FROM "issue" [] - 162.851µs
2021/09/27 23:00:59 models/models.go:293:GetStatistic() [I] [SQL] SELECT count(*) FROM "comment" [] - 159.651µs
2021/09/27 23:00:59 models/models.go:295:GetStatistic() [I] [SQL] SELECT count(*) FROM "follow" [] - 206.154µs
2021/09/27 23:00:59 models/models.go:296:GetStatistic() [I] [SQL] SELECT count(*) FROM "mirror" [] - 236.787µs
2021/09/27 23:00:59 models/models.go:297:GetStatistic() [I] [SQL] SELECT count(*) FROM "release" [] - 300.063µs
2021/09/27 23:00:59 ...dels/login_source.go:490:CountLoginSources() [I] [SQL] SELECT count(*) FROM "login_source" [] - 351.495µs
2021/09/27 23:00:59 models/models.go:299:GetStatistic() [I] [SQL] SELECT count(*) FROM "webhook" [] - 309.708µs
2021/09/27 23:00:59 models/models.go:300:GetStatistic() [I] [SQL] SELECT count(*) FROM "milestone" [] - 296.631µs
2021/09/27 23:00:59 models/models.go:301:GetStatistic() [I] [SQL] SELECT count(*) FROM "label" [] - 201.125µs
2021/09/27 23:00:59 models/models.go:302:GetStatistic() [I] [SQL] SELECT count(*) FROM "hook_task" [] - 244.444µs
2021/09/27 23:00:59 models/models.go:303:GetStatistic() [I] [SQL] SELECT count(*) FROM "team" [] - 218.873µs
2021/09/27 23:00:59 models/models.go:304:GetStatistic() [I] [SQL] SELECT count(*) FROM "attachment" [] - 324.781µs
2021/09/27 23:00:59 Completed GET /metrics 200 OK in 7.849027ms
2021/09/27 23:00:59 ...ource/manager_run.go:40:Run() [T] Event source has no listeners
2021/09/27 23:00:59 ...ource/manager_run.go:50:Run() [T] Pausing the eventsource
2021/09/27 23:01:00 Started GET /bdware/bdledger for 10.0.0.145:13234
2021/09/27 23:01:00 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:00 ...s/context/context.go:741:1() [D] CSRF Token: wt2ep1jT6d5r483u20_O5uU61dI6MTYzMjc4MzI4NjEyMDMyNzYyMA
2021/09/27 23:01:00 Completed GET /bdware/bdledger 302 Found in 260.44µs
2021/09/27 23:01:01 Started GET /user/login for 10.0.0.145:13234
2021/09/27 23:01:01 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:01 ...s/context/context.go:741:1() [D] CSRF Token: wt2ep1jT6d5r483u20_O5uU61dI6MTYzMjc4MzI4NjEyMDMyNzYyMA
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "lower_name"=$1 LIMIT 1 [zhuxiaomin] - 810.456µs
2021/09/27 23:01:01 Completed GET /user/login 302 Found in 1.70289ms
2021/09/27 23:01:01 Started GET /bdware/bdledger for 10.0.0.145:13234
2021/09/27 23:01:01 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:01 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:01 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:01 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 842.396µs
2021/09/27 23:01:01 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:01 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 435.342µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "lower_name"=$1 LIMIT 1 [bdware] - 396.498µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "owner_id", "owner_name", "lower_name", "name", "description", "website", "original_service_type", "original_url", "default_branch", "num_watches", "num_stars", "num_forks", "num_issues", "num_closed_issues", "num_pulls", "num_closed_pulls", "num_milestones", "num_closed_milestones", "num_projects", "num_closed_projects", "is_private", "is_empty", "is_archived", "is_mirror", "status", "is_fork", "fork_id", "is_template", "template_id", "size", "is_fsck_enabled", "close_issues_via_commit_in_any_branch", "topics", "trust_model", "avatar", "created_unix", "updated_unix" FROM "repository" WHERE "owner_id"=$1 AND "lower_name"=$2 LIMIT 1 [3 bdledger] - 432.075µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "repo_id", "user_id", "mode", "created_unix", "updated_unix" FROM "collaboration" WHERE "repo_id"=$1 AND "user_id"=$2 LIMIT 1 [8 2] - 470.063µs
2021/09/27 23:01:01 models/repo_unit.go:210:getUnitsByRepoID() [I] [SQL] SELECT "id", "repo_id", "type", "config", "created_unix" FROM "repo_unit" WHERE (repo_id = $1) [8] - 398.301µs
2021/09/27 23:01:01 models/repo.go:349:getUnits() [T] repo.Units: [0xc007284fc0 0xc007285020 0xc007285410 0xc007285bf0 0xc007285c50 0xc007285cb0]
2021/09/27 23:01:01 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 2:zhuxiaomin in 8:bdware/bdledger:
Permissions: AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [
Units[0]: ID: 43 RepoID: 8 Type: 1:UnitTypeCode Config: {}
Units[1]: ID: 44 RepoID: 8 Type: 2:UnitTypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}
Units[2]: ID: 45 RepoID: 8 Type: 3:UnitTypePullRequests Config: {"IgnoreWhitespaceConflicts":false,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":false,"DefaultMergeStyle":"merge"}
Units[3]: ID: 46 RepoID: 8 Type: 4:UnitTypeReleases Config: {}
Units[4]: ID: 47 RepoID: 8 Type: 5:UnitTypeWiki Config: {}
Units[5]: ID: 48 RepoID: 8 Type: 8:UnitTypeProjects Config: {} ]
2021/09/27 23:01:01 ...s/repo_pushmirror.go:97:GetPushMirrorsByRepoID() [I] [SQL] SELECT "id", "repo_id", "remote_name", "interval", "created_unix", "last_update", "last_error" FROM "push_mirror" WHERE (repo_id=$1) [8] - 404.083µs
2021/09/27 23:01:01 ...ules/context/repo.go:469:RepoAssignment() [I] [SQL] SELECT count(*) FROM "release" WHERE repo_id=$1 AND is_draft=$2 [8 false] - 301.528µs
2021/09/27 23:01:01 ...ules/context/repo.go:476:RepoAssignment() [I] [SQL] SELECT count(*) FROM "release" WHERE repo_id=$1 AND is_draft=$2 AND is_tag=$3 [8 false false] - 505.266µs
2021/09/27 23:01:01 models/repo.go:2001:HasForkedRepo() [I] [SQL] SELECT "id", "owner_id", "owner_name", "lower_name", "name", "description", "website", "original_service_type", "original_url", "default_branch", "num_watches", "num_stars", "num_forks", "num_issues", "num_closed_issues", "num_pulls", "num_closed_pulls", "num_milestones", "num_closed_milestones", "num_projects", "num_closed_projects", "is_private", "is_empty", "is_archived", "is_mirror", "status", "is_fork", "fork_id", "is_template", "template_id", "size", "is_fsck_enabled", "close_issues_via_commit_in_any_branch", "topics", "trust_model", "avatar", "created_unix", "updated_unix" FROM "repository" WHERE (owner_id=$1 AND fork_id=$2) LIMIT 1 [2 8] - 425.692µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "user_id", "repo_id", "mode", "created_unix", "updated_unix" FROM "watch" WHERE "user_id"=$1 AND "repo_id"=$2 LIMIT 1 [2 8] - 241.297µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "uid", "repo_id", "created_unix" FROM "star" WHERE "uid"=$1 AND "repo_id"=$2 LIMIT 1 [2 8] - 327.999µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "repo_id"=$1 LIMIT 1 [8] - 409.354µs
2021/09/27 23:01:01 ...s/context/context.go:185:HTML() [D] Template: repo/migrate/migrating
2021/09/27 23:01:01 ...dels/notification.go:716:GetNotificationCount() [I] [SQL] SELECT count(*) FROM "notification" WHERE (user_id = $1) AND (status = $2) [2 1] - 539.905µs
2021/09/27 23:01:01 Completed GET /bdware/bdledger 200 OK in 17.603674ms
2021/09/27 23:01:01 Started GET /avatar/2543e8fe0b185956004c8d8d518af173?size=96 for 10.0.0.145:13234
2021/09/27 23:01:01 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:01 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:01 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:01 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 620.929µs
2021/09/27 23:01:01 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:01 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 296.766µs
2021/09/27 23:01:01 Completed GET /avatar/2543e8fe0b185956004c8d8d518af173?size=96 302 Found in 70.503562ms
2021/09/27 23:01:01 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:01 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:01 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:01 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:01 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 650.443µs
2021/09/27 23:01:01 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:01 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 309.959µs
2021/09/27 23:01:01 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 335.994µs
2021/09/27 23:01:01 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.975881ms
2021/09/27 23:01:03 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:03 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:03 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:03 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:03 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 661.372µs
2021/09/27 23:01:03 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:03 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 537.961µs
2021/09/27 23:01:03 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 448.882µs
2021/09/27 23:01:03 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.28076ms
2021/09/27 23:01:05 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:05 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:05 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:05 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:05 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 621.112µs
2021/09/27 23:01:05 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:05 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 367.075µs
2021/09/27 23:01:05 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 317.678µs
2021/09/27 23:01:05 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.935842ms
2021/09/27 23:01:08 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:08 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:08 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:08 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:08 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 619.595µs
2021/09/27 23:01:08 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:08 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 327.77µs
2021/09/27 23:01:08 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 325.472µs
2021/09/27 23:01:08 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.837685ms
2021/09/27 23:01:11 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:11 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:11 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:11 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:11 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 616.931µs
2021/09/27 23:01:11 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:11 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 370.964µs
2021/09/27 23:01:11 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 297.139µs
2021/09/27 23:01:11 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.916486ms
2021/09/27 23:01:14 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:14 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:14 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:14 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:14 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 666.855µs
2021/09/27 23:01:14 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:14 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 353.446µs
2021/09/27 23:01:14 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 351.265µs
2021/09/27 23:01:14 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.310192ms
2021/09/27 23:01:17 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:17 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:17 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:17 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:17 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 678.396µs
2021/09/27 23:01:17 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:17 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 356.307µs
2021/09/27 23:01:17 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 380.471µs
2021/09/27 23:01:17 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.004239ms
2021/09/27 23:01:20 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:20 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:20 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:20 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:20 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 620.49µs
2021/09/27 23:01:20 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:20 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 407.755µs
2021/09/27 23:01:20 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 305.44µs
2021/09/27 23:01:20 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.955778ms
2021/09/27 23:01:23 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:23 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:23 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:23 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:23 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 651.542µs
2021/09/27 23:01:23 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:23 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 362.531µs
2021/09/27 23:01:23 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 341.439µs
2021/09/27 23:01:23 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.989075ms
2021/09/27 23:01:26 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:26 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:26 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:26 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:26 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 608.946µs
2021/09/27 23:01:26 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:26 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 351.022µs
2021/09/27 23:01:26 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 311.363µs
2021/09/27 23:01:26 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.844669ms
2021/09/27 23:01:29 Started GET /metrics for 10.0.1.119:57850
2021/09/27 23:01:29 models/user.go:949:CountUsers() [I] [SQL] SELECT count(*) FROM "user" WHERE (type=0) [] - 512.241µs
2021/09/27 23:01:29 models/models.go:285:GetStatistic() [I] [SQL] SELECT count(*) FROM "user" WHERE (type=1) [] - 308.716µs
2021/09/27 23:01:29 models/models.go:286:GetStatistic() [I] [SQL] SELECT count(*) FROM "public_key" [] - 402.02µs
2021/09/27 23:01:29 models/repo.go:1199:CountRepositories() [I] [SQL] SELECT count(*) FROM "repository" WHERE (id > 0) [] - 351.648µs
2021/09/27 23:01:29 models/models.go:288:GetStatistic() [I] [SQL] SELECT count(*) FROM "watch" [] - 188.13µs
2021/09/27 23:01:29 models/models.go:289:GetStatistic() [I] [SQL] SELECT count(*) FROM "star" [] - 163.469µs
2021/09/27 23:01:29 models/models.go:290:GetStatistic() [I] [SQL] SELECT count(*) FROM "action" [] - 500.824µs
2021/09/27 23:01:29 models/models.go:291:GetStatistic() [I] [SQL] SELECT count(*) FROM "access" [] - 236.137µs
2021/09/27 23:01:29 models/models.go:292:GetStatistic() [I] [SQL] SELECT count(*) FROM "issue" [] - 214.414µs
2021/09/27 23:01:29 models/models.go:293:GetStatistic() [I] [SQL] SELECT count(*) FROM "comment" [] - 473.131µs
2021/09/27 23:01:29 models/models.go:295:GetStatistic() [I] [SQL] SELECT count(*) FROM "follow" [] - 311.678µs
2021/09/27 23:01:29 models/models.go:296:GetStatistic() [I] [SQL] SELECT count(*) FROM "mirror" [] - 277.482µs
2021/09/27 23:01:29 models/models.go:297:GetStatistic() [I] [SQL] SELECT count(*) FROM "release" [] - 197.99µs
2021/09/27 23:01:29 ...dels/login_source.go:490:CountLoginSources() [I] [SQL] SELECT count(*) FROM "login_source" [] - 197.918µs
2021/09/27 23:01:29 models/models.go:299:GetStatistic() [I] [SQL] SELECT count(*) FROM "webhook" [] - 368.893µs
2021/09/27 23:01:29 models/models.go:300:GetStatistic() [I] [SQL] SELECT count(*) FROM "milestone" [] - 267.569µs
2021/09/27 23:01:29 models/models.go:301:GetStatistic() [I] [SQL] SELECT count(*) FROM "label" [] - 352.987µs
2021/09/27 23:01:29 models/models.go:302:GetStatistic() [I] [SQL] SELECT count(*) FROM "hook_task" [] - 294.287µs
2021/09/27 23:01:29 models/models.go:303:GetStatistic() [I] [SQL] SELECT count(*) FROM "team" [] - 275.142µs
2021/09/27 23:01:29 models/models.go:304:GetStatistic() [I] [SQL] SELECT count(*) FROM "attachment" [] - 260.436µs
2021/09/27 23:01:29 Completed GET /metrics 200 OK in 8.201303ms
2021/09/27 23:01:29 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:29 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:29 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:29 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:29 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 661.292µs
2021/09/27 23:01:29 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:29 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 357.392µs
2021/09/27 23:01:29 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 430.89µs
2021/09/27 23:01:29 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.080654ms
2021/09/27 23:01:32 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:32 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:32 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:32 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:32 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 698.111µs
2021/09/27 23:01:32 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:32 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 404.61µs
2021/09/27 23:01:32 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 300.869µs
2021/09/27 23:01:32 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.035501ms
2021/09/27 23:01:35 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:35 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:35 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:35 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:35 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 639.345µs
2021/09/27 23:01:35 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:35 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 339.216µs
2021/09/27 23:01:35 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 302.416µs
2021/09/27 23:01:35 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.8354ms
2021/09/27 23:01:38 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:38 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:38 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:38 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:38 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 628.178µs
2021/09/27 23:01:38 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:38 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 369.242µs
2021/09/27 23:01:38 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 334.764µs
2021/09/27 23:01:38 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.935711ms
2021/09/27 23:01:41 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:41 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:41 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:41 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:41 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 670.759µs
2021/09/27 23:01:41 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:41 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 380.75µs
2021/09/27 23:01:41 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 313.342µs
2021/09/27 23:01:41 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.0242ms
2021/09/27 23:01:44 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:44 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:44 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:44 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:44 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 651.998µs
2021/09/27 23:01:44 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:44 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 375.455µs
2021/09/27 23:01:44 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 327.371µs
2021/09/27 23:01:44 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.92795ms
2021/09/27 23:01:47 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:47 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:47 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:47 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:47 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 780.61µs
2021/09/27 23:01:47 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:47 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 447.124µs
2021/09/27 23:01:47 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 311.992µs
2021/09/27 23:01:47 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 2.164114ms
2021/09/27 23:01:50 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:50 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:50 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:50 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:50 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 629.489µs
2021/09/27 23:01:50 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:50 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 390.388µs
2021/09/27 23:01:50 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 301.808µs
2021/09/27 23:01:50 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.898129ms
2021/09/27 23:01:53 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:53 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:53 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:53 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:53 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 637.703µs
2021/09/27 23:01:53 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:53 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 383.088µs
2021/09/27 23:01:53 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 352.344µs
2021/09/27 23:01:53 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.965317ms
2021/09/27 23:01:56 Started GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA for 10.0.0.145:13234
2021/09/27 23:01:56 ...s/context/context.go:740:1() [D] Session ID: 3d5dacd04f077e48
2021/09/27 23:01:56 ...s/context/context.go:741:1() [D] CSRF Token: QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA
2021/09/27 23:01:56 ...ices/auth/session.go:57:SessionUser() [T] Session Authorization: Found user[2]
2021/09/27 23:01:56 models/user.go:1370:getUserByID() [I] [SQL] SELECT "id", "lower_name", "name", "full_name", "email", "keep_email_private", "email_notifications_preference", "passwd", "passwd_hash_algo", "must_change_password", "login_type", "login_source", "login_name", "type", "location", "website", "rands", "salt", "language", "description", "created_unix", "updated_unix", "last_login_unix", "last_repo_visibility", "max_repo_creation", "is_active", "is_admin", "is_restricted", "allow_git_hook", "allow_import_local", "allow_create_organization", "prohibit_login", "avatar", "avatar_email", "use_custom_avatar", "num_followers", "num_following", "num_stars", "num_repos", "num_teams", "num_members", "visibility", "repo_admin_change_team_access", "diff_view_style", "theme", "keep_activity_private" FROM "user" WHERE "id"=$1 LIMIT 1 [2] - 624.164µs
2021/09/27 23:01:56 ...ices/auth/session.go:73:SessionUser() [T] Session Authorization: Logged in user 2:zhuxiaomin
2021/09/27 23:01:56 ...s/issue_stopwatch.go:73:hasUserStopwatch() [I] [SQL] SELECT "id", "issue_id", "user_id", "created_unix" FROM "stopwatch" WHERE (user_id = $1) LIMIT 1 [2] - 358.457µs
2021/09/27 23:01:56 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT "id", "doer_id", "owner_id", "repo_id", "type", "status", "start_time", "end_time", "payload_content", "message", "created" FROM "task" WHERE "id"=$1 AND "doer_id"=$2 LIMIT 1 [4 2] - 379.514µs
2021/09/27 23:01:56 Completed GET /user/task/4?_csrf=QQ1KILswe8OMIJG-gidPaEw-pz46MTYzMjc4MzY2MTAxNjAyMjU1OA 200 OK in 1.937441ms
2021/09/27 23:01:59 Started GET /metrics for 10.0.1.119:57850

@NexZhu
Copy link

NexZhu commented Sep 27, 2021

Please help, need a way to at least stop (fail) the migration somehow (restarting Gitea didn't help), so that I can push the same repo manually.

@wxiaoguang
Copy link
Contributor

It seems that you only have one worker for migration queue.

1.20 the queue has been completely rewritten, you can also set many workers (eg: 10) to work together, then the migration won't be blocked by a particular one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 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

5 participants