Compatibility between v14.1 and prior versions
In Server version 14.1 our webserver module got updated. The new version is not compatible to run with older versions in cluster environments since the new webserver uses other database tables.
Downgrade to prior v. 14.1
This restricts a cluster after an upgrade to this version and above. If a downgrade is necesary there are some steps that has to be done in your database:
- Stop all cluster nodes.
- Open a connection to your database to execute queries.
- Execute the following query:
- For mysql: DROP TABLE databasename.JettySessions;
- For PostgreSQL: DROP TABLE databasename.jettysessions;
- For MSSQL: DROP TABLE databasename.JettySessions;
- Downgrade a cluster node to a version prior 14.1 and start it. The webserver will autmoaticaly generate its own old tables JettySessions and JettySessionIds.
- Downgrade all other cluster nodes and start them.
After you have done this your server can run with the older version again. Please keep in mind, that an update to the new version requires to delete the older tables in your database again and replace them with the single table JettySessions. Please review our next guide to upgrade to this version again.
Important: The new JettySessions table is using other rows and other primary keys than the old one. This is the reason, why the older version is not compatible to the new version. You can identify which table is existing at the moment due to checking the primary key of the JettySessions table.
Old primary key (v14.0 and below): RowID
New primary key (v14.1 and higher): sessionId, contextPath, virtualHost
Upgrade to v 14.1 after a downgrade
If you already upgraded to version 14.1 and downgraded for any reason you have to do some steps to get your server back to work again with the new version. (This is not nescecary if you upgrade to version 14.1 for the first time)
- Stop all nodes.
- Open a connection to your database to execute queries.
- Execute the following query:
- For MySQL: DROP TABLE databasename.JettySessions; DROP TABLE databasename.JettySessionIds;
- For PostgrSQL: DROP TABLE databasename.jettysessions; DROP TABLE databasename.jettysessionids;
- For SQL Server: DROP TABLE datbasename.JettySessions; DROP TABLE databasename.JettySessionIds;
- Upgrade one cluster node and start it again. After the server started completely you will have the new JettySessions table again.
- Upgrade all other nodes and start them.