Upgrade Notes

Steps to upgrade from buster-fasttrack to bullseye-fasttrack. This is not yet recommended, we are currently testing the buster to bullseye upgrades.

Make sure all the updates to buster is applied and you are on gitlab 13.12.x latest available version.

Change buster to bullseye for official archive and replace fasttrack related repos with

deb https://fasttrack.debian.net/debian/ bullseye-fasttrack main contrib
# For dependency packages not in testing only temporarily due to freeze, transitions or delayed by backports-new or NEW.
deb https://fasttrack.debian.net/debian/ bullseye-backports-staging main contrib
# Eventually the packages in this repo will be moved to fasttrack or official backports after fixing https://salsa.debian.org/fasttrack-team/support/-/issues/8 (Need help)
deb https://people.debian.org/~praveen/gitaly bullseye-fasttrack main contrib
deb https://people.debian.org/~praveen/gitaly bullseye-backports-staging main contrib

# wget https://people.debian.org/~praveen/fasttrack-staging/praveen.key.new.gpg
# cp praveen.key.new.gpg /etc/apt/trusted.gpg.d/

Note 1: backports suite is now bullseye-backports-staging to avoid confusion with official bullseye-backports.

# apt update
# apt install gitlab-apt-pin-preferences

Version issues: (buster-fasttrack versions are higher than bullseye versions due to initial +fto suffix, some ruby native packages needs to be downgraded)

# apt install ruby-bootsnap/bullseye ruby-rbtrace/bullseye ruby-ffi/bullseye \
 ruby-json/bullseye ruby-pg/bullseye ruby-gpgme/bullseye ruby-redcloth/bullseye \
 ruby-re2/bullseye ruby-prof/bullseye ruby-yajl/bullseye ruby-unf-ext/bullseye \
 ruby-rinku/bullseye ruby-character-set/bullseye gitlab

List of packages that could be potentially removed from the archive (check if there are other reverse dependencies): ruby-font-awesome-rails ruby-gitlab-pg-query ruby-hipchat ruby-jquery-atwho-rails ruby-mimemagic ruby-molinillo ruby-nakayoshi-fork ruby-net-http-persistent ruby-rufus-scheduler

Manually upgrade postgresql