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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,497
Community Members
 
Community Events
185
Community Groups

Problem updating Team Calendars 5.1 -> 5.2

Hi all,

I use daily Team Calendars with Confluence, I tried to update my plugin to 5.2 without succes. After the update no more calendar on the UI, just "$calendarHtml" .

I tried to see in logs, I have some SQL errors :

java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: FK_AO_950DC3_TC_REMINDER_USERS_SUB_CALENDAR_ID

If I go back to 5.1, all work as usual. 

It seems a privileges problem but I never changed anything (I use the default embedded HSQL database).

Help would be appreciated,

Thanks.

2 answers

1 accepted

1 vote
Answer accepted
William Zanchet [Atlassian]
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.
Sep 22, 2015

Hi Emmanuel,

That's weird, that this problem is happening in HSQL, it usually happen with SQL Server. Being that said, This issue results from incorrect DB Collations on the columns:
https://confluence.atlassian.com/display/CONFKB/Can%27t+Start+or+Upgrade+Confluence+Due+to+an+Error+With+MS+SQL+Server+Database+Collation

Simply updating the collation on the database is sufficient to get an upgrade to complete but it is not sufficient going forward since this setting applies only to newly created tables (eg. any tables a Team Calendar upgrade is creating). Updating that setting doesn't flow down to existing columns. The columns that pre-existed that setting change are still keeping the old collation. You can verify this by running that query in the article.

So as a result, the Team Calendar update is trying to create new tables with foreign key links to existing tables which still have the old collation.

Cheers,

WZ

Thanks for the answer, I will check this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events