e-m-b-a / embark

EMBArk - The firmware security scanning environment
https://www.securefirmware.de
MIT License
314 stars 46 forks source link

Server start does not work #39

Closed torabi12 closed 2 years ago

torabi12 commented 2 years ago

Describe the bug I did a clean installation on Kali using the default "sudo installer.sh -d" and it went fine, but I could not start the server: kép

To Reproduce Steps to reproduce the behavior:

  1. EMBArk installation $ git clone https://github.com/e-m-b-a/embark.git $ cd embark $ sudo ./installer.sh -d
  2. Start EMBArk: sudo ./run-server.sh
  3. See error

Expected behavior It used to work the same way a few weeks before. May I install MongoDB manually? I didn't find any error during the installation.

Screenshots Added above.

Desktop (please complete the following information):

torabi12 commented 2 years ago

I tried again the same installation from the beginning and I got an error and the initialization stopped and prompt got back: kép

I think it used to work before and I don't know what I did wrong because I did not customize anything.

BenediktMKuehne commented 2 years ago

apt package for pipenv was removed -> switching to pip install

BenediktMKuehne commented 2 years ago

For a quick fix sudo pip3 install pipenv and then rerun the installer should fix the issue.

-> Fix in #41

torabi12 commented 2 years ago

I did it as you suggested, sudo pip3 install pipenv sudo ./installer.sh -r

but it is not ok: kép

I am going to reinstall the entire VM when the fix will be available.

BenediktMKuehne commented 2 years ago

Sorry for closing the issue then. these errors would suggest that the installation didn't succeed. Is the pipenv executable available/installed after using sudo pip3 install pipenv?

torabi12 commented 2 years ago

I think the pipenv install was fine: kép

and I repeated the installation with -r but the line 61 and 82 are still wrong if I start the server.

BenediktMKuehne commented 2 years ago

Found the issue, did you specify the -d flag when reinstalling? Without the flag the installer only uninstalls EMBArk. running sudo ./installer.sh -rd would be the correct usage for reinstalling the default-installation.(sudo ./installer.sh -rF to change into developer mode etc.) without that the -U option is the same as -r

BenediktMKuehne commented 2 years ago

Since #41 is now merged you may prefer to update and use that version

torabi12 commented 2 years ago

I tried with -rd but I got some errors for mysql... component and I couldn't recover the previous Kali, but with a brand new installation it is working fine. Thanks.