Failed to get Xref file keep all the time #4464
Replies: 7 comments
-
Without seeing the indexer logs and doing more root causing (for how many files this fails, what is special about them, what they have in common, ...) it is hard to tell for sure however it looks like there might some bug with handling the renames of the 1.6.9 contains the change for #3525 which essentially hides the problem in the UI. |
Beta Was this translation helpful? Give feedback.
-
@vladak log is attached, I didn't find anything but the unsupported files |
Beta Was this translation helpful? Give feedback.
-
The log is littered with |
Beta Was this translation helpful? Give feedback.
-
@vladak how could I fix it? is it the one causing all issue? |
Beta Was this translation helpful? Give feedback.
-
The data root needs to be writable for the indexer to succeed, you need to fix the file system permissions. It's hard to tell whether it could be causing the problem. |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity: did only the data root have problem with permissions/ownership or also its sub-directories ? |
Beta Was this translation helpful? Give feedback.
-
@vladak the user I run index with have read/write permissions for all sub-directories of /opengrok/* |
Beta Was this translation helpful? Give feedback.
-
Hello,
I update modified src files daily, and run index daily, each day I get "failed to get Xref file" on different files(supported files of course), it keep failing all the time, some of the data file would have "*.org_opengrok", is there a way to fix this root issue, Am I doing something wrong? I index using this command
java -Djava.util.logging.config.file=/opengrok/etc/logging.properties -jar /opengrok/dist/lib/opengrok.jar --ctags /usr/local/bin/ctags -s /opengrok/src -d /opengrok/data -H -P -S -G -W /opengrok/etc/configuration.xml -U https://opengrok02:8443/source/
it index and update the files, but the issue of "failed to get Xref file" keep happening.
I also insert unsupported files to the src folder(the issue is about supported files extensions) may this cause the issue?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions