Problem with Postgresql base after update.


I have problem after upgrade from Bitbucket ver 4.14.5 to 5.1.1.

My base was not migrated successfully.


2017-06-27 13:27:29,286 WARN  [active-objects-init-compatibility-tenant-0] Error in schema creation: ERROR: column "RESOURCE_ID" contains null values; attempting to roll back last partially generated table
2017-06-27 13:27:30,003 ERROR [active-objects-init-compatibility-tenant-0] Exception executing SQL update <ALTER TABLE "AO_9DEC2A_PR_CONDITION" ADD COLUMN "SCOPE_TYPE" VARCHAR(255) NOT NULL>

Any help? Do i need to create a new dump from production and try again?

What could went wrong?

1 answer

I'm planning to do an upgrade from 4.14.x to 5.1.2 as well so this scares me.

But maybe you can provide more info? Which version of postgres are you using?

BTW: I found a similar issue about the warning in another project:



I'm using psql (PostgreSQL) 9.5.7



If you still have the problem, better open a support ticket at atlassian.

Also you should to upgrade to 5.1.3 now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,414 views 9 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you