misp-modules icon indicating copy to clipboard operation
misp-modules copied to clipboard

I got this error when run update_misp_module.sh script

Open Aledangelo opened this issue 2 years ago • 6 comments

I run this script on linux, this is the script permission: -rwxr-xr-x 1 misp staff 1168 14 set 18.34 update_misp_modules.sh

Error:

  • '[' -d /var/www/MISP ']'

  • '[' -d /usr/local/src/misp-modules ']'

  • echo 'MISP is installed on the same machine, following the recommanded install script. Using MISP virtualenv.' MISP is installed on the same machine, following the recommanded install script. Using MISP virtualenv.

  • PATH_TO_MISP=/var/www/MISP

  • PATH_TO_MISP_MODULES=/usr/local/src/misp-modules

  • pushd /usr/local/src/misp-modules /usr/local/src/misp-modules /home/ale ++ stat -c %U .

  • USER=misp

  • sudo -H -u misp git pull Già aggiornato.

  • sudo -H -u misp /var/www/MISP/venv/bin/pip install -U -r REQUIREMENTS Ignoring asynctest: markers 'python_version < "3.8"' don't match your environment Ignoring backports.zoneinfo: markers 'python_version < "3.9"' don't match your environment Ignoring importlib-metadata: markers 'python_version < "3.8"' don't match your environment Ignoring importlib-resources: markers 'python_version < "3.9"' don't match your environment Processing /usr/local/src/misp-modules Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [2 lines of output] running egg_info error: [Errno 13] Permission denied [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Aledangelo avatar Oct 19 '22 16:10 Aledangelo

I am also facing this exact error. Can you kindly guide me if you have solved this. Thank you.

MU-03 avatar Dec 15 '22 09:12 MU-03

I am also facing this exact error. Can you kindly guide me if you have solved this. Thank you.

Sorry man, instead of trying to fix it, I just changed software

Aledangelo avatar Dec 15 '22 11:12 Aledangelo

@MU-03 If you want to update your module git pull origin and pip install . works out-of-the-box

adulau avatar Dec 15 '22 16:12 adulau

I am also facing this exact error. Can you kindly guide me if you have solved this. Thank you.

Sorry man, instead of trying to fix it, I just changed software

Okay, no problem

MU-03 avatar Dec 16 '22 04:12 MU-03

@MU-03 If you want to update your module git pull origin and pip install . works out-of-the-box Thanks

MU-03 avatar Dec 16 '22 04:12 MU-03

@MU-03 If you want to update your module git pull origin and pip install . works out-of-the-box

I am also facing an issue with enrichment of event, when I click on ''Enrich Event" its not giving any options even tho I enabled enrichment in the plug-ins. Kindly help if you know the solution.

MU-03 avatar Jan 04 '23 06:01 MU-03

We are now publishing a package on pypi. Update using that, or migrate to misp-docker.

ostefano avatar Aug 25 '24 09:08 ostefano