–setup is a documented feature, but it throws an error.
$ /usr/bin/datagerry -c /etc/datagerry/cmdb.conf --setup
usage: usage: DATAGERRY [options]
DATAGERRY: error: unrecognized arguments: --setup
–setup is a documented feature, but it throws an error.
$ /usr/bin/datagerry -c /etc/datagerry/cmdb.conf --setup
usage: usage: DATAGERRY [options]
DATAGERRY: error: unrecognized arguments: --setup
Hello,
these are the available arguments:
# /usr/bin/datagerry --help
usage: usage: DATAGERRY [options]
optional arguments:
-h, --help show this help message and exit
--keys init keys
-d, --debug enable debug mode: DO NOT USE ON PRODUCTIVE SYSTEMS
-s, --start starting cmdb core system - enables services
-c CONFIG_FILE, --config CONFIG_FILE
optional path to config file
Hi,
Thanks.
Why are --test and --setup not mentioned. These options are listed in the datagerry documentation.
https://datagerry.readthedocs.io/en/latest/dev_guide/setup.html#generate-clean-database
1.5.1.2. Insert test data (optional)
Optionally DATAGERRY can be filled with fictitious test data.
./datagerry --test
1.5.1.1. Generate clean database
To generate an empty database, start the CMDB with the
--setup
parameter. This starts a startup routine. During the startup, the database structure is created and a query to the admin user is started. In addition, the asymmetric key pair is generated and stored in the database`
Hi @sink1 ,
the section of the documentation is depricated and will be updated, thanks for hinting this one out.
“–test” and “–setup” flags are not used anymore.
BR Adnan