Skip to content

MongoDB fails to start #110

@vvarga007

Description

@vvarga007

Describe the bug

MongoDB fails to run as it cannot create a lock file under /var/lib/mongodb/data.
A chown solved the problem, would it be worth adding it to the MongoDB deployment template?
Or an init container.

lifecycle:
  postStart:
    exec:
      command:
        - /bin/sh
        - '-c'
        - chown mongodb:mongodb -R /var/lib/mongodb

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Microcks version or git rev

No response

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleStale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions