Why cause 500 error? #9115

Closed
opened 2025-11-02 08:29:50 -06:00 by GiteaMirror · 12 comments
Owner

Originally created by @CoderJackLiu on GitHub (Jun 23, 2022).

Description

I can not find the reason of 500 error. and do not know how to resolve it.The account page and administrator page is normal except the Repository page. how can I resolve it . thanks a lot.
system :windows
version:gitea 16.6/16.8

Gitea Version

gitea 16.6/gitea 16.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

I can not find the log file.

Screenshots

image

Git Version

2.35.3

Operating System

windows

How are you running Gitea?

I download gitea exe from the official website.

Database

SQLite

Originally created by @CoderJackLiu on GitHub (Jun 23, 2022). ### Description I can not find the reason of 500 error. and do not know how to resolve it.The account page and administrator page is normal except the Repository page. how can I resolve it . thanks a lot. system :windows version:gitea 16.6/16.8 ### Gitea Version gitea 16.6/gitea 16.8 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist I can not find the log file. ### Screenshots ![image](https://user-images.githubusercontent.com/26760292/175187788-f54ae88e-0719-4750-8c15-61b082b78f8c.png) ### Git Version 2.35.3 ### Operating System windows ### How are you running Gitea? I download gitea exe from the official website. ### Database SQLite
GiteaMirror added the issue/needs-feedback label 2025-11-02 08:29:50 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 23, 2022):

Logs.

https://docs.gitea.io/en-us/seek-help/

@wxiaoguang commented on GitHub (Jun 23, 2022): Logs. https://docs.gitea.io/en-us/seek-help/
Author
Owner

@CoderJackLiu commented on GitHub (Jun 23, 2022):

Logs.

https://docs.gitea.io/en-us/seek-help/

well, there is no log file in my "gitea/log/" Directory. so how can I enable it? The directory is setting in the config file.

image
image

@CoderJackLiu commented on GitHub (Jun 23, 2022): > Logs. > > https://docs.gitea.io/en-us/seek-help/ well, there is no log file in my "gitea/log/" Directory. so how can I enable it? The directory is setting in the config file. ![image](https://user-images.githubusercontent.com/26760292/175198350-efd7f333-4272-47c0-91e7-e311811e9461.png) ![image](https://user-images.githubusercontent.com/26760292/175198402-e6e57e75-5c60-4a3e-8c4a-09933ea4a546.png)
Author
Owner

@techknowlogick commented on GitHub (Jun 23, 2022):

@asypost your logs don't show a 500 error, however the original reporter has just said there is a 500 error we can't confirm anything about the bug.

I am going to close this because we need logs to be able to know anything about how to help. There is a link provided when reporting issues for how to get appropriate logs.

@techknowlogick commented on GitHub (Jun 23, 2022): @asypost your logs don't show a 500 error, however the original reporter has just said there is a 500 error we can't confirm anything about the bug. I am going to close this because we need logs to be able to know anything about how to help. There is a link provided when reporting issues for how to get appropriate logs.
Author
Owner

@wxiaoguang commented on GitHub (Jun 23, 2022):

well, there is no log file in my "gitea/log/" Directory. so how can I enable it? The directory is setting in the config file.

You need change the log.MODE to file, read the document. https://docs.gitea.io/en-us/logging-configuration/

@wxiaoguang commented on GitHub (Jun 23, 2022): > well, there is no log file in my "gitea/log/" Directory. so how can I enable it? The directory is setting in the config file. You need change the `log.MODE` to `file`, read the document. https://docs.gitea.io/en-us/logging-configuration/
Author
Owner

@CoderJackLiu commented on GitHub (Jun 23, 2022):

好吧,我的“gitea/log/”目录中没有日志文件。那么我该如何启用它呢?该目录正在配置文件中设置。

您需要将 更改为 ,阅读文档。https://docs.gitea.io/en-us/logging-configuration/log.MODE``file

