Missing Banners and icons after confluence upgrade

Jonnada Kiran
Contributor
January 29, 2018

Hi Everyone. We are using confluence data center. I have upgraded confluence from 5.10.8 to 6.6.2. 

during the installation i copied these

/bin/cp /opt/atlassian/atlassian-confluence-5.10.8/confluence/images/icons/* /opt/atlassian/atlassian-confluence-6.6.2/confluence/images/icons/

After upgrading I am unable to see our banners, icons and profile pictures etc...

Any sort of help is appreciated.

Thanks.

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hi Jonnada,

The data for the instance (such as profile pictures) is stored in the Confluence Home directory. The upgrade steps include pointing the new, upgraded installation directory at that existing home directory by editing <Confluence_install_dir>/confluence/WEB-INF/classes/confluence-init.properties. Doing so should have caused the images from the old version to be included in the upgraded version.

Please let me know what method was used for the upgrade. I am not finding the step regarding copying images from one installation directory to the other on our doc: Upgrading Confluence Data Center

Thanks,

Ann

Jonnada Kiran
Contributor
January 30, 2018

Stopping confluence on both nodes:

Service confluence stop

Back installation folder:

cp -r atlassian-confluence-5.10.8/ atlassian-confluence-5.10.8_back/

Back up home directory:

cp -r confluence-data/ confluence-data_back/

Download tar file:

cd /charter_nfs/

wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.2.tar.gz

tar xvf https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.6.2.tar.gz

Copy exteacted folder to /opt/atlassian

cp -r  atlassian-confluence-6.6.2 /opt/atlassian/

Change owner of the installation folder:

chown -R confluence:confluence atlassian-confluence-6.6.2/

Change permissions of the installation folder:

chmod 755 atlassian-confluence-6.6.2/

Install mysql connector

cd /charter_nfs

wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.45.tar.gz

Extract mysql

Tar xvf mysql-connector-java-5.1.45.tar.gz

Copy mysql-connector to lib

cp mysql-connector-java-5.1.45/mysql-connector-java-5.1.45-bin.jar /opt/atlassian/atlassian-confluence-6.6.2/confluence/WEB-INF/lib/

Copying init properties

cp /opt/atlassian/atlassian-confluence-5.10.8/confluence/WEB-INF/classes/confluence-init.properties /opt/atlassian/atlassian-confluence-6.6.2/confluence/WEB-INF/classes/confluence-init.properties

 

Copying required customization files

cp -rf /opt/atlassian/atlassian-confluence-5.10.8/confluence/WEB-INF/classes/confluence-init.properties /opt/atlassian/atlassian-confluence-6.6.2/confluence/WEB-INF/classes/confluence-init.properties

/bin/cp /opt/atlassian/atlassian-confluence-5.10.8/confluence/images/icons/* /opt/atlassian/atlassian-confluence-6.6.2/confluence/images/icons/

Editing setenv.sh

cd atlassian-confluence-6.6.2/bin/

cp setenv.sh setenv_back.sh

cp /opt/atlassian/atlassian-confluence-5.10.8/bin/setenv.sh /opt/atlassian/atlassian-confluence-6.6.2/bin/

vi setenv.sh

Add following lines

CATALINA_OPTS="-Dsynchrony.enable.xhr.fallback=true -Dconfluence.upgrade.recovery.file.enabled=false ${CATALINA_OPTS}"

CATALINA_OPTS="-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}"

Editing server.xml and linking server.xml

cd /charter_nfs/confluence-shared-install/conf/

cp server.xml server_back.xml

vi server.xml

Add the following lines

<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true">

         <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />               

</Context>

cd /opt/atlassian/atlassian-confluence-6.6.2/conf/

cp server.xml server_back.xml

rm -rf server.xml

ln -s /charter_nfs/confluence-shared-install/conf/server.xml server.xml

Copy the oracle driver:

Cd /opt/atlassian

cp atlassian-confluence-5.10.8_back/lib/ojdbc8.jar /opt/atlassian/atlassian-confluence-6.6.2/lib/

Link Base Directory

 

  • cd /opt/atlassian
  • rm current
  • ln -s atlassian-confluence-6.6.2/ current

Start Confluence:

Service confluence start

 

rsync -avz --delete --exclude 'setenv.sh' xxxxxx@xxxxxxx:/opt/atlassian/* /opt/atlassian/

cd /opt/atlassian/atlassian-confluence-5.10.8/bin/

cp setenv.sh /opt/atlassian/atlassian-confluence-6.6.2/bin

vi setenv.sh

CATALINA_OPTS="-Dsynchrony.enable.xhr.fallback=true -Dconfluence.upgrade.recovery.file.enabled=false ${CATALINA_OPTS}"

CATALINA_OPTS="-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}"

 

rsync -avz --delete --exclude 'cluster.properties' xxxxx@xxxxx:/var/atlassian/* /var/atlassian/

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2018

Thank you so much for the detailed steps!

I noticed that you are working on  a support ticket with a senior support engineer on the Confluence support team, so I am confident the issues will be resolved soon. When the issue with the images is resolved we can follow up on this public thread to let the Community know how to resolve similar issues.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events