Zuletzt bearbeitet vor 3 Wochen
von Margit Link-Rodrigue

Update von BlueSpice 4.5 auf 5.1

Version vom 5. Juni 2025, 11:15 Uhr von Margit Link-Rodrigue (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „With version 4.5 of BlueSpice, there were two options for installation: # <code>bluespice-deploy</code> container stack → [[{{FULLPAGENAME}}/bluespice-deploy|Upgrade from <code>bluespice-deploy</code> installation]] # Classic tarball → [[{{FULLPAGENAME}}/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. {{Textbox|boxtype=warning…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

With version 4.5 of BlueSpice, there were two options for installation:

  1. bluespice-deploy container stack → Upgrade from bluespice-deploy installation
  2. 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.

Create a backup

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);
Duplicate keys

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


PDF-Ausschluss - Start

Feedback zur Dokumentation ist im Community-Forum möglich.

PDF-Ausschluss - Ende