|
2 | 2 | stage: Systems
|
3 | 3 | group: Distribution
|
4 | 4 | info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
|
| 5 | +remove_date: '2024-08-21' |
| 6 | +redirect_to: 'https://docs.gitlab.com/ee/update/versions/gitlab_15_changes.html' |
5 | 7 | ---
|
6 | 8 |
|
7 |
| -# GitLab 15 specific changes **(FREE SELF)** |
| 9 | +This document was moved to [another location](https://docs.gitlab.com/ee/update/versions/gitlab_15_changes.html). |
8 | 10 |
|
9 |
| -NOTE: |
10 |
| -When upgrading to a new major version, remember to first [check for background migrations](https://docs.gitlab.com/ee/update/index.html#check-for-background-migrations-before-upgrading). |
11 |
| - |
12 |
| -## 15.11 |
13 |
| - |
14 |
| -### PostgreSQL 13 upgrade |
15 |
| - |
16 |
| -In GitLab 15.11, PostgreSQL will automatically be upgraded to 13.x except for the following cases: |
17 |
| - |
18 |
| -- You are running the database in high availability using Patroni. |
19 |
| -- Your database nodes are part of GitLab Geo configuration. |
20 |
| -- You have specifically [opted out](../settings/database.md#opt-out-of-automatic-postgresql-upgrades). |
21 |
| -- You have `postgresql['version'] = 12` in your `gitlab.rb` |
22 |
| - |
23 |
| -Fault-tolerant and Geo installations support manual upgrades to PostgreSQL 13, see [Packaged PostgreSQL deployed in an HA/Geo Cluster](../settings/database.md#packaged-postgresql-deployed-in-an-hageo-cluster). |
24 |
| - |
25 |
| -## 15.6 |
26 |
| - |
27 |
| -### PostgreSQL version updates |
28 |
| - |
29 |
| -In GitLab 15.6, the [PostgreSQL versions shipped with `omnibus-gitlab` packages](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html) |
30 |
| -have been upgraded to 12.12 and 13.8. Unless |
31 |
| -[explicitly opted out](../settings/database.md#automatic-restart-when-the-postgresql-version-changes), |
32 |
| -this can cause an automatic restart of the PostgreSQL service, and can |
33 |
| -potentially cause downtime. |
34 |
| - |
35 |
| -## 15.0 |
36 |
| - |
37 |
| -### PostgreSQL version updates |
38 |
| - |
39 |
| -In GitLab 15.0, Linux package installations [ship with PostgreSQL versions](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html) 12.10 for upgrades and 13.6 for fresh installs. |
40 |
| -Because of underlying structural changes, the running PostgreSQL |
41 |
| -process **_must_** be restarted when it is upgraded before running database migrations. If automatic |
42 |
| -restart is skipped, you must run the following command before |
43 |
| -migrations are run: |
44 |
| - |
45 |
| -```shell |
46 |
| -# If using PostgreSQL |
47 |
| -sudo gitlab-ctl restart postgresql |
48 |
| - |
49 |
| -# If using Patroni for Database replication |
50 |
| -sudo gitlab-ctl restart patroni |
51 |
| -``` |
52 |
| - |
53 |
| -If PostgreSQL is not restarted, you might face |
54 |
| -[errors related to loading libraries](../settings/database.md#could-not-load-library-plpgsqlso). |
55 |
| - |
56 |
| -### Automatic restart of PostgreSQL service on version change |
57 |
| - |
58 |
| -Starting with GitLab 15.0, `postgresql` and `geo-postgresql` services are |
59 |
| -automatically restarted when the PostgreSQL version changes. Restarting |
60 |
| -PostgreSQL services causes downtime due to the temporary unavailability of the |
61 |
| -database for operations. While this restart is mandatory for proper functioning |
62 |
| -of the Database services, you might want more control over when the PostgreSQL |
63 |
| -is restarted. For that purpose, you can choose to skip the automatic restarts as |
64 |
| -part of `gitlab-ctl reconfigure` and manually restart the services. |
65 |
| - |
66 |
| -To skip automatic restarts as part of GitLab 15.0 upgrade, perform the following |
67 |
| -steps before the upgrade: |
68 |
| - |
69 |
| -1. Edit `/etc/gitlab/gitlab.rb` and add the following line: |
70 |
| - |
71 |
| - ```ruby |
72 |
| - # For PostgreSQL/Patroni |
73 |
| - postgresql['auto_restart_on_version_change'] = false |
74 |
| - |
75 |
| - # For Geo PostgreSQL |
76 |
| - geo_postgresql['auto_restart_on_version_change'] = false |
77 |
| - ``` |
78 |
| - |
79 |
| -1. Reconfigure GitLab: |
80 |
| - |
81 |
| - ```shell |
82 |
| - sudo gitlab-ctl reconfigure |
83 |
| - ``` |
84 |
| - |
85 |
| -NOTE: |
86 |
| -It is mandatory to restart PostgreSQL when underlying version changes, to avoid |
87 |
| -errors like the [one related to loading necessary libraries](../settings/database.md#could-not-load-library-plpgsqlso) |
88 |
| -that can cause downtime. So, if you skip the automatic restarts using the above |
89 |
| -method, ensure that you restart the services manually before upgrading to GitLab |
90 |
| -15.0. |
91 |
| - |
92 |
| -### AES256-GCM-SHA384 SSL cipher no longer allowed by default by NGINX |
93 |
| - |
94 |
| -Starting with GitLab 15.0, the `AES256-GCM-SHA384` SSL cipher will not be allowed by |
95 |
| -NGINX by default. If you require this cipher (for example, if you use |
96 |
| -[AWS's Classic Load Balancer](https://docs.aws.amazon.com/en_en/elasticloadbalancing/latest/classic/elb-ssl-security-policy.html#ssl-ciphers)), |
97 |
| -you can add the cipher back to the allow list by following the steps below: |
98 |
| - |
99 |
| -1. Edit `/etc/gitlab/gitlab.rb` and add the following line to it: |
100 |
| - |
101 |
| - ```ruby |
102 |
| - nginx['ssl_ciphers'] = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:AES256-GCM-SHA384" |
103 |
| - ``` |
104 |
| - |
105 |
| -1. Run `sudo gitlab-ctl reconfigure`. |
106 |
| - |
107 |
| -### Removing support for Gitaly's internal socket path |
108 |
| - |
109 |
| -In GitLab 14.10, Gitaly introduced a new directory that holds all runtime data Gitaly requires to operate correctly. This |
110 |
| -new directory replaces the old internal socket directory, and consequentially the usage of `gitaly['internal_socket_dir']` |
111 |
| -was deprecated in favor of `gitaly['runtime_dir']`. |
112 |
| - |
113 |
| -The old `gitaly['internal_socket_dir']` configuration was removed in this release. |
114 |
| - |
115 |
| -### PostgreSQL 13.6 support |
116 |
| - |
117 |
| -PostgreSQL 13.6 is being shipped as the default version for fresh installs. |
118 |
| - |
119 |
| -Users can manually upgrade to 13.6 following the [upgrade docs](../settings/database.md#gitlab-150-and-later). |
120 |
| - |
121 |
| -### Removed background uploads settings for object storage |
122 |
| - |
123 |
| -Object storage now preferentially uses direct uploads. |
124 |
| - |
125 |
| -The following keys are no longer supported in `gitlab.rb`: |
126 |
| - |
127 |
| -- `gitlab_rails['artifacts_object_store_direct_upload']` |
128 |
| -- `gitlab_rails['artifacts_object_store_background_upload']` |
129 |
| -- `gitlab_rails['external_diffs_object_store_direct_upload']` |
130 |
| -- `gitlab_rails['external_diffs_object_store_background_upload']` |
131 |
| -- `gitlab_rails['lfs_object_store_direct_upload']` |
132 |
| -- `gitlab_rails['lfs_object_store_background_upload']` |
133 |
| -- `gitlab_rails['uploads_object_store_direct_upload']` |
134 |
| -- `gitlab_rails['uploads_object_store_background_upload']` |
135 |
| -- `gitlab_rails['packages_object_store_direct_upload']` |
136 |
| -- `gitlab_rails['packages_object_store_background_upload']` |
137 |
| -- `gitlab_rails['dependency_proxy_object_store_direct_upload']` |
138 |
| -- `gitlab_rails['dependency_proxy_object_store_background_upload']` |
| 11 | +<!-- This redirect file can be deleted after 2024-08-21. --> |
| 12 | +<!-- Redirects that point to other docs in the same project expire in three months. --> |
| 13 | +<!-- Redirects that point to docs in a different project or site (for example, link is not relative and starts with `https:`) expire in one year. --> |
| 14 | +<!-- Before deletion, see: https://docs.gitlab.com/ee/development/documentation/redirects.html --> |
0 commit comments