400 Bad Request on viewing a directory with space in its name.
Summary
400 Bad Request on viewing a directory with space in its name.
Steps to reproduce
Create a directory "Images 2" inside a repo and try accessing it through web interface
What is the current bug behavior?
Returns a 400 Bad Request
What is the expected correct behavior?
The contents of that directory
Relevant logs and/or screenshots
Apache log shows the request but gitlab production log does not
Output of checks
This bug happens on Gitlab CE 9.1.4 Omnibus Installation
Results of GitLab environment info
Expand for output related to GitLab environment info
Starting Chef Client, version 12.12.15 resolving cookbooks for run list: ["gitlab"] Synchronizing Cookbooks:
- runit (0.14.2)
- package (0.0.0)
- gitlab (0.0.1) Installing Cookbook Gems: Compiling Cookbooks... Recipe: gitlab::default
- directory[/etc/gitlab] action create (up to date) init (upstart 1.12.1) Converging 345 resources
- directory[/etc/gitlab] action create (up to date)
- directory[Create /var/opt/gitlab] action create (up to date)
- directory[/opt/gitlab/embedded/etc] action create (up to date)
- template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date) Recipe: gitlab::web-server
- group[Webserver user and group] action create (up to date)
- user[Webserver user and group] action create (up to date) Recipe: gitlab::users
- directory[/var/opt/gitlab] action create (up to date)
- group[GitLab user and group] action create (up to date)
- user[GitLab user and group] action create (up to date)
- template[/var/opt/gitlab/.gitconfig] action create (up to date) Recipe: gitlab::gitlab-shell
- ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
- directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
- directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
- templatesymlink[Create a config.yml and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) (up to date)
- link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
- execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run
- execute /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions
- bash[Set proper security context on ssh files for selinux] action run (skipped due to only_if) Recipe: gitlab::gitlab-rails
- directory[/var/log/gitlab] action create (up to date)
- ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if)
- ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if)
- directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date)
- directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date)
- directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date)
- directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
- directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date)
- directory[create /var/log/gitlab/gitlab-rails] action create (up to date)
- directory[/var/opt/gitlab/backups] action create (up to date)
- directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
- directory[/var/opt/gitlab/gitlab-ci] action create (up to date)
- template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date)
- file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date)
- file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date)
- templatesymlink[Create a database.yml and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date) (up to date)
- templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) (up to date)
- templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) (up to date)
- templatesymlink[Create a aws.yml and create a symlink to Rails root] action delete
- template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/aws.yml to /var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date) (up to date)
- templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
- template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date) (up to date)
- templatesymlink[Create a relative_url.rb and create a symlink to Rails root] action delete
- template[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb to /var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date) (up to date)
- templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date) (up to date)
- templatesymlink[Create a rack_attack.rb and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) (up to date)
- templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) (up to date)
- templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create
- template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
- link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) (up to date)
- directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date)
- file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create (up to date)
- link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
- link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
- link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
- link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if)
- file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create (up to date)
- remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
- remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date)
- file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
- execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
- execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
- execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
- file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date) Recipe: gitlab::add_trusted_certs
- directory[/etc/gitlab/trusted-certs] action create (up to date)
- directory[/opt/gitlab/embedded/ssl/certs] action create (up to date)
- file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date)
- ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run (skipped due to only_if) Recipe: gitlab::default
- service[create a temporary unicorn service] action nothing (skipped due to action :nothing)
- service[create a temporary sidekiq service] action nothing (skipped due to action :nothing)
- service[create a temporary mailroom service] action nothing (skipped due to action :nothing) Recipe: runit::upstart
- cookbook_file[/etc/init/gitlab-runsvdir.conf] action create (up to date)
- execute[initctl reload-configuration] action run
- execute initctl reload-configuration
- execute[initctl status gitlab-runsvdir] action run
[execute] gitlab-runsvdir start/running, process 1019
- execute initctl status gitlab-runsvdir
- execute[initctl start gitlab-runsvdir] action run (skipped due to only_if) Recipe: gitlab::redis
- group[user and group for redis] action create (up to date)
- user[user and group for redis] action create (up to date)
- group[Socket group] action create (up to date)
- directory[/var/opt/gitlab/redis] action create (up to date)
- directory[/var/log/gitlab/redis] action create (up to date)
- template[/var/opt/gitlab/redis/redis.conf] action create (up to date)
- directory[/opt/gitlab/sv/redis] action create (up to date)
- directory[/opt/gitlab/sv/redis/log] action create (up to date)
- directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
- template[/opt/gitlab/sv/redis/run] action create (up to date)
- template[/opt/gitlab/sv/redis/log/run] action create (up to date)
- template[/var/log/gitlab/redis/config] action create (up to date)
- ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/redis/down] action delete (up to date)
- link[/opt/gitlab/init/redis] action create (up to date)
- link[/opt/gitlab/service/redis] action create (up to date)
- ruby_block[supervise_redis_sleep] action run (skipped due to not_if)
- service[redis] action nothing (skipped due to action :nothing) Recipe: gitlab::postgresql
- group[Postgresql user and group] action create (up to date)
- user[Postgresql user and group] action create (up to date)
- directory[/var/opt/gitlab/postgresql] action create (up to date)
- directory[/var/opt/gitlab/postgresql/data] action create (up to date)
- directory[/var/log/gitlab/postgresql] action create (up to date)
- link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
- file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
- directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
- file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create (up to date)
- link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date)
- file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmmax] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmmax] action delete (skipped due to only_if)
- file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmmax] action delete (skipped due to only_if)
- execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
- directory[create /etc/sysctl.d for kernel.shmall] action create (up to date)
- file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf kernel.shmall] action create (up to date)
- link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date)
- file[delete /etc/sysctl.d/90-postgresql.conf kernel.shmall] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-unicorn.conf kernel.shmall] action delete (skipped due to only_if)
- file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.shmall] action delete (skipped due to only_if)
- execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing)
- directory[create /etc/sysctl.d for kernel.sem] action create (up to date)
- file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf kernel.sem] action create (up to date)
- link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date)
- file[delete /etc/sysctl.d/90-postgresql.conf kernel.sem] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-unicorn.conf kernel.sem] action delete (skipped due to only_if)
- file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-omnibus-gitlab.conf kernel.sem] action delete (skipped due to only_if)
- execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing)
- execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
- template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create (up to date)
- template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
- template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date)
- directory[/opt/gitlab/sv/postgresql] action create (up to date)
- directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
- directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
- template[/opt/gitlab/sv/postgresql/run] action create (up to date)
- template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
- template[/var/log/gitlab/postgresql/config] action create (up to date)
- ruby_block[reload postgresql svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
- directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
- template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
- link[/opt/gitlab/init/postgresql] action create (up to date)
- link[/opt/gitlab/service/postgresql] action create (up to date)
- ruby_block[supervise_postgresql_sleep] action run (skipped due to not_if)
- service[postgresql] action nothing (skipped due to action :nothing) Recipe: gitlab::postgresql-bin
- ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if) Recipe: gitlab::postgresql
- template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
- execute[create gitlab database user] action run (skipped due to not_if)
- execute[create gitlabhq_production database] action run (skipped due to not_if)
- execute[create gitlab_replicator replication user] action run (skipped due to not_if)
- execute[enable pg_trgm extension] action nothing (skipped due to action :nothing) Recipe: gitlab::database_migrations
- bash[migrate gitlab-rails database] action run (skipped due to not_if)
- bash[migrate gitlab-rails database] action run (skipped due to not_if) Recipe: gitlab::logrotate_folders_and_configs
- directory[/var/opt/gitlab/logrotate] action create (up to date)
- directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
- directory[/var/log/gitlab/logrotate] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
- template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date) Recipe: gitlab::unicorn
- directory[/var/log/gitlab/unicorn] action create (up to date)
- directory[/opt/gitlab/var/unicorn] action create (up to date)
- directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
- directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
- template[/var/opt/gitlab/gitlab-rails/etc/unicorn.rb] action create (up to date)
- directory[/opt/gitlab/sv/unicorn] action create (up to date)
- directory[/opt/gitlab/sv/unicorn/log] action create (up to date)
- directory[/opt/gitlab/sv/unicorn/log/main] action create (up to date)
- template[/opt/gitlab/sv/unicorn/run] action create (up to date)
- template[/opt/gitlab/sv/unicorn/log/run] action create (up to date)
- template[/var/log/gitlab/unicorn/config] action create (up to date)
- ruby_block[reload unicorn svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/unicorn/down] action delete (up to date)
- directory[/opt/gitlab/sv/unicorn/control] action create (up to date)
- template[/opt/gitlab/sv/unicorn/control/t] action create (up to date)
- link[/opt/gitlab/init/unicorn] action create (up to date)
- link[/opt/gitlab/service/unicorn] action create (up to date)
- ruby_block[supervise_unicorn_sleep] action run (skipped due to not_if)
- service[unicorn] action nothing (skipped due to action :nothing)
- directory[create /etc/sysctl.d for net.core.somaxconn] action create (up to date)
- file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf net.core.somaxconn] action create (up to date)
- link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create (up to date)
- file[delete /etc/sysctl.d/90-postgresql.conf net.core.somaxconn] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-unicorn.conf net.core.somaxconn] action delete (skipped due to only_if)
- file[delete /opt/gitlab/embedded/etc/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
- file[delete /etc/sysctl.d/90-omnibus-gitlab.conf net.core.somaxconn] action delete (skipped due to only_if)
- execute[load sysctl conf net.core.somaxconn] action nothing (skipped due to action :nothing) Recipe: gitlab::sidekiq
- directory[/var/log/gitlab/sidekiq] action create (up to date)
- directory[/opt/gitlab/sv/sidekiq] action create (up to date)
- directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
- directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
- template[/opt/gitlab/sv/sidekiq/run] action create (up to date)
- template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
- template[/var/log/gitlab/sidekiq/config] action create (up to date)
- ruby_block[reload sidekiq svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/sidekiq/down] action delete (up to date)
- link[/opt/gitlab/init/sidekiq] action create (up to date)
- link[/opt/gitlab/service/sidekiq] action create (up to date)
- ruby_block[supervise_sidekiq_sleep] action run (skipped due to not_if)
- service[sidekiq] action nothing (skipped due to action :nothing) Recipe: gitlab::gitaly
- directory[/var/opt/gitlab/gitaly] action create (up to date)
- directory[/var/log/gitlab/gitaly] action create (up to date)
- directory[/opt/gitlab/etc/gitaly] action create (up to date)
- file[/opt/gitlab/etc/gitaly/PATH] action create (up to date)
- file[/opt/gitlab/etc/gitaly/HOME] action create (up to date)
- template[Create Gitaly config.toml] action create (up to date)
- directory[/opt/gitlab/sv/gitaly] action create (up to date)
- directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
- directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
- template[/opt/gitlab/sv/gitaly/run] action create (up to date)
- template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
- template[/var/log/gitlab/gitaly/config] action create (up to date)
- ruby_block[reload gitaly svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/gitaly/down] action delete (up to date)
- link[/opt/gitlab/init/gitaly] action create (up to date)
- link[/opt/gitlab/service/gitaly] action create (up to date)
- ruby_block[supervise_gitaly_sleep] action run (skipped due to not_if)
- service[gitaly] action nothing (skipped due to action :nothing) Recipe: gitlab::gitlab-workhorse
- directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date)
- directory[/var/log/gitlab/gitlab-workhorse] action create (up to date)
- directory[/opt/gitlab/etc/gitlab-workhorse] action create (up to date)
- directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date)
- file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date)
- file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create (up to date)
- directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date)
- directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
- directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
- template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date)
- template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
- template[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
- ruby_block[reload gitlab-workhorse svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/gitlab-workhorse/down] action delete (up to date)
- link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
- link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
- ruby_block[supervise_gitlab-workhorse_sleep] action run (skipped due to not_if)
- service[gitlab-workhorse] action nothing (skipped due to action :nothing)
- file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create (up to date)
- template[/var/opt/gitlab/gitlab-workhorse/config.toml] action create (up to date) Recipe: gitlab::mailroom_disable
- link[/opt/gitlab/service/mailroom] action delete (up to date)
- directory[/opt/gitlab/sv/mailroom] action delete (up to date) Recipe: gitlab::nginx_disable
- link[/opt/gitlab/service/nginx] action delete (up to date)
- directory[/opt/gitlab/sv/nginx] action delete (up to date) Recipe: gitlab::remote-syslog_disable
- link[/opt/gitlab/service/remote-syslog] action delete (up to date)
- directory[/opt/gitlab/sv/remote-syslog] action delete (up to date) Recipe: gitlab::logrotate
- directory[/opt/gitlab/sv/logrotate] action create (up to date)
- directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
- directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
- template[/opt/gitlab/sv/logrotate/run] action create (up to date)
- template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
- template[/var/log/gitlab/logrotate/config] action create (up to date)
- ruby_block[reload logrotate svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/logrotate/down] action delete (up to date)
- directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
- template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
- link[/opt/gitlab/init/logrotate] action create (up to date)
- link[/opt/gitlab/service/logrotate] action create (up to date)
- ruby_block[supervise_logrotate_sleep] action run (skipped due to not_if)
- service[logrotate] action nothing (skipped due to action :nothing) Recipe: gitlab::mattermost_disable
- link[/opt/gitlab/service/mattermost] action delete (up to date)
- directory[/opt/gitlab/sv/mattermost] action delete (up to date) Recipe: gitlab::gitlab-pages_disable
- link[/opt/gitlab/service/gitlab-pages] action delete (up to date)
- directory[/opt/gitlab/sv/gitlab-pages] action delete (up to date) Recipe: gitlab::registry_disable
- link[/opt/gitlab/service/registry] action delete (up to date)
- directory[/opt/gitlab/sv/registry] action delete (up to date) Recipe: gitlab::gitlab-healthcheck
- template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create (up to date) Recipe: gitlab::prometheus_user
- group[Prometheus user and group] action create (up to date)
- user[Prometheus user and group] action create (up to date) Recipe: gitlab::prometheus
- directory[/var/opt/gitlab/prometheus] action create (up to date)
- directory[/var/log/gitlab/prometheus] action create (up to date)
- template[Prometheus template] action create (up to date)
- directory[/opt/gitlab/sv/prometheus] action create (up to date)
- directory[/opt/gitlab/sv/prometheus/log] action create (up to date)
- directory[/opt/gitlab/sv/prometheus/log/main] action create (up to date)
- template[/opt/gitlab/sv/prometheus/run] action create (up to date)
- template[/opt/gitlab/sv/prometheus/log/run] action create (up to date)
- template[/var/log/gitlab/prometheus/config] action create (up to date)
- ruby_block[reload prometheus svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/prometheus/down] action delete (up to date)
- link[/opt/gitlab/init/prometheus] action create (up to date)
- link[/opt/gitlab/service/prometheus] action create (up to date)
- ruby_block[supervise_prometheus_sleep] action run (skipped due to not_if)
- service[prometheus] action nothing (skipped due to action :nothing) Recipe: gitlab::node-exporter
- directory[/var/log/gitlab/node-exporter] action create (up to date)
- directory[/var/opt/gitlab/node-exporter/textfile_collector] action create (up to date)
- directory[/opt/gitlab/sv/node-exporter] action create (up to date)
- directory[/opt/gitlab/sv/node-exporter/log] action create (up to date)
- directory[/opt/gitlab/sv/node-exporter/log/main] action create (up to date)
- template[/opt/gitlab/sv/node-exporter/run] action create (up to date)
- template[/opt/gitlab/sv/node-exporter/log/run] action create (up to date)
- template[/var/log/gitlab/node-exporter/config] action create (up to date)
- ruby_block[reload node-exporter svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/node-exporter/down] action delete (up to date)
- link[/opt/gitlab/init/node-exporter] action create (up to date)
- link[/opt/gitlab/service/node-exporter] action create (up to date)
- ruby_block[supervise_node-exporter_sleep] action run (skipped due to not_if)
- service[node-exporter] action nothing (skipped due to action :nothing) Recipe: gitlab::redis-exporter
- directory[/var/log/gitlab/redis-exporter] action create (up to date)
- directory[/opt/gitlab/sv/redis-exporter] action create (up to date)
- directory[/opt/gitlab/sv/redis-exporter/log] action create (up to date)
- directory[/opt/gitlab/sv/redis-exporter/log/main] action create (up to date)
- template[/opt/gitlab/sv/redis-exporter/run] action create (up to date)
- template[/opt/gitlab/sv/redis-exporter/log/run] action create (up to date)
- template[/var/log/gitlab/redis-exporter/config] action create (up to date)
- ruby_block[reload redis-exporter svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/redis-exporter/down] action delete (up to date)
- link[/opt/gitlab/init/redis-exporter] action create (up to date)
- link[/opt/gitlab/service/redis-exporter] action create (up to date)
- ruby_block[supervise_redis-exporter_sleep] action run (skipped due to not_if)
- service[redis-exporter] action nothing (skipped due to action :nothing) Recipe: gitlab::postgres-exporter
- directory[/var/log/gitlab/postgres-exporter] action create (up to date)
- directory[/opt/gitlab/etc/postgres-exporter/env] action create (up to date)
- file[/opt/gitlab/etc/postgres-exporter/env/DATA_SOURCE_NAME] action create (up to date)
- directory[/opt/gitlab/sv/postgres-exporter] action create (up to date)
- directory[/opt/gitlab/sv/postgres-exporter/log] action create (up to date)
- directory[/opt/gitlab/sv/postgres-exporter/log/main] action create (up to date)
- template[/opt/gitlab/sv/postgres-exporter/run] action create (up to date)
- template[/opt/gitlab/sv/postgres-exporter/log/run] action create (up to date)
- template[/var/log/gitlab/postgres-exporter/config] action create (up to date)
- ruby_block[reload postgres-exporter svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/postgres-exporter/down] action delete (up to date)
- link[/opt/gitlab/init/postgres-exporter] action create (up to date)
- link[/opt/gitlab/service/postgres-exporter] action create (up to date)
- ruby_block[supervise_postgres-exporter_sleep] action run (skipped due to not_if)
- service[postgres-exporter] action nothing (skipped due to action :nothing) Recipe: gitlab::gitlab-monitor
- directory[/var/opt/gitlab/gitlab-monitor] action create (up to date)
- directory[/var/log/gitlab/gitlab-monitor] action create (up to date)
- template[/var/opt/gitlab/gitlab-monitor/gitlab-monitor.yml] action create (up to date)
- directory[/opt/gitlab/sv/gitlab-monitor] action create (up to date)
- directory[/opt/gitlab/sv/gitlab-monitor/log] action create (up to date)
- directory[/opt/gitlab/sv/gitlab-monitor/log/main] action create (up to date)
- template[/opt/gitlab/sv/gitlab-monitor/run] action create (up to date)
- template[/opt/gitlab/sv/gitlab-monitor/log/run] action create (up to date)
- template[/var/log/gitlab/gitlab-monitor/config] action create (up to date)
- ruby_block[reload gitlab-monitor svlogd configuration] action nothing (skipped due to action :nothing)
- file[/opt/gitlab/sv/gitlab-monitor/down] action delete (up to date)
- link[/opt/gitlab/init/gitlab-monitor] action create (up to date)
- link[/opt/gitlab/service/gitlab-monitor] action create (up to date)
- ruby_block[supervise_gitlab-monitor_sleep] action run (skipped due to not_if)
- service[gitlab-monitor] action nothing (skipped due to action :nothing) Recipe: gitlab::default
- link[/opt/gitlab/service/gitlab-git-http-server] action delete (up to date)
- directory[/opt/gitlab/sv/gitlab-git-http-server] action delete (up to date)
Running handlers: Running handlers complete Chef Client finished, 4/369 resources updated in 04 seconds gitlab Reconfigured! eduisfun@EduisFun-LocalServer:/var/log/apache2$ sudo gitlab-rake gitlab:env:info
System information System: Ubuntu 14.04 Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.11.1 Sidekiq Version:4.2.7
GitLab information Version: 9.1.4 Revision: gitlab-ce@fed799ae87ba5a95cf46d8426e96ad621940d0a7 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql Using LDAP: no Using Omniauth: no
GitLab Shell Version: 5.0.2 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...
GitLab Shell version >= 5.0.2 ? ... OK (5.0.2) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 4/8 ... ok 4/9 ... ok 5/10 ... ok 2/11 ... ok 2/12 ... ok 2/17 ... ok 2/18 ... ok 2/19 ... repository is empty 2/20 ... repository is empty 2/21 ... ok 2/22 ... ok 2/23 ... ok 2/24 ... ok 2/25 ... ok 2/26 ... ok 2/27 ... ok 2/28 ... ok 2/29 ... ok 2/30 ... ok 2/31 ... repository is empty 2/32 ... repository is empty 2/33 ... ok 2/34 ... repository is empty 2/35 ... repository is empty 2/36 ... repository is empty 2/37 ... repository is empty 2/38 ... repository is empty 2/39 ... repository is empty 3/40 ... ok 2/41 ... ok 3/42 ... ok 13/46 ... repository is empty 5/48 ... ok 3/49 ... ok 2/50 ... ok 2/51 ... ok 2/52 ... ok 2/53 ... ok 2/54 ... ok 2/55 ... ok 2/56 ... ok 2/57 ... ok 2/58 ... ok 2/59 ... ok 2/60 ... ok 2/61 ... ok 2/62 ... ok 2/63 ... ok 2/64 ... ok 2/65 ... ok 3/66 ... ok 2/67 ... ok 2/69 ... ok 2/70 ... ok 2/71 ... ok 2/72 ... ok 2/73 ... ok 2/74 ... ok 2/75 ... ok 2/76 ... ok 2/77 ... ok 2/78 ... ok 2/79 ... ok 2/80 ... ok 2/81 ... ok 2/82 ... ok 2/83 ... ok 2/84 ... ok 2/85 ... ok 2/86 ... ok 2/87 ... ok 2/88 ... ok 2/89 ... ok 2/90 ... ok 2/91 ... ok 2/92 ... ok 2/93 ... ok 2/94 ... ok 2/95 ... ok 2/96 ... ok 2/97 ... ok 2/98 ... ok 2/99 ... ok 2/100 ... ok 2/101 ... ok 2/102 ... ok 2/103 ... ok 2/104 ... ok 2/105 ... ok 2/107 ... ok 2/108 ... ok 2/109 ... ok 2/111 ... ok 2/112 ... ok 2/113 ... ok 2/114 ... ok 4/115 ... repository is empty 4/116 ... ok 2/117 ... ok 2/118 ... ok 2/119 ... ok 4/120 ... ok 2/121 ... ok 2/122 ... repository is empty 2/123 ... ok 2/124 ... ok 2/125 ... ok 2/126 ... ok 2/127 ... ok 2/128 ... ok 2/129 ... ok 2/130 ... ok 2/131 ... ok 2/132 ... ok 2/133 ... ok 2/134 ... ok 2/135 ... ok 3/136 ... ok 2/137 ... ok 2/138 ... ok 2/139 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... skipped (no tmp uploads folder yet) Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 4/8 ... yes 4/9 ... yes 5/10 ... yes 2/11 ... yes 2/12 ... yes 2/17 ... yes 2/18 ... yes 2/19 ... yes 2/20 ... yes 2/21 ... yes 2/22 ... yes 2/23 ... yes 2/24 ... yes 2/25 ... yes 2/26 ... yes 2/27 ... yes 2/28 ... yes 2/29 ... yes 2/30 ... yes 2/31 ... yes 2/32 ... yes 2/33 ... yes 2/34 ... yes 2/35 ... yes 2/36 ... yes 2/37 ... yes 2/38 ... yes 2/39 ... yes 3/40 ... yes 2/41 ... yes 3/42 ... yes 13/46 ... yes 5/48 ... yes 3/49 ... yes 2/50 ... yes 2/51 ... yes 2/52 ... yes 2/53 ... yes 2/54 ... yes 2/55 ... yes 2/56 ... yes 2/57 ... yes 2/58 ... yes 2/59 ... yes 2/60 ... yes 2/61 ... yes 2/62 ... yes 2/63 ... yes 2/64 ... yes 2/65 ... yes 3/66 ... yes 2/67 ... yes 2/69 ... yes 2/70 ... yes 2/71 ... yes 2/72 ... yes 2/73 ... yes 2/74 ... yes 2/75 ... yes 2/76 ... yes 2/77 ... yes 2/78 ... yes 2/79 ... yes 2/80 ... yes 2/81 ... yes 2/82 ... yes 2/83 ... yes 2/84 ... yes 2/85 ... yes 2/86 ... yes 2/87 ... yes 2/88 ... yes 2/89 ... yes 2/90 ... yes 2/91 ... yes 2/92 ... yes 2/93 ... yes 2/94 ... yes 2/95 ... yes 2/96 ... yes 2/97 ... yes 2/98 ... yes 2/99 ... yes 2/100 ... yes 2/101 ... yes 2/102 ... yes 2/103 ... yes 2/104 ... yes 2/105 ... yes 2/107 ... yes 2/108 ... yes 2/109 ... yes 2/111 ... yes 2/112 ... yes 2/113 ... yes 2/114 ... yes 4/115 ... yes 4/116 ... yes 2/117 ... yes 2/118 ... yes 2/119 ... yes 4/120 ... yes 2/121 ... yes 2/122 ... yes 2/123 ... yes 2/124 ... yes 2/125 ... yes 2/126 ... yes 2/127 ... yes 2/128 ... yes 2/129 ... yes 2/130 ... yes 2/131 ... yes 2/132 ... yes 2/133 ... yes 2/134 ... yes 2/135 ... yes 3/136 ... yes 2/137 ... yes 2/138 ... yes 2/139 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.3) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.11.1) Active users: 9
Checking GitLab ... Finished
Other Notes
My apache conf is same as omnibus apache 24 (https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/web-server/apache/gitlab-omnibus-apache24.conf) with the YOUR_SERVER_FQDN changed