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
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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I found this yesterday, and it seems like the same issue.
It worked fine after adding the SUPER privilege to the user.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.