[DRE-maint] Bug#846916: gitlab dropdown menus do not work

Johannes Schauer josch at debian.org
Sun Dec 4 14:12:42 UTC 2016


Hi,

Quoting Pirate Praveen (2016-12-04 12:07:49)
> On ഞായര്‍ 04 ഡിസംബര്‍ 2016 04:27 വൈകു, Johannes Schauer wrote:
> > Am I missing to do something? Maybe I have to invalidate some caches?
> 
> You'll have to precompile assets
> 
> rake assets:precompile

running that command doesn't work. In the hope I'm not screwing anything up I
ran this instead:

$ runuser -u gitlab -- sh -c 'cd /usr/share/gitlab && export $(cat /etc/gitlab/gitlab-debian.conf) && rake assets:precompile RAILS_ENV=production
I, [2016-12-04T13:55:56.046192 #587]  INFO -- : Writing /usr/share/gitlab/public/assets/application-63590ebd4b9c93a0058b706b6d2f8841aad0da2f28b3a7c21fb50ac9a18eef6f.js
I, [2016-12-04T13:55:56.046927 #587]  INFO -- : Writing /usr/share/gitlab/public/assets/application-63590ebd4b9c93a0058b706b6d2f8841aad0da2f28b3a7c21fb50ac9a18eef6f.js.gz

Is that the expected output?

> Then you have to clean the browser cache (or use incognito mode).

I tried a fresh profile and the same error happens. It should thus also still
happen for you if you also want to try again.

> If that doesn't work, try reinstalling gitlab.

I did "apt-get install --reinstall gitlab" to no effect.

> Just to be double sure, check
> /usr/share/ruby-jquery-rails/vendor/assets/javascripts and verify jquery2*
> are not symbolic links. Try removing ruby-jquery-rails if it is still symlink
> (dpkg may refuse to overwrite symlinks).

This is how my directory looks like now:

ls -lha /usr/share/ruby-jquery-rails/vendor/assets/javascripts
total 496K
drwxr-xr-x 2 root root 4.0K Dec  4 10:50 .
drwxr-xr-x 3 root root 4.0K Dec  4 09:35 ..
-rw-r--r-- 1 root root 252K Nov 30 16:23 jquery2.js
-rw-r--r-- 1 root root  84K Nov 30 16:23 jquery2.min.js
-rw-r--r-- 1 root root 127K Nov 30 16:23 jquery2.min.map
lrwxrwxrwx 1 root root   39 Nov 30 16:23 jquery3.js -> ../../../../javascript/jquery/jquery.js
lrwxrwxrwx 1 root root   43 Nov 30 16:23 jquery3.min.js -> ../../../../javascript/jquery/jquery.min.js
lrwxrwxrwx 1 root root   44 Nov 30 16:23 jquery3.min.map -> ../../../../javascript/jquery/jquery.min.map
lrwxrwxrwx 1 root root   39 Nov 30 16:23 jquery.js -> ../../../../javascript/jquery/jquery.js
lrwxrwxrwx 1 root root   43 Nov 30 16:23 jquery.min.js -> ../../../../javascript/jquery/jquery.min.js
lrwxrwxrwx 1 root root   44 Nov 30 16:23 jquery.min.map -> ../../../../javascript/jquery/jquery.min.map
-rw-r--r-- 1 root root  22K Nov 30 16:23 jquery_ujs.js


You can try out the current situation yourself on the test instance, just to be
sure that the problem is not with my browser cache.

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161204/9be3705c/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list