Circular dependency detected
Summary
When running bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production
it returns an error.
Steps to reproduce
bundle install --without postgres development test --deployment &&
bundle clean &&
bundle exec rake db:migrate RAILS_ENV=production &&
npm install --production &&
bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production
Relevant logs and/or screenshots
D, [2017-02-23T21:46:35.556835 #32701] DEBUG -- sentry: ** [Raven] Circular dependency detected: TOP => gitlab:assets:clean => gitlab:assets:clean excluded from capture due to environment or should_capture callback
rake aborted!
Circular dependency detected: TOP => gitlab:assets:clean => gitlab:assets:clean
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:assets:clean
(See full trace by running task with --trace)
Results of GitLab environment info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.5.2
Bundler Version:1.14.3
Rake Version: 10.5.0
Redis Version: 2.8.19
Sidekiq Version:4.2.7
GitLab information
Version: 8.18.0-pre
Revision: a77b40d
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: https://test.com
HTTP Clone URL: https://test.com/some-group/some-project.git
SSH Clone URL: git@test.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 4.1.1
Repository storage paths:
- default: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/local/bin/git
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 git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
Shido / Test ... ok
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /home/git/.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? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
Shido / Test ... 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.8.3)
Active users: 987
Checking GitLab ... Finished