MISP icon indicating copy to clipboard operation
MISP copied to clipboard

Support:

Open s3cr3search opened this issue 3 years ago • 7 comments

Support Questions

I am attempting to install MISP on Ubuntu 20.04 server.

It keeps failing with the following error -

ERROR: setUpClass (main.TestComprehensive)

Traceback (most recent call last): File "tests/testlive_comprehensive.py", line 65, in setUpClass cls.admin_misp_connector = PyMISP(url, key, verifycert, debug=False) File "/var/www/MISP/PyMISP/pymisp/api.py", line 144, in init raise NoURL('Please provide the URL of your MISP instance.') pymisp.exceptions.NoURL: Please provide the URL of your MISP instance.

The install does not prompt me for a Base URL so I am not sure how to resolve this.

MISP version

2.4.151

Operating System

Ubuntu

Operating System version

20.04

PHP version

7.4

Browser

No response

Browser version

No response

Relevant log output

No response

Extra attachments

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

s3cr3search avatar Jan 19 '22 15:01 s3cr3search

This is the test for continuous integration. Not sure why those tests were run during your installation process. This should have no impact on the MISP installation by itself.

adulau avatar Jan 19 '22 21:01 adulau

It seems to be affecting it as the install script will finish at 88% complete. There is the issue that I am not prompted for a base URL. Do you know of a way I can ensure that is prompted or already defined ?

s3cr3search avatar Jan 20 '22 16:01 s3cr3search

Same issue here Still didn't know why, I can login to the page but the misp platform not fully functional

HamzaMhirsi avatar Feb 09 '22 19:02 HamzaMhirsi

Same issue here:

The test files are missing, pulling it.
Cloning into 'tests/viper-test-files'...
remote: Enumerating objects: 110, done.
remote: Total 110 (delta 0), reused 0 (delta 0), pack-reused 110
Receiving objects: 100% (110/110), 15.18 MiB | 10.81 MiB/s, done.
Resolving deltas: 100% (24/24), done.
E
======================================================================
ERROR: setUpClass (__main__.TestComprehensive)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/www/MISP/PyMISP/tests/testlive_comprehensive.py", line 65, in setUpClass
    cls.admin_misp_connector = PyMISP(url, key, verifycert, debug=False)
  File "/var/www/MISP/PyMISP/pymisp/api.py", line 164, in __init__
    raise NoURL('Please provide the URL of your MISP instance.')
pymisp.exceptions.NoURL: Please provide the URL of your MISP instance.

----------------------------------------------------------------------
Ran 0 tests in 0.002s

FAILED (errors=1)
#########################################################################################  (88%)
--------------------------------------------------------------------------------------------------------------------------

crypt0jan avatar Feb 06 '23 13:02 crypt0jan

Same issue here too:

`ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. The test files are missing, pulling it. Cloning into 'tests/viper-test-files'... remote: Enumerating objects: 110, done. remote: Total 110 (delta 0), reused 0 (delta 0), pack-reused 110 Receiving objects: 100% (110/110), 15.18 MiB | 4.84 MiB/s, done. Resolving deltas: 100% (24/24), done. E

ERROR: setUpClass (main.TestComprehensive)

Traceback (most recent call last): File "tests/testlive_comprehensive.py", line 65, in setUpClass cls.admin_misp_connector = PyMISP(url, key, verifycert, debug=False) File "/var/www/MISP/venv/lib/python3.8/site-packages/pymisp/api.py", line 164, in init raise NoURL('Please provide the URL of your MISP instance.') pymisp.exceptions.NoURL: Please provide the URL of your MISP instance.


Ran 0 tests in 0.001s

FAILED (errors=1) ######################################################################################### (88%)`

denizilhan avatar Feb 07 '23 08:02 denizilhan

any solution? I have the same problem here!

pariarajaee avatar Jun 10 '23 15:06 pariarajaee

Same here! someone figured it out?

oferprtz-atbay avatar Dec 24 '23 14:12 oferprtz-atbay