OpenGrok is a code search tool from Oracle.
Questions tagged [opengrok]
78 questions
0
votes
1 answer
Using Solr to read OpenGrok's database and failing with "no segments* file found"
I need a simple way to read OpenGrok's DB from a php script to do some weird searches (as doing that in Java in OpenGrok itself isn't in my abilities). So I decided to use Solr as a way to query the Lucene DB directly from another language (probably…

Vasil Kolev
- 11
- 2
0
votes
0 answers
Can't show Git history on OpenGrok on windows
I have OpenGrok up and running with these:
Tomcat 9
Java 11
opengrok-1.5.11
ctags-p6.0.20230416.0-x64
Git
Git Repository
My problem is that I want OpenGrok will support History of git but it doesn't work.
The History ( and also Annotate ) are just…

Epligam
- 741
- 2
- 14
- 36
0
votes
0 answers
OpenGrok) How can I use '--symlink' command in OpenGrok?
I'm not sure how to use the --symlink command in OpenGrok, so I'm asking.
OpenGrok's source root folder is '/opengrok/src'.
In this folder, I created a symbolic link file with the following command.
ln -s /home/A/workspace/tmp tmp
And I did…

Woo-jun Jeon
- 1
- 1
0
votes
0 answers
Opengrok RESTful API issue
There is error below when I sent restful request to http://localhost:8080/source/api/v1/search?full=opengrok
There was an error!
org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: 'void…
0
votes
0 answers
Opengrok Debugging via logging issue
I was trying to add debugging feature and enable local logging for my opengrok project. I had eddited logging.properties file directly under opengrok work folder. And my indexer's first line as [java…
0
votes
1 answer
Optimizing of Opengrok on large base
i have a server instance here with 4 Cores and 32 GB RAM and Ubuntu 20.04.3 LTS installed. On this machine there is an opengrok-instance running as docker container.
Inside of the docker container it uses AdoptOpenJDK:
OpenJDK Runtime Environment…

sikienzl
- 23
- 1
- 4
0
votes
1 answer
OpenGrok And Tomcat 404 not found
I am trying to setup OpenGrok in fresh Linux environment. I have followed the instructions from: https://github.com/oracle/opengrok/wiki/How-to-setup-OpenGrok.
Once I setup OpenGrok and Tomcat, I have copied the source.war from Opengrok to…

MMJ
- 519
- 1
- 9
- 26
0
votes
2 answers
How to ignore files and directories in opengrok used from docker?
This is how I was doing that in some very old version of Opengrok:
docker run -d (...) -e IGNORE_PATTERNS="-i *.swp -i */build/*" (...)
Now I'm trying more recent version (1.5). I've found info that IGNORE_PATTERNS was changed to…

LLL
- 1,777
- 1
- 15
- 31
0
votes
2 answers
How to run opengrok in docker?
I'm trying to follow this tutorial:
https://hub.docker.com/r/opengrok/docker/
This is what I did:
mkdir /home/testuser/OpenGrokTest
cp -R SmallCppProject /home/testuser/OpenGrokTest/
docker pull opengrok/docker
docker run -d -v…

LLL
- 1,777
- 1
- 15
- 31
0
votes
2 answers
Filtering the Opengrok indexes based on an ELF file
I have project based on linux based embedded application. Here i have an ELF file which i want to ensure that OpenGrok Indexing using only the symbols that are part of the ELF file excluding all non relevant/ non compiled portion of the project…

gsat
- 11
- 5
0
votes
0 answers
OpenGrok indexer fails to execute
I fetched OpenGrok 1.3.4 from their download page[1] and followed the installation instructions [2] to setup the software on my system (FreeBSD 12.1-RELEASE).
I have tomcat8.5 installed and the default welcome page displays without any issues. I use…

fnisi
- 1,181
- 1
- 14
- 24
0
votes
1 answer
where are indexing configuration in OpenGrok docker image?
I am trying to setup an OpenGrok instance from a docker image. By default svn indexer inside the image is checking for new repositories in 10 minutes.
I need to change this configuration. From where exactly I can change this.

tushar_ecmc
- 186
- 2
- 21
0
votes
1 answer
how to use an already generated tagfile with opengrok.jar in windows
I have downloaded and extracted opengrok in localsystem and have ctags.exe in the local system
I tried to execute the following command with those arguments and got the following response pasted below the linebreak.
java -jar opengrok.jar -W…

Jayapal Chandran
- 10,600
- 14
- 66
- 91
0
votes
2 answers
How to quickly refresh several workdirs related to one git-repo
I have a project, that is stored as a git-repo. The repo has several branches. Also I use OpenGrok (source browser) for the project. To be able to show all branches I cloned the project several times, after that did 'checkout' the required…

Zender Fufikoff
- 87
- 1
- 6
0
votes
2 answers
How to track usage of OpenGrok service
What are some ways we could monitor OpenGrok, both usage and specific searches? Is there any systems either built in or that can be added as extensions?
We are running OpenGrok on the intranet but we have no visibility of how it's being used and how…

Newton
- 187
- 7