summaryrefslogtreecommitdiffstats
path: root/src/site/upgrade_war.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-07-03 21:35:02 -0400
committerJames Moger <james.moger@gitblit.com>2013-07-03 21:35:02 -0400
commit8c99a7929b48b4c4a33c80d0b6646f6e6bb563b5 (patch)
treef0cce1420e9196339c612c2994d393455a23d365 /src/site/upgrade_war.mkd
parent5c5b7a8659851abc6ce1654414ceeef2e7f9c803 (diff)
downloadgitblit-8c99a7929b48b4c4a33c80d0b6646f6e6bb563b5.tar.gz
gitblit-8c99a7929b48b4c4a33c80d0b6646f6e6bb563b5.zip
Documentation
Diffstat (limited to 'src/site/upgrade_war.mkd')
-rw-r--r--src/site/upgrade_war.mkd17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/site/upgrade_war.mkd b/src/site/upgrade_war.mkd
new file mode 100644
index 00000000..dd9ba648
--- /dev/null
+++ b/src/site/upgrade_war.mkd
@@ -0,0 +1,17 @@
+## Upgrading Gitblit WAR (1.2.1+)
+1. Make sure your `WEB-INF/web.xml` *baseFolder* context parameter is not `${contextFolder}/WEB-INF/data`!<br/>
+If it is, move your `WEB-INF/data` folder to a location writeable by your servlet container.
+2. Deploy new WAR
+3. Edit the new WAR's `WEB-INF/web.xml` file and set the *baseFolder* context parameter to your external baseFolder.
+4. Review and optionally apply any new settings as indicated in the [release log](releases.html) to `${baseFolder}/gitblit.properties`.
+
+
+## Upgrading Gitblit WAR (pre-1.2.1)
+
+1. Create a `data` as outlined in step 1 of *Upgrading Gitblit GO (pre-1.2.1)*
+2. Copy your existing web.xml to your data folder
+3. Deploy new WAR
+4. Copy the new WAR's `WEB-INF/data/gitblit.properties` file to your data folder
+5. Manually apply any changes you made to your original web.xml file to the gitblit.properties file you copied to your data folder
+6. Edit the new WAR's `WEB-INF/web.xml` file and set the *baseFolder* context parameter to your external baseFolder.
+