Skip to content

Commit

Permalink
www/gitlab-ce: upgrade to 16.4.1
Browse files Browse the repository at this point in the history
At first make sure you finished the upgrade to 16.3.x!

While running the database migration step, an error can happen.
So maybe test this at first in a test instance and/or have a backup ready.
You should not need it, but for this update it is better to have it ;)

A fix is described in the upgrade manual:
https://gitlab.fechner.net/mfechner/Gitlab-docu/-/blob/master/update/16.3-16.4-freebsd.md#database-migration-fails
The problem itself is described here:
https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8227

But as everyone has a different name for the foreign key that causes this problem
a corrected migration step does maybe not fix the problem for all users.
This is the reason I described steps in the upgrade manual to fix it for all users
and not wait for a upstream migration fix that does maybe not fix it, like this one:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/132686

This version and all further version will not be made available in quartely branch 2023Q4
to give the users the possibilty to first upgrade to required 16.3 version which is
in quarterly branch 2023Q4 available.

Changelog:
https://about.gitlab.com/releases/2023/09/22/gitlab-16-4-released/
https://about.gitlab.com/releases/2023/09/28/security-release-gitlab-16-4-1-released/
  • Loading branch information
mfechner committed Oct 4, 2023
1 parent f23a781 commit d5e2445
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 22 deletions.
15 changes: 15 additions & 0 deletions UPDATING
Expand Up @@ -5,6 +5,21 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.

20231004:
AFFECTS: www/gitlab-ce
AUTHOR: mfechner@FreeBSD.org

Before you upgrade to version 16.4.x or higher, make sure you did the
upgrade to 16.3.x!

The database migration for 16.4.1 can fail due to unexpected name of a foreign key.
So it is recommended to have a database backup available in case the solution
described in the update manual does not work for you.

The upgrade manual can be found as usual here:
https://gitlab.fechner.net/mfechner/Gitlab-docu/-/blob/master/update/16.3-16.4-freebsd.md


20230930:
AFFECTS: users of Transmission (net-p2p/transmission@*)
AUTHOR: mondo.debater_0q@icloud.com
Expand Down
2 changes: 1 addition & 1 deletion devel/gitaly/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gitaly
DISTVERSION= 16.4.0
DISTVERSION= 16.4.1
DISTVERSIONPREFIX= v
CATEGORIES= devel

Expand Down
10 changes: 5 additions & 5 deletions devel/gitaly/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1695542667
SHA256 (go/devel_gitaly/gitaly-v16.4.0/go.mod) = 297ad42064334fe0bdeb8b428bffb4d36edffa43233dfa9c33a24c39d5d3c2f3
SIZE (go/devel_gitaly/gitaly-v16.4.0/go.mod) = 10499
SHA256 (go/devel_gitaly/gitaly-v16.4.0/gitaly-v16.4.0.tar.bz2) = b799fd9627dbc5f7bd8f8841c5b22591880f47bb7e99d040749fb45276bf3cad
SIZE (go/devel_gitaly/gitaly-v16.4.0/gitaly-v16.4.0.tar.bz2) = 2450967
TIMESTAMP = 1695965694
SHA256 (go/devel_gitaly/gitaly-v16.4.1/go.mod) = 297ad42064334fe0bdeb8b428bffb4d36edffa43233dfa9c33a24c39d5d3c2f3
SIZE (go/devel_gitaly/gitaly-v16.4.1/go.mod) = 10499
SHA256 (go/devel_gitaly/gitaly-v16.4.1/gitaly-v16.4.1.tar.bz2) = 699024fba715ef6189dd4ffa4f0c52714bbc473e43b200a11979e73309dbb904
SIZE (go/devel_gitaly/gitaly-v16.4.1/gitaly-v16.4.1.tar.bz2) = 2450324
2 changes: 1 addition & 1 deletion www/gitlab-ce/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gitlab-ce
PORTVERSION= 16.4.0
PORTVERSION= 16.4.1
DISTVERSIONPREFIX= v
CATEGORIES= www devel

