Today, I upgraded my Gitlab CE install OS from Ubuntu 22.04 to 24.04 using the distro upgrade.

Before upgrading, I made a full backup of the VM.

When the OS upgraded to Ubuntu 24.04, I added the two repositions back to the system.

1) Webmin

Run the following command to add it.

curl -o webmin-setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repos.sh
sh webmin-setup-repos.sh

2) Gitlab-CE

curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
sudo bash script.deb.sh

 

Look at the Webmin dashboard.

Later, I did another dist upgrade on my GitLab-runner server. It is on a separate VM. All the runners are tested.

To add gitlab-runner repos.

curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash

Follow the link to add a docker repo back.

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

Your email address will not be published. Required fields are marked *