Issues when the "Bitbucket Server - Comment Likes" system plugin is disabled

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This page describes the issues that are observed when the Bitbucket Server - Comment Likes system plugin is disabled.

Bitbucket versions <= 6.x

For Bitbucket versions 6.x and earlier, the "Like" link in pull request comments will not be shown if the system plugin is disabled.

Here are screenshots illustrating the issue:

Plugin is enabled

The "Like" link is visible

Plugin is disabled

The "Like" link is missing


Bitbucket versions >= 7.0 and < 7.7

In Bitbucket 7.0, pull requests got a makeover and the "Like" link was replaced with a "thumbs up" emoji.

If the system plugin is not enabled, clicking the thumbs up emoji will return a "Comment not found - The requested comment does not exist. It may have been deleted." message, as shown below:

Request details

Analysing the web request using browser developer tools will show that the request returned a 404 - Not Found response:

Corresponding server debug logs will show that the request failed to access a resource

2021-08-24 12:14:19,675 DEBUG [http-nio-6764-exec-7] @A54UVx1334x211x0 el5yw0 127.0.0.1 "POST /mvc/error404 HTTP/1.1" c.a.s.i.web.ErrorPageController Page not found attempting to access [/b764/rest/comment-likes/latest/projects/PROJ/repos/repo764a/pull-requests/4/comments/44/likes]


Bitbucket versions >= 7.7

Bitbucket 7.7 introduced comment reactions, which replaced the "thumbs up" emoji.

If the system plugin is not enabled, selecting an emoji reaction will return the error message, "An error occurred - Something went wrong while trying to serve your request. Try reloading the page."

Request details

Analysing the web request using browser developer tools will show that the PUT request returned a 405 - Method Not Allowed response:

Sample entry for a "smile" reaction:

There are no corresponding server debug logs for this request.


Cause

The system plugin may have been disabled by mistake or failed to get enabled during a restart.

Solution

To address the issues, enable the "Bitbucket Server - Comments Likes" system plugin (plugin key: com.atlassian.bitbucket.server.bitbucket-comment-likes)

Procedures

  1. Log on as a system admin user
  2. Go to Administration > Manage apps
  3. Select "System" from the dropdown list in the "Manage apps" list to show the system plugins
  4. Look for "Bitbucket Server - Comment Likes" and click the "Enable" button





Last modified on Aug 30, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.