Open alesnav opened 4 years ago
When the name of MySQL Database is something different from misp, the main container does not work since the Apache check is looking for a file in a harcoded path.
misp
https://github.com/DCSO/MISP-dockerized-server/blob/62d58ad05281529799962bab8440c43735082b3a/2.4.125-ubuntu/files/entrypoint_apache.sh#L265
/var/lib/mysql/misp/users.ibd should be /var/lib/mysql/${MYSQL_DATABASE}/users.ibd
/var/lib/mysql/misp/users.ibd
/var/lib/mysql/${MYSQL_DATABASE}/users.ibd
In addition, MYSQL_DATABASE variable is not declared in defaults section and should be there (f.e., after line 42):
MYSQL_DATABASE
[ -z "$MYSQL_DATABASE" ] && MYSQL_DATABASE=misp
Potential duplicate of #45
When the name of MySQL Database is something different from
misp
, the main container does not work since the Apache check is looking for a file in a harcoded path.https://github.com/DCSO/MISP-dockerized-server/blob/62d58ad05281529799962bab8440c43735082b3a/2.4.125-ubuntu/files/entrypoint_apache.sh#L265
/var/lib/mysql/misp/users.ibd
should be/var/lib/mysql/${MYSQL_DATABASE}/users.ibd
In addition,
MYSQL_DATABASE
variable is not declared in defaults section and should be there (f.e., after line 42):