Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misp_db --initialize specified but the data directory has files in it. Aborting. #172

Open
jsnblind43 opened this issue Aug 2, 2023 · 0 comments

Comments

@jsnblind43
Copy link

misp_db exited with code 1
misp_db | [Entrypoint] Initializing database
misp_db | 2023-08-02T12:56:10.518956Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
misp_db | 2023-08-02T12:56:10.523378Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
misp_db | 2023-08-02T12:56:10.523444Z 0 [ERROR] Aborting
misp_db |

this can be solved if you change docker-compose.yml

volumes:
- ${DATA_DIR:-./data}/db:/var/lib/mysql
to something like

  • ${DATA_DIR:-./data}/db:/var/lib/minesql

then it starts correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant