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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

BitBucket 7.1.0 Database Upgrade issue from 6.10.1

Hello,

 

We recently have tried moving our Offline BitBucket Server from 6.1.1 to 7.1.0.  Along the way it appears to install fine, but once it goes to start, it looks like there is a database upgrade that starts running and has issues and fails.  We are using the H2 database.

 

I also found this post https://community.atlassian.com/t5/Bitbucket-questions/Error-after-upgrading-from-6-10-1-to-7-0-1-bb-comment-null/qaq-p/1322191  that was having a similar issue, but our "bb_comment" had entries so the work around found in there did not work.  Looking for help as to how to get it running.  Thanks!

=========================================

Log output error from startup:

[spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /var/atlassian/application-data/bitbucket/shared

[spring-startup] com.hazelcast.instance.Node [<ip>]:5701 [atlbitbucket] [3.12.6] No join method is enabled!  Starting standalone.

[spring-startup] liqibase.changelog.ChangeSet Change Set liqibase/r7_0/upgrade.xml::BBSDEV-19009-1::fdoherty failed. Error: Refferential integrity constraint violation: "FK_BB_COM_PAR_COMMENT_ID: PUBLIC.BB_COMMENT_PARENT FOREIGN KEY(COMMENT_ID) REFERENCES PUBLIC.BBB.COMMENT(ID) (323)"; SQL statement:

insert into bbb_comment_parent (

comment_id,

parent_id

)

(select (select next_val + t.id from id_sequence where sequence_name = 'bb_comment'),

t.anchor_id

from sta_task t) [23506-176] [Failed SQL: 

insert into bbb_comment_parent (

comment_id,

parent_id

)

(select (select next_val + t.id from id_sequence where sequence_name = 'bb_comment'),

t.anchor_id

from sta_task t)]

 

Then some error messages about creating beans crowdAliasDao and liqibase.  then the erros keep repeating.

1 answer

1 accepted

0 votes
Answer accepted

Fixed in release 7.2.1

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.1.0
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you