Cannot git push / login via ssh anymore - fatal: protocol error: bad line length character: freq #16358

Closed
opened 2021-07-06 22:52:51 +00:00 by gsantner · 0 comments
gsantner commented 2021-07-06 22:52:51 +00:00 (Migrated from github.com)
  • Database MySQL
  • OS Ubuntu 18.04 x64
  • Gitea web frontend shows up, git push/clone etc does not work, auth ssh
gitea --version
frequencies():  19200000 234 3 -> 1497600000
Gitea version 1.15.0+dev-543-g1b29747f0 built with GNU Make 4.1, go1.16.5 : bindata, sqlite, sqlite_unlock_notify

daily build from dl.gitea.io / main 07.jul

when I try to git push to a repo I have access to (using this repo daily, so access and ssh key is fine). Same for git pull, clone etc:

$ git push
fatal: protocol error: bad line length character: freq
fatal: The remote end hung up unexpectedly

Gitea logged:

 
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `lower_name`=? LIMIT 1 [gsantner] - 1.230457ms
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `num_projects`, `num_closed_projects`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `trust_model`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `owner_id`=? AND `lower_name`=? LIMIT 1 [1 myRepo] - 419.306µs
2021/07/07 00:45:02 models/ssh_key.go:564:GetPublicKeyByID() [I] [SQL] SELECT `id`, `owner_id`, `name`, `fingerprint`, `content`, `mode`, `type`, `login_source_id`, `created_unix`, `updated_unix` FROM `public_key` WHERE `id`=? LIMIT 1 [3] - 348.629µs
2021/07/07 00:45:02 models/user.go:1370:getUserByID() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `id`=? LIMIT 1 [6] - 403.911µs
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [138 6] - 321.681µs
2021/07/07 00:45:02 models/repo_unit.go:209:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [138] - 297.239µs
2021/07/07 00:45:02 models/repo.go:349:getUnits() [T] repo.Units: [0xc007874030 0xc0078741e0]
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `mode` FROM `access` WHERE `user_id`=? AND `repo_id`=? LIMIT 1 [6 138] - 311.765µs
2021/07/07 00:45:02 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 6:user1 in 138:gsantner/myRepo:
	Permissions: AccessMode: 1:read, 2 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 737 RepoID: 138 Type: 1:UnitTypeCode Config: {}
	Units[1]: ID: 738 RepoID: 138 Type: 4:UnitTypeReleases Config: {} ]
2021/07/07 00:45:02 ...ters/private/serv.go:380:ServCommand() [D] Serv Results:
	IsWiki: false
	IsDeployKey: false
	KeyID: 3	KeyName: 2017-12-30 SOME@KEYNAME1
	UserName: user1
	UserID: 6
	OwnerName: gsantner
	RepoName: myRepo
	RepoID: 138
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `lower_name`=? LIMIT 1 [gsantner] - 587.31µs
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `lower_name`=? LIMIT 1 [gsantner] - 1.741286ms
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `num_projects`, `num_closed_projects`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `trust_model`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `owner_id`=? AND `lower_name`=? LIMIT 1 [1 myRepo] - 1.744696ms
2021/07/07 00:45:02 models/ssh_key.go:564:GetPublicKeyByID() [I] [SQL] SELECT `id`, `owner_id`, `name`, `fingerprint`, `content`, `mode`, `type`, `login_source_id`, `created_unix`, `updated_unix` FROM `public_key` WHERE `id`=? LIMIT 1 [3] - 421.396µs
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `num_projects`, `num_closed_projects`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `trust_model`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `owner_id`=? AND `lower_name`=? LIMIT 1 [1 myRepo] - 869.925µs
2021/07/07 00:45:02 models/ssh_key.go:564:GetPublicKeyByID() [I] [SQL] SELECT `id`, `owner_id`, `name`, `fingerprint`, `content`, `mode`, `type`, `login_source_id`, `created_unix`, `updated_unix` FROM `public_key` WHERE `id`=? LIMIT 1 [2] - 313.758µs
2021/07/07 00:45:02 models/user.go:1370:getUserByID() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `id`=? LIMIT 1 [6] - 1.060052ms
2021/07/07 00:45:02 models/user.go:1370:getUserByID() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `id`=? LIMIT 1 [1] - 486.815µs
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [138 6] - 491.971µs
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [138 1] - 344.915µs
2021/07/07 00:45:02 models/repo_unit.go:209:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [138] - 290.769µs
2021/07/07 00:45:02 models/repo.go:349:getUnits() [T] repo.Units: [0xc002f18960 0xc002f189c0]
2021/07/07 00:45:02 models/repo_unit.go:209:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [138] - 277.009µs
2021/07/07 00:45:02 models/repo.go:349:getUnits() [T] repo.Units: [0xc0078a8570 0xc0078a8ab0]
2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `mode` FROM `access` WHERE `user_id`=? AND `repo_id`=? LIMIT 1 [6 138] - 201.991µs
2021/07/07 00:45:02 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 1:gsantner in 138:gsantner/myRepo:
	Permissions: AccessMode: 4:owner, 2 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 737 RepoID: 138 Type: 1:UnitTypeCode Config: {}
	Units[1]: ID: 738 RepoID: 138 Type: 4:UnitTypeReleases Config: {} ]
