# genieACS can't write to the database?

**URL:** <https://forum.genieacs.com/t/genieacs-cant-write-to-the-database/1023>\
**Category:** Uncategorized\
**Created:** [September 7, 2020, 1:24pm UTC](https://forum.genieacs.com/t/genieacs-cant-write-to-the-database/1023 "2020-09-07T13:24:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![S.Rudat](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@S.Rudat](https://forum.genieacs.com/u/S.Rudat)\
**Post date:** [September 7, 2020, 1:24pm UTC](https://forum.genieacs.com/t/genieacs-cant-write-to-the-database/1023/1 "2020-09-07T13:24:24Z")

</div>

Hello  
today my first genieacs installation at Ubuntu 18.04.5 LTS, and it seams that genieACS can’t write to the database. defining a new Role at the web gui will be acknowledged with “Configuration has been modified…” but e.g a new role will not be stored

Active: (running) :  
genieacs-cwmp.service - GenieACS CWMP  
genieacs-nbi.service - GenieACS NBI  
genieacs-fs.service - GenieACS FS  
genieacs-ui.service - GenieACS UI

show dbs  
admin 0.000GB  
config 0.000GB  
genieacs 0.000GB  
local 0.000GB

use genieacs  
switched to db genieacs

show collections  
cache  
config  
permissions  
presets  
provisions  
tasks  
users

Systlog  
Sep 7 13:11:23 acs genieacs-ui[969]: at MINIMAL\_IRREDUNDANT (/usr/local/lib/node\_modules/genieacs/node\_modules/yebool/dist/yebool.cjs:1244:16)  
Sep 7 13:11:23 acs genieacs-ui[969]: at IRREDUNDANT\_COVER (/usr/local/lib/node\_modules/genieacs/node\_modules/yebool/dist/yebool.cjs:1251:16)  
Sep 7 13:11:23 acs genieacs-ui[969]: at espresso (/usr/local/lib/node\_modules/genieacs/node\_modules/yebool/dist/yebool.cjs:1422:13)  
Sep 7 13:11:23 acs genieacs-ui[969]: at Object.espresso$1 [as espresso] (/usr/local/lib/node\_modules/genieacs/node\_modules/yebool/dist/yebool.cjs:1476:17)  
Sep 7 13:11:23 acs genieacs-ui[969]: at Ut (/usr/local/lib/node\_modules/genieacs/bin/genieacs-ui:2:48109)  
Sep 7 13:11:23 acs genieacs-ui[969]: at Ft (/usr/local/lib/node\_modules/genieacs/bin/genieacs-ui:2:49708)  
Sep 7 13:11:23 acs genieacs-ui[969]: at Ht (/usr/local/lib/node\_modules/genieacs/bin/genieacs-ui:2:50068)  
Sep 7 13:11:23 acs genieacs-ui[969]: at mn.get (/usr/local/lib/node\_modules/genieacs/bin/genieacs-ui:2:77183)  
Sep 7 13:11:23 acs genieacs-ui[969]: at dispatch (/usr/local/lib/node\_modules/genieacs/node\_modules/koa-compose/index.js:42:32)  
Sep 7 13:11:23 acs genieacs-ui[969]: (node:1542) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 159)

/var/log/mongodb/mongodb.log

2020-09-07T13:13:54.756+0000 I NETWORK [listener] connection accepted from 127.0.0.1:41044 #74 (36 connections now open)  
2020-09-07T13:13:54.758+0000 I NETWORK [conn74] received client metadata from 127.0.0.1:41044 conn: { driver: { name: “nodejs”, version: “3.6.0” }, os: { type: “Linux”, name: “linux”, architecture: “x64”, version: “4.15.0-112-generic” }, platform: “'Node.js v10.22.0, LE (unified)” }

empty  
genieacs-cwmp-access.log  
genieacs-fs-access.log  
genieacs-nbi-access.log
