Резервное копирование хранилища - PullRequest
0 голосов
/ 11 марта 2020

У меня проблемы с резервным копированием только что созданного репозитория git. Я приложил файл ниже. Мои вопросы: что означает Rake Aborted? Почему говорится, что Проект не создан?

2020-03-11 16:16:50 +0530 -- Dumping database ... 
Dumping PostgreSQL database gitlabhq_production ... [DONE]
2020-03-11 16:16:51 +0530 -- done
2020-03-11 16:16:51 +0530 -- Dumping repositories ...
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "projects" does not exist
LINE 1: SELECT "projects".* FROM "projects" ORDER BY "projects"."id"...
                               ^
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/repository.rb:17:in `dump'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:88:in `block (4 levels) in <top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:11:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Caused by:
PG::UndefinedTable: ERROR:  relation "projects" does not exist
LINE 1: SELECT "projects".* FROM "projects" ORDER BY "projects"."id"...
                               ^
/opt/gitlab/embedded/service/gitlab-rails/lib/backup/repository.rb:17:in `dump'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:88:in `block (4 levels) in <top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:11:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:backup:repo:create
(See full trace by running task with --trace** ```



...