Skip to content
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

Unsupported bleve index version #2523

Closed
lafriks opened this issue Sep 16, 2017 · 0 comments · Fixed by #2524
Closed

Unsupported bleve index version #2523

lafriks opened this issue Sep 16, 2017 · 0 comments · Fixed by #2524
Labels
Milestone

Comments

@lafriks
Copy link
Member

lafriks commented Sep 16, 2017

When upgrading gitea from unsupported bleve index version gitea does not start and fails with errors:

2017/09/17 00:43:04 [...els/issue_indexer.go:21 InitIssueIndexer()] [E] Unable to open issues indexer (indexers/issues.bleve). If the error is due to incompatible versions, try deleting the indexer files; gitea will recreate them with the appropriate version the next time it runs. Deleting the indexer files will not result in loss of data.
2017/09/17 00:43:04 [...les/indexer/issue.go:61 InitIssueIndexer()] [E] InitIssuesIndexer, open index: incompatible version, 7 is supported

In such case I think index file should be automatically deleted and regenerated

Introduced in PR #2387 @ethantkoenig

@lafriks lafriks added this to the 1.3.0 milestone Sep 16, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant