Skip to content

Instantly share code, notes, and snippets.

@taikii
Created August 4, 2018 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taikii/37d8955a55f7124717e7a38d0673cb6f to your computer and use it in GitHub Desktop.
Save taikii/37d8955a55f7124717e7a38d0673cb6f to your computer and use it in GitHub Desktop.
Thank you for using GitLab Docker Image!
Current version: gitlab-ce=11.1.4-ce.0
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...
/opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted
/opt/gitlab/embedded/bin/runsvdir-start: line 34: ulimit: max user processes: cannot modify limit: Operation not permitted
/opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
JSON file with existing configuration not found inside /opt/gitlab/embedded/nodes.
Skipping config check.
gitlab preinstall:
gitlab preinstall: This node does not appear to be running a database
gitlab preinstall: Skipping version check, if you think this is an error exit now
gitlab preinstall:
Configuring GitLab...
Starting Chef Client, version 13.6.4
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
- gitlab (0.0.1)
- package (0.1.0)
- postgresql (0.1.0)
- registry (0.1.0)
- mattermost (0.1.0)
- consul (0.0.0)
- gitaly (0.1.0)
- letsencrypt (0.1.0)
- nginx (0.1.0)
- runit (0.14.2)
- crond (0.1.0)
- acme (3.1.0)
- compat_resource (12.19.0)
Installing Cookbook Gems:
Compiling Cookbooks...
================================================================================
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb
================================================================================
RuntimeError
------------
Removed configurations found in gitlab.rb. Aborting reconfigure.
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/omnibus_helper.rb:109:in `check_deprecations'
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:28:in `from_file'
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/omnibus_helper.rb:
102: # We are doing something similar in check_config command.
103: gitlab_rb_config = Gitlab['node'].normal
104:
105: removal_messages = Gitlab::Deprecations.check_config(current_version, gitlab_rb_config, :removal)
106: removal_messages.each do |msg|
107: LoggingHelper.removal(msg)
108: end
109>> raise "Removed configurations found in gitlab.rb. Aborting reconfigure." unless removal_messages.empty?
110:
111: deprecation_messages = Gitlab::Deprecations.check_config(current_version, gitlab_rb_config, :deprecation)
112: deprecation_messages.each do |msg|
113: LoggingHelper.deprecation(msg)
114: end
115: end
116: end unless defined?(OmnibusHelper) # Prevent reloading in chefspec: https://github.com/sethvargo/chefspec/issues/562#issuecomment-74120922
117:
System Info:
------------
chef_version=13.6.4
platform=ubuntu
platform_version=16.04
ruby=ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/chef-client
executable=/opt/gitlab/embedded/bin/chef-client
Running handlers:
Removals:
* mattermost['service_enable_incoming_webhooks'] has been deprecated since 10.2 and was removed in 11.0.
* mattermost['service_enable_outgoing_webhooks'] has been deprecated since 10.2 and was removed in 11.0.
* mattermost['email_send_email_notifications'] has been deprecated since 10.2 and was removed in 11.0.
* mattermost['email_smtp_server'] has been deprecated since 10.2 and was removed in 11.0.
* mattermost['email_smtp_port'] has been deprecated since 10.2 and was removed in 11.0.
* mattermost['email_feedback_name'] has been deprecated since 10.2 and was removed in 11.0.
* mattermost['email_feedback_email'] has been deprecated since 10.2 and was removed in 11.0.
Running handlers complete
Chef Client failed. 0 resources updated in 06 seconds
There was an error running gitlab-ctl reconfigure:
Removed configurations found in gitlab.rb. Aborting reconfigure.
Thank you for using GitLab Docker Image!
Current version: gitlab-ce=11.1.4-ce.0
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment