In the issue page the buttons "like", "dislike", "Add" don't works. Checking branches, Assignee, Milestone and Due Date stay rolling forever. I can't add comments to issues. The left side button menu don't works also. gitlab 8.9.6_2.
I'm currently in vacation and can have a look at this issue next week, sorry. But some further requests: - is this error new? was everything fine in 8.9.6_1? - what is the result of: pkg info | grep rubygem- - what is the result of: gem list The result should be very long, but also helpful. Thanks, Torsten
Created attachment 175446 [details] gem list
Created attachment 175447 [details] pkg info
Hello I have migrated from gitlab-8.8.7, so I don't know if this problem occurs on 8.9.6_1. The requested queries are attached. Thanks a lot!
Hello Some news about this issue? []'s -Otacilio
No news, except that i'm back and onto it right now :)
I nailed the problem down to the Rails 4.2.7.1 update which introduced the new turbo-links 5. Sadly GitLab needs turbo-links 2.5 and even the latest release will not work with version 5. The solution is to bring back turbo-links 2.5 as new port and use it. Its not to hard, but will take some time. If you need an urgent hotfix you can do: # gem install turbo-links --version 2.5 # cd /usr/local/www/gitlab # service gitlab stop # rm Gemfile.lock # vi Gemfile -> Now have a look for this line: gem 'turbolinks', '>= 2.5.0' And change it to: gem 'turbolinks', '~> 2.5.0' Afterwards do: # rake assets:clean assets:precompile cache:clear RAILS_ENV=production # service gitlab start This will bring back the turbo-link javascript used for the buttons.
A commit references this bug: Author: tz Date: Thu Oct 13 09:59:09 UTC 2016 New revision: 423907 URL: https://svnweb.freebsd.org/changeset/ports/423907 Log: Revive www/rubygem-turbolinks as www/rubygem-turbolinks-classic. turbolinks was completely rewritten and released as version 5.x. The old branch 2.5.x was renamed to turbolinks-classic. www/gitlab still depends on the old version of rubygem-turbolinks. Therefore its revived as a new port, while the updated turbolinks port will satisfy www/rubygem-rails4. PR: 213218 Approved by: swills (mentor) Changes: head/www/Makefile head/www/rubygem-turbolinks-classic/ head/www/rubygem-turbolinks-classic/Makefile head/www/rubygem-turbolinks-classic/distinfo head/www/rubygem-turbolinks-classic/pkg-descr
A commit references this bug: Author: tz Date: Thu Oct 13 12:49:34 UTC 2016 New revision: 423910 URL: https://svnweb.freebsd.org/changeset/ports/423910 Log: www/gitlab: Use www/rubygem-turbolinks-classic instead of www/rubygem-turbolinks This fixes various problems with the issue-pages of GitLab PR: 213218 Approved by: junovitch (mentor, implicit) Changes: head/www/gitlab/Makefile head/www/gitlab/files/patch-Gemfile
Thanks for the report! The issue should be fixed now! :) For an update please follow this guide: https://github.com/t-zuehlsdorff/gitlabhq/blob/master/doc/update/freebsd_patch_versions.md It needs some time until there is a new binary package. If you need a quick update please use the ports-tree and make "cd /usr/ports/www/gitlab && make reinstall" Greetings, Torsten