Skip to content

OpenHIM arbitrarily drops MongoDB Collections #601

@moshonk

Description

@moshonk

We are experiencing an extremely peculiar issue with OpenHIM that is closely related to this issue #220. Collections keep getting dropped from the mongodb

We have experienced it severally, but not found a way around it. Here are the details:

  1. All services seem to be running well.

  1. An attempted login generates the following error:

openhim-core | 2023-02-27T05:38:05.566Z [worker1] info: Could not find user by email root@openhim.org

  1. Accessing the Mongo database.

docker exec -it openhim-mongo mongo -host mongodb://mongo/openhim

  1. This only displays 3 collections.

db.getCollectionNames()
[ "auditMeta", "audits", "log" ]

Software versions:

Ubuntu Version - 20.04.
Docker Version - 20.10.17
OpenHIM Version - 7.0.x
Mongo Version - v4.0.

Here's the docker-compose file that we are using: https://github.com/IntelliSOFT-Consulting/LHSS-CBDHS-HIE/blob/main/docker-compose.yml

Has anyone experienced this issue again? What was the workaround?

@rcrichton
@BMartinos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions