gitea: Seg Fault redux?

Description

Gitea dies in the middle of starting up. Not exactly sure how to diagnose this issue. Could issue #1684 be related ?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

I resolved things by setting

export PGPASSFILE=“$HOME/.pgpass”

and a colleague submitted an upstream patch: https://github.com/lib/pq/pull/666

For the 1.2.1 indexer error, you can fix it by deleting the /path/to/gitea/data/dir/indexers/issues.bleve folder and restarting gitea.

For the segfault, try running gitea in gdb, and see if there is a null value in a variable on one of the stack frames (google it, you’ll find lots of stuff about debugging segfaults with gdb).