2
votes

After update (omnibus-gitlab), when 'Dashboard | Gitlab' load, outputs error:

"Error compiling CSS asset Sprockets::FileNotFound: couldn't find file 'jquery.ui.datepicker' (in /home/git/gitlab/app/assets/stylesheets/application.scss:5) /usr/local/lib/ruby/gems/2.1.0/gems/sprickets-2.12.3/lib/sprockets/context.rb:106:in `resolve'

GitLab befor update 7.4.2.

$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...

Git configured for git user? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 2.0.1 ? ... OK (2.0.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ...
... ok
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
        /home/git/repositories: OK
        /home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.4.14
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
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
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
... yes
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)

Checking GitLab ... Finished

My environment:

$ sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production

System information
System:         Debian 7.8
Current User:   git
Using RVM:      no
Ruby Version:   2.1.2p95
Gem Version:    2.2.2
Bundler Version:1.7.4
Rake Version:   10.4.2
Sidekiq Version:2.17.0

GitLab information
Version:        7.4.2
Revision:       477743a
Directory:      /home/git/gitlab
DB Adapter:     mysql2
URL:            https://GitHub.lcl.loc/gitlab
HTTP Clone URL: https://GitHub.lcl.loc/gitlab/some-project.git
SSH Clone URL:  [email protected]:some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        2.0.1
Repositories:   /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git
3

3 Answers

2
votes

app/assets/stylesheets/application.scss#L5 should include jquery.ui.datepicker.

Not jquety.ui.datepicker, which (indeed) does not exist.

1
votes

I found a solution in this link. Need rename jquery.ui.datepicker to jquery-ui/datepicker and jquery.ui.autocomplete to jquery-ui/autocomplete in file /home/git/gitlab/app/assets/stylesheets/application.scss.

0
votes

In my case I've GitLab with external Nginx. Restarting nginx all go back to normal.

service nginx restart