Skip to content
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

[Bug] TheHive 4 - Application.conf file #1461

Closed
jjoseph8008 opened this issue Aug 4, 2020 · 1 comment
Closed

[Bug] TheHive 4 - Application.conf file #1461

jjoseph8008 opened this issue Aug 4, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@jjoseph8008
Copy link

jjoseph8008 commented Aug 4, 2020

Application.conf file for TheHive 4

Bug / Feature Request

Work Environment

|---------------------------|--------------------
| OS version (server) | Red Hat
| OS version (client) | Windows 10
| TheHive version / git hash | 4.0
| Package Type | RPM
| Browser type & version | If applicable

Problem Description

I installed Cassandra and TheHive on RedHat using the steps in
https://github.com/TheHive-Project/TheHiveDocs/blob/master/TheHive4/Installation/Install_rpm.md#installation-1

Used a local file system to store files /opt/thp_data/files/thehive as per documentation. However, I noticed that the documentation when it came to application.conf was slightly different.
Documentation had the following:
storage {
provider = localfs
localfs.location = /opt/files/thehive
}

  1. But application.conf file had localfs.directory instead of localfs.location. I was wondering if someone can confirm whether localfs.directory is the right one or if it is supposed to be localfs.location.
  2. The file path /opt/files/thehive does not exist. I think this should be /opt/thp_data/files/thehive. Please let me know which one is the correct one.
@jjoseph8008 jjoseph8008 added the bug label Aug 4, 2020
@To-om To-om self-assigned this Aug 5, 2020
@To-om
Copy link
Contributor

To-om commented Aug 5, 2020

The correct setting is localfs.location. The value depends on your system. There is no correct default value. Put an existing directory, writable by thehive user.

@To-om To-om added this to the 4.0.1 milestone Aug 5, 2020
@To-om To-om closed this as completed Aug 5, 2020
@nadouani nadouani changed the title TheHive 4 - Application.conf file [Bug] TheHive 4 - Application.conf file Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants