TheHive-Project / TheHiveDocs

Documentation of TheHive
https://docs.strangebee.com/
GNU Affero General Public License v3.0
393 stars 280 forks source link

Initial Install Issues #164

Closed Phil-ThePower-Pearce closed 4 years ago

Phil-ThePower-Pearce commented 4 years ago

Hi,

Having some issues, If someone could push me in the right direction I'd be really grateful.

Procedure Followed

`
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt-get update && sudo apt-get install elasticsearch
sudo update-rc.d elasticsearch defaults 95 10
sudo -i service elasticsearch start

echo 'deb https://dl.bintray.com/thehive-project/debian-stable any main' | sudo tee -a /etc/apt/sources.list.d/thehive-project.list
curl https://raw.githubusercontent.com/TheHive-Project/TheHive/master/PGP-PUBLIC-KEY | sudo apt-key add -
sudo apt-get update
sudo apt-get install thehive

sudo cp /opt/thehive/package/thehive.service /usr/lib/systemd/system
sudo chown -R thehive:thehive /opt/thehive
sudo chgrp thehive /etc/thehive/application.conf
sudo chmod 640 /etc/thehive/application.conf
sudo systemctl enable thehive
sudo service thehive start
`

Elastic Search Service works and is running thehive, starts then fails with:

`● thehive.service - TheHive
   Loaded: loaded (/usr/lib/systemd/system/thehive.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-04-20 07:41:03 UTC; 6min ago
     Docs: https://thehive-project.org
  Process: 903 ExecStart=/opt/thehive/bin/thehive -Dconfig.file=/etc/thehive/application.conf -Dlogger.file=/etc/thehive/logback.xml -Dpidfile.path=/dev/null (code=exited, status=255)
 Main PID: 903 (code=exited, status=255)

Apr 20 07:40:44 ip-172-31-17-10 systemd[1]: Started TheHive.
Apr 20 07:41:03 ip-172-31-17-10 systemd[1]: thehive.service: Main process exited, code=exited, status=255/n/a
Apr 20 07:41:03 ip-172-31-17-10 systemd[1]: thehive.service: Failed with result 'exit-code'.`

Can anyone help?

ulopem commented 4 years ago

I'm experiencing the same issue

jeromeleonard commented 4 years ago

TheHive 3.x does not support ES 7.x yet.