Hi, I’m getting the following error when I try to start astro using the latest version (0.9.2).
[2019-06-27 17:32:09,033] {manager.py:160} ERROR - Error adding new user to database. (psycopg2.IntegrityError) duplicate key value violates unique constraint "ab_user_username_key"
DETAIL: Key (username)=(admin) already exists.
[SQL: "INSERT INTO ab_user (id, first_name, last_name, username, password, active, email, last_login, login_count, fail_login_count, created_on, changed_on, created_by_fk, changed_by_fk) VALUES (nextval('ab_user_id_seq'), %(first_name)s, %(last_name)s, %(username)s, %(password)s, %(active)s, %(email)s, %(last_login)s, %(login_count)s, %(fail_login_count)s, %(created_on)s, %(changed_on)s, %(created_by_fk)s, %(changed_by_fk)s) RETURNING ab_user.id"] [parameters: {'first_name': 'admin', 'last_name': 'user', 'username': 'admin', 'password': 'pbkdf2:sha256:50000$bJ87UvwE$3a09358efd95a421ee8273f47c2b83c867c21084974e06f060cd2fe55e3258e7', 'active': True, 'email': 'admin@example.com', 'last_login': None, 'login_count': None, 'fail_login_count': None, 'created_on': datetime.datetime(2019, 6, 27, 17, 32, 9, 29414), 'changed_on': datetime.datetime(2019, 6, 27, 17, 32, 9, 29444), 'created_by_fk': None, 'changed_by_fk': None}]
Failed to create user.
^ This is from the logs for the webserver container.