# Dev version - no default login admin possible

**URL:** https://community.datagerry.com/t/dev-version-no-default-login-admin-possible/712
**Category:** Report a Bug
**Created:** [March 21, 2025, 1:15pm UTC](https://community.datagerry.com/t/dev-version-no-default-login-admin-possible/712 "2025-03-21T13:15:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cmdbeval1](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cmdbeval1](https://community.datagerry.com/u/cmdbeval1)
#### Post date: [March 21, 2025, 1:15pm UTC](https://community.datagerry.com/t/dev-version-no-default-login-admin-possible/712/1 "2025-03-21T13:15:50Z")

</div>

Configuration: Debian 12.12, MongoDB _7_, Datagerry Development Binary as of 2025-03-21  
Connection using HTTPS with Apache2 as reverse proxy

With the current Development version from Git repo (2025-03-21) if I start the assembled binary  
WITHOUT an preexisting cmdb database it gives me the following error:

…  
[2025-03-21 13:08:16][INFO] — [SETUP ROUTINE] Pre create (setup\_routine.py)  
[2025-03-21 13:08:16][ERROR] — [setup] Exception: Working outside of application context.

This typically means that you attempted to use functionality that needed  
the current application. To solve this, set up an application context  
with app.app\_context(). See the documentation for more information.. Type: \<class ‘RuntimeError’\> (setup\_routine.py)  
[2025-03-21 13:08:16][ERROR] — Something went wrong during the generation of the user management.  
Error: Working outside of application context.

This typically means that you attempted to use functionality that needed  
the current application. To solve this, set up an application context  
with app.app\_context(). See the documentation for more information. ( **main**.py)  
[2025-03-21 13:08:16][WARNING] — The setup did not go through as expected - Status SetupStatus.ERROR ( **main**.py)

–  
Then it is NOT possible to login with the usual default credentials admin/admin.  
If I try for comparison via the release version (2.2.0) no login is possible either.

If I remove the cmdb database, let it be created by Datagerry (release) version 2.2.0 and _then_ use the developer version login is possible.

So it seems the creation of the initial database seems to be dysfunctional in the current development version besides the CSV-import (see my other ticket for the latter)

---

<div class="post-metadata">

### Author: ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)
#### Post date: [March 21, 2025, 2:55pm UTC](https://community.datagerry.com/t/dev-version-no-default-login-admin-possible/712/2 "2025-03-21T14:55:08Z")

</div>

Hi @cmdbeval1,  
this issue is known and will probably fixed in the next week. since we were focusing on the cloud version of datagerry the on premise version has now some flask context issues. But thanks for the feedback.

BR Adnan

---

<div class="post-metadata">

### Author: ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)
#### Post date: [April 3, 2025, 10:52am UTC](https://community.datagerry.com/t/dev-version-no-default-login-admin-possible/712/3 "2025-04-03T10:52:43Z")

</div>

Hi @cmdbeval1 ,  
the login and database creation should be fixed with the latest dev build. Let us know if you still exerience any issues.

BR Adnan

---

<div class="post-metadata">

### Author: ![cmdbeval1](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cmdbeval1](https://community.datagerry.com/u/cmdbeval1)
#### Post date: [April 3, 2025, 2:36pm UTC](https://community.datagerry.com/t/dev-version-no-default-login-admin-possible/712/4 "2025-04-03T14:36:33Z")

</div>

Hi,

1. New database with current dev (2025-04-03) WORKS NOW in my environment  
(Debian12 + Mongo 7)

2. For the other reported problem (List view user setting column) if I modify  
the columns to display and try to save I get the following error (see below)  
in the debug console  
Environment: see above, using my OLD database and trying to save column  
settings for standard type “Client” with only 1 minimum client (1 textline  
filled) just created
