Open james-drs opened 3 years ago
This issue also appears to impact the display of Cases.
This means your cassandra volumes are not persistent.
Forgive my ignorance, but isn't that what - ./vol/cassandra/data:/var/lib/cassandra/data
in the docker-compose is supposed to fix?
Any fix to this? I did a Docker compose down and all my data is gone now
Facing same issue, when i restarted host machine. All orgs and all user config is also deleted. Any fixes ?
Request Type
Bug
Work Environment
Problem Description
When standing up a new version of TheHive4 with docker-compose, upon initial sign-in the admin Org is visible. Additional Orgs are visible when created. However, all Orgs disappear after running
docker-compose down
anddocker-compose up -d
any time after the initial login.Since docker-compose down/up -d appears to be required to get TheHive4 to recognize any changes in application.conf, this bug becomes evident when any configuration changes need to be made.
Steps to Reproduce
.env
docker-compose.yml
application.conf
run
docker-compose up -d
Authenticate with default admin creds to TheHive (admin Org will be visible). Create additional Orgs (optional). Set API key in Cortex and change .env & .conf to link Cortex (optional).
run
docker-compose down
docker-compose up -d
Log into TheHive as admin, Orgs will no longer be visible.
Complementary information
http://URL:9000/index.html#!/administration/organisations/ORG_NAME/details
will provide you with the details of the Org, but no Orgs are visible in the "Organisations" pane.docker-compose restart
andstop/start
do not appear to change the behavior in either direction. If the Orgs are visible, they will remain so after therestart/stop/start
, if the Orgs are not visible, they remain not visible.docker-compose stop thehive cassandra
, remove their associated directories in the dockervol
directory, then rundocker-compose up -d thehive cassandra
. This will not work if any settings/data in TheHive/Cassandra are required to be retained as this restores both back to their initial configs.Any assistance in troubleshooting/resolving this issue would be greatly appreciated!