Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

upgrading from 7.13.7 to 7.19.5 causes build number error

Vincent voisin February 2, 2023

Hi all,

 

I run a disconnecting (from internet) environment on Docker and I would like to perform an upgrade of my datacenter confluence from 7.13.7 to 7.19.5.

 

Here my configuration :

- docker nginx 1.22.1-alpine

- docker postgresql 12-alpine

- docker confluence 7.13.7-jdk11


Here my steps to perform this upgrade :

- perform a backup of my database and my data in confluence with a bash script

- stop my docker containers

- backup all my persistant volume

- rm all my volume

- modify my docker-compose to use the new confluence image 7.19.5-jdk11

- restart my docker containers

- check that all is running

- stop my docker containers

- restore my database and my confluence data

- start my docker containers

- go on confluence

 

then the error appear which says : Confluence will not start up because the build number in the home directory [8804] doesn't match the build number in the database [8703]

 

So I've followed this link and use the resolution 2 :Confluence will not start up because the build number in the Home Directory doesn't match the build number in the Database, after upgrade | Confluence | Atlassian Documentation
But the problem still here.

Did someone have had this problem before ?

 

Thanks a lot

1 answer

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
February 6, 2023

Hi @Vincent voisin and welcome,

did u try to edit build number in your confluence.cfg.xml file adding value 8703?

confluence-configuration>
  ...
  <buildNumber>8703</buildNumber>
  ...
</confluence-configuration>

  What happened after doing that?

Fabio

Vincent voisin February 6, 2023

Hi @Fabio Racobaldo _Herzum_,

 

Thanks for your answer and your welcome :)
I've tried this before like it's said in the confluence support page, but, nothing changed.

For now we are trying another solution.
We downgraded our database to PSQL 11 and after this we succeeded to upgrade our confluence to 7.17, but we are stuck again. We need to upgrade to PSQL12 and it failed. It seems that maybe we have a bug in our database.

I let you know as soon as I have more info to communicate, maybe today or tomorrow.

 

Vincent

Like • Fabio Racobaldo _Herzum_ likes this
Vincent voisin February 9, 2023

Hi @Fabio Racobaldo _Herzum_

 

Thanks again for your help, here how we resolve our issue :

- downgrade our psql from version 12 to 11

- upgrade confluence from 7.13.7 to 7.17.1

- upgrade psql from version 11 to 14.6

- upgrade confluence from 7.17.1 to 7.19.5

 

it's the only solution who work for us. We've tried modifying the confluence.cfg.xml, but nothing change. After some research we've found that 7.13.7 doesn't really work with psql 12, so we've decided to downgrade it and apply all of this.

 

have a nice day,

 

Vincent

Like • Fabio Racobaldo _Herzum_ likes this
Fabio Racobaldo _Herzum_
Community Champion
February 9, 2023

Hey @Vincent voisin , thanks for sharing

Like • Vincent voisin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events