- Dumping table wikis... [DONE]
Dumping repositories:
- Dumping repository abcd... [DONE]
-- Dumping repository gitolite-admin.git... [DONE]
Creating backup archive: $TIMESTAMP_gitlab_backup.tar [DONE]
Deleting tmp directories...[DONE]
Deleting old backups... [SKIPPING]
- Loading fixture wikis...[SKIPPING]
Restoring repositories:
- Restoring repository abcd... [DONE]
-- Restoring repository gitolite-admin.git... [DONE]
Deleting tmp directories...[DONE]
```
-### Remove grabage from gitolite config and filesystem. Important! Data loss!
-
-Remove projects from gitolite config if they dont exist in GitLab database
-
-```
-bundle exec rake gitlab:cleanup:config RAILS_ENV=production
-```
+### Remove grabage from filesystem. Important! Data loss!
Remove namespaces(dirs) from /home/git/repositories if they dont exist in GitLab database
```
-### Enable auto merge
+### Rebuild project satellites
-This command will enable the auto merge feature. After this you will be able to **merge a merge request** via GitLab and use the **online editor**.
+This command will build missing satellites for projects. After this you will be able to **merge a merge request** via GitLab and use the **online editor**.
```
-bundle exec rake gitlab:enable_automerge RAILS_ENV=production
+bundle exec rake gitlab:satellites:create RAILS_ENV=production
```
Example output:
Using LDAP: no
Using Omniauth: no
-Gitolite information
-Version: v3.04-4-g4524f01
-Admin URI: git@localhost:gitolite-admin
-Admin Key: gitlab
+GitLab Shell
+Version: 1.0.4
Repositories: /home/git/repositories/
-Hooks: /home/git/.gitolite/hooks/
+Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
```
Runs the following rake tasks:
* gitlab:env:check
-* gitlab:gitolite:check
-* gitlab:resque:check
+* gitlab:gitlab_shell:check
+* gitlab:sidekiq:check
* gitlab:app:check
It will check that each component was setup according to the installation guide and suggest fixes for issues found.
Checking Gitolite ...
Using recommended version ... yes
-Repo umask is 0007 in .gitolite.rc? ... yes
-Allow all Git config keys in .gitolite.rc ... yes
Config directory exists? ... yes
Config directory owned by git:git? ... yes
Config directory access is drwxr-x---? ... yes
Repo base directory exists? ... yes
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
-Can clone gitolite-admin? ... yes
-Can commit to gitolite-admin? ... yes
post-receive hook exists? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ...
bundle exec rake gitlab:satellites:create RAILS_ENV=production
```
-
-### Rebuild each key at gitolite config
-
-This will send all users ssh public keys to gitolite and grant them access (based on their permission) to their projects.
-
-```
-bundle exec rake gitlab:gitolite:update_keys RAILS_ENV=production
-```
-
-
-### Rebuild each project at gitolite config
-
-This makes sure that all projects are present in gitolite and can be accessed.
-
-```
-bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production
-```
-
### Import bare repositories into GitLab project instance
Notes: