Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [0mThank you for using GitLab Docker Image!
- Current version: gitlab-ce=8.10.0-ce.1
- Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
- And restart this container to reload settings.
- To do it use docker exec:
- docker exec -it gitlab vim /etc/gitlab/gitlab.rb
- docker restart gitlab
- For a comprehensive list of configuration options please see the Omnibus GitLab readme
- https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
- If this container fails to start due to permission problems try to fix it by executing:
- docker exec -it gitlab update-permissions
- docker restart gitlab
- Preparing services...
- Starting services...
- Configuring GitLab package...
- Configuring GitLab...
- [0m
- ================================================================================[0m
- [31mError executing action `run` on resource 'execute[create gitlab database user]'[0m
- ================================================================================[0m
- [0mMixlib::ShellOut::ShellCommandFailed[0m
- ------------------------------------[0m
- Expected process to exit with [0], but received '2'
- [0m---- Begin output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER gitlab" ----
- [0mSTDOUT:
- [0mSTDERR: psql: FATAL: the database system is starting up
- [0m---- End output of /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER gitlab" ----
- [0mRan /opt/gitlab/bin/gitlab-psql -d template1 -c "CREATE USER gitlab" returned 2[0m
- [0mResource Declaration:[0m
- ---------------------[0m
- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/postgresql.rb
- [0m
- [0m152: execute "create #{gitlab_sql_user} database user" do
- [0m153: command "/opt/gitlab/bin/gitlab-psql -d template1 -c \"CREATE USER #{gitlab_sql_user}\""
- [0m154: user postgresql_user
- [0m155: # Added retries to give the service time to start on slower systems
- [0m156: retries 20
- [0m157: not_if { !pg_helper.is_running? || pg_helper.user_exists?(gitlab_sql_user) }
- [0m158: end
- [0m159:
- [0m
- [0mCompiled Resource:[0m
- ------------------[0m
- # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/postgresql.rb:152:in `from_file'
- [0m
- [0mexecute("create gitlab database user") do
- [0m action [:run]
- [0m retries 20
- [0m retry_delay 2
- [0m default_guard_interpreter :execute
- [0m command "/opt/gitlab/bin/gitlab-psql -d template1 -c \"CREATE USER gitlab\""
- [0m backup 5
- [0m returns 0
- [0m user "gitlab-psql"
- [0m declared_type :execute
- [0m cookbook_name "gitlab"
- [0m recipe_name "postgresql"
- [0m not_if { #code block }
- [0mend
- [0m
- [0mPlatform:[0m
- ---------[0m
- x86_64-linux[0m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement