-
Suggestion
-
Resolution: Unresolved
-
None
-
2
-
3
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Both JIRA and Confluence could use upgrade script improvements.
1- Migration of web.xml and server.xml files
2- Migration of extra certs and cacerts file
3- Migration of crowd.properties file
4- Choice of backup location, not just parent directory
5- Choice of starting immediately or not at all
Migration of web.xml and server.xml files
-I would have to guess that most folks run over SSL and change the keystore password (and possibly location) and therefore the default server.xml doesn't work.
-I would also have to guess that most folks up the session timeout in the web.xml and therefore the default web.xml doesn't work.
Migration of extra certs and cacerts file
-Extra certs and an updated cacerts file seems likely for most users.
Migration of crowd.properties file
-If you utilize crowd for auth, this file has to be migrated, the default file is wrong.
Choice of backup location, not just parent directory
-It is odd to backup to the parent directories, would be much better to give the user a choice.
Choice of starting immediately or not at all
-Normally I like to check things over before starting it back up. Might be something the installer forgot (in the current state, all the above things).
- duplicates
-
CONFSERVER-27889 Leave AJP connector uncommented in conf/server.xml
- Closed
- is duplicated by
-
JRASERVER-28243 JIRA installer does not detect modifications to server.xml
-
- Closed
-
- relates to
-
CONFSERVER-23287 Confluence 4.0 upgrade does not take into account modifications in server.xml
-
- Closed
-
-
JRASERVER-25277 On upgrade Installer needs to migrate content of server.xml or warn users
- Gathering Interest
Hi,
If anyone is still interested in this thread, I came up with a neat solution to get around this problem since Atlassian said it's not in their priority list to get this implemented/fixed.
The issue is : "how do you upgrade without loosing your sensitive configuration files while being able to view/retain new configuration changes".
I'm assuming that your apps are deployed in /opt/atlassian/atlassian-appname where "appname" is "confluence|jira|bitbucket|crowd|fisheye"
I'm also assuming that you have the Oracle JVM installed through your package manager. If using Debian/Ubuntu, look at https://launchpad.net/~webupd8team/+archive/ubuntu/java
First step, run "git init" in /opt/atlassian and use the following .gitignore gitignore.txt
Step two, get git to control all your configuration files
Step three, stop using the binary distributions as provided by Atlassian. Only use the zip/tar.gz instead which does not contain the JVM. Stop your application, move the folder to an archive/backup folder somewhere, uncompress the zip/tar.gz and put it at the same place
Step four, use git to review the changes
Step five, start your application to finish the upgrade process