Difference between revisions of "Setup:Installation Guide/Patch Update"
[quality revision] | [unchecked revision] |
(Tag: Visual edit) |
(Tag: Visual edit) |
For large version jumps (e.g., BlueSpice 2.27.3 to 3.1.10), a new installation is generally recommended.
For a patch update (version 3.1.x to a higher version 3.1.x) you can simply follow these steps:
- Create a backup: Pull a dump of the database and save it together with the complete codebase to a backup location of your choice.
- Renew Codebase: Overwrite the Codebase of the current version with the new Codebase of the higher version.
-
Compare: After the overwrite, please compare following files and folder. Copy from your backup location if necessary
-
If you have a custom skin, please check
skins/
folder. -
LocalSettings.php
-
extensions/BlueSpiceFoundation/config
-
settings.d/
-
In
settings.d
, especially*.local.php
files. Copy from your backup if necessary.
-
In
-
If you have a custom skin, please check
-
Run the update:
- Open a console and go to the installation folder (on the LocalSettings.php level)
-
Then enter the following command:
php maintenance/update.php
Note: In a patch update, usually no database schemas have changed. It may not be necessary to run update.php.
Important! Bei MediaWiki 1.35: The "managed configs files" ('gm-settings.php','nm-settings.php', 'pm-settings.php') are automatically rewritten during an upgrade to BlueSpice 3.1. This happens during execution of 'maintenance/update.php'.
Since this is, most of the time, not executed as "webserver user", it can be assumed that the file system permissions are changed. This can possibly result in the files no longer being writable through the manager user interfaces (e.g., Special:NamespaceManager).
Therefore, the file system permissions of these files have to be checked and, if necessary, corrected.
If you use Linux as the basis of your BlueSpice installation, please note that file system permissions may be lost when overwriting the codebase. More information can be found under File System Permissions.
For large version jumps (e.g., BlueSpice 2.27.3 to 3.1.10), a new installation is generally recommended. For a patch update (version 3.1.x to a higher version 3.1.x) you can simply follow these steps: #'''Create a backup:''' Pull a dump of the database and save it together with the complete codebase to a backup location of your choice. #'''Renew Codebase:''' Overwrite the Codebase of the current version with the new Codebase of the higher version. #'''Compare''': After the overwrite, please compare following files and folder. Copy from your backup location if necessary ##If you have a custom skin, please check <code>skins/</code> folder. ##<code>LocalSettings.php</code> ##<code>extensions/BlueSpiceFoundation/config</code> ##<code>settings.d/</code> ###In <code>settings.d</code>, especially <code>*.local.php</code> files. Copy from your backup if necessary. #'''Run the update:''' ##Open a console and go to the installation folder (on the LocalSettings.php level) ##Then enter the following command: <code>php maintenance/update.php</code> {{Box Note|boxtype=note|Note text=In a patch update, usually no database schemas have changed. It may not be necessary to run update.php.}}{{Box Note|boxtype=important|Note text=Bei MediaWiki 1.35: The "managed configs files" ('gm-settings.php','nm-settings.php', 'pm-settings.php') are automatically rewritten during an upgrade to BlueSpice 3.1. This happens during execution of 'maintenance/update.php'. Since this is, most of the time, not executed as "webserver user", it can be assumed that the file system permissions are changed. This can possibly result in the files no longer being writable through the manager user interfaces (e.g., Special:NamespaceManager). Therefore, the file system permissions of these files have to be checked and, if necessary, corrected.}} If you use Linux as the basis of your BlueSpice installation, please note that file system permissions may be lost when overwriting the codebase. More information can be found under [[Setup:Installation Guide/Security Settings/File System Permissions|File System Permissions]]. [[en:{{FULLPAGENAME}}]] [[de:Setup:Installationsanleitung/Patch_Update]]
Line 5: | Line 5: | ||
#'''Create a backup:''' Pull a dump of the database and save it together with the complete codebase to a backup location of your choice. | #'''Create a backup:''' Pull a dump of the database and save it together with the complete codebase to a backup location of your choice. | ||
#'''Renew Codebase:''' Overwrite the Codebase of the current version with the new Codebase of the higher version. | #'''Renew Codebase:''' Overwrite the Codebase of the current version with the new Codebase of the higher version. | ||
+ | #'''Compare''': After the overwrite, please compare following files and folder. Copy from your backup location if necessary | ||
+ | ##If you have a custom skin, please check <code>skins/</code> folder. | ||
+ | ##<code>LocalSettings.php</code> | ||
+ | ##<code>extensions/BlueSpiceFoundation/config</code> | ||
+ | ##<code>settings.d/</code> | ||
+ | ###In <code>settings.d</code>, especially <code>*.local.php</code> files. Copy from your backup if necessary. | ||
#'''Run the update:''' | #'''Run the update:''' | ||
##Open a console and go to the installation folder (on the LocalSettings.php level) | ##Open a console and go to the installation folder (on the LocalSettings.php level) | ||
##Then enter the following command: <code>php maintenance/update.php</code> | ##Then enter the following command: <code>php maintenance/update.php</code> | ||
− | |||