Can't use Indexer (Code Search) with migrations


Firstly thank you so much for this awesome project!

I am using Gitea Version 1.14.2. I have enabled indexer and tried using code search on migrated repos however it did not work. I had found a “manual” solution to fix this from a post that was 3 years ago which was to delete the indexer folder and restart Gitea. After doing so it worked! My only problem is that this is a manual step and after every migration we would need to delete indexer folder and restart Gitea. Is there a better way of doing this?

Thank you!

Please upgrade to v1.16.3, there is a known issue which has been fixed in recent versions.