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

Error after upgrading to 7.13.7 from 7.4.11

Frode Aasegaard June 10, 2022

Hi. 

After upgrading we get this message below. Any suggestions what to do?

We have updated all files needed, server.xml etc, and the server seems to be ok. The database is hosted on another server, Mysql. Connection to this on is ok, using 8.0.18 connector.

Error:

Upgrade failed. Please consult the system logs for details. You will need to fix these problems, restore your database and confluence home directory to the pre upgrade state. Then retry the upgrade. Upgrade error message: Upgrade task com.atlassian.confluence.upgrade.upgradetask.DenormalisedSpacePermissionsUpgradeTask@6d913f37 failed during the SCHEMA_UPGRADE phase due to: StatementCallback; uncategorized SQLException for SQL [CREATE TRIGGER denormalised_space_trigger_on_update AFTER UPDATE ON SPACES FOR EACH ROW sp: BEGIN DECLARE isServiceDisabled BOOL DEFAULT TRUE; CALL space_procedure_for_denormalised_permissions(isServiceDisabled); IF (isServiceDisabled) THEN LEAVE sp; END IF; IF (NEW.LOWERSPACEKEY = OLD.LOWERSPACEKEY) THEN LEAVE sp; END IF; INSERT INTO DENORMALISED_SPACE_CHANGE_LOG(SPACE_ID) VALUES (NEW.SPACEID); END;]; SQL state [HY000]; error code [1419]; You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable); nested exception is java.sql.SQLException: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

Thanks for any suggestions!

Best Regards
Frode Aasegaard
Senior Adviser IT
Norsk Helsearkiv ARKIVVERKET
IT og Helsearkivregisteret
mobile: 922 17 650
www.norskhelsearkiv.no

 

 

2 answers

2 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 11, 2022

This looks like the database user you are using does not have the rights it needs to do the upgrade, or that your database is incorrectly configured.

Frode Aasegaard June 12, 2022

Traffic seems to run as expected from app-server to db-server. But the rights for the db user is something we need to check. 

Thanks!

0 votes
Answer accepted
Bastian Stehmann
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 12, 2022
Frode Aasegaard June 12, 2022

Yes, I found this yesterday, and it seems like the same issue. 

It worked fine after adding the  SUPER privilege to the user.

Thanks!

Like Srinatha T likes this
Srinatha T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2022

Glad to hear that its resolved after adding super user privilege. I also want to share a KB article which has some troubleshooting steps .

Error-you-do-not-have-the-super-privilege-and-binary-logging-is-enabled 

Thanks,

Srinath T

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events