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

Commit search shows a 500er error #10840

Closed
2 of 7 tasks
Bodenhaltung opened this issue Mar 26, 2020 · 8 comments
Closed
2 of 7 tasks

Commit search shows a 500er error #10840

Bodenhaltung opened this issue Mar 26, 2020 · 8 comments
Labels

Comments

@Bodenhaltung
Copy link

Bodenhaltung commented Mar 26, 2020

Description

The commit search shows a 500er error consistently on any searchterm

@lafriks
Copy link
Member

lafriks commented Mar 26, 2020

What Gitea version are you using?

@Bodenhaltung
Copy link
Author

What Gitea version are you using?

Sorry, stupid me, fixed in issue post: Gitea version 1.11.1 built with GNU Make 4.3, go1.13.8 : bindata, sqlite, pam

@guillep2k
Copy link
Member

guillep2k commented Mar 27, 2020

Then closing. 😉

@guillep2k
Copy link
Member

Sorry, I misread your comment! I thought you've fixed the issue. Reopening. 😳

@guillep2k guillep2k reopened this Mar 27, 2020
@guillep2k
Copy link
Member

I'd suggest you first upgrade to 1.11.3, since 1.11.1 has some interesting issues that will affect you sooner or later.

As for your problem, I think it's worth attempting to rebuild the code indexes. Those are usually in the data folder (e.g. /var/lib/gitea/indexers, depending on your system configuration). You can delete the repos.bleve directory and Gitea will rebuild it for you. You must shutdown the instance before deleting the directory.

@lunny
Copy link
Member

lunny commented Mar 27, 2020

@guillep2k commits search is not code search. Commits search will search commit via git command but not indexes.

@mrsdizzie
Copy link
Member

This is probably related to:

https://public-inbox.org/git/87zhtbn5xb.fsf@evledraar.gmail.com/T/
https://bugs.exim.org/show_bug.cgi?id=1749

I'm not familiar with arch linux or anything but this change might be related to fixing it:

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pcre2&id=920838a6a4ca3ff466b8751d8dc4c24c5383767f

Do you have that version? Or can try updating (I don't know if git needs to then be rebuild or however arch linux works).

@Bodenhaltung
Copy link
Author

Thanks for your help, i have core/pcre2 10.34-3 and now also: Gitea version 1.11.3 built with GNU Make 4.3, go1.14.1 : sqlite, pam

But still the same error.

I understand that the problem is not gitea related more arch vs. pcre2 vs. git.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants