Updating Confluence and Jira is a nightmare and keeps you hunting for solutions

Updating Confluence and Jira is a nightmare and keeps you hunting for solutions

First off, I really like Jira and Confluence and we have been using them successfully for all our open source applications. We also use HipChat for our IM communication and use SourceTree for managing code on Github. Just realised that Atlassian has become a company to depend on…

This post goes into the “upgrade nightmare” that occurs every time I upgrade Jira or Confluence. According to Atlassian’s forums and people blog posts I’m not the only one. I do get that these are “enterprise” tools and that upgrading has to take into consideration the customisation that some do, but why aren’t those customisations kept in one place together with all relevant config files?

Upgrading Jira/Confluence involves moving/copying/editing a bunch of files every time. Additionally, one needs to copy over database drivers, change the character set of the database and install certificates. Furthermore, you have to make sure that your license is up-to-date or Jira/Confluence will throw tones of cryptic text at you. Moreover, some of the plugins become incompatible with each update. In short, updating Jira/Confluence takes up a considerable amount of time, is error prone, let alone the frustration experienced. No wonder, I see people comment that; “This upgrade path is a joke and the reason why I stay with version x.”.

Let me describe what happened this time during the upgrades (with solutions).

Updating Confluence from 4.x to 5.3.1

The biggest grief, that I have with this update (despite the obvious moving, editing, etc. chores) is that they are now checking that your character set is “utf8” and the collation is “utf8_bin”. While this is definitely a good idea (who doesn’t use utf8 nowadays?!), forcing it in your update is definitely not one of them. Not only do you get a huge stack trace on your screen, but also no indication at all what you are supposed to do! You only get to know that you are running an issue with your database character set, after copying some of the stack trace into your favourite search engine where you obliviously look for a straw to grasp to…

According to this Knowledge Base article the cause is: “Confluence 5.2.4 added a check for tables with character encoding or collation setting that differs from the database default settings. Using non-default setting in a table can cause upgrade process to fail and leave the database in an inconsistent state.”.

Point is, that even when you have done all of the steps outlined in the article, you still get errors! What gives? What they fail to include in their article is that you have to set the connection in your database string to include utf8 as in: “jdbc:mysql://localhost/confluencedatabase?autoReconnect=true&useUnicode=true&characterEncoding=utf8” (this is in confluence.cfg.xml).

What is now obvious in writing took me many hours to figure out and hunt the web for a solution. Even the Atlassian documentation (albeit very good and informational) is now a web of interlinked content making you go jump trough hops before finding any relevant content.

While I’ve had enough after 8 hours of configuring, I’ve had another frustrating eperience once I tried to hit the Atlassian Marketplace within Jira/Confluence.

The Atlassian Marketplace server is not reachable

Somehow, someone at Atlassian decided that the most informative description to a service that is not reachable is to write”To avoid problems… …you can  disable the connection…”. How else would you interpret this error message below:

Find_new_add-ons_-_Documentation

Clicking on “Click here for more information…” takes you to another KnowledgeBase Article which explain how to disable the connection (duh? the connection is down and I would like to re-establish it). In their “solution” section you can read that you need to allow outbound proxy connection. (Come again, what? Why should I all of the sudden create an outbound rule for the proxy connection?).

Mind you, the connection to the Atlassian Marketplace was working before the update. The server is online, reachable and can ping any other server on the net. So, it isn’t a firewall or other configuration issue. This error only occurs now after upgrading Jira/Confluence and is only an issue within Jira/Confluence.

So, what is going on here? Apparently, the Atlassian support also does not know what is going on (I would link to the support ticket here, but it is not publicly available). They asked me to see if there is a Javascript error in my browser (which there is none apart the usual ones) and send logs. In both cases nothing was found.

I found the solution to this (again after hours searching) when I finally found a KnowledgeBase Article in the “Stash” documentation (Stash documentation???) pointing out that one needs to install certificates in the keystore to connect to the Marketplace! Duh! Seriously?! No word of installing certificates in the aforementioned “Click here for more information…” link. No word in the error message itself either! Common Atlassian, you can do better then that!

In summary, Atlassian just showed bad practices in software development or better said in upgrading their product. For one, they’ve made Confluence unavailable to any connection by insisting on the proper character set and the proper collation per column in the database. Furthermore, all plugins and connections to Atlassian (license verification) was blocked because someone decided that the connection needs a certificate.

Both issues wouldn’t have been such a big concern and headache if someone (again this someone…) would have come up with an informative and descriptive message letting the user  know what is at fault and pointing to the proper location for a solution.

Helpmonks All-in-one Customer Service Platform
Announcing Razuna 1.9.5

As outlined in my last post, Razuna is going strong, and we see that many customers take to Razuna, which after all is still one of the best open source alternatives to any Enterprise Digital Asset Management. Today, I’m thrilled to announce the immediate availability of Razuna 1.9.5. Razuna 1.9.5, despite…

How we solved performance issues in Helpmonks
How we solved outages and performance issues in Helpmonks

At the end of March 2019 and until the middle of April 2019, we experienced outages and performance issues in Helpmonks. What follows is a report of what happened and how we solved it. Performance issues were caused because we moved our core database to a new cloud provider with…

Helpmonks All-in-one Customer Service Platform
What does Open Source Mean for Digital Asset Management?

As you probably know, Razuna is an open source digital asset management software. This basically means that you can download the software and use it for free as long as you adhere to the AGPL license terms. So — the question is: Why do we do that? Why would we give our…

Helpmonks All-in-one Customer Service Platform
Postmortem on the incoming email delay issue on January 24th and 25th, 2018

Last Thursday morning on January 24th and Friday morning on January 25th, incoming emails to all Helpmonks mailboxes were delayed by two hours, respectively on the 25th for up to four hours. The root cause was that we a recent update to the “message id” of an email (each email…

Helpmonks All-in-one Customer Service Platform
A long awaited update about Razuna

It’s been a while since I have last written on here. I sincerely apologize for the radio silence. We’ve had to change some things within our company (I’ll write more about this in the future) and re-focus our efforts. That said, Razuna is going stronger than ever. Many customers are…

Helpmonks All-in-one Customer Service Platform
Oracle backup with RMAN

Deploying an Oracle database is one thing, but doing a good recovery backup plan is another matter. Good for us, Oracle comes with its own tool for doing backups called "RMAN". Sure, one can do backup with the Enterprise Manager, but with it you will need to shut down the…

Trusted by over 2,000 organizations with millions of emails

Helpmonks helps us answer customer emails at lighting speed
We couldn't do our job without Helpmonks!
Helpmonks, the best thing since sliced bread
Excellent option for collaborating email amongst your team
A good platform that is here to grow and help you grow
Helpmonks is a great tool that our company utilizes and depends on
Great shared inbox for the team
Fantastic email support service for any business
Easy to navigate and catalog data for specific users
Solid Helpdesk software w/ responsive customer support
A really good solution to manage customer support mailbox
Good support, useful features

One more thing...

Helpmonks gives you the ability tocollaborate as a groupin your shared mailbox, features aTeam To-Do App, powerfulCustomer Relationship Management (CRM)capabilities, a completeLive-Chat tool, a mighty Email Marketing Platform that includes sending ofemail campaignsandemail automation, collision detection, email tracking, reminders, mentions, custom fields, custom applications, customer satisfaction ratings, Single-Sign-On (SSO) & SAML authentication, Trello, Zapier, Slack, an API, and much more.

Check outthe complete feature listor sign up for afree 30-day shared inbox trial now