Closed huesitosloco closed 2 years ago
Unfortunately I faced exactely the same issue. Coming from "4.0.2-1".
@huesitosloco can you please add this property to your application.conf
file
db.janusgraph.forceDropAndRebuildIndex: true
Restart TheHive, it will rebuild the index and index the data. Once done, you can remove the db.janusgraph.forceDropAndRebuildIndex
config or set it to false
I have the same issue and the workarround with db.janusgraph.forceDropAndRebuildIndex is not working for me.
Hello @huesitosloco @mihai1978 we've investigated the issue with @marpoe and there is in fact a bug that needs to be fixed. Adding this issue to 4.1.17
I see, thank you for your answer.
Request Type
Can't start The Hive after an upgrade [ (4.1.16-1) over (4.0.0-1)],
Work Environment
Problem Description
on the logs, I noticed a warning regarding a GLOBAL_OFFLINE variable that can not be overriden by the information found in /etc/thehive/application.conf
Full message:
2021-12-30 23:15:07,136 [WARN] from org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder in application-akka.actor.default-dispatcher-11 [|] Local setting index.search.index-name=scalligraph (Type: GLOBAL_OFFLINE) is overridden by globally managed value (janusgraph). Use the ManagementSystem interface instead of the local configuration to control this setting.
After this message, it continues to load, but encounters another problem:
Steps to Reproduce
This is an extract of my config file:
4.-The hive does not come up again, everytime I restart the service (which appear as "running" as per "service thehive status") I get the same error stated above.
Possible Solutions
I did some reading, and it appears to be related to a variable that is set on the database, and can't be overwriten by the configuration file, since the warning stated the "harcoded" value of scalligraph can't be changed, and the error does refer scalligraph usage. I found a reference to change the GLOBAL_OFFLINE values, but I Tought it was better to ask. https://docs.janusgraph.org/configs/#global-configuration
Complementary information
application.log.txt install_application.log.txt
I added the logs from a service restart at application.log.txt, and full logs from the install at install_application.og.txt