You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
today i tried to update our linux Confluence Installation from 6.3.1 to 6.15.4, which failed.
The update said, i hava to take care of the server.xml myself. Since the "more information" Link (http://docs.atlassian.com/confluence/docs-6.15.4/Upgrading+Confluence#UpgradingConfluence-custommodifications) is broken, i just took the old server.xml file.
With the "new" or the "old" server.xml i get an Error 503 when trying to go to the confluence webpage.
I then checked the logs, where i only found:
[Thu May 23 14:34:35 2019] [error] (111)Connection refused: proxy: HTTPS: attempt to connect to 10.10.150.226:8443 (confluence.xxxx) failed
I then started confluence manually in the foreground. I then noticed this:
Caused by: java.io.FileNotFoundException: /opt/atlassian/confluence/conf/confluence.keystore (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.
and this:
23-May-2019 14:59:33.436 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-10.10.150.226-8090"]
23-May-2019 14:59:33.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-10.10.150.226-8443"]
23-May-2019 14:59:33.594 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-8443]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:535)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at the beginning of the update i noticed:
Added files:
confluence/WEB-INF/classes/log4j-diagnostic.properties
conf/confluence.keystore
conf/server.xml.back
funny thing is, that "confluence.keystore" is nowhere to be found on the whole server (the update said it was successful).
Since my colleagues needed access to confluence again, i did a rollback.
What do i need to do here?
Thanks and best regards
Sebastian
Looks like the keystore file was deleted when the upgrade ran.
You will need to copy that file back to the server after the upgrade.
The keystore file is a java thing that holds your certificates and is needed when you configure Tomcat to do SSL (https).
The path where the keystore is found is in the server.xml file.
EG - /opt/atlassian/confluence/conf/
When you perform an upgrade, confluence will creat the backup of /opt directory and remove this completely and reinstall from the installer. So you need to take the backup of your modified files before performing the upgrade.
Or you can leave the entire configuration as it is and configure an Nginx proxy for the HTTPS.
https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with im...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.