Se connecter sur le container:
[simterm]
docker exec -it gitlab_container /bin/bash
[/simterm]
[simterm]
root@gitlab:/# gitlab-rails dbconsole –database main
psql (12.7)
Type « help » for help.
gitlabhq_production=> UPDATE projects SET runners_token = null, runners_token_encrypted = null;
UPDATE 6
gitlabhq_production=> UPDATE namespaces SET runners_token = null, runners_token_encrypted = null;
UPDATE 14
gitlabhq_production=> UPDATE application_settings SET runners_registration_token_encrypted = null;
UPDATE 1
gitlabhq_production=> UPDATE application_settings SET encrypted_ci_jwt_signing_key = null;
UPDATE 1
gitlabhq_production=> UPDATE ci_runners SET token = null, token_encrypted = null;
UPDATE 1
gitlabhq_production=>
gitlabhq_production=> UPDATE ci_builds SET token = null, token_encrypted = null;
UPDATE 10[/simterm]