Upgrading
Preparation
Prior to upgrading the webserver, it is strongly recommended to notify the users about the scheduled maintenance and urge them to close their sessions. All sessions will be removed during the upgrade.
- Prevent user interaction (if possible) - starting in v1.5.0 Maintenance mode can be used for this purpose
- Verify that there are no busy instances (no
*.busyin theuserSessionData) - starting in v1.5.0 Instances management can be used for this purpose - Stop the webserver
- Remove the contents of the
userSessionDatadirectory
Note It is preferred that users close their sessions, such that cleanup actions are performed. The instances management handles this correctly, but when user session folders are deleted manually, artifacts may remain on the back-end server(s).
Upgrade webserver
- Rename the old installation
- Unzip the new webserver version in the same location
- Copy configuration files from the old installation to the new one
config.phpconfigurations.jsonusers.json(in case of managed authentication)mail_config.php(in case of managed authentication)
- Update
config.phpas described in the next section - Start the webserver
- Verify correct settings in
php.iniusingcheck.php
Configuration changes
In the webserver v0.4.0 release, some configuration settings have been subject to change with respect to older releases.
config.php
| Before | After |
|---|---|
if (!defined('BASE_URL')) { | if (!defined('INDEX_TOKEN')) { |
$portal['url'] | portal['external_url'] |
$auth['disabled'] | No longer exists |
$auth['user_password'] | No longer exists |
$auth['type'] | 'anonymous', 'azure_ad', 'ldap' or 'managed' |
$ldapconfig['portal_parent_group'] | $ldapconfig['portal_parent_groups'] |
$ldapconfig['admin_groups'] | $ldapconfig['portal_admin_groups'] |
LDAP config replaced bare group names group_name | with full distinguished names CN=group_name,CN=Groups,DC=example,DC=com |
configurations.json
| Before | After |
|---|---|
LDAP config replaced bare group names group_name | with full distinguished names CN=group_name,CN=Groups,DC=example,DC=com |