[DRE-maint] Bug#814503: gitlab: getting error 500 when trying to access issues

Johannes Schauer josch at debian.org
Fri Feb 12 10:16:43 UTC 2016


Package: gitlab
Version: 8.4.3+dfsg-3
Severity: normal

Hi,

when I create a new issue and then try to access it, I get an error 500.
My /usr/share/gitlab/log/production.log shows the following:

Started GET "/debian-bootstrap/botch/issues/2" for 132.187.9.217 at 2016-02-12 11:05:48 +0100
Processing by Projects::IssuesController#show as HTML
  Parameters: {"namespace_id"=>"debian-bootstrap", "project_id"=>"botch", "id"=>"2"}
Completed 500 Internal Server Error in 309ms (ActiveRecord: 16.2ms)

ActionView::Template::Error (No such file or directory @ rb_sysopen - /usr/share/gitlab/fixtures/emojis/aliases.json):
    24:     var post_emoji_url = "#{award_toggle_namespace_project_notes_path(@project.namespace, @project)}";
    25:     var noteable_type = "#{votable.class.name.underscore}";
    26:     var noteable_id = "#{votable.id}";
    27:     var aliases = #{AwardEmoji.aliases.to_json};
    28: 
    29:     window.awards_handler = new AwardsHandler(
    30:       post_emoji_url,
  lib/award_emoji.rb:48:in `read'
  lib/award_emoji.rb:48:in `aliases'
  app/views/votes/_votes_block.html.haml:27:in `_app_views_votes__votes_block_html_haml___3925512544615255108_95022200'
  app/views/projects/issues/show.html.haml:54:in `_app_views_projects_issues_show_html_haml___2149417945457593488_50760220'
  app/controllers/projects/issues_controller.rb:66:in `show'


The error apparently comes from here:

http://sources.debian.net/src/gitlab/8.4.3%2Bdfsg-3/lib/award_emoji.rb/?hl=48#L48

The files seem to be present upstream:

https://gitlab.com/gitlab-org/gitlab-ce/tree/master/fixtures/emojis

But they are not part of the source package.

If they were removed then I cannot find a documentation of their removal
nor how I shall replace them.

Thanks!

cheers, josch



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