Initialization of the Repository index fails #1325

Closed
opened 2025-11-02 03:56:41 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @seijikun on GitHub (Dec 5, 2017).

Description

The initialization of the repository index fails.
Info that may be relevant / related: The repo that is mentioned in the error is referenced as a submodule from one or more other repositories (that reside on the affected gitea instance aswell).

Originally created by @seijikun on GitHub (Dec 5, 2017). - Gitea version (or commit ref): 1.3.0 - Git version: 2.15 - Operating system: Gentoo Linux - Database: - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: [https://gist.github.com/seijikun/e28a3e135c7986f1f2b159964714b62f](https://gist.github.com/seijikun/e28a3e135c7986f1f2b159964714b62f) ## Description The initialization of the repository index fails. **Info that may be relevant / related:** The repo that is mentioned in the error is referenced as a submodule from one or more other repositories (that reside on the affected gitea instance aswell).
GiteaMirror added the type/bug label 2025-11-02 03:56:41 -06:00
Author
Owner

@lafriks commented on GitHub (Dec 5, 2017):

Code search is enabled in that instance?

@lafriks commented on GitHub (Dec 5, 2017): Code search is enabled in that instance?
Author
Owner

@seijikun commented on GitHub (Dec 5, 2017):

I set REPO_INDEXER_ENABLED = true if that is, what you meant.
The error only occured after doing so.

@seijikun commented on GitHub (Dec 5, 2017): I set `REPO_INDEXER_ENABLED = true` if that is, what you meant. The error only occured after doing so.
Author
Owner

@lafriks commented on GitHub (Dec 5, 2017):

Yes that repository indexer for code search. (@ethantkoenig)

@lafriks commented on GitHub (Dec 5, 2017): Yes that repository indexer for code search. (@ethantkoenig)
Author
Owner

@ethantkoenig commented on GitHub (Dec 5, 2017):

I'll take a look (hopefully tonight)

@ethantkoenig commented on GitHub (Dec 5, 2017): I'll take a look (hopefully tonight)
Author
Owner

@lunny commented on GitHub (Dec 6, 2017):

maybe we should ignore submodules?

@lunny commented on GitHub (Dec 6, 2017): maybe we should ignore submodules?
Author
Owner

@ethantkoenig commented on GitHub (Dec 6, 2017):

@lunny Yes, I'll work on that as soon as I get the chance (most likely tomorrow).

@ethantkoenig commented on GitHub (Dec 6, 2017): @lunny Yes, I'll work on that as soon as I get the chance (most likely tomorrow).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1325