How to upgrade between builds of Stronghold Web Server 3.0
Stronghold Web Server 3.0 cannot automatically upgrade an existing Stronghold Web Server
installation. Instead, you must install 3.0 into a new directory then
copy across the configuration and other information from your previous
installation.
A typical procedure is to install Stronghold Web Server into a new directory and,
when asked for ports, use temporary (unused) port numbers. This means
that your existing Stronghold Web Server can continue running during the
changeover. Stronghold Web Server 3.0 is able to exit the installation without
going through the final stages of configuration for this purpose. When
you reach the message during installation, asking if you have an
existing Stronghold Web Server installation, select "Yes", where another message
will appear giving further information. Selecting "Continue" at this
point will complete the standard installation, otherwise "Exit" will
leave the installation in a state ready for upgrading.
Next copy across all the localised information from your previous
Stronghold Web Server directory. The main things you will want to copy are:
- Copy the Stronghold Web Server 3.0 license block,
sh3license,
into the new installation directory.
- Merge any local changes to
conf/httpd.conf in with
the new httpd.conf.
- Copy the whole htdocs directory.
- Copy the whole cgi-bin directory.
- Copy any other changed files (for example, any icons you have
modified).
- Copy the key and certificate files from
ssl/certs and
ssl/private.
- Copy any other local modifications. For example, if you have added any
extra MIME types to
conf/mime.types.
Now check that your server is working by starting it with
bin/start-server. If it is, stop it with
bin/stop-server. Now update the port numbers in
conf/httpd.conf to the live port numbers (e.g. 80 and 443).
- Stop the old server. Start the new one.