Skip to content
Snippets Groups Projects
Commit 9ceb1b62 authored by Vincent Massol's avatar Vincent Massol
Browse files

[Misc] Added explanation on how to upgrade XWiki

parent b7f68214
No related branches found
No related tags found
No related merge requests found
...@@ -208,6 +208,20 @@ Note that `docker-compose up` will automatically build the XWiki image on the fi ...@@ -208,6 +208,20 @@ Note that `docker-compose up` will automatically build the XWiki image on the fi
You can also just build the image by issuing `docker build -t xwiki .` and then use the instructions from above to start XWiki and the database using `docker run ...`. You can also just build the image by issuing `docker build -t xwiki .` and then use the instructions from above to start XWiki and the database using `docker run ...`.
# Upgrading XWiki
You've installed an XWiki docker image and used it and now comes the time when you'd like to upgrade XWiki to a newer version.
If you've followed the instructions above you've mapped the XWiki permanent directory to a local directory on your host.
Thus all you need to do is to execute the installation instructions above as if you were installing a new version of the XWiki docker image.
Then you need to stop your running XWiki container. You should keep your DB container running. Then all you have to do is start a new container as described above, using the new XWiki docker image.
Caveats:
- Right now we have an [outstanding issue](https://jira.xwiki.org/browse/XDOCKER-20) and thus if you've had to modify `xwiki.properties` or `xwiki.cfg` inside the XWiki container, you'll need to port your changes inside the new container (see the section below).
# Details for the xwiki image # Details for the xwiki image
## Configuration Options ## Configuration Options
...@@ -225,6 +239,8 @@ If you need to configure XWiki (e.g. modify `xwiki.properties` or `xwiki.cfg`) o ...@@ -225,6 +239,8 @@ If you need to configure XWiki (e.g. modify `xwiki.properties` or `xwiki.cfg`) o
docker exec -it <xwiki container id> bash -l docker exec -it <xwiki container id> bash -l
``` ```
Note that we plan to [lift this limitation in the future](https://jira.xwiki.org/browse/XDOCKER-20).
## Passing JVM options ## Passing JVM options
It's possible to pass JVM options to Tomcat by defining the `JAVA_OPTS` environment property. It's possible to pass JVM options to Tomcat by defining the `JAVA_OPTS` environment property.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.