Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10304

Disabling Bitbucket Server - Webhooks add-on disables all add-ons

    XMLWordPrintable

Details

    Description

      Summary

      When the Bitbucket Server - Webhooks is disabled, it disables all other add-ons too. The Bitbucket Server instance becomes unusable.

      Steps to Reproduce

      1. Navigate to 'Manage add-ons' page
      2. Disable Bitbucket Server - Webhooks add-on

      Expected Results

      The add-on is disabled

      Actual Results

      All add-ons are disabled, for example, ssh add-on.

      The below exception is thrown in the atlassian-bitbucket.log file:

      2017-11-07 22:59:36,460 INFO [http-nio-7990-exec-4] admin @1UGDRC8x1379x2397x0 1an869g 172.18.0.1,172.18.0.4 "PUT /rest/plugins/1.0/com.atlassian.webhooks.atlassian-webhooks-plugin-key HTTP/1.1" c.a.b.s.i.i.e.DefaultIndexEventQueueProcessor Worker thread has been shut down
      2017-11-07 22:59:37,344 INFO [Gemini Blueprint context shutdown thread2] c.a.b.internal.ssh.server.SshServer Stopping SSH server...
      2017-11-07 22:59:37,350 INFO [Gemini Blueprint context shutdown thread2] c.a.b.internal.ssh.server.SshServer Stopped SSH server successfully.
      2017-11-07 23:00:37,745 ERROR [http-nio-7990-exec-4] admin @1UGDRC8x1379x2397x0 1an869g 172.18.0.1,172.18.0.4 "PUT /rest/plugins/1.0/com.atlassian.webhooks.atlassian-webhooks-plugin-key HTTP/1.1" c.a.plugin.osgi.factory.OsgiPlugin Plugin 'com.atlassian.bitbucket.server.bitbucket-tag' never resolved service '&unhandledExceptionMapperHelper' with filter '(objectClass=com.atlassian.bitbucket.rest.exception.UnhandledExceptionMapperHelper)'
      2017-11-07 23:00:37,747 ERROR [http-nio-7990-exec-4] admin @1UGDRC8x1379x2397x0 1an869g 172.18.0.1,172.18.0.4 "PUT /rest/plugins/1.0/com.atlassian.webhooks.atlassian-webhooks-plugin-key HTTP/1.1" c.a.plugin.manager.PluginEnabler Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.bitbucket.server.bitbucket-tag
      2017-11-07 23:00:38,935 INFO [http-nio-7990-exec-4] admin @1UGDRC8x1379x2397x0 1an869g 172.18.0.1,172.18.0.4 "PUT /rest/plugins/1.0/com.atlassian.webhooks.atlassian-webhooks-plugin-key HTTP/1.1" c.a.s.i.w.filters.StreamGuardFilter The remote client has aborted the connection
      2017-11-07 23:01:36,847 WARN [http-nio-7990-exec-3] @1UGDRC8x1381x2459x0 1an869g 172.18.0.1,172.18.0.4 "GET /mvc/error404 HTTP/1.1" c.a.s.i.w.f.WebFragmentSupport An error occurred rendering com.atlassian.bitbucket.server.bitbucket-server-web-fragments:bitbucket-notification-integrity-checks. Ignoring
      com.google.template.soy.tofu.SoyTofuException: When evaluating "to_json($integrityCheckState)": While computing function "to_json($integrityCheckState)": null

      When attempting to restart Bitbucket Server, following error is thrown in the browser:

      A fatal error has occurred

      The following problems occurred, which prevents Atlassian Bitbucket from starting:

      • Required plugin com.atlassian.bitbucket.server.bitbucket-rest has failed to start
      • Required plugin com.atlassian.stash.ssh-plugin has failed to start

      Workaround

      1. Stop Bitbucket Server
      2. Update PLUGIN_STATE.ENABLED column to TRUE for all plugins ((!)Always back up your data before performing any modifications to the database. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.)
      3. Start Bitbucket Server

      Attachments

        Issue Links

          Activity

            People

              mstudman Michael Studman (Inactive)
              kplaha Kanwar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: