http://wmj5kiicroak3dvoelipkcqobw7kwtltbqnmuv576l6x4b56b6dvmdad.onion/help/update/upgrading_from_source.md
The version of the code must be compatible with the version of the schema that's used. The older schema is in the backup. Restore from a backup To restore from a backup: cd /home/git/gitlab sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV = production If you have more than one backup *.tar file, add BACKUP=timestamp_of_backup to the previous code block.