You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
galaxy_tools_create_bootstrap_user: yes
galaxy_tools_delete_bootstrap_user: no
and have modified the task that is managing the bootstrap user such that the admin_user variable is reseted always (even if galaxy_tools_delete_bootstrap_user is no).
Installation using the bootstrap user fails when the role is executed multiple times (when boostrap user creation and deletion is yes).
During the task Create Galaxy bootstrap user with the following exception is raised:
sqlalchemy.exc.IntegrityError: (psycopg2.IntegrityError) duplicate key value violates unique constraint "ix_role_name"\n [SQL: 'INSERT INTO role (create_time, update_time, name, description, type, deleted) VALUES (%(create_time)s, %(update_time)s, %(name)s, %(description)s, %(type)s, %(deleted)s) RETURNING role.id'
The problem is that manage_bootstrap_user.py (but I guess the problem is deeper) does not delete the role which is created with the user.
The text was updated successfully, but these errors were encountered: