Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Restarting web server requires re-index of all projects #4591

Closed
judkinr opened this issue Jul 5, 2024 · 1 comment
Closed

Restarting web server requires re-index of all projects #4591

judkinr opened this issue Jul 5, 2024 · 1 comment

Comments

@judkinr
Copy link

judkinr commented Jul 5, 2024

We recently stepped up to a newer version of both OpenGrok and Tomcat, and have noticed a not-so-desirable effect. We restart our tomcat instance every so often to combat server/process instability. With the newer versions, we've noticed that we are unable to do OpenGrok searches once tomcat is restarted. It reports 'You must select a project!' despite no project being available. The search works fine, and there are projects available prior to the restart. The only way we've discovered to get around this was to completely re-index very app we had. This was not a problem with the older versions we were using. This is problematic because we have about 15 or so projects we like to index, and some take several hours to index. If we need to regenerate all of these every time tomcat restarts, that's going to be an issue.

@judkinr
Copy link
Author

judkinr commented Jul 8, 2024

I have found that manually invoking the REST API calls to mark each project as 'indexed' will refresh the GUI and allow us to search again - but I wouldn't expect that to be the correct answer here.

@oracle oracle locked and limited conversation to collaborators Aug 15, 2024
@vladak vladak converted this issue into discussion #4640 Aug 15, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant