runs very slowly. #9159

Closed
opened 2025-11-02 08:31:01 -06:00 by GiteaMirror · 16 comments
Owner

Originally created by @jackzhum on GitHub (Jul 1, 2022).

Description

After running for more than a year, all operations have become quite slow!

Can it be caused by TLS?
log:
http: TLS handshake error from ipaddress: remote error: tls: unknown certificate

Gitea Version

1.16.8

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.20.1

Operating System

Windows Server 2012R2

How are you running Gitea?

RUN_USER = SYSTEM
RUN_MODE = prod

[server]
PROTOCOL = https
ROOT_URL = xxxx
SSH_DOMAIN = xxxx
DOMAIN = xxxx
HTTP_PORT = 3000
DISABLE_SSH = true
SSH_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = d:/gitea/data/lfs
LFS_JWT_SECRET = xxx
OFFLINE_MODE = false
CERT_FILE = cert.pem
KEY_FILE = key.pem
REDIRECT_OTHER_PORT = true
PORT_TO_REDIRECT = 3080
ENABLE_ACME=true
ACME_ACCEPTTOS=true
ACME_DIRECTORY=https

Database

MsSql

Originally created by @jackzhum on GitHub (Jul 1, 2022). ### Description After running for more than a year, all operations have become quite slow! Can it be caused by TLS? log: http: TLS handshake error from ipaddress: remote error: tls: unknown certificate ### Gitea Version 1.16.8 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.20.1 ### Operating System Windows Server 2012R2 ### How are you running Gitea? RUN_USER = SYSTEM RUN_MODE = prod [server] PROTOCOL = https ROOT_URL = xxxx SSH_DOMAIN = xxxx DOMAIN = xxxx HTTP_PORT = 3000 DISABLE_SSH = true SSH_PORT = 22 LFS_START_SERVER = true LFS_CONTENT_PATH = d:/gitea/data/lfs LFS_JWT_SECRET = xxx OFFLINE_MODE = false CERT_FILE = cert.pem KEY_FILE = key.pem REDIRECT_OTHER_PORT = true PORT_TO_REDIRECT = 3080 ENABLE_ACME=true ACME_ACCEPTTOS=true ACME_DIRECTORY=https ### Database MsSql
GiteaMirror added the issue/needs-feedback label 2025-11-02 08:31:01 -06:00
Author
Owner

@lunny commented on GitHub (Jul 1, 2022):

Which binary did you use with gogit or not?

@lunny commented on GitHub (Jul 1, 2022): Which binary did you use with gogit or not?
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

Which binary did you use with gogit or not?

Not used.

@jackzhum commented on GitHub (Jul 14, 2022): > Which binary did you use with gogit or not? Not used.
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

It takes 7 seconds to open a issue.
image

@jackzhum commented on GitHub (Jul 14, 2022): It takes 7 seconds to open a issue. ![image](https://user-images.githubusercontent.com/15189709/178884207-3a3a8222-ea90-4e3c-bed1-89ba72c298d6.png)
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

It took 56 seconds to create the pull request:
image
image

@jackzhum commented on GitHub (Jul 14, 2022): It took 56 seconds to create the pull request: ![image](https://user-images.githubusercontent.com/15189709/178885120-1ea8a37d-74d2-4a36-8755-94b99031b08f.png) ![image](https://user-images.githubusercontent.com/15189709/178885028-c83b736f-fb3e-4572-923b-9546210e562e.png)
Author
Owner

@zeripath commented on GitHub (Jul 14, 2022):

1.15.5 is extremely old - we have just released 1.16.9. Upgrade and retest.

If the problem persists we will need debug logs and more detailed information about your configuration and app.ini.

@zeripath commented on GitHub (Jul 14, 2022): 1.15.5 is extremely old - we have just released 1.16.9. Upgrade and retest. If the problem persists we will need debug logs and more detailed information about your configuration and app.ini.
Author
Owner

@wxiaoguang commented on GitHub (Jul 14, 2022):

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

5. If you meet slow/hanging/deadlock problems, please report the stack trace when the problem occurs: 
....

56 seconds is enough to catch a stacktrace.

And as zeripath's suggestion, please use the latest release to do the test.

@wxiaoguang commented on GitHub (Jul 14, 2022): https://docs.gitea.io/en-us/seek-help/ ``` 5. If you meet slow/hanging/deadlock problems, please report the stack trace when the problem occurs: .... ``` 56 seconds is enough to catch a stacktrace. And as zeripath's suggestion, please use the latest release to do the test.
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

I have upgraded the version to 1.16.8 , but the problem remains.

app.ini:

RUN_USER = SYSTEM
RUN_MODE = prod

[database]
DB_TYPE  = mssql
HOST     = *******
NAME     = gitea
USER     = *******
PASSWD   = `*******`
SCHEMA   = 
SSL_MODE = disable
CHARSET  = utf8
PATH     = D:\Gitea\data\gitea.db
LOG_SQL  = false

[repository]
ROOT = D:/Gitea/repositories

[server]
SSH_DOMAIN       = git.xxxxxxxxx.com
DOMAIN           = git.xxxxxxxxx.com
HTTP_PORT        = 80
ROOT_URL         = http://git.xxxxxxxxx.com/
DISABLE_SSH      = true
SSH_PORT         = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = D:/Gitea/data/lfs
OFFLINE_MODE     = false

[service]
REGISTER_EMAIL_CONFIRM            = false
ENABLE_NOTIFY_MAIL                = true
DISABLE_REGISTRATION              = true
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
ENABLE_CAPTCHA                    = false
REQUIRE_SIGNIN_VIEW               = true
DEFAULT_KEEP_EMAIL_PRIVATE        = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING       = true
NO_REPLY_ADDRESS                  = noreply.localhost

[attachment]
ENABLED		= true
PATH		= d:/gitea/attachment
ALLOWED_TYPES	= */*		
MAX_SIZE	= 500

[picture]
DISABLE_GRAVATAR        = true
ENABLE_FEDERATED_AVATAR = false

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

[session]
PROVIDER = file

[log]
MODE      = file
LEVEL     = trace
ROOT_PATH = d:/gitea/log

[security]
INSTALL_LOCK       = true
PASSWORD_HASH_ALGO = pbkdf2

[cron.archive_cleanup]
SCHEDULE=@midnight
[cron.update_mirrors]
SCHEDULE=@midnight
[cron.repo_health_check]
SCHEDULE=@midnight
[cron.check_repo_stats]
SCHEDULE=@midnight
[cron.deleted_branches_cleanup]
SCHEDULE=@midnight
[cron.update_migration_poster_id]
SCHEDULE=@midnight
[cron.sync_external_users]
SCHEDULE=@midnight
@jackzhum commented on GitHub (Jul 14, 2022): I have upgraded the version to 1.16.8 , but the problem remains. app.ini: ``` RUN_USER = SYSTEM RUN_MODE = prod [database] DB_TYPE = mssql HOST = ******* NAME = gitea USER = ******* PASSWD = `*******` SCHEMA = SSL_MODE = disable CHARSET = utf8 PATH = D:\Gitea\data\gitea.db LOG_SQL = false [repository] ROOT = D:/Gitea/repositories [server] SSH_DOMAIN = git.xxxxxxxxx.com DOMAIN = git.xxxxxxxxx.com HTTP_PORT = 80 ROOT_URL = http://git.xxxxxxxxx.com/ DISABLE_SSH = true SSH_PORT = 22 LFS_START_SERVER = true LFS_CONTENT_PATH = D:/Gitea/data/lfs OFFLINE_MODE = false [service] REGISTER_EMAIL_CONFIRM = false ENABLE_NOTIFY_MAIL = true DISABLE_REGISTRATION = true ALLOW_ONLY_EXTERNAL_REGISTRATION = false ENABLE_CAPTCHA = false REQUIRE_SIGNIN_VIEW = true DEFAULT_KEEP_EMAIL_PRIVATE = false DEFAULT_ALLOW_CREATE_ORGANIZATION = true DEFAULT_ENABLE_TIMETRACKING = true NO_REPLY_ADDRESS = noreply.localhost [attachment] ENABLED = true PATH = d:/gitea/attachment ALLOWED_TYPES = */* MAX_SIZE = 500 [picture] DISABLE_GRAVATAR = true ENABLE_FEDERATED_AVATAR = false [openid] ENABLE_OPENID_SIGNIN = false ENABLE_OPENID_SIGNUP = false [session] PROVIDER = file [log] MODE = file LEVEL = trace ROOT_PATH = d:/gitea/log [security] INSTALL_LOCK = true PASSWORD_HASH_ALGO = pbkdf2 [cron.archive_cleanup] SCHEDULE=@midnight [cron.update_mirrors] SCHEDULE=@midnight [cron.repo_health_check] SCHEDULE=@midnight [cron.check_repo_stats] SCHEDULE=@midnight [cron.deleted_branches_cleanup] SCHEDULE=@midnight [cron.update_migration_poster_id] SCHEDULE=@midnight [cron.sync_external_users] SCHEDULE=@midnight ```
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

**Partial log""

gitea.log

@jackzhum commented on GitHub (Jul 14, 2022): **Partial log"" [gitea.log](https://github.com/go-gitea/gitea/files/9110254/gitea.log)
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

These are logs for creating pull request:

2022/07/14 17:00:43 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1]
2022/07/14 17:00:43 ...ices/auth/session.go:64:SessionUser() [T] Session Authorization: Logged in user 1:Jack
2022/07/14 17:00:43 models/repo/repo.go:269:LoadUnits() [T] repo.Units: [0xc008819e30 0xc00c398030 0xc00c398090 0xc00c3980f0 0xc00c398180 0xc00c3981e0]
2022/07/14 17:00:43 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP:
	Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {}
	Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {}
	Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {}
	Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}
	Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {}
	Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ]
2022/07/14 17:00:43 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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/07/14 17:00:45 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags
2022/07/14 17:00:45 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch
2022/07/14 17:00:45 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch-check
2022/07/14 17:00:49 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads
2022/07/14 17:00:51 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e dev
2022/07/14 17:00:52 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP:
	Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {}
	Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {}
	Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {}
	Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}
	Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {}
	Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ]
2022/07/14 17:00:52 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e feature/snlo
2022/07/14 17:00:54 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/feature/snlo
2022/07/14 17:00:55 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 2a0275b0e2cc37d441daecbf4aa4f301eb184e46
	
2022/07/14 17:00:55 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= merge-base -- refs/heads/dev refs/heads/feature/snlo
2022/07/14 17:00:57 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 a779fd6aa8d090c9e8ff6dd82b43e7bc3d4617b8
	
2022/07/14 17:00:57 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/dev
2022/07/14 17:00:59 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 8c07399f70d42743c274d7ab9d5dff231a3a2be6
	
2022/07/14 17:00:59 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= log a779fd6aa8d090c9e8ff6dd82b43e7bc3d4617b8...refs/heads/feature/snlo --pretty=format:%H
2022/07/14 17:01:02 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 2a0275b0e2cc37d441daecbf4aa4f301eb184e46
2022/07/14 17:01:02 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff -z --name-only refs/heads/dev...refs/heads/feature/snlo
2022/07/14 17:01:03 ...s/gitdiff/gitdiff.go:718:ParsePatch() [D] ParsePatch(1000, 5000, 100, ..., )
2022/07/14 17:01:06 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:01:06 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:01:06 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:01:06 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= read-tree 2a0275b0e2cc37d441daecbf4aa4f301eb184e46
2022/07/14 17:01:08 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= check-attr --stdin -z --cached linguist-vendored linguist-generated linguist-language gitlab-language --
2022/07/14 17:01:09 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff --shortstat a779fd6aa8d090c9e8ff6dd82b43e7bc3d4617b8...2a0275b0e2cc37d441daecbf4aa4f301eb184e46
2022/07/14 17:01:11 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	  1 file changed, 1 insertion(+), 1 deletion(-)
	
2022/07/14 17:01:11 ...s/gitdiff/gitdiff.go:1418:func1() [E] Unable to open checker for 2a0275b0e2cc37d441daecbf4aa4f301eb184e46. Error: failed to run attr-check. Error: exit status 1
	Stderr: 
2022/07/14 17:01:11 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags
2022/07/14 17:01:13 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads
2022/07/14 17:01:14 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags
2022/07/14 17:01:16 ...s/context/context.go:214:HTML() [D] Template: repo/diff/compare
2022/07/14 17:01:16 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1]
2022/07/14 17:01:16 ...ices/auth/session.go:64:SessionUser() [T] Session Authorization: Logged in user 1:Jack
@jackzhum commented on GitHub (Jul 14, 2022): These are logs for creating pull request: ``` 2022/07/14 17:00:43 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1] 2022/07/14 17:00:43 ...ices/auth/session.go:64:SessionUser() [T] Session Authorization: Logged in user 1:Jack 2022/07/14 17:00:43 models/repo/repo.go:269:LoadUnits() [T] repo.Units: [0xc008819e30 0xc00c398030 0xc00c398090 0xc00c3980f0 0xc00c398180 0xc00c3981e0] 2022/07/14 17:00:43 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP: Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {} Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {} Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {} Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true} Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {} Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ] 2022/07/14 17:00:43 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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/07/14 17:00:45 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags 2022/07/14 17:00:45 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch 2022/07/14 17:00:45 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch-check 2022/07/14 17:00:49 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads 2022/07/14 17:00:51 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e dev 2022/07/14 17:00:52 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP: Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {} Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {} Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {} Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true} Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {} Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ] 2022/07/14 17:00:52 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e feature/snlo 2022/07/14 17:00:54 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/feature/snlo 2022/07/14 17:00:55 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 2a0275b0e2cc37d441daecbf4aa4f301eb184e46 2022/07/14 17:00:55 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= merge-base -- refs/heads/dev refs/heads/feature/snlo 2022/07/14 17:00:57 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: a779fd6aa8d090c9e8ff6dd82b43e7bc3d4617b8 2022/07/14 17:00:57 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/dev 2022/07/14 17:00:59 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 8c07399f70d42743c274d7ab9d5dff231a3a2be6 2022/07/14 17:00:59 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= log a779fd6aa8d090c9e8ff6dd82b43e7bc3d4617b8...refs/heads/feature/snlo --pretty=format:%H 2022/07/14 17:01:02 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 2a0275b0e2cc37d441daecbf4aa4f301eb184e46 2022/07/14 17:01:02 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff -z --name-only refs/heads/dev...refs/heads/feature/snlo 2022/07/14 17:01:03 ...s/gitdiff/gitdiff.go:718:ParsePatch() [D] ParsePatch(1000, 5000, 100, ..., ) 2022/07/14 17:01:06 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:01:06 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:01:06 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:01:06 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= read-tree 2a0275b0e2cc37d441daecbf4aa4f301eb184e46 2022/07/14 17:01:08 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= check-attr --stdin -z --cached linguist-vendored linguist-generated linguist-language gitlab-language -- 2022/07/14 17:01:09 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff --shortstat a779fd6aa8d090c9e8ff6dd82b43e7bc3d4617b8...2a0275b0e2cc37d441daecbf4aa4f301eb184e46 2022/07/14 17:01:11 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 1 file changed, 1 insertion(+), 1 deletion(-) 2022/07/14 17:01:11 ...s/gitdiff/gitdiff.go:1418:func1() [E] Unable to open checker for 2a0275b0e2cc37d441daecbf4aa4f301eb184e46. Error: failed to run attr-check. Error: exit status 1 Stderr: 2022/07/14 17:01:11 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags 2022/07/14 17:01:13 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads 2022/07/14 17:01:14 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags 2022/07/14 17:01:16 ...s/context/context.go:214:HTML() [D] Template: repo/diff/compare 2022/07/14 17:01:16 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1] 2022/07/14 17:01:16 ...ices/auth/session.go:64:SessionUser() [T] Session Authorization: Logged in user 1:Jack ```
Author
Owner

@jackzhum commented on GitHub (Jul 14, 2022):

2022/07/14 17:03:55 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1]
2022/07/14 17:03:55 ...ices/auth/session.go:64:SessionUser() [T] Session Authorization: Logged in user 1:Jack
2022/07/14 17:03:55 models/repo/repo.go:269:LoadUnits() [T] repo.Units: [0xc00827a5d0 0xc00827a630 0xc00827a690 0xc00827a6f0 0xc00827a780 0xc00827a7e0]
2022/07/14 17:03:55 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP:
	Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {}
	Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {}
	Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {}
	Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}
	Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {}
	Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ]
2022/07/14 17:03:55 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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/07/14 17:03:56 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch
2022/07/14 17:03:56 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags
2022/07/14 17:03:56 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch-check
2022/07/14 17:04:01 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads
2022/07/14 17:04:03 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e dev
2022/07/14 17:04:04 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP:
	Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ 
	Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {}
	Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {}
	Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {}
	Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}
	Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {}
	Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ]
2022/07/14 17:04:04 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e feature/bikan
2022/07/14 17:04:06 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/feature/bikan
2022/07/14 17:04:09 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23
	
2022/07/14 17:04:09 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= merge-base -- refs/heads/dev refs/heads/feature/bikan
2022/07/14 17:04:10 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 e59b2704da41a8a171383c3b6e7d0787085cc60e
	
2022/07/14 17:04:10 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/dev
2022/07/14 17:04:12 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 8c07399f70d42743c274d7ab9d5dff231a3a2be6
	
2022/07/14 17:04:12 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= log e59b2704da41a8a171383c3b6e7d0787085cc60e...refs/heads/feature/bikan --pretty=format:%H
2022/07/14 17:04:13 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23
	7615c318ed522502bf90f37a26e968fd6f1f363b
	dcbc5fa1d5da8a6ed594a858bc175c611420aa9a
	26f6acfa3f3ed1933ee0023cb960d74f89230e96
	427ffd56726cb510c7596a9fcfea5164168f6941
2022/07/14 17:04:13 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff -z --name-only refs/heads/dev...refs/heads/feature/bikan
2022/07/14 17:04:14 ...s/gitdiff/gitdiff.go:718:ParsePatch() [D] ParsePatch(1000, 5000, 100, ..., )
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast)
2022/07/14 17:04:16 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= read-tree 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23
2022/07/14 17:04:17 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= check-attr --stdin -z --cached linguist-vendored linguist-generated linguist-language gitlab-language --
2022/07/14 17:04:20 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff --shortstat e59b2704da41a8a171383c3b6e7d0787085cc60e...4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23
2022/07/14 17:04:22 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout:
	  15 files changed, 377 insertions(+), 83 deletions(-)
	
2022/07/14 17:04:22 ...s/gitdiff/gitdiff.go:1418:func1() [E] Unable to open checker for 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23. Error: failed to run attr-check. Error: exit status 1
	Stderr: 
2022/07/14 17:04:22 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags
2022/07/14 17:04:23 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads
2022/07/14 17:04:25 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags
2022/07/14 17:04:26 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads
2022/07/14 17:04:28 ...s/context/context.go:214:HTML() [D] Template: repo/diff/compare
2022/07/14 17:04:29 routers/web/base.go:95:2() [W] Unable to find avatars a737395fc43e037e2cf5b6a406b79e9a
2022/07/14 17:04:29 routers/web/base.go:95:2() [W] Unable to find avatars 2099ab13a040d87c8de99cdd28c2caaf
2022/07/14 17:04:29 routers/web/base.go:95:2() [W] Unable to find avatars c4d43dcb4d5bfa01691ce1ec07a1b67b
2022/07/14 17:04:30 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1]
@jackzhum commented on GitHub (Jul 14, 2022): ``` 2022/07/14 17:03:55 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1] 2022/07/14 17:03:55 ...ices/auth/session.go:64:SessionUser() [T] Session Authorization: Logged in user 1:Jack 2022/07/14 17:03:55 models/repo/repo.go:269:LoadUnits() [T] repo.Units: [0xc00827a5d0 0xc00827a630 0xc00827a690 0xc00827a6f0 0xc00827a780 0xc00827a7e0] 2022/07/14 17:03:55 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP: Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {} Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {} Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {} Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true} Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {} Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ] 2022/07/14 17:03:55 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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/07/14 17:03:56 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch 2022/07/14 17:03:56 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags 2022/07/14 17:03:56 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file --batch-check 2022/07/14 17:04:01 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads 2022/07/14 17:04:03 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e dev 2022/07/14 17:04:04 ...s/repo_permission.go:160:func1() [T] Permission Loaded for 1:Jack in 4:Jack/HBERP: Permissions: perm_model.AccessMode: 4:owner, 6 Units, 0 UnitsMode(s): [ Units[0]: ID: 10454 RepoID: 4 Type: 1:TypeCode Config: {} Units[1]: ID: 10455 RepoID: 4 Type: 4:TypeReleases Config: {} Units[2]: ID: 10792 RepoID: 4 Type: 5:TypeWiki Config: {} Units[3]: ID: 10793 RepoID: 4 Type: 2:TypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true} Units[4]: ID: 10794 RepoID: 4 Type: 8:TypeProjects Config: {} Units[5]: ID: 10795 RepoID: 4 Type: 3:TypePullRequests Config: {"IgnoreWhitespaceConflicts":true,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true,"AllowManualMerge":false,"AutodetectManualMerge":false,"DefaultDeleteBranchAfterMerge":true,"DefaultMergeStyle":"rebase"} ] 2022/07/14 17:04:04 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= cat-file -e feature/bikan 2022/07/14 17:04:06 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/feature/bikan 2022/07/14 17:04:09 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23 2022/07/14 17:04:09 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= merge-base -- refs/heads/dev refs/heads/feature/bikan 2022/07/14 17:04:10 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: e59b2704da41a8a171383c3b6e7d0787085cc60e 2022/07/14 17:04:10 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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 refs/heads/dev 2022/07/14 17:04:12 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 8c07399f70d42743c274d7ab9d5dff231a3a2be6 2022/07/14 17:04:12 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= log e59b2704da41a8a171383c3b6e7d0787085cc60e...refs/heads/feature/bikan --pretty=format:%H 2022/07/14 17:04:13 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23 7615c318ed522502bf90f37a26e968fd6f1f363b dcbc5fa1d5da8a6ed594a858bc175c611420aa9a 26f6acfa3f3ed1933ee0023cb960d74f89230e96 427ffd56726cb510c7596a9fcfea5164168f6941 2022/07/14 17:04:13 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff -z --name-only refs/heads/dev...refs/heads/feature/bikan 2022/07/14 17:04:14 ...s/gitdiff/gitdiff.go:718:ParsePatch() [D] ParsePatch(1000, 5000, 100, ..., ) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...s/charset/charset.go:135:DetectEncoding() [D] Detected encoding: utf-8 (fast) 2022/07/14 17:04:16 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= read-tree 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23 2022/07/14 17:04:17 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= check-attr --stdin -z --cached linguist-vendored linguist-generated linguist-language gitlab-language -- 2022/07/14 17:04:20 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= diff --shortstat e59b2704da41a8a171383c3b6e7d0787085cc60e...4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23 2022/07/14 17:04:22 ...dules/git/command.go:246:RunInDirTimeoutEnv() [T] Stdout: 15 files changed, 377 insertions(+), 83 deletions(-) 2022/07/14 17:04:22 ...s/gitdiff/gitdiff.go:1418:func1() [E] Unable to open checker for 4922b8fb7eb3d77a3bf58cf19a52297f5c34fb23. Error: failed to run attr-check. Error: exit status 1 Stderr: 2022/07/14 17:04:22 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags 2022/07/14 17:04:23 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads 2022/07/14 17:04:25 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --tags 2022/07/14 17:04:26 ...dules/git/command.go:146:RunWithContext() [D] D:\Gitea\repositories\jack\hberp.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= show-ref --heads 2022/07/14 17:04:28 ...s/context/context.go:214:HTML() [D] Template: repo/diff/compare 2022/07/14 17:04:29 routers/web/base.go:95:2() [W] Unable to find avatars a737395fc43e037e2cf5b6a406b79e9a 2022/07/14 17:04:29 routers/web/base.go:95:2() [W] Unable to find avatars 2099ab13a040d87c8de99cdd28c2caaf 2022/07/14 17:04:29 routers/web/base.go:95:2() [W] Unable to find avatars c4d43dcb4d5bfa01691ce1ec07a1b67b 2022/07/14 17:04:30 ...ices/auth/session.go:48:SessionUser() [T] Session Authorization: Found user[1] ```
Author
Owner

@zeripath commented on GitHub (Jul 14, 2022):

It looks like running git on your system is very very slow.

I suspect you would be better off running the go-git variant.

But you should look into why running git is so slow - do you have antivirus running? etc.

You should also check that the commit-graphs have all been written for your repositories.

@zeripath commented on GitHub (Jul 14, 2022): It looks like running git on your system is very very slow. I suspect you would be better off running the go-git variant. But you should look into why running git is so slow - do you have antivirus running? etc. You should also check that the commit-graphs have all been written for your repositories.
Author
Owner

@wxiaoguang commented on GitHub (Jul 14, 2022):

Besides zeripath's suggestions, there are some other related issues:

https://stackoverflow.com/questions/42888024/git-bash-mintty-is-extremely-slow-on-windows-10-os
https://superuser.com/questions/1160349/git-is-extremely-slow-on-windows
https://blog.praveen.science/solution-to-git-bash-is-very-slow-in-windows/

Some users just suggest to disable the AMD Radeon graphics driver to bypass the problem.

And there are other possible solutions:

  • Try to upgrade the git to latest version
  • Try to switch to a docker version, then the git in Linux is pretty fast.
@wxiaoguang commented on GitHub (Jul 14, 2022): Besides zeripath's suggestions, there are some other related issues: https://stackoverflow.com/questions/42888024/git-bash-mintty-is-extremely-slow-on-windows-10-os https://superuser.com/questions/1160349/git-is-extremely-slow-on-windows https://blog.praveen.science/solution-to-git-bash-is-very-slow-in-windows/ Some users just suggest to disable the AMD Radeon graphics driver to bypass the problem. And there are other possible solutions: * Try to upgrade the git to latest version * Try to switch to a docker version, then the git in Linux is pretty fast.
Author
Owner

@jackzhum commented on GitHub (Jul 15, 2022):

I tried these solutions, but they didn't work.
Only migration to docker version has not been attempted, but the cost of migration is too high.

Now this problem has seriously affected my work.

@jackzhum commented on GitHub (Jul 15, 2022): I tried these solutions, but they didn't work. Only migration to docker version has not been attempted, but the cost of migration is too high. Now this problem has seriously affected my work.
Author
Owner

@jackzhum commented on GitHub (Jul 15, 2022):

Just now, it took me five minutes to merge pull request.

image

@jackzhum commented on GitHub (Jul 15, 2022): Just now, it took me five minutes to merge pull request. ![image](https://user-images.githubusercontent.com/15189709/179133380-4ef25ccd-1fbe-4458-a5db-ca84d7ea4f21.png)
Author
Owner

@zeripath commented on GitHub (Jul 15, 2022):

I'm not sure what you want to us to do. As I've told you the problem appears to be that running git on your configuration is slow.

You've not given us any more logs (and the logs you gave us earlier didn't follow the requested advice in https://docs.gitea.io/en-us/logging-configuration/#debugging-problems ) so we have to assume that that is the case.

(Similarly, you've not provided us with pprof traces.)

Is the problem specific to one repo? If so have you tried repacking and gcing that repo?

You've not told us if you've checked and ensured that git has written commit graphs for the repo you're pushing to. Getting git to write a commit graph involves simply cd ing into the repo on the command line and running: git commit-graph write. Commit-graphs will speed up git considerably. Very slow git rev-list calls above suggest that you don't have graphs written.

Sometimes executing git on Windows is slowed down considerably by PATH searches. Have you adjusted your %PATH% so that git is higher in the path search? Have you set [git] PATH so it points directly to git?

Different versions of git on Windows may cause slowdowns. You don't say what kind of git for Windows you have installed.

Git 2.20 is rather old - have you upgraded git?

You haven't told us if you're running antivirus. Have you tried disabling it? Or at least explicitly allowing git to run?

You've not told us anything about how you're storing your repos. Are they local? Are they on the same drive as the [repository.local] LOCAL_COPY_PATH?

@zeripath commented on GitHub (Jul 15, 2022): I'm not sure what you want to us to do. As I've told you the problem appears to be that running git on your configuration is slow. You've not given us any more logs (and the logs you gave us earlier didn't follow the requested advice in https://docs.gitea.io/en-us/logging-configuration/#debugging-problems ) so we have to assume that that is the case. (Similarly, you've not provided us with pprof traces.) Is the problem specific to one repo? If so have you tried repacking and gcing that repo? You've not told us if you've checked and ensured that git has written commit graphs for the repo you're pushing to. Getting git to write a commit graph involves simply cd ing into the repo on the command line and running: `git commit-graph write`. Commit-graphs will speed up git considerably. Very slow git rev-list calls above suggest that you don't have graphs written. Sometimes executing git on Windows is slowed down considerably by PATH searches. Have you adjusted your %PATH% so that git is higher in the path search? Have you set `[git]` `PATH` so it points directly to git? Different versions of git on Windows may cause slowdowns. You don't say what kind of git for Windows you have installed. Git 2.20 is rather old - have you upgraded git? You haven't told us if you're running antivirus. Have you tried disabling it? Or at least explicitly allowing git to run? You've not told us anything about how you're storing your repos. Are they local? Are they on the same drive as the `[repository.local]` `LOCAL_COPY_PATH`?
Author
Owner

@wxiaoguang commented on GitHub (Jul 22, 2022):

@jackzhum I would suggest to check whether your git runs fast enough on your server, and whether your server functions properly. For example, you can clone a real repo and use git command to operate on it. If the git command already runs slowly, then there is nothing to do on Gitea side. Windows environment is quite complex, it's difficult to guess what's the key problem. ps: there are some utilities can be used to help to debug some performance problems, for example: Windows Performance Monitor or Windows Sysinternals.

Without more clues, there can hardly be more suggestions, and at the moment the problem isn't likely to be a Gitea's problem, so I will close this issue, feel free to reopen if you have more clues.

@wxiaoguang commented on GitHub (Jul 22, 2022): @jackzhum I would suggest to check whether your git runs fast enough on your server, and whether your server functions properly. For example, you can clone a real repo and use git command to operate on it. If the git command already runs slowly, then there is nothing to do on Gitea side. Windows environment is quite complex, it's difficult to guess what's the key problem. ps: there are some utilities can be used to help to debug some performance problems, for example: Windows Performance Monitor or Windows Sysinternals. Without more clues, there can hardly be more suggestions, and at the moment the problem isn't likely to be a Gitea's problem, so I will close this issue, feel free to reopen if you have more clues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9159