Mysql upgrade from 5.7 to 8.0 -- Confluence crashes database on plugin installation

Moritz Wagner
Contributor
October 21, 2020

Hello,

I was just trying to port our system (Jira/Confluence/Crowd to Mysql8.0 everything worked fine, until the point I try to update a plugin in Confluence. Once I start the upgrade it crashes the whole database leaving me with a mysqld service thats fully locked at full CPU load and producing logs like:

Difficult to find free blocks in the buffer pool...

This fills all the logs forever, DB-Connection is no longer possble and service restart doesn't change a thing. Is there a parameter I have to set in the Config to tell Confluence to use the MySQL8 syntax? like the mysql57/mysql8 in jira dbconfig.xml? I just swapped the mysql connector jar and changed the DB-connection string to also include

"&serverTimezone=Europe/Berlin"

Namely when upgrading the plugin "Scriptrunner for confluence" this issue happened. 

Oh and Confluence is running in Version 7.8.1 here.

 

Any thoughts would be appreciated!
Thanks!

Moritz

1 answer

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2020

Hi Moritz,

have you checked if there is something wrong with the database server by any chance (from logs)? I am just asking as the error message is more kind of a "basic" (by means of "low-level" - not as in "easy") trouble with the database as it seems.

If you actually only encounter the database going crazy when you are trying to upgrade Scriptrunner App - then I would call out to Adaptavist support to be honest.

As you said Jira is also connected to that database host - can you confirm that with Jira everything is running absolutely okay? If so this would probably really mean it is linked to the ScriptRunner for Confluence in some manner...

Cheers,
Daniel

Moritz Wagner
Contributor
October 28, 2020

Hi Daniel,

thanks for your ideas!

The database works before triggering this update. And Jira of course stops working after Confluence crashed the database. But before everything was fine. I'm almost certain, that it is a mysql query that's issuer by either the plugin manager or scriptrunner during the upgrade, but I don't have the time to check if it is only Scriptrunner, or just any upgrade. Just thought this problem might have showed up somewhere else.

 

Have a good Day,

Moritz

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.8.1
TAGS
AUG Leaders

Atlassian Community Events