sameersbn / sameersbn/docker-gitlab

Error at container startup

Open
#1,786 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

When I start this container I have an error that disappear at restart

gitlab_1_dabd7146875a | Installing configuration templates...
gitlab_1_dabd7146875a | SSL key and certificates for Registry were not found
gitlab_1_dabd7146875a | Assuming that the Registry is running behind a HTTPS enabled load balancer.
gitlab_1_dabd7146875a | Configuring gitlab...
gitlab_1_dabd7146875a | Configuring gitlab::database
gitlab_1_dabd7146875a | sed: couldn't open temporary file /home/git/gitlab/config/sediQQ4E4: Permission denied

Can you give me some advice on how to fix it ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing container startup and inspect the configuration setup that runs before the sed error in /home/git/gitlab/config. Check why the process cannot create its temporary file, /home/git/gitlab/config/sediQQ4E4, and verify that a restart no longer produces the permission-denied message.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.