Gitlab ce self-hosted getting 500 errors most of time

Good day.

I’m running Gitlab gitlab/gitlab-ce:16.11.8-ce.0 docker image. Before that was 16.11.5 and there were no problems. But now i’m getting many 500 errors nearly every time.

ActionView::Template::Error (uninitialized constant TanukiEmoji::Db::Gemojione::Character

          emoji = Character.new(emoji_name.to_s,
                  ^^^^^^^^^
Did you mean?  CharacterSet):
    35: .row.gl-mt-3
    36:   .col-md-8
    37:     .md
    38:       = markdown(@help_index)
    39:   .col-md-4
    40:     .card.links-card
    41:       .card-header
  
tanuki_emoji (0.9.0) lib/tanuki_emoji/db/gemojione.rb:28:in `block in load!'
tanuki_emoji (0.9.0) lib/tanuki_emoji/db/gemojione.rb:27:in `each'
tanuki_emoji (0.9.0) lib/tanuki_emoji/db/gemojione.rb:27:in `load!'


ActionView::Template::Error (uninitialized constant TanukiEmoji::Index

    TanukiEmoji::Index.instance
               ^^^^^^^
Did you mean?  Ide):
    35: .row.gl-mt-3
    36:   .col-md-8
    37:     .md
    38:       = markdown(@help_index)
    39:   .col-md-4
    40:     .card.links-card
    41:       .card-header
  
tanuki_emoji (0.9.0) lib/tanuki_emoji.rb:33:in `index'
lib/banzai/filter/emoji_filter.rb:69:in `emoji_unicode_pattern'
lib/banzai/filter/emoji_filter.rb:112:in `emoji_unicode_pattern'
lib/banzai/filter/emoji_filter.rb:27:in `block in call_with_timeout'

Is there any option to fix these problems? Maybe any way to disable emojies?

I’ve searched for this error in the GitLab issue tracker, and found a related discussion where it said to restart the GitLab server, purging all instances of old code running. Partial or repeated submission of MR review comments is possible, MR state can become anomalous (#472646) · Issues · GitLab.org / GitLab · GitLab You can do that in a similar fashion with docker stop or similar.

Thank you. Surely, I started it from scratch. Will try to reboot the server, maybe it will help.
Also I saw that one of users could fix it with adding cpu cores to VM (Partial or repeated submission of MR review comments is possible, MR state can become anomalous (#472646) · Issues · GitLab.org / GitLab · GitLab).

Downgraded to gitlab/gitlab-ce:16.11.7-ce.0 - everything works fine now.

I don’t see a change in .8 that would explain the behavior,but glad it solved itself - maybe through a container restart. CHANGELOG.md · v16.11.8-ee · GitLab.org / GitLab · GitLab

For future planning, I’d suggest upgrading to a supported version. GitLab release and maintenance policy | GitLab

1 Like