after pulling latest docker images, gitlab-ce fails to start
Hi there. I'm using a self-hosted gitlab instance with docker compose. I just did a `docker-compose pull` to get the latest, and I cannot restart the server since. more specifically the `gitlab/gitlab-ce` container fails. The logs I can see : ``` Thank you for using GitLab Docker Image! Current version: gitlab-ce=12.10.6-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 Cleaning stale PIDs & sockets Preparing services... Starting services... Configuring GitLab... Starting Chef Client, version 14.14.29 resolving cookbooks for run list: ["gitlab"] Synchronizing Cookbooks: - gitlab (0.0.1) - package (0.1.0) - postgresql (0.1.0) - redis (0.1.0) - monitoring (0.1.0) - registry (0.1.0) - mattermost (0.1.0) - consul (0.1.0) - gitaly (0.1.0) - praefect (0.1.0) - letsencrypt (0.1.0) - nginx (0.1.0) - runit (4.3.0) - acme (4.1.1) - crond (0.1.0) Installing Cookbook Gems: Compiling Cookbooks... ================================================================================ Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb ================================================================================ Errno::ENOENT ------------- No such file or directory @ rb_sysopen - /omnibus_config.rb Cookbook Trace: --------------- /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in `block in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:29:in `auto_vivify' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in `from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in `block in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:29:in `auto_vivify' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in `from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/config.rb:22:in `from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:26:in `from_file' Relevant File Content: ---------------------- /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb: /opt/gitlab/embedded/bin/runsvdir-start: line 24: ulimit: pending signals: cannot modify limit: Operation not permitted /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system 98: 99: def from_file(_file_path) 100: # Throw errors for unrecognized top level calls (usually spelling mistakes) 101: config_strict_mode true 102: # Turn on node deprecation messages 103: Gitlab::Deprecations::NodeAttribute.log_deprecations = true 104: # Allow auto mash creation during from_file call 105>> Gitlab::ConfigMash.auto_vivify { super } 106: ensure 107: config_strict_mode false 108: Gitlab::Deprecations::NodeAttribute.log_deprecations = false 109: end 110: 111: # Enhance set so strict mode errors aren't thrown as long as the setting is witin our defined config 112: def internal_set(symbol, value) 113: if configuration.key?(symbol) 114: configuration[symbol] = value System Info: ------------ chef_version=14.14.29 platform=ubuntu platform_version=16.04 ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client Running handlers: Running handlers complete Chef Client failed. 0 resources updated in 02 seconds There was an error running gitlab-ctl reconfigure: No such file or directory @ rb_sysopen - /omnibus_config.rb ``` the `docker-compose.yml` I use ( pretty standard ) ``` version: "3.7" services: gitlab: image: gitlab/gitlab-ce:latest ports: - "5022:22" - "80:80" - "443:443" volumes: - /data/gitlab/data:/var/opt/gitlab - /data/gitlab/ssl:/etc/gitlab/ssl - /data/gitlab/logs:/var/log/gitlab - /data/gitlab/config:/etc/gitlab environment: GITLAB_OMNIBUS_CONFIG: "from_file('/omnibus_config.rb')" configs: - source: gitlab target: /omnibus_config.rb secrets: - gitlab_root_password gitlab-runner: image: gitlab/gitlab-runner:alpine deploy: mode: replicated replicas: 2 configs: gitlab: file: ./gitlab.rb secrets: gitlab_root_password: file: ./root_password.txt ``` the image I used before should be at most 2 weeks old. Any ideas? Thank you.
issue