Skip to content

Commit 51ba6fc

Browse files
committed
Redirect pages for changes to unsupported versions
1 parent c31dab1 commit 51ba6fc

File tree

4 files changed

+28
-476
lines changed

4 files changed

+28
-476
lines changed

doc/update/gitlab_10_changes.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,13 @@
22
stage: Systems
33
group: Distribution
44
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: '2023-10-20'
6+
redirect_to: '../index.md'
57
---
68

7-
# GitLab 10 specific changes **(FREE SELF)**
9+
This document was moved to [another location](../index.md).
810

9-
From version 10.0 GitLab requires the version of PostgreSQL to be 9.6 or
10-
higher.
11-
12-
Check out [docs on upgrading packaged PostgreSQL server](../settings/database.md#upgrade-packaged-postgresql-server)
13-
for details.
14-
15-
- For users running versions below 8.15 and using PostgreSQL bundled with
16-
omnibus, this means they will have to first upgrade to 9.5.x, during which
17-
PostgreSQL will be automatically updated to 9.6.
18-
- Users who are on versions above 8.15, but chose not to update PostgreSQL
19-
automatically during previous upgrades, can run the following command to
20-
update the bundled PostgreSQL to 9.6
21-
22-
```shell
23-
sudo gitlab-ctl pg-upgrade
24-
```
25-
26-
You can check the PostgreSQL version with:
27-
28-
```shell
29-
/opt/gitlab/embedded/bin/psql --version
30-
```
11+
<!-- This redirect file can be deleted after 2023-10-20. -->
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 -->

doc/update/gitlab_11_changes.md

Lines changed: 7 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -2,167 +2,13 @@
22
stage: Systems
33
group: Distribution
44
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: '2023-10-20'
6+
redirect_to: '../index.md'
57
---
68

7-
# GitLab 11 specific changes **(FREE SELF)**
9+
This document was moved to [another location](../index.md).
810

9-
## TLS v1.1 Deprecation
10-
11-
Beginning with GitLab 12.0, TLS v1.1 will be disabled by default to improve security.
12-
13-
This mitigates numerous issues including, but not limited to, Heartbleed and makes
14-
GitLab compliant out of the box with the PCI DSS 3.1 standard.
15-
[Learn more about why TLS v1.1 is being deprecated in our blog.](https://about.gitlab.com/blog/2018/10/15/gitlab-to-deprecate-older-tls/)
16-
17-
## Clients supporting TLS v1.2
18-
19-
- **Git-Credential-Manager** - support since **1.14.0**
20-
- **Git on Red Hat Enterprise Linux 6** - support since **6.8**
21-
- **Git on Red Hat Enterprise Linux 7** - support since **7.2**
22-
- **JGit / Java** - support since **JDK 7**
23-
- **Visual Studio** - support since version **2017**
24-
25-
Modify or add these entries to `gitlab.rb` and run `gitlab-ctl reconfigure` to disable TLS v1.1 immediately:
26-
27-
```ruby
28-
nginx['ssl_protocols'] = "TLSv1.2"
29-
```
30-
31-
## Upgrade prerequisites
32-
33-
For successfully upgrading to GitLab 11.0, users need to satisfy following
34-
requirements:
35-
36-
1. Users should be running latest version in the 10.x series. At the time of
37-
writing this documentation, it is GitLab 10.8.7.
38-
39-
1. The configurations that were deprecated (list below) in the 10.x series have
40-
been now removed. Users needs to remove them from `/etc/gitlab/gitlab.rb`. Then run `gitlab-ctl reconfigure` to apply the configuration changes.
41-
42-
If either of the above requirements are not satisfied, upgrade process will
43-
abort without making changes to user's existing installation. This is to ensure
44-
that users does not end up with a broken GitLab due to these unsupported
45-
configurations.
46-
47-
## Removed configurations
48-
49-
The following configurations were deprecated in the 10.x series and have now
50-
been removed:
51-
52-
1. Mattermost related configurations - Support for most of the Mattermost
53-
related configuration have been removed, except for the essential ones that
54-
are needed for GitLab-Mattermost integration. [Check out the official documentation for details](https://docs.gitlab.com/ee/integration/mattermost/index.html#upgrading-gitlab-mattermost-from-versions-prior-to-110)
55-
56-
1. Legacy `git_data_dir` configuration, which was used to set location of where
57-
data was to be stored. It has been now replaced with `git_data_dirs`
58-
configuration. [Check out the official documentation for details](../settings/configuration.md#store-git-data-in-an-alternative-directory)
59-
60-
1. Old format of `git_data_dirs` configuration has been replaced with a new
61-
format, allowing much more fine grain control. [Check out the official documentation for details](../settings/configuration.md#store-git-data-in-an-alternative-directory)
62-
63-
## Changes introduced in minor versions
64-
65-
### 11.2
66-
67-
Rack Attack is disabled by default. To continue using Rack Attack, you must [enable it manually](https://docs.gitlab.com/ee/administration/settings/protected_paths.html).
68-
69-
### 11.3
70-
71-
1. A [security patch](https://about.gitlab.com/releases/2018/11/28/security-release-gitlab-11-dot-5-dot-1-released/#improper-enforcement-of-token-scope)
72-
removed the ability to get files from a repository by passing
73-
a `private_token` URL parameter.
74-
Instead, a redirect to `/users/sign_in` is now served.
75-
Update any CI scripts, custom automations, etc. to use the
76-
[repository files API](https://docs.gitlab.com/ee/api/repository_files.html#get-raw-file-from-repository).
77-
78-
### 11.4
79-
80-
1. Version of bundled Redis has been upgraded to 3.2.12. This is a critical
81-
security update that fixes multiple vulnerabilities. After upgrading to 11.4,
82-
run `gitlab-ctl restart redis` to ensure the new version is loaded.
83-
84-
1. The [bundled version of Prometheus](https://docs.gitlab.com/ee/administration/monitoring/prometheus/index.html)
85-
has been upgraded to 2.4.2 and fresh installations will use it by default.
86-
Version 2 of Prometheus uses a data format incompatible with version 1.
87-
88-
For users looking for preserving the Prometheus version 1 data, a command
89-
line tool is provided to upgrade their Prometheus service and migrate data to
90-
the format supported by new Prometheus version. This tool can be invoked
91-
using the following command:
92-
93-
```shell
94-
sudo gitlab-ctl prometheus-upgrade
95-
```
96-
97-
This tool will convert existing data to a format supported by the latest
98-
Prometheus version. Depending on the volume of data, this process can take
99-
hours. If users do not want to migrate the data, but start with a clean
100-
database, they can pass `--skip-data-migration` flag to the above command.
101-
102-
NOTE:
103-
Prometheus service will be stopped during the migration process.
104-
105-
To know about other supported options, pass `--help` flag to the above
106-
command.
107-
108-
This tool **will not** be automatically invoked during package upgrades.
109-
Users will have to run it manually to migrate to latest version of
110-
Prometheus, and are advised to do it as soon as possible. Therefore, existing
111-
users who are upgrading to 11.4 will continue to use Prometheus 1.x until
112-
they manually migrate to the 2.x version.
113-
114-
Support for Prometheus 1.x versions that were shipped with earlier versions
115-
of GitLab has been deprecated and will be removed completely in GitLab 12.0.
116-
Users still using those versions will be presented with a deprecation warning
117-
during reconfigure. With GitLab 12.0 Prometheus will be upgraded to 2.x automatically,
118-
Prometheus 1.0 data will not be migrated.
119-
1. A [security patch](https://about.gitlab.com/releases/2018/11/28/security-release-gitlab-11-dot-5-dot-1-released/#improper-enforcement-of-token-scope)
120-
removed the ability to get files from a repository by passing
121-
a `private_token` URL parameter.
122-
Instead, a redirect to `/users/sign_in` is now served.
123-
Update any CI scripts, custom automations, etc. to use the
124-
[repository files API](https://docs.gitlab.com/ee/api/repository_files.html#get-raw-file-from-repository).
125-
126-
### 11.5
127-
128-
1. A [security patch](https://about.gitlab.com/releases/2018/11/28/security-release-gitlab-11-dot-5-dot-1-released/#improper-enforcement-of-token-scope)
129-
removed the ability to get files from a repository by passing
130-
a `private_token` URL parameter.
131-
Instead, a redirect to `/users/sign_in` is now served.
132-
Update any CI scripts, custom automations, etc. to use the
133-
[repository files API](https://docs.gitlab.com/ee/api/repository_files.html#get-raw-file-from-repository).
134-
135-
### 11.6
136-
137-
1. [Sidekiq probe of GitLab Monitor](https://docs.gitlab.com/ee/administration/monitoring/prometheus/gitlab_exporter.html)
138-
will be disabled by default if GitLab is configured in [Redis for scaling](https://docs.gitlab.com/ee/administration/redis/index.html).
139-
To manually enable it, users can set `gitlab_monitor['probe_sidekiq'] = true`
140-
in `/etc/gitlab/gitlab.rb` file. However, when manually enabling it in Redis
141-
HA mode, users are expected to point the probe to a Redis instance connected
142-
to the instance using the `gitlab_rails['redis_*']` settings.
143-
144-
A valid example configuration is:
145-
146-
```ruby
147-
gitlab_monitor['probe_sidekiq'] = true
148-
gitlab_rails['redis_host'] = <IP of Redis master node>
149-
gitlab_rails['redis_port'] = <Port where Redis runs in master node>
150-
gitlab_rails['redis_password'] = <Password to connect to Redis master>
151-
```
152-
153-
NOTE:
154-
In the above configuration, when a failover happens after the
155-
master node fails, GitLab Monitor will still be probing the original master
156-
node, since it is specified in `gitlab.rb`. Users will have to manually update
157-
`gitlab.rb` to point it to the new master node.
158-
159-
1. Ruby has been updated to 2.5.3. GitLab will be down during the upgrade until
160-
the Unicorn processes have been restarted. The restart is done automatically
161-
at the end of `gitlab-ctl reconfigure`, which is run by default on upgrade.
162-
163-
NOTE:
164-
The application will throw 500 http errors until the Unicorn restart is completed.
165-
166-
### 11.8
167-
168-
1. The [runit](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/runit) cookbook was updated to be closer to the latest version of the upstream [runit cookbook](https://github.com/chef-cookbooks/runit). No user changes are necessary for this release.
11+
<!-- This redirect file can be deleted after 2023-10-20. -->
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 -->

doc/update/gitlab_12_changes.md

Lines changed: 7 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -2,163 +2,13 @@
22
stage: Systems
33
group: Distribution
44
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: '2023-10-20'
6+
redirect_to: '../index.md'
57
---
68

7-
# GitLab 12 specific changes **(FREE SELF)**
9+
This document was moved to [another location](../index.md).
810

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#checking-for-background-migrations-before-upgrading).
11-
12-
## Prometheus 1.x Removal
13-
14-
Prometheus 1.x was deprecated in GitLab 11.4, and
15-
Prometheus 2.8.1 was installed by default on new installations. Users updating
16-
from older versions of GitLab could manually upgrade Prometheus data using the
17-
[`gitlab-ctl prometheus-upgrade`](gitlab_11_changes.md#114)
18-
command provided. You can view current Prometheus version in use from the
19-
instances Prometheus `/status` page.
20-
21-
With GitLab 12.0, support for Prometheus 1.x is completely removed, and as part
22-
of the upgrade process, Prometheus binaries will be updated to version 2.8.1.
23-
Existing data from Prometheus 1.x installation WILL NOT be migrated as part of
24-
this automatic upgrade, and users who wish to retain that data should
25-
[manually upgrade Prometheus version](gitlab_11_changes.md#114)
26-
before upgrading to GitLab 12.0
27-
28-
For users who use `/etc/gitlab/skip-auto-reconfigure` file to skip automatic
29-
migrations and reconfigures during upgrade, Prometheus upgrade will also be
30-
skipped. However, since the package no longer contains Prometheus 1.x binary,
31-
the Prometheus service will be non-functional due to the mismatch between binary
32-
version and data directory. Users will have to manually run `sudo gitlab-ctl
33-
prometheus-upgrade` command to get Prometheus running again.
34-
35-
Please note that `gitlab-ctl prometheus-upgrade` command automatically
36-
reconfigures your GitLab instance, and will cause database migrations to run.
37-
So, if you are on an HA instance, run this command only as the last step, after
38-
performing all database related actions.
39-
40-
## Removal of support for `/etc/gitlab/skip-auto-migrations` file
41-
42-
Before GitLab 10.6, the file `/etc/gitlab/skip-auto-migrations` was used to
43-
prevent automatic reconfigure (and thus automatic database migrations) as part
44-
of upgrade. This file had been deprecated in favor of `/etc/gitlab/skip-auto-reconfigure`
45-
since GitLab 10.6, and in 12.0 the support is removed completely. Upgrade
46-
process will no longer take `skip-auto-migrations` file into consideration.
47-
48-
## Deprecation of TLS v1.1
49-
50-
With the release of GitLab 12, TLS v1.1 has been fully deprecated.
51-
This mitigates numerous issues including, but not limited to,
52-
Heartbleed and makes GitLab compliant out of the box with the PCI
53-
DSS 3.1 standard.
54-
55-
[Learn more about why TLS v1.1 is being deprecated in our blog.](https://about.gitlab.com/blog/2018/10/15/gitlab-to-deprecate-older-tls/)
56-
57-
## Upgrade to PostgreSQL 10
58-
59-
WARNING:
60-
If you are running a Geo installation using PostgreSQL 9.6.x, please upgrade to GitLab 12.4 or newer. Older versions were affected [by an issue](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4692) that could cause automatic upgrades of the PostgreSQL database to fail on the secondary. This issue is now fixed.
61-
62-
PostgreSQL will automatically be upgraded to 10.x unless specifically opted
63-
out during the upgrade. To opt out you must execute the following before
64-
performing the upgrade of GitLab.
65-
66-
```shell
67-
sudo touch /etc/gitlab/disable-postgresql-upgrade
68-
```
69-
70-
Further details and procedures for upgrading a GitLab HA cluster can be
71-
found in the [Database Settings notes](../settings/database.md#upgrade-packaged-postgresql-server).
72-
73-
### 12.1
74-
75-
#### Monitoring related node attributes moved to be under `monitoring` key
76-
77-
If you were using monitoring related node attributes like
78-
`node['gitlab']['prometheus']` or `node['gitlab']['alertmanager']` in your
79-
`gitlab.rb` file for configuring other settings, they are now under `monitoring`
80-
key and should be renamed. The replacements are as follows
81-
82-
```plaintext
83-
# Existing usage in gitlab.rb => Replacement
84-
85-
* node['gitlab']['prometheus'] => node['monitoring']['prometheus']
86-
* node['gitlab']['alertmanager'] => node['monitoring']['alertmanager']
87-
* node['gitlab']['redis-exporter'] => node['monitoring']['redis-exporter']
88-
* node['gitlab']['node-exporter'] => node['monitoring']['node-exporter']
89-
* node['gitlab']['postgres-exporter'] => node['monitoring']['postgres-exporter']
90-
* node['gitlab']['gitlab-monitor'] => node['monitoring']['gitlab-monitor']
91-
* node['gitlab']['grafana'] => node['monitoring']['grafana']
92-
```
93-
94-
Also, it is recommended to use the actual values in `gitlab.rb` instead of
95-
referring node values to avoid breakage when these attributes are moved in the
96-
backend.
97-
98-
### 12.2
99-
100-
The default formula for calculating the number of Unicorn worker processes has been updated to increase the number of workers by 50% per CPU. This will increase the CPU and memory utilization slightly. This has been done to improve performance by reducing the amount of request queuing.
101-
102-
### 12.3
103-
104-
To prevent confusion with the broader GitLab Monitor feature set, the GitLab Monitor
105-
tool has been renamed to GitLab Exporter. As a result, usage of `gitlab_monitor[*]`
106-
keys in `gitlab.rb` file has been deprecated in favor of `gitlab_exporter[*]` ones.
107-
108-
The deprecated settings will be removed in GitLab 13.0. They will continue to
109-
work till then, but warnings will be displayed at the end of reconfigure run.
110-
Since upgrades to 13.0 will be prevented if removed settings are found in `gitlab.rb`,
111-
users who are currently using those settings are advised to switch to `gitlab_exporter[*]`
112-
ones at the earliest.
113-
114-
### 12.7
115-
116-
The Redis version packaged with Omnibus GitLab has been updated to Redis 5.0.7.
117-
You will need to restart Redis after the upgrade so that the new version will be
118-
active. To restart Redis, run `sudo gitlab-ctl restart redis`. If your instance
119-
has Redis HA with Sentinel, follow the upgrade steps documented in
120-
[Update GitLab installed with the Omnibus GitLab package](https://docs.gitlab.com/ee/update/zero_downtime.html#use-redis-ha-using-sentinel)
121-
to avoid downtime.
122-
123-
Unicorn memory limits should also be adjusted to the following values:
124-
125-
```ruby
126-
unicorn['worker_memory_limit_min'] = "1024 * 1 << 20"
127-
unicorn['worker_memory_limit_max'] = "1280 * 1 << 20"
128-
```
129-
130-
See our documentation on [unicorn-worker-killer](https://docs.gitlab.com/ee/administration/operations/puma.html) for more information.
131-
132-
### 12.8
133-
134-
PostgreSQL 11.7 is being shipped with the package in addition to 10.12 and 9.6.17.
135-
Both fresh installs and upgrades will still continue to use 10.12, but users can
136-
manually upgrade to 11.7 following the [upgrade docs](../settings/database.md#upgrade-packaged-postgresql-server).
137-
138-
### 12.9
139-
140-
[Puma](https://github.com/puma/puma) is now available as an alternative web server to Unicorn.
141-
If you are migrating from Unicorn, refer to [converting Unicorn settings to Puma](https://docs.gitlab.com/ee/administration/operations/puma.html#convert-unicorn-settings-to-puma)
142-
to make sure your web server settings carry over correctly.
143-
144-
### 12.10
145-
146-
NOTE:
147-
PostgreSQL 9.6 and PostgreSQL 10 will be removed from the Omnibus package in the next release: GitLab 13.0. The minimum
148-
supported PostgreSQL version will be 11. In order to upgrade to GitLab 13.0, you will need to be upgrading from 12.10, and
149-
already using a PostgreSQL 11 database. For more information, please see which [PostgreSQL versions are shipped with an Omnibus install](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html).
150-
151-
PostgreSQL will automatically be upgraded to 11.x except for the following cases:
152-
153-
- you are running the database in high_availability using repmgr.
154-
- your database nodes are part of GitLab Geo configuration.
155-
- you have specifically opted out using the `/etc/gitlab/disable-postgresql-upgrade` file outlined below.
156-
157-
To opt out you must execute the following before performing the upgrade of GitLab.
158-
159-
```shell
160-
sudo touch /etc/gitlab/disable-postgresql-upgrade
161-
```
162-
163-
Further details and procedures for upgrading PostgreSQL after install if not completed automatically can be
164-
found in the [Database Settings notes](../settings/database.md#upgrade-packaged-postgresql-server).
11+
<!-- This redirect file can be deleted after 2023-10-20. -->
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

Comments
 (0)