ok i find the way to enable log file.
here is the log!
2022/06/23 11:17:58 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count() AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954266 1655954276 1]
2022/06/23 11:18:01 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (user_id = ?) LIMIT 1 [1]
2022/06/23 11:18:04 models/org.go:499:GetUserOrgsList() [I] [SQL] SELECT user.id,user.name,user.full_name,user.visibility,user.avatar,user.avatar_email,user.use_custom_avatar, count(distinct repo_id) as org_count FROM user INNER JOIN team ON team.org_id = user.id INNER JOIN team_user ON team.id = team_user.team_id LEFT JOIN (SELECT id as repo_id, owner_id as repo_owner_id FROM repository WHERE (repository.is_private=? AND repository.owner_id NOT IN (SELECT id FROM user WHERE type=? AND visibility IN (?))) OR repository.id IN (SELECT repo_id FROM access WHERE access.user_id=? AND access.mode>?) OR repository.owner_id=? OR repository.id IN (SELECT team_repo.repo_id FROM team_repo INNER JOIN team_user ON team_user.team_id = team_repo.team_id WHERE team_user.uid=?) OR (repository.is_private=? AND repository.owner_id IN (SELECT org_user.org_id FROM org_user WHERE org_user.uid=?))) repository ON repository.repo_owner_id = team.org_id WHERE (team_user.uid = ?) GROUP BY user.id,user.name,user.full_name,user.visibility,user.avatar,user.avatar_email,user.use_custom_avatar ORDER BY user.name ASC [false 1 private 1 0 1 1 false 1 1] - 510.2µs
2022/06/23 11:18:04 ...ers/web/user/home.go:78:Dashboard() [I] [SQL] SELECT count(
) FROM org_user WHERE (uid=?) [1]
2022/06/23 11:18:04 ...dels/user_heatmap.go:70:getUserHeatmapData() [I] [SQL] SELECT created_unix / 900 * 900 AS timestamp, count(user_id) as contributions FROM action WHERE user_id=? AND act_user_id=? AND (created_unix > ?) GROUP BY timestamp ORDER BY timestamp [1 1 1624418284] - 512µs
2022/06/23 11:18:04 ...ls/repo/repo_list.go:18:GetUserMirrorRepositories() [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 = ?) AND (is_mirror = ?) [1 true] - 508.9µs
2022/06/23 11:18:04 models/action.go:340:GetFeeds() [I] [SQL] SELECT id, user_id, op_type, act_user_id, repo_id, comment_id, is_deleted, ref_name, is_private, content, created_unix FROM action WHERE user_id=? AND is_deleted=? ORDER BY created_unix DESC LIMIT 20 [1 false]
2022/06/23 11:18:04 ...odels/action_list.go:37:loadUsers() [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 IN (?,?) [1 2]
2022/06/23 11:18:04 ...odels/action_list.go:72:loadRepositories() [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 id IN (?,?) [28 50]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [3]
2022/06/23 11:18:04 ...s/context/context.go:204:HTML() [D] Template: user/dashboard/dashboard
2022/06/23 11:18:04 ...dels/notification.go:741:GetNotificationCount() [I] [SQL] SELECT count() FROM notification WHERE (user_id = ?) AND (status = ?) [1 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [5791862@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [2]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1] - 62.9µs
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, email, lower_email, is_activated, is_primary FROM email_address WHERE lower_email=? LIMIT 1 [596770421@qq.com]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:04 models/repo_list.go:477:SearchRepositoryByCondition() [I] [SQL] SELECT count(
) FROM repository WHERE (owner_id=? OR (owner_id<>? AND (repository.id IN (SELECT repo_id FROM access WHERE access.user_id=? AND access.mode>?) OR repository.id IN (SELECT team_repo.repo_id FROM team_repo INNER JOIN team_user ON team_user.team_id = team_repo.team_id WHERE team_user.uid=?) OR (repository.is_private=? AND repository.owner_id IN (SELECT org_user.org_id FROM org_user INNER JOIN user ON user.id = org_user.org_id WHERE org_user.uid=? AND user.type=? AND user.visibility=?))))) [1 1 1 0 1 false 1 1 private]
2022/06/23 11:18:04 models/repo_list.go:477:SearchRepositoryByCondition() [I] [SQL] SELECT count() FROM repository WHERE (owner_id=? OR (owner_id<>? AND (repository.id IN (SELECT repo_id FROM access WHERE access.user_id=? AND access.mode>?) OR repository.id IN (SELECT team_repo.repo_id FROM team_repo INNER JOIN team_user ON team_user.team_id = team_repo.team_id WHERE team_user.uid=?) OR (repository.is_private=? AND repository.owner_id IN (SELECT org_user.org_id FROM org_user INNER JOIN user ON user.id = org_user.org_id WHERE org_user.uid=? AND user.type=? AND user.visibility=?))))) AND is_archived=? [1 1 1 0 1 false 1 1 private false]
2022/06/23 11:18:04 models/repo_list.go:487:SearchRepositoryByCondition() [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=? OR (owner_id<>? AND (repository.id IN (SELECT repo_id FROM access WHERE access.user_id=? AND access.mode>?) OR repository.id IN (SELECT team_repo.repo_id FROM team_repo INNER JOIN team_user ON team_user.team_id = team_repo.team_id WHERE team_user.uid=?) OR (repository.is_private=? AND repository.owner_id IN (SELECT org_user.org_id FROM org_user INNER JOIN user ON user.id = org_user.org_id WHERE org_user.uid=? AND user.type=? AND user.visibility=?))))) ORDER BY updated_unix DESC LIMIT 30 [1 1 1 0 1 false 1 1 private]
2022/06/23 11:18:04 models/repo_list.go:487:SearchRepositoryByCondition() [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=? OR (owner_id<>? AND (repository.id IN (SELECT repo_id FROM access WHERE access.user_id=? AND access.mode>?) OR repository.id IN (SELECT team_repo.repo_id FROM team_repo INNER JOIN team_user ON team_user.team_id = team_repo.team_id WHERE team_user.uid=?) OR (repository.is_private=? AND repository.owner_id IN (SELECT org_user.org_id FROM org_user INNER JOIN user ON user.id = org_user.org_id WHERE org_user.uid=? AND user.type=? AND user.visibility=?))))) AND is_archived=? ORDER BY updated_unix DESC LIMIT 15 [1 1 1 0 1 false 1 1 private false]
2022/06/23 11:18:04 models/repo_list.go:66:loadAttributes() [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 > 0) AND id IN (?,?) [3 1]
2022/06/23 11:18:04 models/repo_list.go:78:loadAttributes() [I] [SQL] SELECT id, repo_id, commit_id, is_primary, language, size, created_unix FROM language_stat WHERE (is_primary = ? AND language != ?) AND repo_id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [true other 28 50 38 41 43 42 40 35 31 36 23 27 34 32 26]
2022/06/23 11:18:04 models/repo_list.go:66:loadAttributes() [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 > 0) AND id IN (?,?) [3 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [28 1]
2022/06/23 11:18:04 models/repo_list.go:78:loadAttributes() [I] [SQL] SELECT id, repo_id, commit_id, is_primary, language, size, created_unix FROM language_stat WHERE (is_primary = ? AND language != ?) AND repo_id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [true other 28 50 38 41 43 42 40 35 31 36 23 27 34 32 26 16 17 22 21 8 12]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [28]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [28 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [50 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [28 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [50]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [28]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [50 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [28 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [38 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [50 1] - 506.8µs
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [38]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [50]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [38 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [50 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [41 1] - 502.8µs
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [38 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [41]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [38]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [41 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [38 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [43 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [41 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [43]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [41]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [43 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [41 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [42 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [43 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [42] - 507.5µs
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [43]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [42 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [43 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [40 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [42 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [40]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [42] - 507.3µs
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [40 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [42 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [35 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [40 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [35]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [40]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [40 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [35 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [35 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [31 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [35]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [31]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [35 false false] - 32.1µs
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [31 false false] - 32.1µs
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [31 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [36 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [31]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [36]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [31 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [36 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [36 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [23 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [36]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [23]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [36 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [23 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [23 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [27 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [23]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [27]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [23 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [27 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [27 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [34 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [27] - 505.3µs
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [34]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [27 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [34 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [34 1]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [32 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [34]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [32]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [34 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [32 1]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [32 false false]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [32]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [26 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [26]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [32 false false]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [26 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [26 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [26]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [26 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [16 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [16]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [16 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [17 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [17]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [17 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [22 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [22]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [22 false false] - 511.4µs
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [21 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [21]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [21 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [8 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [8]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [8 false false]
2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [12 1]
2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [12]
2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count() FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [12 false false]
2022/06/23 11:18:05 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:05 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (user_id = ?) LIMIT 1 [1]
2022/06/23 11:18:07 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:07 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (user_id = ?) LIMIT 1 [1]
2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139: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=? LIMIT 1 [skymaper]
2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139: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=? AND lower_name=? LIMIT 1 [3 tmcplugin]
2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, repo_id, user_id, mode, created_unix, updated_unix FROM collaboration WHERE repo_id=? AND user_id=? LIMIT 1 [28 1]
2022/06/23 11:18:07 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT id, repo_id, type, config, created_unix FROM repo_unit WHERE (repo_id = ?) [28] - 512.2µs
2022/06/23 11:18:07 ...s/repo/pushmirror.go:102:GetPushMirrorsByRepoID() [I] [SQL] SELECT id, repo_id, remote_name, interval, created_unix, last_update, last_error FROM push_mirror WHERE (repo_id=?) [28]
2022/06/23 11:18:07 ...ules/context/repo.go:500:RepoAssignment() [I] [SQL] SELECT count(
) FROM release WHERE repo_id=? AND is_draft=? [28 false]
2022/06/23 11:18:07 ...ules/context/repo.go:507:RepoAssignment() [I] [SQL] SELECT count(*) FROM release WHERE repo_id=? AND is_draft=? AND is_tag=? [28 false false]
2022/06/23 11:18:07 ...ules/context/repo.go:523:RepoAssignment() [I] [SQL] SELECT * FROM repository WHERE (owner_id=? AND fork_id=?) LIMIT 1 [1 28]
2022/06/23 11:18:07 models/repo/fork.go:49:GetUserFork() [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 (fork_id = ?) AND (owner_id = ?) LIMIT 1 [28 1]
2022/06/23 11:18:07 models/repo.go:338:FindUserOrgForks() [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 fork_id=? AND owner_id IN (SELECT org_id FROM org_user WHERE uid=?) [28 1]
2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, user_id, repo_id, mode, created_unix, updated_unix FROM watch WHERE user_id=? AND repo_id=? LIMIT 1 [1 28]
2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT id, uid, repo_id, created_unix FROM star WHERE uid=? AND repo_id=? LIMIT 1 [1 28]
2022/06/23 11:18:07 ...dules/git/command.go:146:RunWithContext() [D] C:\Gitea\data\gitea-repositories\skymaper\tmcplugin.git: C:\Program Files\Git\cmd\git.exe -c credential.helper= -c protocol.version=2 -c uploadpack.allowfilter=true -c uploadpack.allowAnySHA1InWant=true -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= rev-parse
2022/06/23 11:18:07 ...ules/context/repo.go:592:RepoAssignment() [E] RepoAssignment Invalid repo C:\Gitea\data\gitea-repositories\skymaper\tmcplugin.git: exit status 128 - fatal: unsafe repository ('C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git

2022/06/23 11:18:07 ...s/context/context.go:204:HTML() [D] Template: status/500
2022/06/23 11:18:07 ...dels/notification.go:741:GetNotificationCount() [I] [SQL] SELECT count() FROM notification WHERE (user_id = ?) AND (status = ?) [1 1]
2022/06/23 11:18:07 models/user/user.go:959:GetUserByIDEngine() [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=? LIMIT 1 [1]
2022/06/23 11:18:07 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (user_id = ?) LIMIT 1 [1]
2022/06/23 11:18:08 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(
) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954276 1655954286 1]
2022/06/23 11:18:11 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:15 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:17 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:18 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count() AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954286 1655954296 1]
2022/06/23 11:18:27 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1] - 276.5µs
2022/06/23 11:18:28 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(
) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954296 1655954306 1]
2022/06/23 11:18:37 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:38 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count() AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954306 1655954316 1]
2022/06/23 11:18:47 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:48 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(
) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954316 1655954326 1]
2022/06/23 11:18:57 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]
2022/06/23 11:18:58 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954326 1655954336 1]
2022/06/23 11:19:07 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT id, issue_id, user_id, created_unix FROM stopwatch WHERE (stopwatch.user_id = ?) [1]

@CoderJackLiu commented on GitHub (Jun 23, 2022): > > 好吧,我的“gitea/log/”目录中没有日志文件。那么我该如何启用它呢?该目录正在配置文件中设置。 > > 您需要将 更改为 ,阅读文档。https://docs.gitea.io/en-us/logging-configuration/`log.MODE``file` ok i find the way to enable log file. here is the log! 2022/06/23 11:17:58 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954266 1655954276 1] 2022/06/23 11:18:01 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (user_id = ?) LIMIT 1 [1] 2022/06/23 11:18:04 models/org.go:499:GetUserOrgsList() [I] [SQL] SELECT `user`.id,`user`.name,`user`.full_name,`user`.visibility,`user`.avatar,`user`.avatar_email,`user`.use_custom_avatar, count(distinct repo_id) as org_count FROM `user` INNER JOIN `team` ON `team`.org_id = `user`.id INNER JOIN `team_user` ON `team`.id = `team_user`.team_id LEFT JOIN (SELECT id as repo_id, owner_id as repo_owner_id FROM repository WHERE (`repository`.is_private=? AND `repository`.owner_id NOT IN (SELECT id FROM `user` WHERE type=? AND visibility IN (?))) OR `repository`.id IN (SELECT repo_id FROM `access` WHERE `access`.user_id=? AND `access`.mode>?) OR `repository`.owner_id=? OR `repository`.id IN (SELECT `team_repo`.repo_id FROM team_repo INNER JOIN team_user ON `team_user`.team_id = `team_repo`.team_id WHERE `team_user`.uid=?) OR (`repository`.is_private=? AND `repository`.owner_id IN (SELECT `org_user`.org_id FROM org_user WHERE `org_user`.uid=?))) repository ON `repository`.repo_owner_id = `team`.org_id WHERE (`team_user`.uid = ?) GROUP BY `user`.id,`user`.name,`user`.full_name,`user`.visibility,`user`.avatar,`user`.avatar_email,`user`.use_custom_avatar ORDER BY `user`.`name` ASC [false 1 private 1 0 1 1 false 1 1] - 510.2µs 2022/06/23 11:18:04 ...ers/web/user/home.go:78:Dashboard() [I] [SQL] SELECT count(*) FROM `org_user` WHERE (uid=?) [1] 2022/06/23 11:18:04 ...dels/user_heatmap.go:70:getUserHeatmapData() [I] [SQL] SELECT created_unix / 900 * 900 AS timestamp, count(user_id) as contributions FROM `action` WHERE user_id=? AND act_user_id=? AND (created_unix > ?) GROUP BY timestamp ORDER BY timestamp [1 1 1624418284] - 512µs 2022/06/23 11:18:04 ...ls/repo/repo_list.go:18:GetUserMirrorRepositories() [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 = ?) AND (is_mirror = ?) [1 true] - 508.9µs 2022/06/23 11:18:04 models/action.go:340:GetFeeds() [I] [SQL] SELECT `id`, `user_id`, `op_type`, `act_user_id`, `repo_id`, `comment_id`, `is_deleted`, `ref_name`, `is_private`, `content`, `created_unix` FROM `action` WHERE user_id=? AND is_deleted=? ORDER BY `created_unix` DESC LIMIT 20 [1 false] 2022/06/23 11:18:04 ...odels/action_list.go:37:loadUsers() [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` IN (?,?) [1 2] 2022/06/23 11:18:04 ...odels/action_list.go:72:loadRepositories() [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 `id` IN (?,?) [28 50] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [3] 2022/06/23 11:18:04 ...s/context/context.go:204:HTML() [D] Template: user/dashboard/dashboard 2022/06/23 11:18:04 ...dels/notification.go:741:GetNotificationCount() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [5791862@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [2] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] - 62.9µs 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `email`, `lower_email`, `is_activated`, `is_primary` FROM `email_address` WHERE `lower_email`=? LIMIT 1 [596770421@qq.com] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:04 models/repo_list.go:477:SearchRepositoryByCondition() [I] [SQL] SELECT count(*) FROM `repository` WHERE (owner_id=? OR (owner_id<>? AND (`repository`.id IN (SELECT repo_id FROM `access` WHERE `access`.user_id=? AND `access`.mode>?) OR `repository`.id IN (SELECT `team_repo`.repo_id FROM team_repo INNER JOIN team_user ON `team_user`.team_id = `team_repo`.team_id WHERE `team_user`.uid=?) OR (`repository`.is_private=? AND `repository`.owner_id IN (SELECT `org_user`.org_id FROM org_user INNER JOIN `user` ON `user`.id = `org_user`.org_id WHERE `org_user`.uid=? AND `user`.`type`=? AND `user`.visibility=?))))) [1 1 1 0 1 false 1 1 private] 2022/06/23 11:18:04 models/repo_list.go:477:SearchRepositoryByCondition() [I] [SQL] SELECT count(*) FROM `repository` WHERE (owner_id=? OR (owner_id<>? AND (`repository`.id IN (SELECT repo_id FROM `access` WHERE `access`.user_id=? AND `access`.mode>?) OR `repository`.id IN (SELECT `team_repo`.repo_id FROM team_repo INNER JOIN team_user ON `team_user`.team_id = `team_repo`.team_id WHERE `team_user`.uid=?) OR (`repository`.is_private=? AND `repository`.owner_id IN (SELECT `org_user`.org_id FROM org_user INNER JOIN `user` ON `user`.id = `org_user`.org_id WHERE `org_user`.uid=? AND `user`.`type`=? AND `user`.visibility=?))))) AND is_archived=? [1 1 1 0 1 false 1 1 private false] 2022/06/23 11:18:04 models/repo_list.go:487:SearchRepositoryByCondition() [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=? OR (owner_id<>? AND (`repository`.id IN (SELECT repo_id FROM `access` WHERE `access`.user_id=? AND `access`.mode>?) OR `repository`.id IN (SELECT `team_repo`.repo_id FROM team_repo INNER JOIN team_user ON `team_user`.team_id = `team_repo`.team_id WHERE `team_user`.uid=?) OR (`repository`.is_private=? AND `repository`.owner_id IN (SELECT `org_user`.org_id FROM org_user INNER JOIN `user` ON `user`.id = `org_user`.org_id WHERE `org_user`.uid=? AND `user`.`type`=? AND `user`.visibility=?))))) ORDER BY updated_unix DESC LIMIT 30 [1 1 1 0 1 false 1 1 private] 2022/06/23 11:18:04 models/repo_list.go:487:SearchRepositoryByCondition() [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=? OR (owner_id<>? AND (`repository`.id IN (SELECT repo_id FROM `access` WHERE `access`.user_id=? AND `access`.mode>?) OR `repository`.id IN (SELECT `team_repo`.repo_id FROM team_repo INNER JOIN team_user ON `team_user`.team_id = `team_repo`.team_id WHERE `team_user`.uid=?) OR (`repository`.is_private=? AND `repository`.owner_id IN (SELECT `org_user`.org_id FROM org_user INNER JOIN `user` ON `user`.id = `org_user`.org_id WHERE `org_user`.uid=? AND `user`.`type`=? AND `user`.visibility=?))))) AND is_archived=? ORDER BY updated_unix DESC LIMIT 15 [1 1 1 0 1 false 1 1 private false] 2022/06/23 11:18:04 models/repo_list.go:66:loadAttributes() [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 > 0) AND `id` IN (?,?) [3 1] 2022/06/23 11:18:04 models/repo_list.go:78:loadAttributes() [I] [SQL] SELECT `id`, `repo_id`, `commit_id`, `is_primary`, `language`, `size`, `created_unix` FROM `language_stat` WHERE (`is_primary` = ? AND `language` != ?) AND `repo_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [true other 28 50 38 41 43 42 40 35 31 36 23 27 34 32 26] 2022/06/23 11:18:04 models/repo_list.go:66:loadAttributes() [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 > 0) AND `id` IN (?,?) [3 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [28 1] 2022/06/23 11:18:04 models/repo_list.go:78:loadAttributes() [I] [SQL] SELECT `id`, `repo_id`, `commit_id`, `is_primary`, `language`, `size`, `created_unix` FROM `language_stat` WHERE (`is_primary` = ? AND `language` != ?) AND `repo_id` IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [true other 28 50 38 41 43 42 40 35 31 36 23 27 34 32 26 16 17 22 21 8 12] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [28] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [28 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [50 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [28 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [50] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [28] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [50 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [28 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [38 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [50 1] - 506.8µs 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [38] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [50] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [38 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [50 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [41 1] - 502.8µs 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [38 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [41] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [38] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [41 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [38 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [43 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [41 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [43] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [41] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [43 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [41 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [42 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [43 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [42] - 507.5µs 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [43] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [42 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [43 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [40 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [42 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [40] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [42] - 507.3µs 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [40 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [42 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [35 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [40 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [35] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [40] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [40 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [35 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [35 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [31 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [35] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [31] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [35 false false] - 32.1µs 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [31 false false] - 32.1µs 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [31 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [36 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [31] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [36] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [31 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [36 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [36 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [23 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [36] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [23] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [36 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [23 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [23 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [27 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [23] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [27] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [23 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [27 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [27 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [34 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [27] - 505.3µs 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [34] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [27 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [34 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [34 1] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [32 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [34] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [32] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [34 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [32 1] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [32 false false] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [32] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [26 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [26] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [32 false false] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [26 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [26 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [26] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [26 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [16 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [16] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [16 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [17 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [17] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [17 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [22 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [22] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [22 false false] - 511.4µs 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [21 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [21] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [21 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [8 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [8] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [8 false false] 2022/06/23 11:18:04 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [12 1] 2022/06/23 11:18:04 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [12] 2022/06/23 11:18:04 ...onvert/repository.go:101:innerToRepo() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [12 false false] 2022/06/23 11:18:05 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:05 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (user_id = ?) LIMIT 1 [1] 2022/06/23 11:18:07 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:07 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (user_id = ?) LIMIT 1 [1] 2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139: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`=? LIMIT 1 [skymaper] 2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139: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`=? AND `lower_name`=? LIMIT 1 [3 tmcplugin] 2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [28 1] 2022/06/23 11:18:07 ...ls/repo/repo_unit.go:226:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [28] - 512.2µs 2022/06/23 11:18:07 ...s/repo/pushmirror.go:102:GetPushMirrorsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `remote_name`, `interval`, `created_unix`, `last_update`, `last_error` FROM `push_mirror` WHERE (repo_id=?) [28] 2022/06/23 11:18:07 ...ules/context/repo.go:500:RepoAssignment() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? [28 false] 2022/06/23 11:18:07 ...ules/context/repo.go:507:RepoAssignment() [I] [SQL] SELECT count(*) FROM `release` WHERE repo_id=? AND is_draft=? AND is_tag=? [28 false false] 2022/06/23 11:18:07 ...ules/context/repo.go:523:RepoAssignment() [I] [SQL] SELECT * FROM `repository` WHERE (owner_id=? AND fork_id=?) LIMIT 1 [1 28] 2022/06/23 11:18:07 models/repo/fork.go:49:GetUserFork() [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 (fork_id = ?) AND (owner_id = ?) LIMIT 1 [28 1] 2022/06/23 11:18:07 models/repo.go:338:FindUserOrgForks() [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 fork_id=? AND owner_id IN (SELECT org_id FROM org_user WHERE uid=?) [28 1] 2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `mode`, `created_unix`, `updated_unix` FROM `watch` WHERE `user_id`=? AND `repo_id`=? LIMIT 1 [1 28] 2022/06/23 11:18:07 ...orm@v1.2.5/engine.go:1139:Get() [I] [SQL] SELECT `id`, `uid`, `repo_id`, `created_unix` FROM `star` WHERE `uid`=? AND `repo_id`=? LIMIT 1 [1 28] 2022/06/23 11:18:07 ...dules/git/command.go:146:RunWithContext() [D] C:\Gitea\data\gitea-repositories\skymaper\tmcplugin.git: C:\Program Files\Git\cmd\git.exe -c credential.helper= -c protocol.version=2 -c uploadpack.allowfilter=true -c uploadpack.allowAnySHA1InWant=true -c filter.lfs.required= -c filter.lfs.smudge= -c filter.lfs.clean= rev-parse 2022/06/23 11:18:07 ...ules/context/repo.go:592:RepoAssignment() [E] RepoAssignment Invalid repo C:\Gitea\data\gitea-repositories\skymaper\tmcplugin.git: exit status 128 - fatal: unsafe repository ('C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git 2022/06/23 11:18:07 ...s/context/context.go:204:HTML() [D] Template: status/500 2022/06/23 11:18:07 ...dels/notification.go:741:GetNotificationCount() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] 2022/06/23 11:18:07 models/user/user.go:959:GetUserByIDEngine() [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`=? LIMIT 1 [1] 2022/06/23 11:18:07 ...s/issue_stopwatch.go:103:hasUserStopwatch() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (user_id = ?) LIMIT 1 [1] 2022/06/23 11:18:08 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954276 1655954286 1] 2022/06/23 11:18:11 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:15 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:17 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:18 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954286 1655954296 1] 2022/06/23 11:18:27 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] - 276.5µs 2022/06/23 11:18:28 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954296 1655954306 1] 2022/06/23 11:18:37 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:38 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954306 1655954316 1] 2022/06/23 11:18:47 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:48 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954316 1655954326 1] 2022/06/23 11:18:57 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1] 2022/06/23 11:18:58 ...dels/notification.go:764:GetUIDsAndNotificationCounts() [I] [SQL] SELECT user_id, count(*) AS count FROM notification WHERE user_id IN (SELECT user_id FROM notification WHERE updated_unix >= ? AND updated_unix < ?) AND status = ? GROUP BY user_id [1655954326 1655954336 1] 2022/06/23 11:19:07 ...s/issue_stopwatch.go:76:GetUserStopwatches() [I] [SQL] SELECT `id`, `issue_id`, `user_id`, `created_unix` FROM `stopwatch` WHERE (stopwatch.user_id = ?) [1]
Author
Owner

@CoderJackLiu commented on GitHub (Jun 23, 2022):

@asypost your logs don't show a 500 error, however the original reporter has just said there is a 500 error we can't confirm anything about the bug.

I am going to close this because we need logs to be able to know anything about how to help. There is a link provided when reporting issues for how to get appropriate logs.

gitea.log

so I find how to enable the log file. as above. thanks a lot!

@CoderJackLiu commented on GitHub (Jun 23, 2022): > @asypost your logs don't show a 500 error, however the original reporter has just said there is a 500 error we can't confirm anything about the bug. > > I am going to close this because we need logs to be able to know anything about how to help. There is a link provided when reporting issues for how to get appropriate logs. [gitea.log](https://github.com/go-gitea/gitea/files/8963376/gitea.log) so I find how to enable the log file. as above. thanks a lot!
Author
Owner

@techknowlogick commented on GitHub (Jun 23, 2022):

Pertinent info:

[E] RepoAssignment Invalid repo C:\Gitea\data\gitea-repositories\skymaper\tmcplugin.git: exit status 128 - fatal: unsafe repository ('C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git' is owned by someone else)
To add an exception for this directory, call:

	git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git
@techknowlogick commented on GitHub (Jun 23, 2022): Pertinent info: [E] RepoAssignment Invalid repo C:\Gitea\data\gitea-repositories\skymaper\tmcplugin.git: exit status 128 - fatal: unsafe repository ('C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/tmcplugin.git
Author
Owner

@techknowlogick commented on GitHub (Jun 23, 2022):

This error will happen for all repos with a different on disk permission. This is due to a change with how git handles permissions in 2.36.0 and up

@techknowlogick commented on GitHub (Jun 23, 2022): This error will happen for all repos with a different on disk permission. This is due to a change with how git handles permissions in 2.36.0 and up
Author
Owner

@wxiaoguang commented on GitHub (Jun 23, 2022):

ps: try to use Gitea 1.17-rc, it can handle such problem gracefully.

@wxiaoguang commented on GitHub (Jun 23, 2022): ps: try to use Gitea 1.17-rc, it can handle such problem gracefully.
Author
Owner

@CoderJackLiu commented on GitHub (Jun 24, 2022):

ps:尝试使用Gitea 1.17-rc,它可以优雅地处理此类问题。

感谢兄弟,通过你这种方式解决了。

I resolve it by this way. Thanks a lot!

@CoderJackLiu commented on GitHub (Jun 24, 2022): > ps:尝试使用Gitea 1.17-rc,它可以优雅地处理此类问题。 感谢兄弟,通过你这种方式解决了。 I resolve it by this way. Thanks a lot!
Author
Owner

@CoderJackLiu commented on GitHub (Jun 24, 2022):

Thanks for your explanation. It helps me knows more about this eroor. But I can not resolve it by this way.Maybe I use it in a wrong way?

I use " git config --global --add safe.directory "*" ",and "git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/xxxx.git"

But it dosen`t help. I dont know why. while I resolve it by using gitea version : Gitea 1.17-rc.

@CoderJackLiu commented on GitHub (Jun 24, 2022): > Thanks for your explanation. It helps me knows more about this eroor. But I can not resolve it by this way.Maybe I use it in a wrong way? I use " git config --global --add safe.directory "*" ",and "git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/xxxx.git" But it dosen`t help. I dont know why. while I resolve it by using gitea version : Gitea 1.17-rc.
Author
Owner

@wxiaoguang commented on GitHub (Jun 24, 2022):

I use " git config --global --add safe.directory "*" ",and "git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/xxxx.git"

A general git config --config command might not work for your case, because your Gitea is using a different git global config, not the same as your current user, your changes doesn't apply to Gitea.

while I resolve it by using gitea version : Gitea 1.17-rc.

Glad that it helps.

@wxiaoguang commented on GitHub (Jun 24, 2022): > I use " git config --global --add safe.directory "*" ",and "git config --global --add safe.directory C:/Gitea/data/gitea-repositories/skymaper/xxxx.git" A general `git config --config` command might not work for your case, because your Gitea is using a different git global config, not the same as your current user, your changes doesn't apply to Gitea. > while I resolve it by using gitea version : Gitea 1.17-rc. Glad that it helps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9115