Expand Down
6 changes: 3 additions & 3 deletions www/gitlab-ce/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1695534531
SHA256 (gitlab-foss-v16.4.0.tar.bz2) = 87c14776bc7a22dbba53d2a25256aad2cb031e578014445cc4e298b39eb9caa2
SIZE (gitlab-foss-v16.4.0.tar.bz2) = 96949969
TIMESTAMP = 1696428405
SHA256 (gitlab-foss-v16.4.1.tar.bz2) = 1a408099b16bedfa4bbaa437bac75292c06d85fd6fe5ba80f3bc02d4515a83ae
SIZE (gitlab-foss-v16.4.1.tar.bz2) = 96987223
2 changes: 1 addition & 1 deletion www/gitlab-pages/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gitlab-pages
PORTVERSION= 16.4.0
PORTVERSION= 16.4.1
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES+= https://gitlab.com/gitlab-org/gitlab-pages/-/raw/v${DISTVERSION}/
Expand Down
10 changes: 5 additions & 5 deletions www/gitlab-pages/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1695539785
SHA256 (go/www_gitlab-pages/gitlab-pages-v16.4.0/go.mod) = 7c187a27bbe120e94adb41fb30ee7e5e0a5432bbae20db191a5e1deec02fc920
SIZE (go/www_gitlab-pages/gitlab-pages-v16.4.0/go.mod) = 2957
SHA256 (go/www_gitlab-pages/gitlab-pages-v16.4.0/gitlab-pages-v16.4.0.tar.bz2) = e8afe1b7e6da13fd3ddb7d67e388dbfdc128832b1c41c4688ab97dbcd9de0b9b
SIZE (go/www_gitlab-pages/gitlab-pages-v16.4.0/gitlab-pages-v16.4.0.tar.bz2) = 190443
TIMESTAMP = 1695965744
SHA256 (go/www_gitlab-pages/gitlab-pages-v16.4.1/go.mod) = 7c187a27bbe120e94adb41fb30ee7e5e0a5432bbae20db191a5e1deec02fc920
SIZE (go/www_gitlab-pages/gitlab-pages-v16.4.1/go.mod) = 2957
SHA256 (go/www_gitlab-pages/gitlab-pages-v16.4.1/gitlab-pages-v16.4.1.tar.bz2) = 0e56bb34a0bdc6b49373362fc27189298d66e56d133e685f47cfd50f761dc6e7
SIZE (go/www_gitlab-pages/gitlab-pages-v16.4.1/gitlab-pages-v16.4.1.tar.bz2) = 190359
2 changes: 1 addition & 1 deletion www/gitlab-workhorse/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gitlab-workhorse
PORTVERSION= 16.4.0
PORTVERSION= 16.4.1
DISTVERSIONPREFIX= v
CATEGORIES= www

Expand Down
10 changes: 5 additions & 5 deletions www/gitlab-workhorse/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1695539869
SHA256 (go/www_gitlab-workhorse/gitlab-foss-v16.4.0/go.mod) = 6dbac21e68f49d022a392749e180c5297fee0f401dd9a96c86c8c1e1ae4165a1
SIZE (go/www_gitlab-workhorse/gitlab-foss-v16.4.0/go.mod) = 6691
SHA256 (go/www_gitlab-workhorse/gitlab-foss-v16.4.0/gitlab-foss-v16.4.0.tar.bz2) = 87c14776bc7a22dbba53d2a25256aad2cb031e578014445cc4e298b39eb9caa2
SIZE (go/www_gitlab-workhorse/gitlab-foss-v16.4.0/gitlab-foss-v16.4.0.tar.bz2) = 96949969
TIMESTAMP = 1695965964
SHA256 (go/www_gitlab-workhorse/gitlab-foss-v16.4.1/go.mod) = 6dbac21e68f49d022a392749e180c5297fee0f401dd9a96c86c8c1e1ae4165a1
SIZE (go/www_gitlab-workhorse/gitlab-foss-v16.4.1/go.mod) = 6691
SHA256 (go/www_gitlab-workhorse/gitlab-foss-v16.4.1/gitlab-foss-v16.4.1.tar.bz2) = 1a408099b16bedfa4bbaa437bac75292c06d85fd6fe5ba80f3bc02d4515a83ae
SIZE (go/www_gitlab-workhorse/gitlab-foss-v16.4.1/gitlab-foss-v16.4.1.tar.bz2) = 96987223

0 comments on commit d5e2445

Please sign in to comment.