Commit fd9d8aad authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Fix old install

parent dc87e579
......@@ -205,8 +205,9 @@ def migrate(migrator):
if srv.service == 'grafana':
conf['pg_password'] = conf['password']
del conf['password']
conf['pg_password'] = conf.get('password', 'grafana')
if "password" in conf:
del conf['password']
if srv.service == 'mongod':
conf['db'] = conf['mongod_db']
del conf['mongod_db']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment