Does not work 2FA in 8.5.1
2FA is not working after installing GitLab on the new server and restoring the backup from the old server. Field KEY in Account section is not displayed and generated bad QR.
Open Account in Profile Settings.
Click "Enable Two-factor Authentication".
See QR, account name, empty key field, and time based "yes".
Attempt to scan QR returning error "Bad QR" (ex. Google Authenticator).
GitLab 8.5.1
GitLab Shell 2.6.10
GitLab API v3
Git 2.6.2
Ruby 2.1.8p440
Rails 4.2.5.1
PostgreSQL 9.2.10
Sign-up off.
OmniAuth off.
Checking GitLab Shell ...
GitLab Shell version >= 2.6.10 ? ... OK (2.6.10)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
hooks directories in repos are links: ...
2/1 ... ok
4/2 ... ok
2/3 ... ok
4/4 ... ok
4/5 ... ok
4/6 ... ok
4/7 ... ok
2/8 ... ok
4/9 ... ok
4/10 ... ok
2/11 ... ok
3/12 ... ok
2/13 ... ok
3/14 ... ok
3/15 ... ok
2/16 ... ok
2/17 ... ok
2/18 ... ok
8/19 ... ok
8/20 ... ok
2/21 ... ok
2/22 ... ok
2/23 ... repository is empty
3/24 ... ok
3/25 ... ok
2/26 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/var/opt/gitlab/git-data/repositories: OK
/var/opt/gitlab/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.21
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
2/1 ... yes
4/2 ... yes
2/3 ... yes
4/4 ... yes
4/5 ... yes
4/6 ... yes
4/7 ... yes
2/8 ... yes
4/9 ... yes
4/10 ... yes
2/11 ... yes
3/12 ... yes
2/13 ... yes
3/14 ... yes
3/15 ... yes
2/16 ... yes
2/17 ... yes
2/18 ... yes
8/19 ... yes
8/20 ... yes
2/21 ... yes
2/22 ... yes
2/23 ... yes
3/24 ... yes
3/25 ... yes
2/26 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.8)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 1.7.10 ? ... yes (2.6.2)
Active users: 2
Checking GitLab ... Finished
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.1.8p440
Gem Version: 2.5.1
Bundler Version:1.10.6
Rake Version: 10.5.0
Sidekiq Version:4.0.1
GitLab information
Version: 8.5.1
Revision: 8b7080d
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://git.*****.ru
HTTP Clone URL: http://git.*****.ru/some-group/some-project.git
SSH Clone URL: git@git.*****.ru:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 2.6.10
Repositories: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git