# Mongodb Replicaset

**URL:** <https://community.datagerry.com/t/mongodb-replicaset/811>\
**Category:** Community Support\
**Created:** [October 28, 2025, 1:55pm UTC](https://community.datagerry.com/t/mongodb-replicaset/811 "2025-10-28T13:55:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MirjamSWS](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@MirjamSWS](https://community.datagerry.com/u/MirjamSWS)\
**Post date:** [October 28, 2025, 1:55pm UTC](https://community.datagerry.com/t/mongodb-replicaset/811/1 "2025-10-28T13:55:07Z")

</div>

I’m currently trying to setup datagerry on 3 cluster nodes, with a Mongodb Replicaset underneath.

I’ve seen that the latest RC supports to override a CONNECTION\_STRING environment variable, which I filled with the Replicaset:  
Currently running becongmbh/datagerry:latest (image id 179f18e01d60) against mongodb/mongodb-community-server.

```auto
    "Env": \[
        "CONNECTION_STRING=mongodb://datagerry:somepassword@10.XX.XX.1:27017,10.XX.XX.2:27017,10.XX.XX.3:27017/?replicaSet=rs0",
        "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",

```

Given the fact that the application could initialize the CMDB DB and I’m able to connect to the RS via cmdline, I assume that would technically be working.

I see the datagerry UI, but I can’t login with the initial admin/admin Account. This is what I see on the UI:

Any pointers?

 ![Screenshot From 2025-10-28 14-30-30](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/31f4ea532bd85edb760c5aa02e6aefd148f099d8.png)

---

<div class="post-metadata">

**Author:** ![abdullah-khalid](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/abdullah-khalid/32/860_2.png) [@abdullah-khalid](https://community.datagerry.com/u/abdullah-khalid)\
**Post date:** [October 28, 2025, 2:15pm UTC](https://community.datagerry.com/t/mongodb-replicaset/811/2 "2025-10-28T14:15:18Z")

</div>

Hi @MirjamSWS,

Thank you for bringing this to our attention.

The backend team is currently on vacation and will be back on Monday. As soon as they’re back, we will review your issue in detail and get back to you with an update.

Thanks for your patience.

**sincerely,**  
Your DataGerry Team
