DCSO / MISP-dockerized-server

https://github.com/DCSO/MISP-dockerized
BSD 3-Clause "New" or "Revised" License
4 stars 8 forks source link

entrypoint_mariadb2.sh trying to create a new folder without its parents #50

Open alesnav opened 4 years ago

alesnav commented 4 years ago

Initial MISP database deploy fails because of mkdir command trying to create a new folder without its parents.

https://github.com/DCSO/MISP-dockerized-server/blob/62d58ad05281529799962bab8440c43735082b3a/2.4.123-ubuntu/files/entrypoint_mariadb2.sh#L97

This command should be changed from mkdir /srv/MISP-dockerized/current/config/.update to mkdir -p /srv/MISP-dockerized/current/config/.update.

malvidin commented 4 years ago

Workaround after make install: docker exec misp-server mkdir -p /srv/MISP-dockerized/current/config/.update

0snap commented 4 years ago

I second this issue.