Skip to content

Crash on startup #20367

Closed
Closed
@AnotherDevlop

Description

@AnotherDevlop

Description

Unexpected exit at startup.

The log says the issue is [gitea.log:373] "...xer/stats/indexer.go:45:populateRepoIndexer() [F] System error: context canceled", (the table 'repository' exists and has more than one row, and), probably related to a previous null reference at [gitea.log:265] ".../graceful/manager.go:135:func1() [C] PANIC during RunWithShutdownContext: runtime error: invalid memory address or nil pointer dereference"

Gitea Version

1.16.9

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/AnotherDevlop/94a4f1c2d1e005a5fdbdb35f2d950de0

Screenshots

No response

Git Version

2.25.1

Operating System

Ubuntu 20.04.3 LTS - Linux 5.4.0-110-generic

How are you running Gitea?

Using your downloads (gitea-1.16.9-linux-amd64)
Systemd: yes
Docker: no

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