Skip to content

GITEA CRASHES ON PULL REQUEST #24950

Closed
Closed
@Sabdix

Description

@Sabdix

Description

When creating a pull request, the service crashes and goes down.
Every time it does that.
I check the log and I found this:

2023/05/26 09:08:13 ...it/repo_attribute.go:306:func2() [E] [6470cb5c-2] Unable to open checker for a03997ba89f967c72e8f3981d9c8a9a529d0608a. Error: failed to run attr-check. Error: exit status 1
Stderr:
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:62:GetContextData() [W] [6470cb76-3] cannot get cache context when getting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}
2023/05/26 09:08:41 ...les/cache/context.go:71:SetContextData() [W] [6470cb76-3] cannot get cache context when setting data: &{context.Background.WithCancel.WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer"}).WithCancel.WithValue(type pprof.labelContextKey, val {"graceful-lifecycle":"with-hammer", "pid":"6470cb76-3", "ppid":"", "process-description":"NewPullRequest: CMV_Becarios/NivelesServicioFront:2", "process-type":"normal"}) 6470cb76-3}

Gitea Version

Gitea 1.19.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://cmv365-my.sharepoint.com/:u:/g/personal/sabdi_pantoja_cajamorelia_mx/EW6Pts0eEFxNnl5oI2M3MuoBl95YkhvSDkyEVJ5k0TmCGw?e=eddert

Screenshots

No response

Git Version

git version 2.37.1.windows.1

Operating System

WINDOWS

How are you running Gitea?

Gitea is running on a Windows Server 2016 with the Windows Services Manager.

We have been working great with the tool, and every update I installed it following the next steps:

  1. Dump of the Mysql Database for backup
  2. Making a Backup of the gitea folder wich contains all the configuration, repositories, files, etc.
  3. Downlaoding the latest version of gitea.
  4. Executing manually the exe file on the same location of the older version. This is done so that the .exe file updates the database and the files needed for the new version. (This is explain on your documentation)
  5. Then when executing ok, i make a change on the windows service configuration, so it can use the new .exe

Database

Mysql

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions