Skip to content

Instantly share code, notes, and snippets.

@joshes
Created November 15, 2024 16:02
Show Gist options
  • Save joshes/5307eb7336c2cf47fa2d42c27e3e7850 to your computer and use it in GitHub Desktop.
Save joshes/5307eb7336c2cf47fa2d42c27e3e7850 to your computer and use it in GitHub Desktop.
Gitea render failure bug log
gitea-1 | 2024/11/15 07:58:19 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for 192.168.65.1:60979, 200 OK in 7.5ms @ web/home.go:32(web.Home)
gitea-1 | 2024/11/15 07:58:20 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login?redirect_to=%2f for 192.168.65.1:60979, 200 OK in 8.5ms @ auth/auth.go:164(auth.SignIn)
gitea-1 | 2024/11/15 07:58:28 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for 192.168.65.1:60979, 303 See Other in 52.2ms @ auth/auth.go:196(auth.SignInPost)
gitea-1 | 2024/11/15 07:58:28 ...activities/action.go:207:loadRepo() [E] repo_model.GetRepositoryByID(4): repository does not exist [id: 4, uid: 0, owner_name: , name: ]
gitea-1 | 2024/11/15 07:58:28 .../context_response.go:88:HTML() [E] Render failed: failed to render template: user/dashboard/dashboard, error: template error: builtin(bindata):user/dashboard/feeds:20:45 : executing "user/dashboard/feeds" at <.GetRepoLink>: error calling GetRepoLink: runtime error: invalid memory address or nil pointer dereference
gitea-1 | ----------------------------------------------------------------------
gitea-1 | {{ctx.Locale.Tr "action.commit_repo" (.GetRepoLink ctx) (.GetRefLink ctx) .GetBranch (.ShortRepoPath ctx)}}
gitea-1 | ^
gitea-1 | ----------------------------------------------------------------------
gitea-1 | 2024/11/15 07:58:28 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for 192.168.65.1:60979, 200 OK in 7.1ms @ web/home.go:32(web.Home)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment