In Admin Menu>Monitoring>Background Jobs>Sidekiq stats not shown
Summary
The problem is exactly the same as shown in issue #23825 (closed) I got asked to open a new report for OpenBSD. My environment is OpenBSD 6.1-beta amd64.
Steps to reproduce
in Admin Menu>Monitoring>Background Jobs>Sidekiq stats are not shown, Looks exactly the same for me as in the screenshot shown in issue #23825 (closed) https://gitlab.com/gitlab-org/gitlab-ce/uploads/11973afe7f36791a5b5eca56bb7afc22/Gitlab.JPG
What is the current bug behavior?
The sidekiq stats are not shown.
What is the expected correct behavior?
The sidekiq stats should be shown.
Relevant logs and/or screenshots
https://gitlab.com/gitlab-org/gitlab-ce/uploads/11973afe7f36791a5b5eca56bb7afc22/Gitlab.JPG
also posted in the other issue, following ps command produces output for me:
ps -U _gitlab -o pid,pcpu,pmem,stat,start,command | grep sidekiq 49258 0.2 2.3 S Fri10PM ruby23: sidekiq 4.2.7 gitlab [0 of 25 busy] (ruby23) 58482 0.0 0.0 Ip Fri10PM -sh -c cd /var/www/gitlab/gitlab && \t\tbundle23 exec sidekiq -C /etc/gitlab/sidekiq_queues.yml - 67788 0.0 0.0 R+/0 10:49PM grep sidekiq
the following doesn't produce any output: ps a -o pid,pcpu,pmem,stat,start,command | grep side
Output of checks
Results of GitLab environment info
PATH=/var/www/gitlab/bin:$PATH bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System:
Current User: _gitlab
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version:
Bundler Version:1.13.6
Rake Version: 10.5.0
Redis Version: 3.2.6
Sidekiq Version:4.2.7
GitLab information
Version: 8.17.4
Revision: 3d2890c86a
Directory: /var/www/gitlab/gitlab
DB Adapter: postgresql
URL: https://galen.l00-bugdead-prods.de/gitlab
HTTP Clone URL: https://galen.l00-bugdead-prods.de/gitlab/some-group/some-project.git
SSH Clone URL: _gitlab@galen.l00-bugdead-prods.de:some-group/some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 4.1.1
Repository storage paths:
- default: /var/www/gitlab/repositories
Hooks: /var/www/gitlab/gitlab-shell/hooks/
Git: /usr/local/bin/git
Results of GitLab application Check
PATH=/var/www/gitlab/bin:$PATH bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
Checking GitLab Shell ...
GitLab Shell version >= 4.1.1 ? ... OK (4.1.1)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by _gitlab:_gitlab?
default... yes
Repo paths access is drwxrws---?
default... no
Try fixing it:
sudo chmod -R ug+rwX,o-rwx /var/www/gitlab/repositories
sudo chmod -R ug-s /var/www/gitlab/repositories
sudo find /var/www/gitlab/repositories -type d -print0 | sudo xargs -0 chmod g+s
For more information see:
doc/install/installation.md in section "GitLab Shell"
Please fix the error above and rerun the checks.
hooks directories in repos are links: ...
2/2 ... repository is empty
2/3 ... repository is empty
2/4 ... repository is empty
Running /var/www/gitlab/gitlab-shell/bin/check
Check GitLab API access: FAILED: Failed to connect to internal API
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u _gitlab -H editor /var/www/gitlab/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ... 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 ...
Server: ldapmain
LDAP authentication... Success
LDAP users with access to your GitLab server (only showing the first 100 results)
... a couple of LDAP users listed ...
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? ... no
Try fixing it:
Install the init script
For more information see:
doc/install/installation.md in section "Install Init Script"
Please fix the error above and rerun the checks.
Init script up-to-date? ... can't check because of previous errors
projects have namespace: ...
2/2 ... yes
2/3 ... yes
2/4 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.3)
Your git bin path is "/usr/local/bin/git"
Git version >= 2.7.3 ? ... yes (2.11.0)
Active users: 2
Checking GitLab ... Finished