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
906e6a64
Commit
906e6a64
authored
Feb 04, 2021
by
John Long
Committed by
Nick Gaskill
Feb 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add noexec workaround to pages admin docs
parent
b386e95a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
doc/administration/pages/index.md
doc/administration/pages/index.md
+18
-0
No files found.
doc/administration/pages/index.md
View file @
906e6a64
...
...
@@ -971,3 +971,21 @@ If the wildcard DNS [prerequisite](#prerequisites) can't be met, you can still u
1.
[
Move
](
../../user/project/settings/index.md#transferring-an-existing-project-into-another-namespace
)
all projects you need to use Pages with into a single group namespace, for example
`pages`
.
1.
Configure a
[
DNS entry
](
#dns-configuration
)
without the
`*.`
-wildcard, for example
`pages.example.io`
.
### Pages daemon fails with permission denied errors
If
`/tmp`
is mounted with
`noexec`
, the Pages daemon fails to start with an error like:
```
plaintext
{"error":"fork/exec /gitlab-pages: permission denied","level":"fatal","msg":"could not create pages daemon","time":"2021-02-02T21:54:34Z"}
```
In this case, change
`TMPDIR`
to a location that is not mounted with
`noexec`
. Add the following to
`/etc/gitlab/gitlab.rb`
:
```
ruby
gitlab_pages
[
'env'
]
=
{
'TMPDIR'
=>
'<new_tmp_path>'
}
```
Once added, reconfigure with
`sudo gitlab-ctl reconfigure`
and restart GitLab with
`sudo gitlab-ctl restart`
.
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