Update to BlueSpice 2.27.2
- 1 Notes
- 2 Requirements
- 3 Backup
- 4 Download BlueSpice
- 5 Unzip and Copy BlueSpice
- 6 Setup LocalSettings.php
- 7 Optional: Setup BlueSpiceExtensions
- 8 Update BlueSpice
- 9 Installation of the webservice to use the LatexRenderer (BlueSpice pro only)
- 10 Check installation
This document describes the update of BlueSpice from version 2.23.x-2.27.x to version 2.27.2.
- Please read this manual completely and follow the installation steps in the given order.
- For editing the configuration files in a text editor, it is necessary to save the files in UTF-8 code without BOM (Byte Order Mark).
- The placeholder
<installpath-bluespice>is representative for the path to your BlueSpice installation, e.g.
- The placeholder
<bluespice-url>is representative for the URL of your BlueSpice installation, e.g. http://localhost/bluespice.
For the update of BlueSpice to the BlueSpice version 2.27.2, an already installed and fully configured MediaWiki 1.27.x is required. This must be accessable at
<bluespice-url> in your browser. If your current BlueSpice installation does not use MediaWiki 1.27.x, visit the Update Manual for MediaWiki 1.23.x to 1.27.x for more information.
It is absolutely necessary to create a backup copy of your current installation before updating the wiki.
To back up your database, use the on-board "mysqldump" program from MySQL / MariaDB:
To do this, please open a console, change the directory
<installpath-bluespice> and save the database using the following command:
mysqldump -u <username> -p --lock-tables <database> > database.sql
<username> please use your administrative database user (usually "root"). For
<database> use the database name of your MediaWiki/BlueSpice installation.
Backup File System
Save the complete directory
<installpath-bluespice>, which now contains the database image, to a different location on your server.
For security reasons, immediately delete the file
Download the current version of BlueSpice from Sourceforge.
The package corresponding to this manual bears the name BlueSpice-free-2.27.2.zip.
Unzip and Copy BlueSpice
Unzip the downloaded BlueSpice archive. Please make sure that all relevant content is placed in one subfolder (e.g. bluespice-free). This subfolder contains the following directories and files:
- nsfr_img_auth.php (BlueSpice pro only)
Copy the unzipped subfolders into the
<installpath-bluespice> and overwrite the exsting files.
Delete the directory
<installpath-bluespice>/extensions/BlueSpiceDistribution as long as it is still available from an old BlueSpice installation.
Open the file
<installpath-bluespice>/LocalSettings.php. Look for the following lines:
# End of automatically generated settings. # Add more configuration options below.
Delete all following lines. If you have made additional configurations - apart from steps outlined in the old installation manual - under these lines, please keep these additional configurations in each case.
Insert the following lines instead at the end of LocalSettings.php:
Close and save the file.
Optional: Setup BlueSpiceExtensions
If you have already created the file
<installpath-bluespice>/extensions/BlueSpiceExtensions/BlueSpiceExtensions.local.php in your current BlueSpice version, please switch to the directory
<installpath-bluespice>/extensions/BlueSpiceExtensions and rename this mentioned file into
In the next step, copy the file
Please compare the files
BlueSpiceExtensions.bak.php and make any uncomments/comments to the individual extensions made by you in the past. This is especially applicable to Extended Search and PDF Export.
Open your command line or terminal an change to the directory
<installpath-bluespice>. run the following command there:
php maintenance/update.php (Linux) php maintenance\update.php (Windows))environment variables are set correctly to access the php command.
file system permissions after running the update.php.
When the script is finished with the "Done" message, proceed to the next step.
If the script should stop running, restart it.
Installation of the webservice to use the LatexRenderer (BlueSpice pro only)
Starting with BlueSpice 2.27.2 the extension "BlueSpiceLatexRenderer" replaces the extension "Math".
Please note: LatexRenderer is a part of BlueSpice pro edition only!
Please note that you have to install the webservice to use this extension.
When updating please also delete the folder
The usage of the tag
<bluespice-url> in your browser. BlueSpice should now be successfully updated to version 2.27.2 and a login with your access data should be possible.