Commit Graph

263 Commits

Author SHA1 Message Date
Manoj M J 9be1159647 Update Docs: 17.0 Remove support for single database connection 2024-04-29 13:24:20 +00:00
Asmaa Hassan 80728911e4 Removing references of old versions of distribution:deply | omnibus docs 2024-04-23 20:34:58 +00:00
Ben Prescott_ d18edb4564 Add sslmode to instructions for replicate-geo-database 2024-04-02 15:18:22 +00:00
Rutger Wessels 941866b00f Add link to single-db deprecation message 2024-04-02 08:34:37 +00:00
Clemens Beck a340a0c3ba Auto upgrade single node installs to PostgreSQL 14
Postgres 14 is going to become our minimum supported version in
GitLab 17. GitLab 16.11 turns on auto-upgrade for single node installs.

Documentation change: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/147402

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8340

Changelog: changed
2024-03-25 08:55:22 +00:00
Evan Read 1d7638a1c1 Update no-trailing-spaces configuration to new standard 2024-02-27 14:29:52 +10:00
Nailia Iskhakova 33df64295a Expand guidance for trust_auth_cidr_addresses
for multi-node setups

Signed-off-by: Nailia Iskhakova <niskhakova@gitlab.com>
2024-02-04 23:23:48 +00:00
Ben Bodenmiller 86cedef576 Fix database troubleshooting section indentation & location 2024-02-01 01:54:30 +00:00
Balasankar 'Balu' C 42843d2fbc Add docs about extra_config_command settings
Document the new gitlab.rb options that allow an external
script to provide secrets dynamically rather than rely on
local plain text storage.

Related https://gitlab.com/groups/gitlab-org/-/epics/12317

Signed-off-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2024-01-30 05:27:14 +00:00
Marcel Amirault 4ec342fa4a
Update version notes to new style
Remove badges and add hyphens to history
2024-01-24 16:29:14 +09:00
Achilleas Pipinellis 0482fb343a Merge branch 'docs-update-filename-usage' into 'master'
Update "filename" to "file name"

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7287

Merged-by: Achilleas Pipinellis <axil@gitlab.com>
Co-authored-by: fneill <fneill@gitlab.com>
2023-12-18 10:11:21 +00:00
Fiona Neill c566775325 Update "filename" to "file name" 2023-12-18 10:11:19 +00:00
Clemens Beck 107d2ec2f9 Default to PostgreSQL 14 for fresh installations
Default to PostgreSQL 14 for fresh installations instead of
PostgreSQL 13. No automatic upgrades are performed.

To upgrade to PostgreSQL 14 see:
  https://docs.gitlab.com/omnibus/settings/database.html#upgrade-packaged-postgresql-server

Changelog: changed
2023-12-08 21:06:42 +00:00
John Gaughan 48936331b5 Specify nodes on which to configure single db connection setting 2023-12-07 09:23:48 +00:00
Marcel Amirault 96dc958c13
Update links to TW team handbook page 2023-12-05 12:40:46 +09:00
Achilleas Pipinellis 70d4f6a5be Merge branch 'docs-non-packaged-postgres-statistics-wwjenkins' into 'master'
Clarify table statistics recreation - Docs

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7038

Merged-by: Achilleas Pipinellis <axil@gitlab.com>
Approved-by: Nikolay Samokhvalov <nik@postgres.ai>
Approved-by: Stan Hu <stanhu@gmail.com>
Approved-by: Evan Read <eread@gitlab.com>
Approved-by: Achilleas Pipinellis <axil@gitlab.com>
Reviewed-by: Evan Read <eread@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
Co-authored-by: Wade Jenkins <wjenkins@gitlab.com>
2023-11-21 06:10:40 +00:00
Wade Jenkins ed85e595fb Clarify table statistics recreation - Docs 2023-11-21 06:10:40 +00:00
Dustin Collins 447eadeaf4 Escape special characters in postgresql password
Changelog: changed
2023-10-23 14:04:52 +00:00
Michael Kozono 6706fbf803 Update backup and restore doc links
Corrects broken links and anchors in the backup
and restore documentation pages.

Related https://gitlab.com/gitlab-org/gitlab/-/issues/396346
2023-10-16 23:58:05 +00:00
Achilleas Pipinellis 29b9d1fac0 Move postgres upgrade notes to version-specific pages 2023-10-11 00:20:49 +00:00
Evan Read 86a44b4d54 Remove trailing whitespace from documentation 2023-09-12 10:56:28 +10:00
Achilleas Pipinellis 74872cc25d Merge branch 'master-patch-a247' into 'master'
Clarify use of 'port' when configuring postgres

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7104

Merged-by: Achilleas Pipinellis <axil@gitlab.com>
Approved-by: Hossein Pursultani <hpursultani@gitlab.com>
Co-authored-by: Alvin Gounder <agounder@gitlab.com>
2023-08-28 15:40:46 +00:00
Alvin Gounder 626d881f41 Clarify use of 'port' when configuring postgres 2023-08-28 15:40:46 +00:00
Mario Mora c95d76242e Added comment to clarify that the no previous trace of the old PSQL version should be present in order to successfully pin new PSQL 2023-08-28 00:36:50 +00:00
Evan Read 73788d1754 Update some installation type references for docs 2023-08-02 06:46:52 +00:00
Justin Farmiloe 08d449b7c2 Reword max connections check 2023-07-27 17:03:32 +00:00
Dustin Collins 5cae179733 Add PostgreSQL 14 to the package
Changelog: added
2023-07-13 08:40:18 +00:00
Alvin Gounder af6715d92e Make the connect to Database section more generic 2023-06-29 08:55:27 +00:00
Ashraf Khamis e8c8151333 Docs maintenance: Fix trailing whitespace 2023-06-02 11:42:38 +02:00
Adam Mulvany 93d0f349e8 Docs improve configuring ssl database with readfile 2023-06-02 00:17:50 +00:00
Brie Carranza 2bfc18dedf
Fix broken link: site not server 2023-06-01 17:23:40 -04:00
Fiona Neill 991e7e73d2 Docs remove eol spaces 2023-05-30 07:43:24 +00:00
Dustin Collins aeae71b5f5 Remove PostgreSQL 12 from the package
changelog: removed
2023-05-10 20:43:29 +00:00
Abdul Wadood cd3fcb86b0 Default to two database connections i.e. main and ci
As part of bringing database decomposition support to self-managed we
require self-managed to have two connections by default. Both these
connections will point to the same database but can be configured to
point to two different databases by overriding the defaults in
`/etc/gitlab/gitlab.rb`.

The users can switch back to a single connection by overriding the
default by adding the following in `/etc/gitlab/gitlab.rb`:

`gitlab_rails['databases']['ci']['enable'] = false`

Changelog: changed
2023-05-09 05:27:57 +00:00
James Reed ead2bdb3cc Use full path in db_sslrootcert example 2023-04-25 12:55:44 +00:00
Ben Prescott_ 235f59ba9b Docs: Version guidance upgrading external databases 2023-04-24 13:16:33 +00:00
Clemens Beck 79fa08813d Enable autoupgrade to PostgreSQL 13
Enables automatic upgrades from PostgreSQL 12
to PostgreSQL 13 for single node installations.

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/7392

Changelog: added
2023-04-07 19:56:55 +00:00
Rutger Wessels 8f03f0de06 Document gitlab:db:decomposition:connection_status rake task 2023-04-07 10:52:41 +00:00
DJ Mountney 1187d2cbc1 Turn on the pg upgrade recommendation notice
Our expressed intent is to remove PG 12 in GitLab 16.0, so we need to
start recommending upgrades.

We will turn on auto-upgrades for single node installs in the release
before 16.0.

Changelog: changed
2023-03-17 23:16:00 +00:00
Rutger Wessels bc3c8e835f Document how to enable separate connection to the same database for CI 2023-03-06 06:02:44 +00:00
olivier némoz saint-dizier 558a0cdba0 Removing old warning as 12.x is out of support 2022-12-30 08:35:22 +00:00
masOOd 95abaf26fc Fix some grammar issues on configuration and database pages 2022-12-09 22:31:41 +00:00
Gerardo Gutierrez a2c3e0bcff Add reconfigure line after each config in TCP section 2022-12-08 15:18:09 +00:00
Amy Qualls ba948712f4 Add missing metadata to pages
These pages had no metadata at all. Add it in, so the pages are
counted.
2022-09-21 18:19:11 +00:00
Brie Carranza ea75dd8827 Docs: Specify syntax for specifying version when using gitlab-ctl revert-pg-upgrade 2022-07-13 01:01:21 +00:00
Balasankar "Balu" C e42fb0ce3d
Add release note about automatic PG restart on version change
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2022-05-11 21:51:32 +05:30
Robert Marshall c532f7d113 Default to PG13 in new installations
- New installations using Omnibus GitLab will use PostgreSQL version
  13.3 by default

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6707

Changelog: changed

Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
2022-05-03 12:36:13 -04:00
olivier némoz saint-dizier 56fee2e0b5 Refine what means latest version of gitlab 2022-03-28 12:40:09 +00:00
Anton Smith 794e4cf689 Fix typo with db_sslmode 2022-03-16 21:24:43 +00:00
James Reed 0566884082 Add example error for PostgreSQL version mismatch 2022-02-08 07:43:23 +00:00