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
Hide 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,
## Typical failure scenarios
The following is an example of a new GitLab installation failing because the extension hasn't been
installed
first.
The following is an example of a new GitLab installation failing because the extension hasn't been
installed
first.
```
shell
----
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
can be installed through migrations.
```
In order to recover from failed migrations, the extension needs to be installed manually using a superuser, and
the
GitLab upgrade completed by
[
re-running the database migrations
](
../administration/raketasks/maintenance.md#run-incomplete-database-migrations
)
:
To recover from failed migrations, the extension must be installed manually by a superuser, and the
GitLab upgrade completed by
[
re-running the database migrations
](
../administration/raketasks/maintenance.md#run-incomplete-database-migrations
)
:
```
shell
sudo
gitlab-rake db:migrate
...
...
doc/install/requirements.md
View file @
8c864605
...
...
@@ -143,21 +143,28 @@ but we can't guarantee compatibility.
#### Exclusive use of GitLab databases
Databases created or used for GitLab, Geo, Gitaly Cluster or other components
should be for the exclusive use of GitLab. Do not make direct changes to the database,
schemas, users or other properties except when following procedures in the GitLab documentation
or following the directions of GitLab Support or other GitLab engineers.
-
The main GitLab application currently uses three schemas: the default
`public`
schema, plus it
will automatically create
`gitlab_partitions_static`
and
`gitlab_partitions_dynamic`
.
No other schemas should be manually created.
-
GitLab may create new schemas as part of Rails database migrations. This will happen when performing
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, 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.
Databases created or used for GitLab, Geo, Gitaly Cluster, or other components should be for the
exclusive use of GitLab. Do not make direct changes to the database, schemas, users, or other
properties except when following procedures in the GitLab documentation or following the directions
of GitLab Support or other GitLab engineers.
-
The main GitLab application currently uses three schemas:
-
The default
`public`
schema
-
`gitlab_partitions_static`
(automatically created)
-
`gitlab_partitions_dynamic`
(automatically created)
No other schemas should be manually created.
-
GitLab may create new schemas as part of Rails database migrations. This happens when performing
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
...
...
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