GitHub user sebbASF opened an issue:
Bug: setup.py can overwrite existing config files
The setup.py script does not detect if it has already created the
tools/ponymail.cfg and site/api/lib/config.lua configuration files.
If the database already exists, then it will exit with an error and not try
to change the mappings; nor will it create the config files
However if the database does not exist, setup will uncondionally recreate
config.lua and ponymail.cfg. This can easily happen if setup is run with a
misspelt dbname parameter.
The design of the configuration files does not currently allow for use with
multiple database names, so it's important to ensure that they correspond with
the existing database (if any)
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket