backup_create gives error
Created by: mthibaut
Hi,
When using backup_create on 2.9.1 or 3.0.1 on the same sqlite3 database file, I get this error:
$ bundle exec rake gitlab:app:backup_create Dumping database tables:
- Dumping table events... [DONE]
- Dumping table groups... [DONE]
- Dumping table issues... [DONE]
- Dumping table keys... [DONE]
- Dumping table merge_requests... [DONE]
- Dumping table milestones... [DONE]
- Dumping table notes... [DONE]
- Dumping table projects... [DONE]
- Dumping table protected_branches... [DONE]
- Dumping table services... [DONE]
- Dumping table snippets... [DONE]
- Dumping table taggings... [DONE]
- Dumping table tags... [DONE]
- Dumping table users... [DONE]
- Dumping table users_projects... [DONE]
- Dumping table web_hooks... [DONE]
- Dumping table wikis... [DONE]
- Dumping table schema_migrations... [DONE]
Dumping repositories:
rake aborted!
undefined method
second' for nil:NilClass /var/lib/gitlab/gitlab/lib/tasks/gitlab/backup.rake:118:in
block (3 levels) in <top (required)>' /var/lib/gitlab/gitlab/lib/tasks/gitlab/backup.rake:9:in `block (3 levels) in <top (required)>' Tasks: TOP => gitlab:app:repo_dump (See full trace by running task with --trace)
This is a production gitlab instance with about 15 repositories inside it, so the list of repos is not empty. "bundle exec rake gitlab:app:status RAILS_ENV=production" works fine, and the instance runs happily.
The only thing that doesn't work is creating a backup, which means that I cannot migrate... Please help!