Skip to content

nil pointer deference at install (db.DefaultContext is nil) #21502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iTrooz opened this issue Oct 18, 2022 · 2 comments
Closed

nil pointer deference at install (db.DefaultContext is nil) #21502

iTrooz opened this issue Oct 18, 2022 · 2 comments
Labels

Comments

@iTrooz
Copy link

iTrooz commented Oct 18, 2022

Description

Steps to reproduce :

  • Clone the gitea repository
  • run TAGS="bindata sqlite sqlite_unlock_notify" make build && ./gitea web
  • connect to http://localhost:3000

Note : I tried to follow https://docs.gitea.io/en-us/logging-configuration/#debugging-problems but I don't think changing the configuration did anything, I even still had the colors. Writing random stuff in the configuration does make gitea crash though, so I think it reads it

Gitea Version

20a545

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://pastebin.com/7ti4Vej6

Screenshots

image

Git Version

2.38.0

Operating System

ArchLinux

How are you running Gitea?

I cloned the github repository and built using TAGS="bindata sqlite sqlite_unlock_notify" make build and then run with ./gitea web

Database

No response

@lunny
Copy link
Member

lunny commented Oct 18, 2022

should be fixed by #21489

@iTrooz
Copy link
Author

iTrooz commented Oct 18, 2022

I confirm it's fixed 👍 Thanks !

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants