DataGerry not starting using docker image

Hi,

i tried your docker-compose.yml from the getting started guide and i end up with the errors below…
The exact same thing happens if i deploy to my kubernetes cluster…

docker logs datagerry_datagerry_1
[2020-04-14 15:09:03][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:03][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:04][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:04][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:04][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:04][INFO    ] --- SETUP ROUTINE: STARTED... (__setup__.py)
[2020-04-14 15:09:04][INFO    ] --- SETUP ROUTINE: Checking database connection (__setup__.py)
[2020-04-14 15:09:04][INFO    ] --- SETUP ROUTINE: Database connection status True (__setup__.py)
[2020-04-14 15:09:04][INFO    ] --- SETUP ROUTINE: initialize database cmdb (__setup__.py)
[2020-04-14 15:09:04][INFO    ] --- SETUP ROUTINE: initialize finished (__setup__.py)
[2020-04-14 15:09:04][INFO    ] --- SETUP ROUTINE: Generate rsa key pair (__setup__.py)
[2020-04-14 15:09:04][INFO    ] --- KEY ROUTINE: Generate RSA keypair (__setup__.py)
[2020-04-14 15:09:05][INFO    ] --- KEY ROUTINE: Generate aes key (__setup__.py)
[2020-04-14 15:09:05][INFO    ] --- SETUP ROUTINE: Checking database connection (__setup__.py)
[2020-04-14 15:09:05][INFO    ] --- SETUP ROUTINE: Database connection status True (__setup__.py)
[2020-04-14 15:09:05][INFO    ] --- KEY ROUTINE: Password was updated for user failed:  (__setup__.py)
[2020-04-14 15:09:05][INFO    ] --- KEY ROUTINE: FINISHED (__setup__.py)
[2020-04-14 15:09:05][INFO    ] --- SETUP ROUTINE: User management (__setup__.py)
[2020-04-14 15:09:05][ERROR   ] --- Something went wrong during the generation of the user management.
 Error: admin (__main__.py)
[2020-04-14 15:09:05][WARNING ] --- The setup did not go through as expected - Status SetupStatus.ERROR (__main__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

[2020-04-14 15:09:07][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:07][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:07][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:07][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:07][INFO    ] --- CHECK ROUTINE: Checking database collection validation (__check__.py)
[2020-04-14 15:09:07][INFO    ] --- CHECK ROUTINE: Database collection validation status True (__check__.py)
[2020-04-14 15:09:07][ERROR   ] --- The section updater does not exist! (__check__.py)
[2020-04-14 15:09:07][WARNING ] --- The current database version does not match the valid database version. (__check__.py)
[2020-04-14 15:09:07][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:07][INFO    ] --- UPDATE ROUTINE: Update database collection (__update__.py)
[2020-04-14 15:09:07][INFO    ] --- SETUP ROUTINE: Checking database connection (__update__.py)
[2020-04-14 15:09:07][INFO    ] --- SETUP ROUTINE: Database connection status True (__update__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

Process:[#################---------------------------------] 33%        | [1/3]
[2020-04-14 15:09:07][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:07][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:07][ERROR   ] --- Something went wrong during the generation of the updater module.
 Error: 'NoneType' object is not subscriptable (__main__.py)
[2020-04-14 15:09:07][WARNING ] --- The update did not go through as expected - Status UpateStatus.ERROR (__main__.py)
[2020-04-14 15:09:10][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:10][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:10][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:10][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:10][INFO    ] --- CHECK ROUTINE: Checking database collection validation (__check__.py)
[2020-04-14 15:09:10][INFO    ] --- CHECK ROUTINE: Database collection validation status True (__check__.py)
[2020-04-14 15:09:10][ERROR   ] --- Please run an update. There are new updates available.Current Updater Version: 0 Newest Update Version: 20200408 (__check__.py)
[2020-04-14 15:09:10][WARNING ] --- The current database version does not match the valid database version. (__check__.py)
[2020-04-14 15:09:10][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:10][INFO    ] --- UPDATE ROUTINE: Update database collection (__update__.py)
[2020-04-14 15:09:10][INFO    ] --- SETUP ROUTINE: Checking database connection (__update__.py)
[2020-04-14 15:09:10][INFO    ] --- SETUP ROUTINE: Database connection status True (__update__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

Process:[#################---------------------------------] 33%        | [1/3]
[2020-04-14 15:09:10][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:10][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:10][ERROR   ] --- Something went wrong during the generation of the updater module.
 Error: 'NoneType' object is not subscriptable (__main__.py)
[2020-04-14 15:09:10][WARNING ] --- The update did not go through as expected - Status UpateStatus.ERROR (__main__.py)
[2020-04-14 15:09:12][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:12][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:12][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:12][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:12][INFO    ] --- CHECK ROUTINE: Checking database collection validation (__check__.py)
[2020-04-14 15:09:12][INFO    ] --- CHECK ROUTINE: Database collection validation status True (__check__.py)
[2020-04-14 15:09:12][ERROR   ] --- Please run an update. There are new updates available.Current Updater Version: 0 Newest Update Version: 20200408 (__check__.py)
[2020-04-14 15:09:12][WARNING ] --- The current database version does not match the valid database version. (__check__.py)
[2020-04-14 15:09:12][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:12][INFO    ] --- UPDATE ROUTINE: Update database collection (__update__.py)
[2020-04-14 15:09:12][INFO    ] --- SETUP ROUTINE: Checking database connection (__update__.py)
[2020-04-14 15:09:12][INFO    ] --- SETUP ROUTINE: Database connection status True (__update__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

Process:[#################---------------------------------] 33%        | [1/3]
[2020-04-14 15:09:12][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:12][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:12][ERROR   ] --- Something went wrong during the generation of the updater module.
 Error: 'NoneType' object is not subscriptable (__main__.py)
[2020-04-14 15:09:12][WARNING ] --- The update did not go through as expected - Status UpateStatus.ERROR (__main__.py)
[2020-04-14 15:09:15][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:15][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:15][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:15][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:15][INFO    ] --- CHECK ROUTINE: Checking database collection validation (__check__.py)
[2020-04-14 15:09:15][INFO    ] --- CHECK ROUTINE: Database collection validation status True (__check__.py)
[2020-04-14 15:09:15][ERROR   ] --- Please run an update. There are new updates available.Current Updater Version: 0 Newest Update Version: 20200408 (__check__.py)
[2020-04-14 15:09:15][WARNING ] --- The current database version does not match the valid database version. (__check__.py)
[2020-04-14 15:09:15][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:15][INFO    ] --- UPDATE ROUTINE: Update database collection (__update__.py)
[2020-04-14 15:09:15][INFO    ] --- SETUP ROUTINE: Checking database connection (__update__.py)
[2020-04-14 15:09:15][INFO    ] --- SETUP ROUTINE: Database connection status True (__update__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

Process:[#################---------------------------------] 33%        | [1/3]
[2020-04-14 15:09:15][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:15][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:15][ERROR   ] --- Something went wrong during the generation of the updater module.
 Error: 'NoneType' object is not subscriptable (__main__.py)
[2020-04-14 15:09:15][WARNING ] --- The update did not go through as expected - Status UpateStatus.ERROR (__main__.py)
[2020-04-14 15:09:19][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:19][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:19][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:19][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:19][INFO    ] --- CHECK ROUTINE: Checking database collection validation (__check__.py)
[2020-04-14 15:09:19][INFO    ] --- CHECK ROUTINE: Database collection validation status True (__check__.py)
[2020-04-14 15:09:19][ERROR   ] --- Please run an update. There are new updates available.Current Updater Version: 0 Newest Update Version: 20200408 (__check__.py)
[2020-04-14 15:09:19][WARNING ] --- The current database version does not match the valid database version. (__check__.py)
[2020-04-14 15:09:19][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:19][INFO    ] --- UPDATE ROUTINE: Update database collection (__update__.py)
[2020-04-14 15:09:19][INFO    ] --- SETUP ROUTINE: Checking database connection (__update__.py)
[2020-04-14 15:09:19][INFO    ] --- SETUP ROUTINE: Database connection status True (__update__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

Process:[#################---------------------------------] 33%        | [1/3]
[2020-04-14 15:09:19][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:19][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:19][ERROR   ] --- Something went wrong during the generation of the updater module.
 Error: 'NoneType' object is not subscriptable (__main__.py)
[2020-04-14 15:09:19][WARNING ] --- The update did not go through as expected - Status UpateStatus.ERROR (__main__.py)
[2020-04-14 15:09:24][INFO    ] --- DATAGERRY starting... (__main__.py)
[2020-04-14 15:09:24][INFO    ] --- Checking database connection with cmdb.conf data (__main__.py)
[2020-04-14 15:09:24][INFO    ] --- Database connection established. (__main__.py)
[2020-04-14 15:09:24][INFO    ] --- CHECK ROUTINE: STARTED... (__check__.py)
[2020-04-14 15:09:24][INFO    ] --- CHECK ROUTINE: Checking database collection validation (__check__.py)
[2020-04-14 15:09:24][INFO    ] --- CHECK ROUTINE: Database collection validation status True (__check__.py)
[2020-04-14 15:09:24][ERROR   ] --- Please run an update. There are new updates available.Current Updater Version: 0 Newest Update Version: 20200408 (__check__.py)
[2020-04-14 15:09:24][WARNING ] --- The current database version does not match the valid database version. (__check__.py)
[2020-04-14 15:09:24][INFO    ] --- CHECK ROUTINE: FINISHED! (__check__.py)
[2020-04-14 15:09:24][INFO    ] --- UPDATE ROUTINE: Update database collection (__update__.py)
[2020-04-14 15:09:24][INFO    ] --- SETUP ROUTINE: Checking database connection (__update__.py)
[2020-04-14 15:09:24][INFO    ] --- SETUP ROUTINE: Database connection status True (__update__.py)

    ########################################################################

    @@@@@     @   @@@@@@@ @           @@@@@  @@@@@@@ @@@@@   @@@@@  @@    @@
    @    @    @@     @    @@         @@@@@@@ @@@@@@@ @@@@@@  @@@@@@ @@@  @@@
    @     @  @  @    @   @  @       @@@   @@ @@@     @@   @@ @@   @@ @@  @@
    @     @  @  @    @   @  @       @@       @@@@@@  @@   @@ @@   @@  @@@@
    @     @ @    @   @  @    @      @@   @@@ @@@@@@  @@@@@@  @@@@@@   @@@@
    @     @ @@@@@@   @  @@@@@@      @@   @@@ @@@     @@@@@   @@@@@     @@
    @     @ @    @   @  @    @      @@@   @@ @@@     @@ @@@  @@ @@@    @@
    @    @ @      @  @ @      @      @@@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@
    @@@@@  @      @  @ @      @       @@@@@@ @@@@@@@ @@  @@@ @@  @@@   @@

    ########################################################################

Welcome to DATAGERRY
Starting system with following parameters:
{'keys': False, 'test_data': False, 'debug': False, 'start': True, 'config_file': '/etc/datagerry/cmdb.conf'}

Copyright (C) 2019 NETHINKS GmbH
licensed under the terms of the GNU Affero General Public License version 3

Process:[#################---------------------------------] 33%        | [1/3]
[2020-04-14 15:09:24][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:24][WARNING ] --- This method is likely to be deprecated soon! (wraps.py)
[2020-04-14 15:09:24][ERROR   ] --- Something went wrong during the generation of the updater module.
 Error: 'NoneType' object is not subscriptable (__main__.py)
[2020-04-14 15:09:24][WARNING ] --- The update did not go through as expected - Status UpateStatus.ERROR (__main__.py)

Hi @erSitzt,

and welcome to our community. Thanks for reporting that issue. As this was a critical bug, we fixed that immediately and made a bugfix release. Please try our new version 1.1.4. Thanks again for reporting that bug.

Thanks a lot, deployment is working now ! :slight_smile:

1 Like