Update upgrade instructions

master
Timothy Legge 2023-08-10 18:01:27 -03:00
parent b6324492e8
commit d598ee5014
No known key found for this signature in database
GPG Key ID: A82ECBFCEB02D695
1 changed files with 9 additions and 4 deletions

View File

@ -37,19 +37,24 @@ Log an issue or drop by the #timlegge-docker-foswiki irc channel on Freenode
## Upgrade for latest Foswiki Version
The container now includes Foswiki-2.1.7. However if you are using it with persistent volumes as recommended you will not get the latest version simply by grabbing the latest container.
The container now includes Foswiki-2.1.8. However if you are using it with persistent volumes as recommended you will not get the latest version simply by grabbing the latest container.
The steps below will walk you through it:
1. Download the upgrade: https://github.com/foswiki/distro/releases/download/FoswikiRelease02x01x07/Foswiki-upgrade-2.1.7.tgz
Upgrade your base docker image
1. docker pull timlegge/docker-foswiki:v1.31
2. restart your docker instance to use v1.31 (you may need to remove the old instance's link to the name)
Apply the Foswiki upgrade to your docker container
1. Download the upgrade: https://github.com/foswiki/distro/releases/download/FoswikiRelease02x01x08/Foswiki-upgrade-2.1.8.tgz
2. Copy it to your docker volumme (eg. /var/lib/docker/volumes/foswiki_foswiki_www/_data/)
3. docker exec -it docker-foswiki /bin/bash
4. cd /var/www/foswiki
5. tar --strip-components=1 -zxf /path/to/Foswiki-upgrade-2.1.7.tgz
5. tar --strip-components=1 -zxf /path/to/Foswiki-upgrade-2.1.8.tgz
6. cd tools
7. ./configure --save
See https://foswiki.org/Download/FoswikiRelease02x01x07 for more details
See https://foswiki.org/Download/FoswikiRelease02x01x08 for more details
## Why I created this dockerfile?