Skip to content

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

@jsnblind43

Description

@jsnblind43

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions