Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8c864605
Commit
8c864605
authored
May 17, 2021
by
Nick Gaskill
Committed by
Ben Prescott @bprescott_↙ ☺
May 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 4 suggestion(s) to 2 file(s)
parent
4b3d734c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
19 deletions
+26
-19
doc/install/postgresql_extensions.md
doc/install/postgresql_extensions.md
+4
-4
doc/install/requirements.md
doc/install/requirements.md
+22
-15
No files found.
doc/install/postgresql_extensions.md
View file @
8c864605
...
@@ -56,8 +56,8 @@ On some systems you may need to install an additional package (for example,
...
@@ -56,8 +56,8 @@ On some systems you may need to install an additional package (for example,
## Typical failure scenarios
## Typical failure scenarios
The following is an example of a new GitLab installation failing because the extension hasn't been
installed
The following is an example of a new GitLab installation failing because the extension hasn't been
first.
installed
first.
```
shell
```
shell
----
Begin output of
"bash"
"/tmp/chef-script20210513-52940-d9b1gs"
----
----
Begin output of
"bash"
"/tmp/chef-script20210513-52940-d9b1gs"
----
...
@@ -91,8 +91,8 @@ This query will grant the user superuser permissions, ensuring any database exte
...
@@ -91,8 +91,8 @@ This query will grant the user superuser permissions, ensuring any database exte
can be installed through migrations.
can be installed through migrations.
```
```
In order to recover from failed migrations, the extension needs to be installed manually using a superuser, and
To recover from failed migrations, the extension must be installed manually by a superuser, and the
the
GitLab upgrade completed by
[
re-running the database migrations
](
../administration/raketasks/maintenance.md#run-incomplete-database-migrations
)
:
GitLab upgrade completed by
[
re-running the database migrations
](
../administration/raketasks/maintenance.md#run-incomplete-database-migrations
)
:
```
shell
```
shell
sudo
gitlab-rake db:migrate
sudo
gitlab-rake db:migrate
...
...
doc/install/requirements.md
View file @
8c864605
...
@@ -143,21 +143,28 @@ but we can't guarantee compatibility.
...
@@ -143,21 +143,28 @@ but we can't guarantee compatibility.
#### Exclusive use of GitLab databases
#### Exclusive use of GitLab databases
Databases created or used for GitLab, Geo, Gitaly Cluster or other components
Databases created or used for GitLab, Geo, Gitaly Cluster, or other components should be for the
should be for the exclusive use of GitLab. Do not make direct changes to the database,
exclusive use of GitLab. Do not make direct changes to the database, schemas, users, or other
schemas, users or other properties except when following procedures in the GitLab documentation
properties except when following procedures in the GitLab documentation or following the directions
or following the directions of GitLab Support or other GitLab engineers.
of GitLab Support or other GitLab engineers.
-
The main GitLab application currently uses three schemas: the default
`public`
schema, plus it
-
The main GitLab application currently uses three schemas:
will automatically create
`gitlab_partitions_static`
and
`gitlab_partitions_dynamic`
.
No other schemas should be manually created.
-
The default
`public`
schema
-
GitLab may create new schemas as part of Rails database migrations. This will happen when performing
-
`gitlab_partitions_static`
(automatically created)
a GitLab upgrade. The GitLab database account requires access to do this.
-
`gitlab_partitions_dynamic`
(automatically created)
-
GitLab creates and modifies tables during the upgrade process, and also as part
of normal operations to manage partitioned tables.
No other schemas should be manually created.
-
You should not modify the GitLab schema, for example adding triggers, modifying tables.
Database migrations are tested against the schema definition in the GitLab code base. GitLab version
-
GitLab may create new schemas as part of Rails database migrations. This happens when performing
upgrades may fail if the schema is modified.
a GitLab upgrade. The GitLab database account requires access to do this.
-
GitLab creates and modifies tables during the upgrade process, and also as part of normal
operations to manage partitioned tables.
-
You should not modify the GitLab schema (for example, adding triggers or modifying tables).
Database migrations are tested against the schema definition in the GitLab code base. GitLab
version upgrades may fail if the schema is modified.
## Puma settings
## Puma settings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment