Гилаб восстановлен нормально но репо не найдено
Мне нужно перенести установку gitlab-ce в другое место, поэтому я настроил другой сервер, на котором установлен Gitlab-ce 8.14.10, установленный из исходного кода, такой же, как и в оригинале, и рекомендуется в документации.
В моей новой системе я импортировал резервную копию и, очевидно, все прошло хорошо.
You are running as user root, we hope you know what you are doing.
Things may work/fail for the wrong reasons.
For correct results you should run this as user git.
Unpacking backup ... done
Before restoring the database we recommend removing all existing
tables to avoid future upgrade problems. Be aware that if you have
custom tables in the GitLab database these tables and all data will be
removed.
Do you want to continue (yes/no)? yes
Removing all tables. Press `Ctrl-C` within 5 seconds to abort
Cleaning the database ...
done
Restoring database ...
Restoring MySQL database gitlabhq_production ... [DONE]
done
Restoring repositories ...
* apost/apost-mobile ... [DONE]
* apost/apost-mobile.wiki ... [DONE]
[All the other repos where marked as DONE with no errors]
* miguelp/demo-design ... [DONE]
Put GitLab hooks in repositories dirs [DONE]
done
Restoring uploads ...
done
Restoring builds ...
done
Restoring artifacts ...
done
Restoring lfs objects ...
done
This will rebuild an authorized_keys file.
You will lose any data stored in authorized_keys file.
Do you want to continue (yes/no)? yes
........................................
Deleting tmp directories ... done
done
done
done
done
done
done
Так что исходя из этого все должно быть в порядке. Я вижу, что проекты, группы и пользователи работают, но в проекте нет репо.
если я выполню проверку sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Я получаю это:
Checking GitLab Shell ...
GitLab Shell version >= 4.1.1 ? ... OK (4.1.1)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
ACE / Apost mobile ... repository is empty
LOOKATITUDE / Site - frontend ... repository is empty
LOOKATITUDE / Presentation deck ... repository is empty
Miguel Pinto / demo-design ... repository is empty
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /home/git/.ssh/authorized_keys: OK
Send ping to redis server: OK
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
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
ACE / Apost mobile ... yes
LOOKATITUDE / Site - frontend ... yes
LOOKATITUDE / Presentation deck ... yes
Miguel Pinto / demo-design ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/usr/local/bin/git"
Git version >= 2.7.3 ? ... yes (2.16.2)
Active users: 14
Checking GitLab ... Finished
Я понятия не имею, почему репозитории отсутствуют, не было ни ошибки при импорте, ни сообщения о том, что он пропускал репо.
Есть идеи? Заранее спасибо.