更新GitLab后,输出错误CSS
更新(omnibus gitlab)后,加载“Dashboard | gitlab”时,输出错误: “编译CSS资产链轮时出错::FileNotFound:找不到文件。” “jquery.ui.datepicker”(在 /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 `决心' 更新7.4.2之前的GitLab更新GitLab后,输出错误CSS,gitlab,Gitlab,更新(omnibus gitlab)后,加载“Dashboard | gitlab”时,输出错误: “编译CSS资产链轮时出错::FileNotFound:找不到文件。” “jquery.ui.datepicker”(在 /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:1
$ 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
我的环境:
$ 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: git@GitHub.lcl.loc: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
应该包括jquery.ui.datepicker
不是
jquety.ui.datepicker
,它(确实)不存在。我找到了一个解决方案。需要将jquery.ui.datepicker
重命名为jquery-ui/datepicker
,并将jquery.ui.autocomplete
重命名为jquery-ui/autocomplete
文件/home/git/gitlab/app/assets/stylesheets/application.scss
,在我的情况下,我已经使用了外部Nginx.Restar的gitlabting nginx恢复正常
service nginx restart
jquety.ui.datepicker真的没有。接下来呢?我不知道该怎么办(如何在Debian控制台中加载它?!@Nikolay我的问题是:你是否在
应用程序中有jquety
?或者jquery
?jquery
存在。jquety
看起来像一个类型。“*=需要jquery.ui.datepicker“-文件app/assets/stylesheets/application.scss中的这5行#L5@Nikolay那么,您能否准确地复制并粘贴错误消息,因为您的问题包括jquety
,而不是jquery
。很抱歉,我无法复制文本。或者不知道这是怎么回事。文本不会发出。