With version 4.5 of BlueSpice, there were two options for installation:
bluespice-deploy
container stack → Upgrade frombluespice-deploy
installation- Classic tarball → Upgrade from classic tarball installation
Based on which of those you are starting from, the update to BlueSpice version 5.1 may require different steps.
Before performing any of the following steps, make sure to make a backup of all databases and filesystem locations related to the process.
Special cases[Bearbeiten | Quelltext bearbeiten]
Before running the database schema updates, based on the previously installed edition of BlueSpice and optionally enabled extensions, some minor changes on the database may be required.
Extension:OATHAuth[Bearbeiten | Quelltext bearbeiten]
In some cases the extension tables must be added manually to the database before the update.
Extension:OpenIDConnect[Bearbeiten | Quelltext bearbeiten]
In some cases this patch needs to be applied before the update.
ALTER TABLE openid_connect DROP COLUMN oidc_id;
ALTER TABLE openid_connect ADD PRIMARY KEY (oidc_user);
In case the openid_connect
table contains duplicate entries of oidc_subject
, you can safely remove all duplicates, that have a tailing slash in the oidc_issuer
field.
Collabpads database update[Bearbeiten | Quelltext bearbeiten]
The easiest way to update from MongoDB 4.4 to 8.0 is to export and import the databases:
Example:
On Mongo 4.4 run
mongodump --db <dbname> --gzip --archive > /tmp/collabpads_dump.gz
On Mongo 8.0 run
mongorestore --gzip --archive=/tmp/collabpads_dump.gz
SAML authentication[Bearbeiten | Quelltext bearbeiten]
If you were using SAML with the previous version of BlueSpice, you will probably need to re-register the Service Provider with your Identity Provider.
To do so, download the new metadata.xml
file from https://<wikiserver>/_sp/module.php/saml/sp/metadata.php/default-sp