2021/07/07 00:45:02 ...ters/private/serv.go:380:ServCommand() [D] Serv Results:
	IsWiki: false
	IsDeployKey: false
	KeyID: 2	KeyName: SOME@KEYNAME2
	UserName: gsantner
	UserID: 1
	OwnerName: gsantner
	RepoName: myRepo
	RepoID: 138
2021/07/07 00:45:02 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 6:user1 in 138:gsantner/myRepo:
	Permissions: AccessMode: 1:read, 2 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 737 RepoID: 138 Type: 1:UnitTypeCode Config: {}
	Units[1]: ID: 738 RepoID: 138 Type: 4:UnitTypeReleases Config: {} ]
2021/07/07 00:45:02 ...ters/private/serv.go:380:ServCommand() [D] Serv Results:
	IsWiki: false
	IsDeployKey: false
	KeyID: 3	KeyName: 2017-12-30 SOME@KEYNAME1
	UserName: user1
	UserID: 6
	OwnerName: gsantner
	RepoName: myRepo
	RepoID: 138
2021/07/07 00:46:34 ...s/context/context.go:740:1() [D] Session ID: 37c24b3192ccc733
2021/07/07 00:46:34 ...s/context/context.go:741:1() [D] CSRF Token: SECRET
2021/07/07 00:46:34 models/oauth2.go:89:GetActiveOAuth2ProviderLoginSources() [I] [SQL] SELECT `id`, `type`, `name`, `is_actived`, `is_sync_enabled`, `cfg`, `created_unix`, `updated_unix` FROM `login_source` WHERE (is_actived = ? and type = ?) [true 6] - 1.937262ms
2021/07/07 00:46:34 ...dels/login_source.go:385:ActiveLoginSources() [I] [SQL] SELECT `id`, `type`, `name`, `is_actived`, `is_sync_enabled`, `cfg`, `created_unix`, `updated_unix` FROM `login_source` WHERE (is_actived = ? and type = ?) [true 7] - 1.184473ms
2021/07/07 00:46:34 ...s/context/context.go:185:HTML() [D] Template: user/auth/signin

Notice: I have been using build from 3 days ago before where everything worked, so thats the timeframe of bug introduced.

$ ./gitea-2021-07-04 --version
Gitea version 1.15.0+dev-535-g2e40ff38d built with GNU Make 4.1, go1.16.5 : bindata, sqlite, sqlite_unlock_notify

