Our current running GitLab version is 6.8.1. As part of upgrade it into 
latest I followed 
 
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/update/README.md#upgrading-from-non-omnibus-mysql-to-an-omnibus-installation-version-68
 

In this above link recomment to do it in the following step

- Create a backup of the non-Omnibus MySQL installation 
<https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md#create-a-backup-of-the-gitlab-system>
 
- Export and convert the existing MySQL database in the GitLab backup file 
<https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/mysql_to_postgresql.md#converting-a-gitlab-backup-file-from-mysql-to-postgres>
 
- Restore this in the Omnibus installation 
<https://gitlab.com/gitlab-org/omnibus-gitlab/blob/98b1bfb0d70082953d63abbc329cd6f2c628d3bc/README.md#restoring-an-application-backup>
 
- Rebuild database indexes 
<https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/mysql_to_postgresql.md#for-omnibus-gitlab-installations>
I can successfully compete the above two steps, when i try to restore the 
backup into this latest version, I am getting the following version 
Mismatch error

root@next-cm:/var/opt/gitlab/backups
-> sudo gitlab-rake gitlab:backup:restore BACKUP=1440485365
Unpacking backup ... done
GitLab version mismatch:
  Your current GitLab version (7.14.0) differs from the GitLab version in 
the backup!
  Please switch to the following version and try again:
  version: 6.8.1

Hint: git checkout v6.8.1

It will be good to get the solution for it

Thanks
Roni

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/1bc4206f-447d-4ef2-a86f-408e5442d18f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to