You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
we upgraded our confluence to 7.18.1 (Latest).
We are using mssql 2012.
Now we are getting this 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@6cf01205 failed during the SCHEMA_UPGRADE phase due to: StatementCallback; bad SQL grammar [DROP TRIGGER IF EXISTS denormalised_space_permission_trigger]; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'IF'.|
any idea what could it be? is this confluence version compatible with our mysql?
You say you are using MySQL but your error message says you are using an MS-SQL driver.
That could be the problem - using a driver for a different database is never going to work.
If you actually mean you are using MS-SQL, then the "MySQL 2012" is the problem - modern Confluence doesn't work with MS-SQL antique versions, you'll need to upgrade the MS-SQL server to a supported one. (See https://confluence.atlassian.com/doc/supported-platforms-207488198.html )
we rolled back and now we are trying to migrate to oracle 19c, creating a new DB there,
Now i am trying to backup my confluence in Conflunce backup and restore and we are getting following error.
The following error(s) occurred:
Auto Backup is enabled, i tried running it in scheduled jobs. We are not getting our xml. Last Saved Backup ist 03.06.2022 2:00 AM, thats when we took Confluence offline because of security issues.
Any idea what it could be?
Did you roll back your Confluence installation back to the pre-upgrade version?
yes we copied the whole Installation dir from C to D first, once we failed with upgrade, we deleted the new upgraded version and put the files back in, Confluence is loading, I can see eveything, we cant save anything and edit our wiki and offcourse Backup is not working.
Did you roll back the database as well? And re-index after restoration?
we didnt upgraded the Database, you mean in MS-SQL?, we didnt actually do anything with DB, we backuped our Backup- folder in D and later copied all the files back to C after restorting the old Confluence.
Yes re-indexed but not from scratch, i used Re-Index function within Confluence Admin area.
The problem here is when you tried to run the upgrade, it may have written some changes to the data before failling. This would leave your database damaged.
ok got it, here is the timeline
on 3rd June at 7 pm we took confluence offline after receiving the infos about security issue.
MS-SQL backup happens everyday at 11:30 pm. So even though Confluence services was disabled, backup happend (I can see that).
Today we tried to upgrade the Confluence but we failed so we rolled back, now we are having issues with Backups.
In theory, if we restored our Backup from 3rd June, it should work again correct?