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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

683 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot