If you already have an older version CSWeb installed on your server and you want to upgrade to a newer version of CSWeb follow the steps below. The upgrade script with not upgrade to another major release. For example, the upgrade script will not upgrade from CSWeb 7.x to 8.x. Instead, install CSWeb 8.x as a new installation.
While the upgrade should normally preserve any existing data in your database, to be extra safe, you should first backup any data that has been syncd to the server. Download each of the data files on the server to a csdb file. See
Accessing Data for instructions on how to download the data.
Download and unzip the CSWeb source code and copy it to the csweb directory on your server. The csweb directory is where you originally copied the project files to during doing the initial installation. For example, for wampserver it would likely be C:\wamp64\www\csweb. The new files will overwrite the files from the original installation.
Make sure Apache and MySQL are running.
When upgrading CSWeb, the database schema may change to support new features. In addition to updating the project files, you need to run the upgrade script to migrate the database to the new structure. Open a browser and browse to csweb/upgrade. For example, if you have installed on localhost then navigate to http://localhost/csweb/upgrade. The upgrade script will check to see if the database needs to be migrated. If it does, it will display an Upgrade button. Click this button to start the migration.
If everything is correct you will receive the "Upgrade Complete!" message. From here log in to CSWeb as usual.