https://forum.gitlab.com/t/upgrade-gitlab-6-5-1-to-latest-version-10-6-4/15974 apt-get purge redis-server apt-get install redis-server sudo service gitlab stop cd /home/git/gitlab sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production sudo -u git -H ruby script/upgrade.rb sudo mv /home/homefolder/backupfile.tar /var/opt/gitlab/backups sudo gitlab-rake gitlab:backup:restore command ==releases== https://about.gitlab.com/releases/categories/releases/ ==gemnenisum== https://gitlab.com/gitlab-org/gitlab/issues/32320 gem "gemnasium-gitlab-service", git: "https://github.com/gemnasium/gemnasium-gitlab-service", tag: "v0.2.1" ==migrate to pg== https://github.com/gitlabhq/gitlab-recipes/tree/master/database/migrate-mysql-to-postgres ===different version pg=== https://tecadmin.net/install-postgresql-server-on-ubuntu/# ==upgrade pathway== https://docs.gitlab.com/ee/policy/maintenance.html#upgrade-recommendations ==correct sequence== #stop service #change from mysql to pg #backup #upgrade script from 6.5.2 to 6.9.2 #modify gemfile and bundle #backup on 6.9.2 #restore on omnibus 6.9.2 #upgrade to later version (if there is an error, fix it with manual psql)