NUKIB / misp

Docker image for MISP
GNU General Public License v3.0
115 stars 46 forks source link

ValueError: badly formed hexadecimal UUID string and not valid salt #65

Open lokalhorstkme opened 1 year ago

lokalhorstkme commented 1 year ago

Could not get misp container to running state. Could you please give me a hint where my error in docker-compose.yml is?

using the original github docker-compose.yml MISP_BASEURL: http://localhost:8080 MISP_UUID: 0a674a5a-c4cb-491d-80cf-5adb48b5c1cd # Please change for production MISP_ORG: Testing org # Please change for production MISP_MODULE_URL: http://misp-modules MISP_EMAIL: ahoj@example.com # Please change for production

docker-compose start Starting mysql ... done Starting redis ... done Starting misp-modules ... done Starting misp ... done_

docker-compose ps Name Command State Ports misp /usr/local/bin/docker-entr ... Exit 1 misp-modules /home/misp-modules/.local/ ... Up (health: starting) 6666/tcp misp-mysql docker-entrypoint.sh mariadbd Up 3306/tcp misp-redis docker-entrypoint.sh redis ... Up 6379/tcp

Logs: misp | Warning: 'SECURITY_SALT' environment variable should be at least 32 chars long misp | Traceback (most recent call last): misp | File "/usr/local/bin/misp_create_configs.py", line 398, in misp | main() misp | File "/usr/local/bin/misp_create_configs.py", line 352, in main misp | uuid.UUID(variables["MISP_UUID"]) misp | File "/usr/lib64/python3.9/uuid.py", line 177, in init misp | raise ValueError('badly formed hexadecimal UUID string') misp | ValueError: badly formed hexadecimal UUID string misp exited with code 1

ondj commented 1 year ago

Hello, thanks for report! Can you please try it with latest version? At least MISP should give you much better error message, because currently I don't understand why this doesn't work.