summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-06 00:09:23 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-06 00:09:23 +0000
commit49f32104434abc51d6a115fe214f0bf6b420d3bc (patch)
tree69a31a853a9ecb95ef5b7e2d9bcb8453915eee82 /doc/install
parent055dceef99269657e39c5264a8464b078e37e069 (diff)
downloadgitlab-ce-49f32104434abc51d6a115fe214f0bf6b420d3bc.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index f585adaa087..61147c1e2e4 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -580,6 +580,10 @@ If you want to use HTTPS, see [Using HTTPS](#using-https) for the additional ste
### Configure GitLab DB Settings
+NOTE:
+From [GitLab 15.9](https://gitlab.com/gitlab-org/gitlab/-/issues/387898), `database.yml` with only a section: `main:` is deprecated.
+In GitLab 17.0 and later, you must have the two `main:` and `ci:` sections in your `database.yml`.
+
```shell
sudo -u git cp config/database.yml.postgresql config/database.yml
@@ -591,6 +595,11 @@ sudo -u git cp config/database.yml.postgresql config/database.yml
# adapter: postgresql
# encoding: unicode
# database: gitlabhq_production
+# ci:
+# adapter: postgresql
+# encoding: unicode
+# database: gitlabhq_production
+# database_tasks: false
#
sudo -u git -H editor config/database.yml
@@ -609,10 +618,10 @@ sudo -u git -H editor config/database.yml
sudo -u git -H chmod o-rwx config/database.yml
```
-NOTE:
-From GitLab 15.9, `database.yml` with only a section: `main:` is deprecated.
-In GitLab 15.10 and later, you should have two sections in your `database.yml`, `main:` and `ci:`. The `ci`: connection [must be to the same database](../administration/postgresql/multiple_databases.md).
-In GitLab 17.0 and later, you must have the two `main:` and `ci:` sections in your `database.yml`.
+You should have two sections in your `database.yml`: `main:` and `ci:`. The `ci`:
+connection [must be to the same database](../administration/postgresql/multiple_databases.md).
+If, for any reason, you wish to remain on a single database connection, remove the `ci:`
+section from `config/database.yml`.
### Install Gems