Cybox library version error fix

After a clean install if you log into MISP and navigate to Administration -> Server Settings -> Diagnostics in the STIX and Cybox libraries section you will see the error CYBOX library version...Incorrect CyBox version installed, found 2.1.0.17 expecting 2.1.0.18.dev0.  I reached out the the developers of MISP and they told me to run pip3 uninstall cybox to uninstall the pip managed version.  To test it out I did I clean install and SSH'd into the container then ran the command and the error went away.  Not sure where the best place to incorporate this is, but this was were I tested it and I successfully ran a clean build with it.
pull/4/head
matt-saunders 2018-06-14 19:40:10 -04:00 committed by GitHub
parent a68109480c
commit a607f025ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ WORKDIR /usr/local/src/misp-modules
RUN sudo pip3 install -I -r REQUIREMENTS ; \ RUN sudo pip3 install -I -r REQUIREMENTS ; \
sudo pip3 install -I . sudo pip3 install -I .
RUN sudo pip3 uninstall -y cybox
WORKDIR /var/www/MISP/app WORKDIR /var/www/MISP/app
RUN mkdir /var/www/.composer && chown -R www-data:www-data /var/www/.composer ; \ RUN mkdir /var/www/.composer && chown -R www-data:www-data /var/www/.composer ; \
sudo -u www-data -H wget https://getcomposer.org/download/1.2.1/composer.phar -O composer.phar ; \ sudo -u www-data -H wget https://getcomposer.org/download/1.2.1/composer.phar -O composer.phar ; \