--> https://github.com/go-gitea/gitea/commit/2e40ff38d
--->  docs: Fix broken anchors in links to awesome-gitea (#16331) was working

What makes me wonder: why gitea --version does output the frequencies string? Might be related to the unexpected 'freq'.

gitea --version
frequencies():  19200000 234 3 -> 1497600000
- Database MySQL - OS Ubuntu 18.04 x64 - Gitea web frontend shows up, git push/clone etc does not work, auth ssh ``` gitea --version frequencies(): 19200000 234 3 -> 1497600000 Gitea version 1.15.0+dev-543-g1b29747f0 built with GNU Make 4.1, go1.16.5 : bindata, sqlite, sqlite_unlock_notify daily build from dl.gitea.io / main 07.jul ``` when I try to `git push` to a repo I have access to (using this repo daily, so access and ssh key is fine). Same for git pull, clone etc: ``` $ git push fatal: protocol error: bad line length character: freq fatal: The remote end hung up unexpectedly ``` Gitea logged: ``` 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `lower_name`=? LIMIT 1 [gsantner] - 1.230457ms 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `num_projects`, `num_closed_projects`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `trust_model`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `owner_id`=? AND `lower_name`=? LIMIT 1 [1 myRepo] - 419.306µs 2021/07/07 00:45:02 models/ssh_key.go:564:GetPublicKeyByID() [I] [SQL] SELECT `id`, `owner_id`, `name`, `fingerprint`, `content`, `mode`, `type`, `login_source_id`, `created_unix`, `updated_unix` FROM `public_key` WHERE `id`=? LIMIT 1 [3] - 348.629µs 2021/07/07 00:45:02 models/user.go:1370:getUserByID() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `id`=? LIMIT 1 [6] - 403.911µs 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [138 6] - 321.681µs 2021/07/07 00:45:02 models/repo_unit.go:209:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [138] - 297.239µs 2021/07/07 00:45:02 models/repo.go:349:getUnits() [T] repo.Units: [0xc007874030 0xc0078741e0] 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `mode` FROM `access` WHERE `user_id`=? AND `repo_id`=? LIMIT 1 [6 138] - 311.765µs 2021/07/07 00:45:02 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 6:user1 in 138:gsantner/myRepo: Permissions: AccessMode: 1:read, 2 Units, 0 UnitsMode(s): [ Units[0]: ID: 737 RepoID: 138 Type: 1:UnitTypeCode Config: {} Units[1]: ID: 738 RepoID: 138 Type: 4:UnitTypeReleases Config: {} ] 2021/07/07 00:45:02 ...ters/private/serv.go:380:ServCommand() [D] Serv Results: IsWiki: false IsDeployKey: false KeyID: 3 KeyName: 2017-12-30 SOME@KEYNAME1 UserName: user1 UserID: 6 OwnerName: gsantner RepoName: myRepo RepoID: 138 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `lower_name`=? LIMIT 1 [gsantner] - 587.31µs 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `lower_name`=? LIMIT 1 [gsantner] - 1.741286ms 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `num_projects`, `num_closed_projects`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `trust_model`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `owner_id`=? AND `lower_name`=? LIMIT 1 [1 myRepo] - 1.744696ms 2021/07/07 00:45:02 models/ssh_key.go:564:GetPublicKeyByID() [I] [SQL] SELECT `id`, `owner_id`, `name`, `fingerprint`, `content`, `mode`, `type`, `login_source_id`, `created_unix`, `updated_unix` FROM `public_key` WHERE `id`=? LIMIT 1 [3] - 421.396µs 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `num_projects`, `num_closed_projects`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `trust_model`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `owner_id`=? AND `lower_name`=? LIMIT 1 [1 myRepo] - 869.925µs 2021/07/07 00:45:02 models/ssh_key.go:564:GetPublicKeyByID() [I] [SQL] SELECT `id`, `owner_id`, `name`, `fingerprint`, `content`, `mode`, `type`, `login_source_id`, `created_unix`, `updated_unix` FROM `public_key` WHERE `id`=? LIMIT 1 [2] - 313.758µs 2021/07/07 00:45:02 models/user.go:1370:getUserByID() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `id`=? LIMIT 1 [6] - 1.060052ms 2021/07/07 00:45:02 models/user.go:1370:getUserByID() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `passwd_hash_algo`, `must_change_password`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `language`, `description`, `created_unix`, `updated_unix`, `last_login_unix`, `last_repo_visibility`, `max_repo_creation`, `is_active`, `is_admin`, `is_restricted`, `allow_git_hook`, `allow_import_local`, `allow_create_organization`, `prohibit_login`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_following`, `num_stars`, `num_repos`, `num_teams`, `num_members`, `visibility`, `repo_admin_change_team_access`, `diff_view_style`, `theme`, `keep_activity_private` FROM `user` WHERE `id`=? LIMIT 1 [1] - 486.815µs 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [138 6] - 491.971µs 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `repo_id`, `user_id`, `mode`, `created_unix`, `updated_unix` FROM `collaboration` WHERE `repo_id`=? AND `user_id`=? LIMIT 1 [138 1] - 344.915µs 2021/07/07 00:45:02 models/repo_unit.go:209:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [138] - 290.769µs 2021/07/07 00:45:02 models/repo.go:349:getUnits() [T] repo.Units: [0xc002f18960 0xc002f189c0] 2021/07/07 00:45:02 models/repo_unit.go:209:getUnitsByRepoID() [I] [SQL] SELECT `id`, `repo_id`, `type`, `config`, `created_unix` FROM `repo_unit` WHERE (repo_id = ?) [138] - 277.009µs 2021/07/07 00:45:02 models/repo.go:349:getUnits() [T] repo.Units: [0xc0078a8570 0xc0078a8ab0] 2021/07/07 00:45:02 ...rm.io/xorm/engine.go:1214:Get() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `mode` FROM `access` WHERE `user_id`=? AND `repo_id`=? LIMIT 1 [6 138] - 201.991µs 2021/07/07 00:45:02 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 1:gsantner in 138:gsantner/myRepo: Permissions: AccessMode: 4:owner, 2 Units, 0 UnitsMode(s): [ Units[0]: ID: 737 RepoID: 138 Type: 1:UnitTypeCode Config: {} Units[1]: ID: 738 RepoID: 138 Type: 4:UnitTypeReleases Config: {} ] 2021/07/07 00:45:02 ...ters/private/serv.go:380:ServCommand() [D] Serv Results: IsWiki: false IsDeployKey: false KeyID: 2 KeyName: SOME@KEYNAME2 UserName: gsantner UserID: 1 OwnerName: gsantner RepoName: myRepo RepoID: 138 2021/07/07 00:45:02 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 6:user1 in 138:gsantner/myRepo: Permissions: AccessMode: 1:read, 2 Units, 0 UnitsMode(s): [ Units[0]: ID: 737 RepoID: 138 Type: 1:UnitTypeCode Config: {} Units[1]: ID: 738 RepoID: 138 Type: 4:UnitTypeReleases Config: {} ] 2021/07/07 00:45:02 ...ters/private/serv.go:380:ServCommand() [D] Serv Results: IsWiki: false IsDeployKey: false KeyID: 3 KeyName: 2017-12-30 SOME@KEYNAME1 UserName: user1 UserID: 6 OwnerName: gsantner RepoName: myRepo RepoID: 138 2021/07/07 00:46:34 ...s/context/context.go:740:1() [D] Session ID: 37c24b3192ccc733 2021/07/07 00:46:34 ...s/context/context.go:741:1() [D] CSRF Token: SECRET 2021/07/07 00:46:34 models/oauth2.go:89:GetActiveOAuth2ProviderLoginSources() [I] [SQL] SELECT `id`, `type`, `name`, `is_actived`, `is_sync_enabled`, `cfg`, `created_unix`, `updated_unix` FROM `login_source` WHERE (is_actived = ? and type = ?) [true 6] - 1.937262ms 2021/07/07 00:46:34 ...dels/login_source.go:385:ActiveLoginSources() [I] [SQL] SELECT `id`, `type`, `name`, `is_actived`, `is_sync_enabled`, `cfg`, `created_unix`, `updated_unix` FROM `login_source` WHERE (is_actived = ? and type = ?) [true 7] - 1.184473ms 2021/07/07 00:46:34 ...s/context/context.go:185:HTML() [D] Template: user/auth/signin ``` Notice: I have been using build from 3 days ago before where everything worked, so thats the timeframe of bug introduced. ``` $ ./gitea-2021-07-04 --version Gitea version 1.15.0+dev-535-g2e40ff38d built with GNU Make 4.1, go1.16.5 : bindata, sqlite, sqlite_unlock_notify --> https://github.com/go-gitea/gitea/commit/2e40ff38d ---> docs: Fix broken anchors in links to awesome-gitea (#16331) was working ``` What makes me wonder: why gitea --version does output the frequencies string? Might be related to the unexpected 'freq'. ``` gitea --version frequencies(): 19200000 234 3 -> 1497600000 ```
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#16358
No description provided.