Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Community Leader Oct 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

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
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

82 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you