<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.wiki.bluespice.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WikiSysop</id>
	<title>BlueSpice - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.wiki.bluespice.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=WikiSysop"/>
	<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/wiki/Special:Contributions/WikiSysop"/>
	<updated>2026-04-12T17:29:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10184</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10184"/>
		<updated>2024-11-25T12:59:45Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wraps the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
{{Textbox|boxtype=note|header=Different editions|text=The example shows &amp;lt;code&amp;gt;EDITION=pro&amp;lt;/code&amp;gt;. Be aware that for &amp;lt;code&amp;gt;pro&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;farm&amp;lt;/code&amp;gt; you need to be logged into &amp;lt;code&amp;gt;docker.bluspice.com&amp;lt;/code&amp;gt;.|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots. Make sure to run this command with in a privileged user context (like &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;), as it will set permissions on the newly created directories.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system level service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Custom wiki application configuration ====&lt;br /&gt;
After the initial installation, the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/&amp;lt;/code&amp;gt; contains two files that can be used to set custom application configuration as it may be found on [https://www.mediawiki.org mediawiki.org]:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pre-init-settings.php&amp;lt;/code&amp;gt;  - Can be used to set config that can be picked up by  the init process&lt;br /&gt;
* &amp;lt;code&amp;gt;post-init-settings.php&amp;lt;/code&amp;gt; - Can be used to manipulate configs that have been set by the init process&lt;br /&gt;
&lt;br /&gt;
==== Custom database and search ====&lt;br /&gt;
If you have a MySQL/MariaDB and an OpenSearch server running in your local network, you can remove &amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt; entirely from your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  file. Make sure to set the proper variables in the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
For implicit authenticationusing Kerberos, an additional proxy must be used: &amp;lt;code&amp;gt;bluespice/kerberos-proxy&amp;lt;/code&amp;gt; . The file &amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt; contains a common configuration. It can be used &#039;&#039;&#039;instead of&#039;&#039;&#039; the regular &amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt; file inside &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Make sure to have the files&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set up properly.&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt; can then be used to set up [[mediawikiwiki:LDAP_hub|&amp;quot;Extension:Auth_remoteuser&amp;quot; and the LDAP stack extensions]].&lt;br /&gt;
&lt;br /&gt;
====SAML authentication====&lt;br /&gt;
&lt;br /&gt;
During the initial installation a certificate for message signing will automatically be created. It can be found in &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/certs/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to configure a remote IdP, one must copy the IdP metadata XML to a file called &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/simplesamlphp/saml_idp_metadata.xml&amp;lt;/code&amp;gt;. The SP metadata can then be obtained via &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/saml/sp/metadata.php/default-sp&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It must be configured in the remote IdP.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Test authentication&lt;br /&gt;
|text= You can test authentication directly within the SimpleSAMLphp application. To do so, navigate to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/admin&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and log in with &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;INTERNAL_SIMPLESAMLPHP_ADMIN_PASS&amp;lt;/code&amp;gt; found in &amp;lt;code&amp;gt;${DATADIR}/wiki/.wikienv&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, the extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;SimpleSAMLphp&amp;quot; must be enabled on the wiki. To do so, add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
    &#039;PluggableAuth&#039;,&lt;br /&gt;
    &#039;SimpleSAMLphp&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;[[File:Setup:SAML ConfigManager EN 01.png|thumb|300x300px]]to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== OpenID Connect authentication ====&lt;br /&gt;
&lt;br /&gt;
The extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;OpenIDConnect&amp;quot; must be enabled on the wiki. To do so, add&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
    &#039;PluggableAuth&#039;,&lt;br /&gt;
    &#039;OpenIDConnect&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[de:Setup:Installationsanleitung/Docker]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10183</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10183"/>
		<updated>2024-11-25T12:57:20Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wraps the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
{{Textbox|boxtype=note|header=Different editions|text=The example shows &amp;lt;code&amp;gt;EDITION=pro&amp;lt;/code&amp;gt;. Be aware that for &amp;lt;code&amp;gt;pro&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;farm&amp;lt;/code&amp;gt; you need to be logged into &amp;lt;code&amp;gt;docker.bluspice.com&amp;lt;/code&amp;gt;.|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots. Make sure to run this command with in a privileged user context (like &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;), as it will set permissions on the newly created directories.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system level service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Custom wiki application configuration ====&lt;br /&gt;
After the initial installation, the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/&amp;lt;/code&amp;gt; contains two files that can be used to set custom application configuration as it may be found on [https://www.mediawiki.org mediawiki.org]:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pre-init-settings.php&amp;lt;/code&amp;gt;  - Can be used to set config that can be picked up by  the init process&lt;br /&gt;
* &amp;lt;code&amp;gt;post-init-settings.php&amp;lt;/code&amp;gt; - Can be used to manipulate configs that have been set by the init process&lt;br /&gt;
&lt;br /&gt;
==== Custom database and search ====&lt;br /&gt;
If you have a MySQL/MariaDB and an OpenSearch server running in your local network, you can remove &amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt; entirely from your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  file. Make sure to set the proper variables in the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
For implicit authenticationusing Kerberos, an additional proxy must be used: &amp;lt;code&amp;gt;bluespice/kerberos-proxy&amp;lt;/code&amp;gt; . The file &amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt; contains a common configuration. It can be used &#039;&#039;&#039;instead of&#039;&#039;&#039; the regular &amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt; file inside &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Make sure to have the files&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set up properly.&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt; can then be used to set up [[mediawikiwiki:LDAP_hub|&amp;quot;Extension:Auth_remoteuser&amp;quot; and the LDAP stack extensions]].&lt;br /&gt;
&lt;br /&gt;
====SAML authentication====&lt;br /&gt;
&lt;br /&gt;
During the initial installation a certificate for message signing will automatically be created. It can be found in &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/certs/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to configure a remote IdP, one must copy the IdP metadata XML to a file called &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/simplesamlphp/saml_idp_metadata.xml&amp;lt;/code&amp;gt;. The SP metadata can then be obtained via &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/saml/sp/metadata.php/default-sp&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It must be configured in the remote IdP.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Test authentication&lt;br /&gt;
|text= You can test authentication directly within the SimpleSAMLphp application. To do so, navigate to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/admin&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and log in with &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;INTERNAL_SIMPLESAMLPHP_ADMIN_PASS&amp;lt;/code&amp;gt; found in &amp;lt;code&amp;gt;${DATADIR}/wiki/.wikienv&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, the extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;SimpleSAMLphp&amp;quot; must be enabled on the wiki. To do so, add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
    &#039;PluggableAuth&#039;,&lt;br /&gt;
    &#039;SimpleSAMLphp&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;[[File:Setup:SAML ConfigManager EN 01.png|thumb|300x300px]]to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== OpenID Connect authentication ====&lt;br /&gt;
&lt;br /&gt;
The extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;OpenIDConnect&amp;quot; must be enabled on the wiki. To do so, add&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
    &#039;PluggableAuth&#039;,&lt;br /&gt;
    &#039;OpenIDConnect&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[de:Setup:Installationsanleitung/Docker]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10182</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10182"/>
		<updated>2024-11-25T12:56:09Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wraps the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
{{Textbox|boxtype=note|header=Different editions|text=The example shows &amp;lt;code&amp;gt;EDITION=pro&amp;lt;/code&amp;gt;. Be aware that for &amp;lt;code&amp;gt;pro&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;farm&amp;lt;/code&amp;gt; you need to be logged into &amp;lt;code&amp;gt;docker.bluspice.com&amp;lt;/code&amp;gt;.|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots. Make sure to run this command with in a privileged user context (like &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;), as it will set permissions on the newly created directories.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system level service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Custom wiki application configuration ====&lt;br /&gt;
After the initial installation, the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/&amp;lt;/code&amp;gt; contains two files that can be used to set custom application configuration as it may be found on [https://www.mediawiki.org mediawiki.org]:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pre-init-settings.php&amp;lt;/code&amp;gt;  - Can be used to set config that can be picked up by  the init process&lt;br /&gt;
* &amp;lt;code&amp;gt;post-init-settings.php&amp;lt;/code&amp;gt; - Can be used to manipulate configs that have been set by the init process&lt;br /&gt;
&lt;br /&gt;
==== Custom database and search ====&lt;br /&gt;
If you have a MySQL/MariaDB and an OpenSearch server running in your local network, you can remove &amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt; entirely from your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  file. Make sure to set the proper variables in the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
For implicit authenticationusing Kerberos, an additional proxy must be used: &amp;lt;code&amp;gt;bluespice/kerberos-proxy&amp;lt;/code&amp;gt; . The file &amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt; contains a common configuration. It can be used &#039;&#039;&#039;instead of&#039;&#039;&#039; the regular &amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt; file inside &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Make sure to have the files&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set up properly.&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt; can then be used to set up &amp;quot;Extension:Auth_remoteuser&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====SAML authentication====&lt;br /&gt;
&lt;br /&gt;
During the initial installation a certificate for message signing will automatically be created. It can be found in &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/certs/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to configure a remote IdP, one must copy the IdP metadata XML to a file called &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/simplesamlphp/saml_idp_metadata.xml&amp;lt;/code&amp;gt;. The SP metadata can then be obtained via &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/saml/sp/metadata.php/default-sp&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It must be configured in the remote IdP.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Test authentication&lt;br /&gt;
|text= You can test authentication directly within the SimpleSAMLphp application. To do so, navigate to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/admin&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and log in with &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;INTERNAL_SIMPLESAMLPHP_ADMIN_PASS&amp;lt;/code&amp;gt; found in &amp;lt;code&amp;gt;${DATADIR}/wiki/.wikienv&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, the extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;SimpleSAMLphp&amp;quot; must be enabled on the wiki. To do so, add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
    &#039;PluggableAuth&#039;,&lt;br /&gt;
    &#039;SimpleSAMLphp&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;[[File:Setup:SAML ConfigManager EN 01.png|thumb|300x300px]]to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== OpenID Connect authentication ===&lt;br /&gt;
The extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;OpenIDConnect&amp;quot; must be enabled on the wiki. To do so, add&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
    &#039;PluggableAuth&#039;,&lt;br /&gt;
    &#039;OpenIDConnect&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[de:Setup:Installationsanleitung/Docker]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10113</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10113"/>
		<updated>2024-10-30T13:50:13Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wrapsthe first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots. Make sure to run this command with in a privileged user context (like &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt;), as it will set permissions on the newly created directories.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system level service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Custom wiki application configuration ====&lt;br /&gt;
After the initial installation, the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/&amp;lt;/code&amp;gt; contains two files that can be used to set custom application configuration as it may be found on [https://www.mediawiki.org mediawiki.org]:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pre-init-settings.php&amp;lt;/code&amp;gt;  - Can be used to set config that can be picked up by  the init process&lt;br /&gt;
* &amp;lt;code&amp;gt;post-init-settings.php&amp;lt;/code&amp;gt; - Can be used to manipulate configs that have been set by the init process&lt;br /&gt;
&lt;br /&gt;
==== Custom database and search ====&lt;br /&gt;
If you have a MySQL/MariaDB and an OpenSearch server running in your local network, you can remove &amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt; entirely from your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  file. Make sure to set the proper variables in the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
For implicit authenticationusing Kerberos, an additional proxy must be used: &amp;lt;code&amp;gt;bluespice/kerberos-proxy&amp;lt;/code&amp;gt; . The file &amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt; contains a common configuration. It can be used &#039;&#039;&#039;instead of&#039;&#039;&#039; the regular &amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt; file inside &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Make sure to have the files&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set up properly.&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt; can then be used to set up &amp;quot;Extension:Auth_remoteuser&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====SAML authentication====&lt;br /&gt;
&lt;br /&gt;
During the initial installation a certificate for message signing will automatically be created. It can be found in &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/certs/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order to configure a remote IDP, one must copy the IdP metadata XML to a file called &amp;lt;code&amp;gt;${DATADIR}/wiki/simplesamlphp/simplesamlphp/saml_idp_metadata.xml&amp;lt;/code&amp;gt;. The SP metadata can then be obtained via &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/saml/sp/metadata.php/default-sp&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It must be configured in the remote IdP.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Test authentication&lt;br /&gt;
|text= You can test authentication directly within the SimpleSAMLphp application. To do so, navigate to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://{{$WIKI_HOST}}/_sp/module.php/admin&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and log in with &amp;lt;code&amp;gt;admin&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;INTERNAL_SIMPLESAMLPHP_ADMIN_PASS&amp;lt;/code&amp;gt; found in &amp;lt;code&amp;gt;${DATADIR}/wiki/.wikienv&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, the extensions &amp;quot;PluggableAuth&amp;quot; and &amp;quot;SimpleSAMLphp&amp;quot; must be enabled on the wiki. To do so, add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
wfLoadExtensions( [&lt;br /&gt;
        &#039;PluggableAuth&#039;,&lt;br /&gt;
        &#039;SimpleSAMLphp&#039;&lt;br /&gt;
] );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;[[File:Setup:SAML ConfigManager EN 01.png|thumb|300x300px]]to the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;. Run&lt;br /&gt;
&lt;br /&gt;
 ./bluespice-deploy exec wiki-task /app/bluespice/w/maintenance/update.php --quick&lt;br /&gt;
&lt;br /&gt;
to complete the installation.&lt;br /&gt;
&lt;br /&gt;
After that, the authentication plugin configuration can be applied in [[Manual:Extension/BlueSpiceConfigManager|Special:BlueSpiceConfigManager]] under &amp;quot;Authentication&amp;quot;.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10068</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10068"/>
		<updated>2024-10-11T13:17:21Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wrapsthe first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system level service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Custom wiki application configuration ====&lt;br /&gt;
After the initial installation, the &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/&amp;lt;/code&amp;gt; contains two files that can be used to set custom application configuration as it may be found on [https://www.mediawiki.org mediawiki.org]:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pre-init-settings.php&amp;lt;/code&amp;gt;  - Can be used to set config that can be picked up by  the init process&lt;br /&gt;
* &amp;lt;code&amp;gt;post-init-settings.php&amp;lt;/code&amp;gt; - Can be used to manipulate configs that have been set by the init process&lt;br /&gt;
&lt;br /&gt;
==== Custom database and search ====&lt;br /&gt;
If you have a MySQL/MariaDB and an OpenSearch server running in your local network, you can remove &amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt; entirely from your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  file. Make sure to set the proper variables in the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
For implicit authenticationusing Kerberos, an additional proxy must be used: &amp;lt;code&amp;gt;bluespice/kerberos-proxy&amp;lt;/code&amp;gt; . The file &amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt; contains a common configuration. It can be used &#039;&#039;&#039;instead of&#039;&#039;&#039; the regular &amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt; file inside &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Make sure to have the files&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set up properly.&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt; can then be used to set up &amp;quot;Extension:Auth_remoteuser&amp;quot;.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10067</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10067"/>
		<updated>2024-10-11T13:13:30Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wrapsthe first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system level service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==== Custom database and search ====&lt;br /&gt;
If you have a MySQL/MariaDB and an OpenSearch server running in your local network, you can remove &amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt; entirely from your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  file. Make sure to set the proper variables in the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file. &lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
For implicit authenticationusing Kerberos, an additional proxy must be used: &amp;lt;code&amp;gt;bluespice/kerberos-proxy&amp;lt;/code&amp;gt; . The file &amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt; contains a common configuration. It can be used &#039;&#039;&#039;instead of&#039;&#039;&#039; the regular &amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt; file inside &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
Make sure to have the files&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/krb5.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;${DATADIR}/kerberos/kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set up properly.&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;${DATADIR}/wiki/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt; can then be used to set up &amp;quot;Extension:Auth_remoteuser&amp;quot;.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10066</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10066"/>
		<updated>2024-10-11T13:01:56Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: (username removed) (log details removed)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were some important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, nor for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has completely been reworked&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Since version 4.5, BlueSpice MediaWiki can be easily installed using a stack of Docker container images. Everything is build in a modular way to allow different types of setups.&lt;br /&gt;
&lt;br /&gt;
The most common cases are&lt;br /&gt;
# &amp;quot;All-in-one&amp;quot; (with and without Let&#039;s Encrypt)&lt;br /&gt;
# Custom database and search service&lt;br /&gt;
# Custom load balancer / proxy&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Get the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:350px;&amp;quot; |Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed containers&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Proper handling of the containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Database and search/ run by &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot; certificates&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:350px;&amp;quot; |&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional proxy for Kerberos based authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script wrapsthe first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up -d&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates. For details, please refer to section [[#SSL certificates| SSL certificates]].&lt;br /&gt;
&lt;br /&gt;
===Step 2: Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Start the stack ===&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Initial installation&lt;br /&gt;
|text=When starting the stack the first time, the &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; container will automatically perform the installation. It may take a couple of minutes for the process to set up the database and complete. Once it is finished, the password for the default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser and start using the application.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;br /&gt;
&lt;br /&gt;
====Operating system jevel service====&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
====Kerberos proxy====&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10057</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10057"/>
		<updated>2024-10-04T17:50:59Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== Getting the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot;-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy \&lt;br /&gt;
     -f docker-compose.proxy-letsencrypt.yml \&lt;br /&gt;
     up \&lt;br /&gt;
     -d \&lt;br /&gt;
     --remove-orphans&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates.&lt;br /&gt;
&lt;br /&gt;
===Set up operating system service===&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
===Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Starting the stack ===&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser.&lt;br /&gt;
&lt;br /&gt;
==== Initial installation ====&lt;br /&gt;
When starting the container stack the first time, &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; will automatically perform the installation. It may take a couple of minutes to complete the process. Once it is finished, the password for he default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10056</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10056"/>
		<updated>2024-10-04T17:49:48Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== Getting the stack ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!Mandatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main application services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false, but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional auto-renewal service for &amp;quot;Let&#039;s Encrypt&amp;quot;-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates.&lt;br /&gt;
&lt;br /&gt;
===Set up operating system service===&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
===Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Starting the stack ===&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser.&lt;br /&gt;
&lt;br /&gt;
==== Initial installation ====&lt;br /&gt;
When starting the container stack the first time, &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; will automatically perform the installation. It may take a couple of minutes to complete the process. Once it is finished, the password for he default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
==== SSL certificates ====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10055</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10055"/>
		<updated>2024-10-04T17:46:09Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== Basic installation ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!obligatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main Services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional autorenewal service for LetsEncrypt-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates.&lt;br /&gt;
&lt;br /&gt;
===Set up operating system service===&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
===Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Starting the stack ===&lt;br /&gt;
Use &amp;lt;code&amp;gt;bluespice-deploy up -d&amp;lt;/code&amp;gt; to start the stack, once the &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file and the &amp;quot;data directories&amp;quot; are ready. Once all containers are shown as &amp;quot;ready&amp;quot; you can navigate to &amp;lt;code&amp;gt;$WIKI_PROTOCOL://$WIKI_HOST:$WIKI_PORT&amp;lt;/code&amp;gt; (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://wiki.company.local&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;) in your favorite web browser.&lt;br /&gt;
&lt;br /&gt;
==== Initial installation ====&lt;br /&gt;
When starting the container stack the first time, &amp;lt;code&amp;gt;wiki-task&amp;lt;/code&amp;gt; will automatically perform the installation. It may take a couple of minutes to complete the process. Once it is finished, the password for he default &amp;lt;code&amp;gt;Admin&amp;lt;/code&amp;gt; user can be found in &amp;lt;code&amp;gt;$DATADIR/wiki/adminPasssword&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
===== SSL certificates =====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10051</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10051"/>
		<updated>2024-09-27T15:02:12Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== Basic installation ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!obligatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also registers the service at the operating system&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main Services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional autorenewal service for LetsEncrypt-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates.&lt;br /&gt;
&lt;br /&gt;
===Set up operating system service===&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
===Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
===== SSL certificates =====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10050</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10050"/>
		<updated>2024-09-27T14:59:02Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== Basic installation ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
&lt;br /&gt;
The directory contains the following files:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!obligatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also creates service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main Services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional autorenewal service for LetsEncrypt-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For convenience, the &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt; files by default. This includes the main wiki application and also required backend services, like a database, search and application cache.&lt;br /&gt;
&lt;br /&gt;
Additional services can be loaded by adding &amp;lt;code&amp;gt;-f &amp;lt;filename&amp;gt; &amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
 bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
&lt;br /&gt;
This will start the stack with &amp;quot;Let&#039;s Encrypt&amp;quot; certificates.&lt;br /&gt;
&lt;br /&gt;
===Set up operating system service===&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Adding additional services&lt;br /&gt;
|text=expand the &amp;lt;code&amp;gt;ExecStart&amp;lt;/code&amp;gt; parameter in the &amp;lt;code&amp;gt;/etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
Example: &lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Set up environment variables===&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
===Prepare data directories===&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
===== SSL certificates =====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10049</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10049"/>
		<updated>2024-09-27T14:48:31Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox&lt;br /&gt;
|boxtype=important&lt;br /&gt;
|header=Migration from 4.4&lt;br /&gt;
|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!obligatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also creates service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main Services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional autorenewal service for LetsEncrypt-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
The &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt;  files by default.&lt;br /&gt;
 % cat bluespice-deploy                                                 &lt;br /&gt;
 &lt;br /&gt;
 docker compose \&lt;br /&gt;
 	-f docker-compose.main.yml \&lt;br /&gt;
 	-f docker-compose.persistent-data-services.yml \&lt;br /&gt;
 	-f docker-compose.stateless-services.yml \&lt;br /&gt;
 	-f docker-compose.proxy.yml \&lt;br /&gt;
 	$@&lt;br /&gt;
To add additional services either change script or just add them by hand:&lt;br /&gt;
 bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -d&lt;br /&gt;
For &amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt; please do also either expand the line in the &amp;lt;code&amp;gt;etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=BlueSpice-Docker startup routinie&lt;br /&gt;
 Requires=docker.service&lt;br /&gt;
 After=docker.service&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 WorkingDirectory=&amp;lt;WORKDIR&amp;gt;&lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
 ExecStop=bluespice-deploy down&lt;br /&gt;
 TimeoutStartSec=0&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 StartLimitInterval=120&lt;br /&gt;
 StartLimitBurst=2&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target%&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
===== SSL certificates =====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10048</id>
		<title>Setup:Installation Guide/Docker</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker&amp;diff=10048"/>
		<updated>2024-09-27T14:47:43Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Textbox|boxtype=important|header=Migration from 4.4|text=With BlueSpice 4.5 there were important changes to the container portfolio:&lt;br /&gt;
# There are no &amp;quot;all-in-one&amp;quot; containers anymore. Neither for FREE, not for PRO and FARM editions&lt;br /&gt;
# The &amp;quot;distributed-services&amp;quot; setup for PRO and FARM edition has been reworked&lt;br /&gt;
&lt;br /&gt;
If you are upgrading from one of the above-mentioned setups, please refer to the [[{{FULLPAGENAME}}/Migration_4.4 to 4.5|migration guide]]|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
Get &amp;quot;docker-compose&amp;quot; files from https://bluespice.com/de/download/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://bluespice.com/filebase/docker-deployment-script&amp;lt;/nowiki&amp;gt; \&lt;br /&gt;
     &amp;amp;&amp;amp; unzip docker-deployment-script \&lt;br /&gt;
     &amp;amp;&amp;amp; cd docker-deployment-script/compose&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Filename&lt;br /&gt;
!Type&lt;br /&gt;
!obligatory&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Wrapper for general start-up of needed Containers&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt;&lt;br /&gt;
|bash-script&lt;br /&gt;
|false&lt;br /&gt;
|Prepare Folder and Permissions before first start also creates service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt;&lt;br /&gt;
|service-script&lt;br /&gt;
|false&lt;br /&gt;
|Porper handling of the Containers on reboot&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.main.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Main Services/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.persistent-data-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|true&lt;br /&gt;
|Database and Search/ run by bluespice-deploy&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.stateless-services.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but strongly recommended for full functionality&lt;br /&gt;
|PDF-Renderer/Cache/Formula/Diagram-Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false but recommended&lt;br /&gt;
|Proxy Service&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional autorenewal service for LetsEncrypt-Certificates&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;docker-compose.kerberos-proxy.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
|yml&lt;br /&gt;
|false&lt;br /&gt;
|Additional Proxy for Kerberos-Authenication&lt;br /&gt;
|}&lt;br /&gt;
The &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt;  script starts the first four &amp;lt;code&amp;gt;yml&amp;lt;/code&amp;gt;  files by default.&lt;br /&gt;
 % cat bluespice-deploy                                                 &lt;br /&gt;
 &lt;br /&gt;
 docker compose \&lt;br /&gt;
 	-f docker-compose.main.yml \&lt;br /&gt;
 	-f docker-compose.persistent-data-services.yml \&lt;br /&gt;
 	-f docker-compose.stateless-services.yml \&lt;br /&gt;
 	-f docker-compose.proxy.yml \&lt;br /&gt;
 	$@&lt;br /&gt;
To add additional services either change script or just add them by hand:&lt;br /&gt;
 bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -d&lt;br /&gt;
For &amp;lt;code&amp;gt;bluespice.service&amp;lt;/code&amp;gt; please do also either expand the line in the &amp;lt;code&amp;gt;etc/systemd/system/bluespice.service&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description=BlueSpice-Docker startup routinie&lt;br /&gt;
 Requires=docker.service&lt;br /&gt;
 After=docker.service&lt;br /&gt;
 &lt;br /&gt;
 [Service]&lt;br /&gt;
 WorkingDirectory=&amp;lt;WORKDIR&amp;gt;&lt;br /&gt;
 ExecStart=&amp;lt;WORKDIR&amp;gt;/bluespice-deploy -f docker-compose.proxy-letsencrypt.yml up -f -d --remove-orphans&lt;br /&gt;
 ExecStop=bluespice-deploy down&lt;br /&gt;
 TimeoutStartSec=0&lt;br /&gt;
 Restart=on-failure&lt;br /&gt;
 StartLimitInterval=120&lt;br /&gt;
 StartLimitBurst=2&lt;br /&gt;
 &lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy=multi-user.target%&lt;br /&gt;
&lt;br /&gt;
Create &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; file according to existing or state-to-be installation.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 DATADIR=/data/bluespice&lt;br /&gt;
 VERSION=4.5&lt;br /&gt;
 EDITION=pro&lt;br /&gt;
 BACKUP_HOUR=04&lt;br /&gt;
 &lt;br /&gt;
 WIKI_NAME=BlueSpice&lt;br /&gt;
 WIKI_LANG=en&lt;br /&gt;
 WIKI_PASSWORDSENDER=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_EMERGENCYCONTACT=no-reply@wiki.company.local&lt;br /&gt;
 WIKI_HOST=wiki.company.local&lt;br /&gt;
 WIKI_PORT=443&lt;br /&gt;
 WIKI_PROTOCOL=https&lt;br /&gt;
 &lt;br /&gt;
 DB_USER=bluespice&lt;br /&gt;
 DB_PASS=...&lt;br /&gt;
 DB_HOST=database&lt;br /&gt;
 DB_NAME=bluespice&lt;br /&gt;
 DB_PREFIX=&lt;br /&gt;
 &lt;br /&gt;
 SMTP_HOST=mail.company.local&lt;br /&gt;
 SMTP_PORT=25&lt;br /&gt;
 SMTP_USER=...&lt;br /&gt;
 SMTP_PASS=...&lt;br /&gt;
 SMTP_ID_HOST=...&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;bluespice-prepare&amp;lt;/code&amp;gt; script, helping you set up correct folder structure and permissions. Also installing a service for proper handling of the containers on reboots.&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
&lt;br /&gt;
===== SSL certificates =====&lt;br /&gt;
For using Let&#039;s Encrypt Certificates just add &amp;lt;code&amp;gt;docker-compose.proxy-letsencrypt.yml&amp;lt;/code&amp;gt; in your &amp;lt;code&amp;gt;bluespice-deploy&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=tip&lt;br /&gt;
|header=Self-signed certificates&lt;br /&gt;
|text=For using self-signend Certificates please put &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.crt&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;bluespice-wiki.com&amp;gt;.key&amp;lt;/code&amp;gt; with the exact name of your Wikis URL in &amp;lt;code&amp;gt;${VOLUMES_DIR}/nginx/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If activating SSL after first creation of wiki please change &amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;${VOLUMES_DIR}/bluespice-data/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://bluespice-wiki.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also link your certificate to the bluespice-container in your &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt;-File:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;- ${VOLUMES_DIR}/nginx/certs/&amp;lt;FQDNofyourWiki&amp;gt;.crt:/usr/local/share/ca-certificates/&amp;lt;FQDNofyourWiki&amp;gt;.crt:ro&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please restart containers after changing/adding SSL files.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker/Migration_4.4_to_4.5&amp;diff=9905</id>
		<title>Setup:Installation Guide/Docker/Migration 4.4 to 4.5</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Docker/Migration_4.4_to_4.5&amp;diff=9905"/>
		<updated>2024-07-24T07:15:35Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== BlueSpice FREE &amp;quot;all-in-one&amp;quot; ==&lt;br /&gt;
===Data===&lt;br /&gt;
Data has been stored in the directory referenced by &amp;lt;code&amp;gt;WIKI_INSTALL_DIR&amp;lt;/code&amp;gt;. Now &amp;lt;code&amp;gt;DATADIR&amp;lt;/code&amp;gt; is used.&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-free&amp;lt;/code&amp;gt; 4.4)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$WIKI_INSTALL_DIR/logs/&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. New containers log everything to &amp;lt;code&amp;gt;stderr&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;stdout&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$WIKI_INSTALL_DIR/www/bluespice/w/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/bluespice/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$WIKI_INSTALL_DIR/www/bluespice/w/cache/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|Obsolete. Cache folder has no persistent data&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$WIKI_INSTALL_DIR/www/bluespice/w/&amp;amp;#xAD;extensions/BlueSpiceFoundation/config/&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. All contents of this directory have been migrated to the database in &amp;lt;code&amp;gt;4.4&amp;lt;/code&amp;gt; already.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$WIKI_INSTALL_DIR/www/bluespice/w/&amp;amp;#xAD;extensions/BlueSpiceFoundation/data/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/bluespice/&amp;amp;#xAD;extensions/BlueSpiceFoundation/data/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
Data have been stored in the directory referenced by &amp;lt;code&amp;gt;WIKI_INSTALL_DIR&amp;lt;/code&amp;gt;.&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-free&amp;lt;/code&amp;gt; 4.4)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$WIKI_INSTALL_DIR/www/bluespice/w/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
| Custom settings must be split up and added to those new files manually.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BlueSpice PRO &amp;quot;all-in-one&amp;quot;==&lt;br /&gt;
===Data===&lt;br /&gt;
Data has been stored in the directory referenced by &amp;lt;code&amp;gt;VOLUMES_DIR&amp;lt;/code&amp;gt;. Now &amp;lt;code&amp;gt;DATADIR&amp;lt;/code&amp;gt; is used.&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-pro&amp;lt;/code&amp;gt; 4.2 and 4.3)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/logs/&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. New containers log everything to &amp;lt;code&amp;gt;stderr&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;stdout&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/cache/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|Obsolete. Cache folder has no persistent data&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/extensions/BlueSpiceFoundation/config/&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. All contents of this directory have been migrated to the database in &amp;lt;code&amp;gt;4.4&amp;lt;/code&amp;gt; already. ATTENTION: needs migration&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/extensions/BlueSpiceFoundation/data/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/extensions&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;/BlueSpiceFoundation/data/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/backup&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/backup&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/etc&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/mysql&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/database/data and&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;$DATADIR/database/logs&amp;lt;/code&amp;gt;&lt;br /&gt;
|No direct copy possible&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/ssl&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/proxy/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|Name CRT and Key file after URL:&lt;br /&gt;
wiki.example.com.crt/wiki.example.com.key&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/postfix&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. Fill in MailConfig in .env (SMTP*)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/startup&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/kerberos&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/kerberos&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;Move $VOLUMES_DIR/etc/bluespice/bluespice.keytab here and rename it kerberos.keytab&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additional for Farm:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-farm&amp;lt;/code&amp;gt; 4.2 and 4.3)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/_sf_instances/&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/_sf_instances/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/_sf_archive&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/_sf_archive&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-pro&amp;lt;/code&amp;gt; 4.4)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|Fill in .env wiht relevant data. LocalSettings.php is  not longer in use&lt;br /&gt;
Custom settings must be split up and added to those new files manually. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|Custom settings must be split up and added to those new files manually. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BlueSpice PRO &amp;quot;distributed-services&amp;quot;==&lt;br /&gt;
===Data===&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-pro&amp;lt;/code&amp;gt; 4.2 and 4.3)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/logs/&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. New containers log everything to &amp;lt;code&amp;gt;stderr&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;stdout&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/cache/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|Obsolete. Cache folder has no persistent data&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/extensions/BlueSpiceFoundation/config/&amp;lt;/code&amp;gt;&lt;br /&gt;
| -&lt;br /&gt;
|Obsolete. All contents of this directory have been migrated to the database in &amp;lt;code&amp;gt;4.4&amp;lt;/code&amp;gt; already. &lt;br /&gt;
&#039;&#039;&#039;ATTENTION:  might migration&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/extensions/BlueSpiceFoundation/data/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/extensions&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;/BlueSpiceFoundation/data/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/backup&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/backup&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/mariadb/data&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/database/data&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/mariadb/logs&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/database/logs&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/proxy/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/proxy/certs&amp;lt;/code&amp;gt;&lt;br /&gt;
|Name CRT and Key file after URL:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;wiki.example.com.crt&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;wiki.example.com.key&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/kerberos&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/kerberos&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additional for Farm:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-farm&amp;lt;/code&amp;gt; 4.2 and 4.3)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/_sf_instances/&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/_sf_instances/&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/_sf_archive&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;$DATADIR/wiki/bluespice/_sf_archive&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
{| class=&amp;quot;cuscosky&amp;quot;&lt;br /&gt;
!OLD (&amp;lt;code&amp;gt;bluespice/bluespice-pro&amp;lt;/code&amp;gt; 4.4)&lt;br /&gt;
!NEW (&amp;lt;code&amp;gt;bluespice-deploy/composer&amp;lt;/code&amp;gt; 4.5)&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|Fill in .env wiht relevant data. &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; is  not longer in use&lt;br /&gt;
Custom settings must be split up and added to those new files manually. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;$VOLUMES_DIR/bluespice/settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/pre-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;$DATADIR/bluespice/post-init-settings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
|Custom settings must be split up and added to those new files manually. &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Advanced/Server_configuration_for_CollabPads&amp;diff=9424</id>
		<title>Setup:Installation Guide/Advanced/Server configuration for CollabPads</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Advanced/Server_configuration_for_CollabPads&amp;diff=9424"/>
		<updated>2024-07-08T07:00:39Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BSVersion|bsvFrom=4.5|bsvFeature=CollabPads}}&lt;br /&gt;
&lt;br /&gt;
Simultaneous editing of pages by multiple users requires some server preparation. For this, MongoDB and the CollabPadsBackendService must be installed.&lt;br /&gt;
==Install MongoDB==&lt;br /&gt;
Please install MongoDB [https://www.mongodb.com/docs/manual/administration/install-on-linux/ according to the documentation your Linux distribution.] It can then be started and configured for auto start like this:&lt;br /&gt;
 sudo systemctl start mongod&lt;br /&gt;
 sudo systemctl enable mongod&lt;br /&gt;
==Install php-mongodb extension==&lt;br /&gt;
The CollabPadsBackend service required a special PHP extension in order to be able to communicate with the MongoDB server. This extension is available through [https://pecl.php.net/ PECL]. If you don&#039;t have PECL installed already, you can do this for example using&lt;br /&gt;
 sudo apt install php-devel&lt;br /&gt;
 sudo pecl install mongodb&lt;br /&gt;
Check the path of your PHP version to find the proper INI file. The extension can then be enabled e.g. via&lt;br /&gt;
 echo &amp;quot;extension=mongodb.so&amp;quot; &amp;gt;&amp;gt; /etc/php/8.2/cli/php.ini&lt;br /&gt;
==Install CollabPadsBackendService==&lt;br /&gt;
The CollabPadsBackendService is pre-buildt a PHP application that can be downloaded from [https://buildservice.bluespice.com/webservices/4.5.x/CollabPadsBackend.tar.gz buildservice.bluespice.com]. You can download it like this:&lt;br /&gt;
 cd /opt&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;https://buildservice.bluespice.com/webservices/4.5.x/CollabPadsBackend.tar.gz&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 tar xzf CollabPadsBackend.tar.gz&lt;br /&gt;
To configure the service one must first create a &amp;lt;code&amp;gt;config.php&amp;lt;/code&amp;gt; file. An example file is included.&lt;br /&gt;
 cd CollabPadsBackend&lt;br /&gt;
 cp config.example.php config.php&lt;br /&gt;
 vim config.php&lt;br /&gt;
Modify &amp;lt;code&amp;gt;config.php`&amp;lt;/code&amp;gt; to match your environment. Example:&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 &lt;br /&gt;
 return [&lt;br /&gt;
 	&#039;server-id&#039; =&amp;gt; &#039;mediawiki-collabpads-backend&#039;,&lt;br /&gt;
 	&#039;ping-interval&#039; =&amp;gt; 25000,&lt;br /&gt;
 	&#039;ping-timeout&#039; =&amp;gt; 5000,&lt;br /&gt;
 	&#039;port&#039; =&amp;gt; 8099,                //The port you wish to use&lt;br /&gt;
 	&#039;request-ip&#039; =&amp;gt; &#039;127.0.0.1&#039;,  //The ip you want to open your service  &lt;br /&gt;
 	&#039;baseurl&#039; =&amp;gt; &#039;&amp;lt;nowiki&amp;gt;https://yourwikiurl.com&#039;&amp;lt;/nowiki&amp;gt;, &lt;br /&gt;
 	&#039;db-type&#039; =&amp;gt; &#039;mongo&#039;,&lt;br /&gt;
 	&#039;db-host&#039; =&amp;gt; &#039;127.0.0.1&#039;,   // your MongoDB-Host&lt;br /&gt;
 	&#039;db-port&#039; =&amp;gt; 27017,         // your MongoDB-Port&lt;br /&gt;
 	&#039;db-name&#039; =&amp;gt; &#039;collabpads&#039;,  // your MongoDB-DB-Name&lt;br /&gt;
 	&#039;db-user&#039; =&amp;gt; &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;,           // MongoDB-Username &lt;br /&gt;
 	&#039;db-password&#039; =&amp;gt; &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;,       // MongoDB-Password&lt;br /&gt;
 	&#039;log-level&#039; =&amp;gt; &#039;INFO&#039;,&lt;br /&gt;
 	&#039;http-client-options&#039; =&amp;gt; []&lt;br /&gt;
 ];&lt;br /&gt;
Next you should create a proper servicedescriptor for running the application&lt;br /&gt;
 sudo vim /etc/systemd/system/collabpad.service&lt;br /&gt;
Example of &amp;lt;code&amp;gt;collabpad.service&amp;lt;/code&amp;gt;:&lt;br /&gt;
 [Unit]&lt;br /&gt;
 Description = BlueSpice-CollabpadsBackend&lt;br /&gt;
 [Service]&lt;br /&gt;
 Type = simple&lt;br /&gt;
 User = www-data&lt;br /&gt;
 ExecStart =/usr/bin/php /opt/CollabpadsBackend/bin/server.php&lt;br /&gt;
 StandardOutput = file:/var/log/apache2/collabpad.log&lt;br /&gt;
 [Install]&lt;br /&gt;
 WantedBy = default.target&lt;br /&gt;
Start and configure the service for auto start like this:&lt;br /&gt;
 sudo systemctl enable collabpad.service&lt;br /&gt;
 sudo systemctl start collabpad.service&lt;br /&gt;
==Configure Apache==&lt;br /&gt;
The new service must be reachable by the client. By default the wiki application will try to connect to it using the WebSocket protocol on the &amp;lt;code&amp;gt;/_collabpads&amp;lt;/code&amp;gt; subpath relative to the wiki application base URL (&amp;lt;code&amp;gt;$wgServer&amp;lt;/code&amp;gt; ).&lt;br /&gt;
&lt;br /&gt;
In order to achieve this, you must add a proper &#039;&#039;URL rewrite&#039;&#039; rule. For the Apache Webserver it looks like this:&lt;br /&gt;
 RewriteCond %{REQUEST_URI}  ^/_collabpads          [NC]&lt;br /&gt;
 RewriteCond %{QUERY_STRING} transport=websocket    [NC]&lt;br /&gt;
 RewriteRule /(.*)           ws://127.0.0.1:8099/$1 [P,L]&lt;br /&gt;
The webserver needs to be restarted to load the changes:&lt;br /&gt;
 systemctl restart apache2&lt;br /&gt;
You should now be able to use the editing mode &#039;&#039;Edit together&#039;&#039;.&lt;br /&gt;
[[File:CP edit together.png|alt=Dropdown menu for the edit button with menu item &#039;Edit together&#039;|center|thumb|206x206px|Edit together]]&lt;br /&gt;
&lt;br /&gt;
[[de:Setup:Installationsanleitung/Kompendium/Servereinrichtung_für_CollabPads]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=How_to_debug&amp;diff=8657</id>
		<title>How to debug</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=How_to_debug&amp;diff=8657"/>
		<updated>2024-05-02T08:11:27Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Help others to help you==&lt;br /&gt;
Sometimes things go wrong. In many cases the user is then confronted with cryptic or no error messages at all. This page provides help about getting more information about what exactly went wrong, so it can be fixed quickly. This is especially important when asking for help on locations like [https://community.bluespice.com community.bluespice.com].&lt;br /&gt;
&lt;br /&gt;
Additional information can also be found at [[mediawikiwiki:Manual:How_to_debug|&amp;quot;Manual:How to debug&amp;quot; on MediaWiki.org]].&lt;br /&gt;
&lt;br /&gt;
{{Textbox|boxtype=warning|header=Check for sensitive information|text=Most of the techniques described here will output very detailed information about the error, but also about the system and the context. The output may contain sensitive information like usernames, passwords, pathes, access-keys and many more. Before posting any information retrieved by this kind of debugging on a public location (like [https://community.bluespice.com community.bluespice.com]), make sure to redact all potential sensitive information!|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
== Generic information ==&lt;br /&gt;
In general it is a good idea to provide additional context information about the error. Usually this information is easily to access/gather by the one who reports an error and very valueable to anyone trying to help.&lt;br /&gt;
&lt;br /&gt;
Such information can be&lt;br /&gt;
* Browser used (Firefox, Chrome, Edge, ...), ideally with the version&lt;br /&gt;
* URLs (which page the error occurs on, additional parameters that may play into the error)&lt;br /&gt;
* User permission level or role (admin, reader, editor, reviewer, ...)&lt;br /&gt;
&lt;br /&gt;
Again: Be careful if the shared information contains sensible data and redact it if required.&lt;br /&gt;
&lt;br /&gt;
== Server side debugging ==&lt;br /&gt;
There are various ways to get more information about errors by changing some configuration on the server side.&lt;br /&gt;
&lt;br /&gt;
=== Wiki application ===&lt;br /&gt;
&lt;br /&gt;
==== Enable detailed error reporting ====&lt;br /&gt;
Within you &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; file, please add the following lines:&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$GLOBALS[&#039;wgDebugDumpSql&#039;]  = true;&lt;br /&gt;
$GLOBALS[&#039;wgShowExceptionDetails&#039;] = true;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;This will turn error messages like &amp;lt;code&amp;gt;internal_api_error_DBQueryError&amp;lt;/code&amp;gt; into a more detailed stack of program calls, including database queries and responses.&lt;br /&gt;
&lt;br /&gt;
==== General debug log ====&lt;br /&gt;
Sometimes it can be useful to see all debugging information the application produces. To enable this general debug log please add the following lines within you &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; file:&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if ( isset( $_GET[&#039;dodebuglog&#039;] ) ) {&lt;br /&gt;
    $GLOBALS[&#039;wgDebugLogFile&#039;] = &amp;quot;$IP/cache/debug.log&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Be aware that this configuration is set conditionally. It will only be used if the URL accessed in the browser contains some query string like  &amp;lt;code&amp;gt;dodebuglog=1&amp;lt;/code&amp;gt;. This is to allow a more isolated debug log file. Otherwise other requests (like calls to the &amp;lt;code&amp;gt;load.php&amp;lt;/code&amp;gt; entrypoint for CSS and JS content) may also add into this file, which makes analysis more difficult.&lt;br /&gt;
&lt;br /&gt;
===== Important log channels =====&lt;br /&gt;
{{Textbox|boxtype=important|header=Channel names must be &#039;&#039;exactly&#039;&#039; like listed here! Watch out for casing and spaces!|text=|icon=yes}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Source (Extension)&lt;br /&gt;
!Channel name(s)&lt;br /&gt;
!Use case&lt;br /&gt;
|-&lt;br /&gt;
|MW CORE&lt;br /&gt;
|&amp;lt;code&amp;gt;http&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;HttpError&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;JobExecutor&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;LocalFile&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;exception&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DeferredUpdates&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Parsoid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;resourceloader&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;runJobs&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;session&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;login&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MWSTAKE COMPONENTS&lt;br /&gt;
|&amp;lt;code&amp;gt;ContentProvisioner&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;runjobs-trigger-runner&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Math&lt;br /&gt;
|&amp;lt;code&amp;gt;Math&amp;lt;/code&amp;gt;&lt;br /&gt;
|Math&lt;br /&gt;
|-&lt;br /&gt;
|PluggableAuth&lt;br /&gt;
|&amp;lt;code&amp;gt;PluggableAuth&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP, SAML, OpenIDConnect&lt;br /&gt;
|-&lt;br /&gt;
|LDAPProvider&lt;br /&gt;
|&amp;lt;code&amp;gt;LDAP&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;MediaWiki\\Extension\\LDAPProvider\\Client&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP&lt;br /&gt;
|-&lt;br /&gt;
|LDAPAuthentication2&lt;br /&gt;
|&amp;lt;code&amp;gt;LDAPAuthentication2&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP&lt;br /&gt;
|-&lt;br /&gt;
|LDAPGroups&lt;br /&gt;
|&amp;lt;code&amp;gt;LDAPGroups&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP&lt;br /&gt;
|-&lt;br /&gt;
|LDAPUserInfo&lt;br /&gt;
|&amp;lt;code&amp;gt;LDAPUserInfo&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP&lt;br /&gt;
|-&lt;br /&gt;
|LDAPSyncAll&lt;br /&gt;
|&amp;lt;code&amp;gt;LDAPSyncAll&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP&lt;br /&gt;
|-&lt;br /&gt;
|LDAPAuthorization&lt;br /&gt;
|&amp;lt;code&amp;gt;LDAPAuthorization&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP&lt;br /&gt;
|-&lt;br /&gt;
|Auth_remoteuser&lt;br /&gt;
|&amp;lt;code&amp;gt;session&amp;lt;/code&amp;gt;&lt;br /&gt;
|LDAP (SSO/Kerberos)&lt;br /&gt;
|-&lt;br /&gt;
|SimpleSAMLphp&lt;br /&gt;
|&amp;lt;code&amp;gt;SimpleSAMLphp&amp;lt;/code&amp;gt;&lt;br /&gt;
|SAML&lt;br /&gt;
|-&lt;br /&gt;
|OpenIDConnect&lt;br /&gt;
|&amp;lt;code&amp;gt;OpenID Connect&amp;lt;/code&amp;gt;&lt;br /&gt;
|OpenIDConnect&lt;br /&gt;
|-&lt;br /&gt;
|ImportOfficeFiles&lt;br /&gt;
|&amp;lt;code&amp;gt;ImportOfficeFiles&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;ImportOfficeFiles_RemoveOrphanedDirectories&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ImportOfficeFiles_UI&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Workflows&lt;br /&gt;
|&amp;lt;code&amp;gt;workflows&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BlueSpiceArticlePreviewCapture&lt;br /&gt;
|&amp;lt;code&amp;gt;ArticlePreviewCapture&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OAuth&lt;br /&gt;
|&amp;lt;code&amp;gt;OAuth&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BlueSpiceUEModulePDF, BlueSpiceUEModuleBookPDF&lt;br /&gt;
|&amp;lt;code&amp;gt;BS::UEModulePDF&amp;lt;/code&amp;gt;&lt;br /&gt;
|PDF&lt;br /&gt;
|-&lt;br /&gt;
|BlueSpiceExtendedSearch&lt;br /&gt;
|&amp;lt;code&amp;gt;BSExtendedSearch&amp;lt;/code&amp;gt;&lt;br /&gt;
|Search&lt;br /&gt;
|-&lt;br /&gt;
|BlueSpiceWikiFarm&lt;br /&gt;
|&amp;lt;code&amp;gt;SimpleFarmerAPI&amp;lt;/code&amp;gt;&lt;br /&gt;
|Farm operations &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Clientside output of serverside logs ===&lt;br /&gt;
Can be enabled using [[mediawikiwiki:Manual:$wgDebugToolbar|$wgDebugToolbar]]&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$GLOBALS[&#039;wgDebugToolbar&#039;] = isset( $_GET[&#039;dodebugtoolbar&#039;] )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this setting you can append &amp;lt;code&amp;gt;?dodebugtoolbar=1&amp;lt;/code&amp;gt; to the URL in the addressbar of your browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:How to debug DebugToolbar1.png&lt;br /&gt;
File:How to debug DebugToolbar2.png&lt;br /&gt;
File:How to debug DebugToolbar3.png&lt;br /&gt;
File:How to debug DebugToolbar4.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Textbox|boxtype=important|header=Incompatible with &amp;lt;code&amp;gt;$bsgDebugLogGroups&amp;lt;/code&amp;gt;!|text=If you have any debug log channel wired via &amp;lt;code&amp;gt;$bsgDebugLogGroups&amp;lt;/code&amp;gt; the clientside debug toolbar will not show all information. Some panels may be empty.|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
== Client side debugging ==&lt;br /&gt;
Many errors occur only on the client and server side debugging will not help. In such cases the webbrowser can be used to retrieve more information.&lt;br /&gt;
&lt;br /&gt;
=== Browser development tools ===&lt;br /&gt;
Most modern browsers have sophisticated development tools. Usually they can be accessed by pressing the &amp;lt;code&amp;gt;F12&amp;lt;/code&amp;gt; key on the keyboard. &lt;br /&gt;
&lt;br /&gt;
==== JavaScript console ====&lt;br /&gt;
When some interface element (button, dialog, ...) does not behave like it should, it is usually worth checking the browsers JavaScript console.&lt;br /&gt;
&lt;br /&gt;
{{Textbox|boxtype=tip|header=Nothing listed?|text=Sometimes it may be required to re-do the action that lead to the error with &#039;&#039;open console&#039;&#039; rather than opening it later.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:How_to_debug_JS_console_01.png|center|frame]]&lt;br /&gt;
&lt;br /&gt;
One can click the link on the right side of the line to see the location of where the error has emerged from.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:How_to_debug_JS_console_02.png|center|frame]]&lt;br /&gt;
&lt;br /&gt;
====Network panel====&lt;br /&gt;
Sometimes network communication in the background of the application fails. In such cases, the &amp;quot;Network&amp;quot; panel of the browsers developer tools may reveal more information.&lt;br /&gt;
&lt;br /&gt;
The error is also shown in the &amp;quot;Console&amp;quot; tab.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:How_to_debug_Network_panel_01.png|center|frame]]&lt;br /&gt;
&lt;br /&gt;
When in the &amp;quot;Network&amp;quot; panel, one can select the faulty request from the list to get more information.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:How_to_debug_Network_panel_02.png|center|frame]]&lt;br /&gt;
&lt;br /&gt;
The various tabs &amp;quot;Header&amp;quot;, &amp;quot;Payload&amp;quot;, &amp;quot;Response&amp;quot;, etc. can provide useful information.  When reporting such an issue, you can just &amp;quot;copy&amp;quot; the information using the context menu.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:How_to_debug_Network_panel_03.png|center|frame]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar4.png&amp;diff=8656</id>
		<title>File:How to debug DebugToolbar4.png</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar4.png&amp;diff=8656"/>
		<updated>2024-05-02T08:10:01Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar3.png&amp;diff=8655</id>
		<title>File:How to debug DebugToolbar3.png</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar3.png&amp;diff=8655"/>
		<updated>2024-05-02T08:09:22Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar2.png&amp;diff=8654</id>
		<title>File:How to debug DebugToolbar2.png</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar2.png&amp;diff=8654"/>
		<updated>2024-05-02T08:08:29Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar1.png&amp;diff=8653</id>
		<title>File:How to debug DebugToolbar1.png</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=File:How_to_debug_DebugToolbar1.png&amp;diff=8653"/>
		<updated>2024-05-02T08:07:48Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=8462</id>
		<title>Archive:Setup:Installation Guide/With Installer</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=8462"/>
		<updated>2024-03-21T08:32:02Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download installation package ==&lt;br /&gt;
{{DISPLAYTITLE:Installation BlueSpice 4 with Installer}}&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=neutral|icon=yes|Note text=[https://bluespice.com/download/ Download the installation package]  from the bluespice.com website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Store the installation package in a web root of your choice (see our [[Setup:Installation_Guide/Advanced/Folder_structure_under_Windows|folder structure recommendations]] for Windows installations), where you can access it via your browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that [[Setup:Installation_Guide/Security_Settings/File_System_Permissions|file system permissions]] are set up properly.|bgcolor=}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
BlueSpice 4 is installed  as a complete package with MediaWiki 1.39 and BlueSpice 4.&lt;br /&gt;
This installation guide gives you step-by-step instructions to install BlueSpice.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=If you do a fresh install of BlueSpice 4, it might be necessary to run update.php afterwards if you get an error.|bgcolor=|icon=}}This document only describes the steps for installing the web application itself. For the installation of extended functions such as [[Setup:Installation_Guide/Advanced/VisualEditor_Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]], please refer to the corresponding documentation.&lt;br /&gt;
&lt;br /&gt;
We will not go into details about your operating system installation here, but assume that you have already checked the [[Setup:Installation_Guide#Prerequesites|system requirements]] and your server configuration.  You can find more details in our detailed [[Setup:Installation Guide|installation guide]].&lt;br /&gt;
&lt;br /&gt;
Further help on optimizing the operating system can be found in our [[Setup:Installation Guide/Advanced|compendium]].&lt;br /&gt;
==Step-by-step installation==&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=If you also install the paid extension &amp;quot;BlueSpiceWikiFarm&amp;quot;, make sure that the codebase is not located directly in the DocumentRoot of your web server or VirtualHost - it must be located in the /w subfolder!&lt;br /&gt;
|bgcolor=}}{{Messagebox|boxtype=note|icon=no|Note text=If Error  &amp;quot;Fatal exception of type MWException&amp;quot; shows up, you need to check the rights of your Bluespice Folder and give it reading- and writing permissions. If there is still a error you need to add &amp;quot;$wgShowExceptionDetails = true&amp;quot; to your localsettings.php file and reload your URL to get preciser information of your error.|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
First use your browser to call up the URL under which the web application can be reached. Then complete the following steps: &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:1.png|alt=MediaWiki setup page php error|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 1:  Start the installation setup&#039;&#039;&#039;&lt;br /&gt;
First, open the URL of your web application in your browser. Then click on &amp;quot;set up the wiki&amp;quot; to start the installation. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t meet all necessary requirements for PHP yet, you won&#039;t be able to view this setup page yet. Please make the necessary corrections to your PHP installation first. Otherwise, you are now on the page shown in the screenshot (click on the thumbnail to see the full screenshot).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:2.png|alt=Select language|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 2: Select your language&#039;&#039;&#039;&lt;br /&gt;
You are now in the language selection.&lt;br /&gt;
&amp;quot;Your language&amp;quot; defines the language that guides you through the installer,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wiki language&amp;quot; the later language settings of your wiki.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:3.png|alt=Installation check|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 3:  MediaWiki installation check&#039;&#039;&#039;&lt;br /&gt;
This step takes you to the MediaWiki installation check. &lt;br /&gt;
Please read this check carefully, as possible hints may not block the installation itself, but may lead to restrictions of the wiki functionality in practice.&lt;br /&gt;
Make the necessary corrections to your system and reload the page in your browser before proceeding with the setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:4.png|alt=Database connection|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 4: Establish the database connection&#039;&#039;&#039;&lt;br /&gt;
In this step, you configure the database connection. &lt;br /&gt;
Here you can either specify the root user of your MySQL server and in the following step have the installer create an additional user who only has access to the BlueSpice database. The database will also be created automatically if it does not yet exist. &lt;br /&gt;
Or, alternatively, you can create a user and a database in advance and directly enter this information here. You can find information on the manual creation of users and databases in the [[mediawikiwiki:Manual:Installing_MediaWiki#MariaDB/MySQL|official Mediawiki documentation]].&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:5.png|alt=Database user|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 5: Create the BlueSpice database user&#039;&#039;&#039;&lt;br /&gt;
Depending on the procedure you followed in the previous step, you can now define an exclusive user for your BlueSpice database. If you have already created the user explicitly for the database in advance, leave the check mark at &amp;quot;Use the same database account as during the installation process&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:6.png|alt=Wiki name and admin account|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 6: Create your wiki name and administrator account&#039;&#039;&#039;&lt;br /&gt;
Enter the name for your wiki. This name is displayed in the title bar of your browser and in various other places such as in notification mails.&lt;br /&gt;
Pay extra attention to the correct spelling, because this name can afterwards only be changed  with a certain effort and certain risks. Next, enter the username, password and e-mail address of the first wiki administrator. The administrator account is then created by the wiki during setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:7.png|alt=Email options|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 7: Options&#039;&#039;&#039;&lt;br /&gt;
In this step, you specify the e-mail address for  notification e-mails.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:8.png|alt=|thumb]]&lt;br /&gt;
||&#039;&#039;&#039;Step 8: Installation&#039;&#039;&#039;&lt;br /&gt;
This step announces the installation of the wiki. If you don&#039;t need to make any changes to the previous steps, click &amp;quot;Next&amp;quot; to start the installation process.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:9.png|alt=Installation status|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 9: Installation status&#039;&#039;&#039;&lt;br /&gt;
After the successful installation of BlueSpice, you  see a confirmation page that you confirm with &amp;quot;Next&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:10.png|alt=Download localsettings.php|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 10: Download LocalSettings.php&#039;&#039;&#039;&lt;br /&gt;
In the last step of the installation, you will be asked to download the configuration file &amp;quot;LocalSettings.php&amp;quot; of your installation. Download it and place it in the root directory of your BlueSpice codebase.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&#039;&#039;&#039;Step 11: Rename the template folders&#039;&#039;&#039;&lt;br /&gt;
#Open the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;\extensions\BluesSpiceFoundation&amp;lt;/code&amp;gt; and rename the subfolder &amp;lt;code&amp;gt;config.template&amp;lt;/code&amp;gt;  to &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; and create the new folder &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt;.   &amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;These folders should have read and write access, see  [[Setup:Installation Guide/Security Settings/File System Permissions|File System Permissions]].  &amp;lt;br /&amp;gt;&amp;lt;span class=&amp;quot;col-purple&amp;quot;&amp;gt;Note: Since BlueSpice 4.3.0, &amp;lt;code&amp;gt;config.template&amp;lt;/code&amp;gt; directory no longer exists, so step of renaming it should be skipped&amp;lt;/span&amp;gt;&lt;br /&gt;
#Run  &amp;lt;code&amp;gt;php &amp;lt;installpath-bluespic&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;e&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;\maintenance\update.php&amp;lt;/code&amp;gt; from the console.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:11.png|alt=BlueSpice start page|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 12: Load the BlueSpice welcome page&#039;&#039;&#039;&lt;br /&gt;
If you now access the URL you specified for BlueSpice, you now see the BlueSpice welcome page. You can start using BlueSpice immediately.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BlueSpice WikiFarm==&lt;br /&gt;
If you are installing &#039;&#039;&#039;BlueSpice WikiFarm,&#039;&#039;&#039; follow these [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|instructions.]] If not, skip to [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|Next steps.]]&lt;br /&gt;
&lt;br /&gt;
Now open a command line and change to the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Run the following command:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance/update.php&amp;lt;/code&amp;gt; &#039;&#039;(Linux)&#039;&#039;&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance\update.php&amp;lt;/code&amp;gt; &#039;&#039;(Windows)&#039;&#039;&lt;br /&gt;
==Next steps==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page is not loading, give the group &amp;quot;users&amp;quot; change-permissions for the folder C:\Windows\Temp.}}&lt;br /&gt;
For security reasons, it is recommended to prevent access to the path &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; after the installation. This can be implemented as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Linux=&lt;br /&gt;
In Apache, add the following entry to the file &amp;lt;code&amp;gt;000-bluespice.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;Directory /var/www/bluespice/w/mw-config&amp;gt;&lt;br /&gt;
        Require all denied&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Windows=&lt;br /&gt;
In IIS, create a file &amp;lt;code&amp;gt;web.config&amp;lt;/code&amp;gt; in the sub-directory &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; with the following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.webServer&amp;gt;&lt;br /&gt;
        &amp;lt;security&amp;gt;&lt;br /&gt;
            &amp;lt;authentication&amp;gt;&lt;br /&gt;
                &amp;lt;anonymousAuthentication enabled=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
            &amp;lt;/authentication&amp;gt;&lt;br /&gt;
        &amp;lt;/security&amp;gt;&lt;br /&gt;
    &amp;lt;/system.webServer&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;headertabs /&amp;gt;&amp;lt;notabtoc/&amp;gt;&lt;br /&gt;
Please note that this entry may have to be removed temporarily if the web installer is used to update the application.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=As next step, you can configure [[Setup:Installation Guide/Advanced/VisualEditor Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]].}}&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Installation von BlueSpice]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=8440</id>
		<title>Archive:Setup:Installation Guide/Advanced/Backup</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=8440"/>
		<updated>2024-03-07T07:31:51Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Manual backup ===&lt;br /&gt;
&lt;br /&gt;
==== Backup of the database ====&lt;br /&gt;
To back up your database, use the native program &amp;lt;code&amp;gt;mysqldump&amp;lt;/code&amp;gt; of MySQL/MariaDB: Open a console, switch to the directory &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt; and backup your database with the following command:&lt;br /&gt;
 mysqldump -u &amp;lt;username&amp;gt; -p --lock-tables &amp;lt;database&amp;gt; &amp;gt; database.sql&lt;br /&gt;
For &amp;lt;code&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt; , use the administrative database user, and for &amp;lt;code&amp;gt;&amp;lt;database&amp;gt;&amp;lt;/code&amp;gt; , use the database of your MediaWiki/BlueSpice installation. &lt;br /&gt;
&lt;br /&gt;
{{Textbox|boxtype=important|header=|text=On Windows, make sure that your environment variables are set correctly, so that you can access the command &amp;lt;code&amp;gt;mysqldump&amp;lt;/code&amp;gt;.|icon=yes}}&lt;br /&gt;
&lt;br /&gt;
==== Backup of the file system ====&lt;br /&gt;
Back up the complete directory &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;, which now also includes the database image, to a different location on your server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For security reasons, immediately delete the file&amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;/database.sql&amp;lt;/code&amp;gt;, since it can be accessed from the browser.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Using the &amp;lt;code&amp;gt;mediawiki-adm&amp;lt;/code&amp;gt; tool ===&lt;br /&gt;
To eas backup and restore one can also use the &amp;lt;code&amp;gt;mediawiki-adm&amp;lt;/code&amp;gt; tool. It can be downloaded here: https://github.com/hallowelt/misc-mediawiki-adm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example usage:&#039;&#039;&#039;&lt;br /&gt;
 mediawiki-adm wiki-backup \&lt;br /&gt;
     --mediawiki-root &amp;lt;installpath-bluespice&amp;gt; \&lt;br /&gt;
     --dest /mnt/backup/&lt;br /&gt;
The tool will leave out all unnecessary data (like temporary files and cache database tables)and produce much smaller backup files that the manual method described above. It also allows to create versioned backups.&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Webservices/Mathoid&amp;diff=8055</id>
		<title>Archive:Setup:Installation Guide/Webservices/Mathoid</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Webservices/Mathoid&amp;diff=8055"/>
		<updated>2024-01-10T15:28:45Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mathoid is a nodjs service which takes various forms of math input and converts it to MathML + SVG or PNG output.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|icon=|Note text=Beginning with BlueSpice 4.x,  Mathoid is no longer distributed and has to installed separately.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Download: &lt;br /&gt;
&lt;br /&gt;
 https://buildservice.bluespice.com/webservices/REL1_39-4.3.x/mathoid.tar.gz or https://buildservice.bluespice.com/webservices/REL1_39-4.3.x/mathoid.zip|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
If mathematical formulas are not rendered in your wiki, please check that  &amp;lt;code&amp;gt;extensions/Math/webservices/mathoid.tar.gz&amp;lt;/code&amp;gt; is deployed in the correct folder:&lt;br /&gt;
*Linux:   &amp;lt;code&amp;gt;/opt/mathoid&amp;lt;/code&amp;gt;&lt;br /&gt;
*Windows:  &amp;lt;code&amp;gt;C:\BlueSpice\bin\mathoid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Textbox&lt;br /&gt;
|boxtype=neutral&lt;br /&gt;
|header=PDF-Export integration&lt;br /&gt;
|text=The PDF-Export does not support SVGs at the moment. Therefore the SVG needs to be converted into a PNG when embedded into a PDF. This is done automatically, but requires &amp;lt;code&amp;gt;$wgSVGConverter&amp;lt;/code&amp;gt; to be set up properly. It is recommended to use &amp;lt;code&amp;gt;rsvg&amp;lt;/code&amp;gt; as a converter. On Debian based linux environments it can be installed with&lt;br /&gt;
&lt;br /&gt;
 apt install librsvg2-bin&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; file it must be configured with&lt;br /&gt;
&lt;br /&gt;
 $GLOBALS[&#039;wgSVGConverter&#039;] = &#039;rsvg&#039;;&lt;br /&gt;
|icon=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Next step ==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: rgb(37, 37, 37)&amp;quot;&amp;gt;If you have completed all steps successfully and want to install BlueSpice pro, proceed to the next step&amp;lt;/span&amp;gt; [[Setup:Installation Guide/System Preparation/Linux/PhantomJS|PhantomJS]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=7098</id>
		<title>Archive:Setup:Installation Guide/Advanced/Backup</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=7098"/>
		<updated>2023-08-03T15:15:12Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===Backup of the database===&lt;br /&gt;
To back up your database, use the native program &amp;quot;mysqldump&amp;quot; of MySQL/MariaDB: Open a console, switch to the directory &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt; and backup your database with the following command:&lt;br /&gt;
 mysqldump -u &amp;lt;username&amp;gt; -p --lock-tables &amp;lt;database&amp;gt; &amp;gt; database.sql&lt;br /&gt;
For &amp;lt;code&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt; , use the administrative database user, and for &amp;lt;code&amp;gt;&amp;lt;database&amp;gt;&amp;lt;/code&amp;gt; , use the database of your MediaWiki/BlueSpice installation. &lt;br /&gt;
{{Messagebox|boxtype=Hint|Note text=In Windows, make sure that your environment variables are set correctly, so that you can access the command &amp;quot;mysqldump&amp;quot;.}}&lt;br /&gt;
===Backup of the file system===&lt;br /&gt;
Back up the complete directory &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;, which now also includes the database image, to a different location on your server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For security reasons, immediately delete the file&amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;/database.sql&amp;lt;/code&amp;gt;, since it can be accessed from the browser.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Template:Messagebox&amp;diff=7097</id>
		<title>Template:Messagebox</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Template:Messagebox&amp;diff=7097"/>
		<updated>2023-08-03T15:14:55Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;templatestyles src=&amp;quot;Messagebox/styles.css&amp;quot; /&amp;gt;&amp;lt;div class=&amp;quot;hw-messagebox notification-{{{boxtype}}} {{#switch: {{{icon}}}|yes=icon|ja=icon}}&amp;quot;  {{#if:{{{bgcolor|}}}|style=&amp;quot;background:{{{bgcolor}}}&amp;quot;|}}&amp;gt;&amp;lt;span class=&amp;quot;boxlabel&amp;quot;&amp;gt;{{#switch: {{{boxtype}}} | note = Note: | Hinweis = Hinweis: | Hint = Hint: | tip = Tip: | Tipp = Tipp: | warning = Warning! | Warnung = Achtung! | example = Example: | Beispiel = Beispiel: | important = Important! | Wichtig = Wichtig! | neutral =  | Neutral = }}&amp;lt;/span&amp;gt;{{{Note text}}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Kopiervorlage:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Messagebox|boxtype = |Note text =| bgcolor =}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;Note text&amp;quot;: {&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;label&amp;quot;: {&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Text&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;boxtype&amp;quot;: {&lt;br /&gt;
			&amp;quot;example&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;note, tip, warning, important, example, neutral&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Hinweis, Tipp, Wichtig, Warnung, Beispiel, Neutral&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;Hint&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true,&lt;br /&gt;
			&amp;quot;label&amp;quot;: {&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Art von Box&amp;quot;,&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Type of box&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;description&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;note, tip, warning, important, example, neutral&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Hinweis, Tipp, Wichtig, Warnung, Beispiel, Neutral&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;bgcolor&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: {&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Hintergrundfarbe&amp;quot;,&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Background color&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;description&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Background color for neutral box in hex-format (#ececec)&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Hintergrundfarbe für neutrale Box in Hex-format (#ececec)&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;#ececec&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;icon&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Show icon&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Symbol anzeigen&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;description&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;Shows icon before the label&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;Zeigt ein passendes Symbol &amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;example&amp;quot;: {&lt;br /&gt;
				&amp;quot;en&amp;quot;: &amp;quot;yes, no&amp;quot;,&lt;br /&gt;
				&amp;quot;de&amp;quot;: &amp;quot;ja, nein&amp;quot;&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: {&lt;br /&gt;
		&amp;quot;de&amp;quot;: &amp;quot;Infobox für Hinweise, Warnungen, Tipps, etc.&amp;quot;,&lt;br /&gt;
		&amp;quot;en&amp;quot;: &amp;quot;Infobox for notes, warnings, tips, etc.&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;boxtype&amp;quot;,&lt;br /&gt;
		&amp;quot;icon&amp;quot;,&lt;br /&gt;
		&amp;quot;Note text&amp;quot;,&lt;br /&gt;
		&amp;quot;bgcolor&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=7096</id>
		<title>Archive:Setup:Installation Guide/Advanced/Backup</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=7096"/>
		<updated>2023-08-03T11:45:45Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===Backup of the database===&lt;br /&gt;
To back up your database, use the native program &amp;quot;mysqldump&amp;quot; of MySQL/MariaDB: Open a console, switch to the directory &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt; and backup your database with the following command:&lt;br /&gt;
 mysqldump -u &amp;lt;username&amp;gt; -p --lock-tables &amp;lt;database&amp;gt; &amp;gt; database.sql&lt;br /&gt;
For &amp;lt;code&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt; , use the administrative database user, and for &amp;lt;code&amp;gt;&amp;lt;database&amp;gt;&amp;lt;/code&amp;gt; , use the database of your MediaWiki/BlueSpice installation. &lt;br /&gt;
{{Messagebox|boxtype=Hinweis|Note text=In Windows, make sure that your environment variables are set correctly, so that you can access the command &amp;quot;mysqldump&amp;quot;.}}&lt;br /&gt;
===Backup of the file system===&lt;br /&gt;
Back up the complete directory &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;, which now also includes the database image, to a different location on your server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For security reasons, immediately delete the file&amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;/database.sql&amp;lt;/code&amp;gt;, since it can be accessed from the browser.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=7095</id>
		<title>Archive:Setup:Installation Guide/Advanced/Backup</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Advanced/Backup&amp;diff=7095"/>
		<updated>2023-08-03T11:41:36Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===&amp;lt;span class=&amp;quot;mw-headline&amp;quot; id=&amp;quot;Backup_der_Datenbank&amp;quot; style=&amp;quot;box-sizing: inherit;&amp;quot;&amp;gt;Backup of the database&amp;lt;/span&amp;gt;===&lt;br /&gt;
To back up your database, use the native program &amp;quot;mysqldump&amp;quot; of MySQL/MariaDB: Open a console, switch to the directory &amp;lt;code style=&amp;quot;box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);&amp;quot;&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt; and backup your database with the following command:&lt;br /&gt;
 mysqldump -u &amp;lt;username&amp;gt; -p --lock-tables &amp;lt;database&amp;gt; &amp;gt; database.sql&lt;br /&gt;
For &amp;lt;code style=&amp;quot;box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);&amp;quot;&amp;gt;&amp;lt;username&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;span&amp;gt;,&amp;lt;/span&amp;gt; use the administrative database user, and for &amp;lt;code style=&amp;quot;box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);&amp;quot;&amp;gt;&amp;lt;database&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;span&amp;gt;, use the database of your&amp;lt;/span&amp;gt; MediaWiki/BlueSpice installation. &lt;br /&gt;
{{Messagebox|boxtype=Hinweis|Note text=In Windows, make sure that your environment variables are set correctly, so that you can access the command &amp;quot;mysqldump&amp;quot;.}}&lt;br /&gt;
===&amp;lt;span class=&amp;quot;mw-headline&amp;quot; id=&amp;quot;Backup_des_Filesystems&amp;quot; style=&amp;quot;box-sizing: inherit;&amp;quot;&amp;gt;Backup of the file system&amp;lt;/span&amp;gt;===&lt;br /&gt;
Back up the complete directory &amp;lt;code style=&amp;quot;box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);&amp;quot;&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;, which now also includes the database image, to a different location on your server.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For security reasons, immediately delete the file&amp;lt;code style=&amp;quot;box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);&amp;quot;&amp;gt;&amp;lt;installpath-bluespice&amp;gt;/database.sql&amp;lt;/code&amp;gt;, since it can be accessed from the browser.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Advanced/Maintenance_scripts/CreatePDF&amp;diff=6256</id>
		<title>Setup:Installation Guide/Advanced/Maintenance scripts/CreatePDF</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Setup:Installation_Guide/Advanced/Maintenance_scripts/CreatePDF&amp;diff=6256"/>
		<updated>2023-06-14T12:00:11Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Running the script ==&lt;br /&gt;
The script to export wiki pages to PDF is executed from: &amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
php {MW_ROOT}/extensions/BlueSpiceUniversalExport/maintenance/export.php --specification-file=spec.json&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The specification file &amp;lt;code&amp;gt;spec.json&amp;lt;/code&amp;gt; can have the following content:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;module&amp;quot;: &amp;quot;pdf&amp;quot;,&lt;br /&gt;
    &amp;quot;attachments&amp;quot;: 1,&lt;br /&gt;
    &amp;quot;recursive&amp;quot;: 1,&lt;br /&gt;
    &amp;quot;title&amp;quot;: &amp;quot;MyPDF&amp;quot;,&lt;br /&gt;
    &amp;quot;target&amp;quot;: &amp;quot;localfilesystem&amp;quot;,&lt;br /&gt;
    &amp;quot;target-file-name&amp;quot;: &amp;quot;All.pdf&amp;quot;,&lt;br /&gt;
    &amp;quot;target-file-path&amp;quot;: &amp;quot;/path/to/target-file&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; |Key&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; |Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |module&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |pdf&lt;br /&gt;
|Output type&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |attachments&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |1&lt;br /&gt;
0&lt;br /&gt;
|Attachments will be included in the export&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |recursive&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |1&lt;br /&gt;
0&lt;br /&gt;
|Linked pages (one level deep) will be included.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |title&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |string&lt;br /&gt;
|Title of the wiki page that contains the list of pages to be exported. &#039;&#039;&#039;The pages need to be links.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |target&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |localfilesystem&lt;br /&gt;
|The file will be exported to a local file system.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |target-file-name&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |&lt;br /&gt;
|Name of the exported PDF file&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |target-file-path&lt;br /&gt;
| style=&amp;quot;width:200px;&amp;quot; |&lt;br /&gt;
|Target file location&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Creating a page list for the export ==&lt;br /&gt;
The export list is defined in the wiki page that is shown as the &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; in the json-file. (In the example above, this is the page &amp;lt;code&amp;gt;MyPDF&amp;lt;/code&amp;gt; .)&lt;br /&gt;
&lt;br /&gt;
The page &amp;lt;code&amp;gt;MyPDF&amp;lt;/code&amp;gt; now needs to list all pages  that will be exported to PDF. &lt;br /&gt;
&lt;br /&gt;
This list can be created with an [[SMW queries|SMW inline query]] (BlueSpice free) or with a [[Manual:Extension/DynamicPageList3|DPL3 list]] (BlueSpice free).&lt;br /&gt;
Example of an SMW query to create an export for all pages in the categories &amp;lt;code&amp;gt;Process&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Work instruction&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
You would add the following to your &amp;lt;code&amp;gt;MyPDF&amp;lt;/code&amp;gt; page in the wiki:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
==All processes==&lt;br /&gt;
{{#ask:[[Process:+]]|format=ul|limit=99999}}&lt;br /&gt;
&lt;br /&gt;
==All work instructions==&lt;br /&gt;
{{#ask:[[Work instruction:+]]|format=ul|limit=99999}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The same list can be created with the following DPL3 syntax:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
==All processes==&lt;br /&gt;
{{#dpl:category=Process}}&lt;br /&gt;
&lt;br /&gt;
==All work instructions==&lt;br /&gt;
{{#dpl:category=Work instruction}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting up a CronJob ==&lt;br /&gt;
To automate the export, the following CronJob is available:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
php {MW_ROOT}/extensions/BlueSpiceUniversalExport/maintenance/export.php --specification-file={MW_ROOT}/extensions/BlueSpiceFoundation/data/spec.json&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
__FORCETOC__&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/BlueSpiceConfigManager&amp;diff=6255</id>
		<title>Manual:Extension/BlueSpiceConfigManager</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/BlueSpiceConfigManager&amp;diff=6255"/>
		<updated>2023-06-14T11:55:13Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;bookshelf src=&amp;quot;Book:Admin manual&amp;quot; /&amp;gt;&lt;br /&gt;
{{DISPLAYTITLE:Config manager}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
With the Config manager, a wiki user with &#039;&#039;sysop&#039;&#039; rights can manage wiki-wide settings in one place. In the [[Manual:Extension/BlueSpiceDiscovery/Main navigation|navigation]], it is located at &#039;&#039;Global navigation &amp;gt; Management &amp;gt; Configuration&#039;&#039;.  This link loads the page &#039;&#039;Special:BluespiceConfigManager.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
&lt;br /&gt;
===Filter options===&lt;br /&gt;
All settings can be accessed through the following filter options:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Feature:&#039;&#039;&#039; group by type of functionality the setting belongs to (search, administration...)&lt;br /&gt;
*&#039;&#039;&#039;Extension:&#039;&#039;&#039; group by extension name&lt;br /&gt;
*&#039;&#039;&#039;Package:&#039;&#039;&#039; group by BlueSpice edition and services (BlueSpice free, BlueSpice pro, Matomo)&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Manual:ConfigManager2a.png|alt=config manager filters|center|thumb|401x401px|config manager filter]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All settings are available in any type of grouping. Changing the grouping type does not add or remove setting options. It just groups them differently. After settings are adjusted, they can be saved by clicking &#039;&#039;Save&#039;&#039;, or cancelled by clicking &#039;&#039;Reset&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If a server administrator has configured a setting to no longer be writable, it will be shown as greyed-out in the config manager. You will have to talk to your server administrator about changing such a setting.}}&lt;br /&gt;
&lt;br /&gt;
===Searching for settings===&lt;br /&gt;
A search bar is located above the list of settings. Type in a keyword such as &amp;quot;logo&amp;quot; to find the corresponding setting. The search returns settings regardless of the currently selected group. {{Messagebox|boxtype=note|Note text=The search field has to be empty if you want to see the filter menu instead of the search.}}&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Manual:configmanager-search.png|alt=Config manager search box|center|thumb|400x400px|Config manager search box]]&lt;br /&gt;
&lt;br /&gt;
==Settings by extension==&lt;br /&gt;
&lt;br /&gt;
=== EventBus ===&lt;br /&gt;
Eventbus sends notifications to external urls in case something happens in the wiki. For example, if a page is created, an external service could then be started and create a pdf of that page. See the extension&#039;s page on [[mediawikiwiki:Extension:EventBus|mediawiki.org]].&lt;br /&gt;
&lt;br /&gt;
=== EnhancedUpload {{Bsvs|bsvFrom=4.3|bsvTo=|bsvFeature=}} ===&lt;br /&gt;
Sets the defaults for the [[Manual:Extension/VisualEditor/Insert images#Advanced settings|advanced image settings]] when uploading and embedding an image into the wiki via drag-and-drop functionality. The default settings determine the orientation, type, and size of the image. These can be adjusted after embedding via the &amp;quot;Advanced settings&amp;quot; of the image on the page.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceFoundation===&lt;br /&gt;
&lt;br /&gt;
====Updating logo and favicon====&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=Since BlueSpice 4.2, the logo and favicon can also be managed via the page [[Manual:Extension/FlexiSkin|Special:Flexiskin]]  together with further skin customizations.|bgcolor=}}&lt;br /&gt;
*&#039;&#039;&#039;Logo path:&#039;&#039;&#039; The logo image should be stored in the /images folder of your installation. If you store it in the /skins folder of your BlueSpice installation, it could be overwritten with an upgrade.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To upload the logo directly in the wiki:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;Upload&#039;&#039;&#039; the logo on the page from the menu &#039;&#039;Global actions&#039;&#039; &amp;gt; &#039;&#039;File list&#039;&#039; (&#039;&#039;Special:ExtendedFilelist&#039;&#039;). &lt;br /&gt;
#&#039;&#039;&#039;Click&#039;&#039;&#039; on the thumbnail image of the logo. This opens the logo on a separate page.&amp;lt;br /&amp;gt;[[File:Manual:config-logo1.png|link=https://en.wiki.bluespice.com/wiki/File:Manual:config-logo1.png|alt=logo thumbnail image|center|thumb|280x280px|logo thumbnail image]]&lt;br /&gt;
#&#039;&#039;&#039;Copy&#039;&#039;&#039; the relative logo path from the address bar. In a typical Wiki configuration, this path starts with &#039;&#039;/w/....&#039;&#039; .&amp;lt;br /&amp;gt;[[File:Manual:config-logo2.png|alt=relative image path|center|thumb|450x450px|relative image path]]&lt;br /&gt;
#&#039;&#039;&#039;Paste&#039;&#039;&#039; the logo path into the text field for the logo.&amp;lt;br /&amp;gt;[[File:Manual:config-logo3.png|link=https://en.wiki.bluespice.com/wiki/File:Manual:config-logo3.png|alt=logo path|center|thumb|450x450px|logo path]]&lt;br /&gt;
#&#039;&#039;&#039;Click&#039;&#039;&#039; &#039;&#039;Save&#039;&#039;.&lt;br /&gt;
#&#039;&#039;&#039;Refresh&#039;&#039;&#039; the page (Strg+F5). &amp;lt;br /&amp;gt;If the uploaded logo is too large, you can add the following code snippet to the page &#039;&#039;MediaWiki:Common.css&#039;&#039;. This automatically adjusts the image to the height of the main toolbar:&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.bs-logo a {background-size: contain;}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Favicon path:&#039;&#039;&#039; The favicon image should be stored in the &#039;&#039;/images&#039;&#039; folder of your installation. If you store it in the /skins folder of your BlueSpice installation, it could be overwritten with an upgrade. [https://de.wikipedia.org/wiki/Favicon Favicon images] have the file extension &#039;&#039;.ico&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Allowed file extensions:&#039;&#039;&#039; For security reasons, the types of files that users can upload are restricted. Here, you can allow additional file formats. If a file format is blacklisted in the server configuration, adding this file extension here will not allow this file type to be uploaded. See [https://mediawikiwiki:Manual:$wgFileExtensions mediawiki.org/wiki/Manual:$wgFileExtensions] for more info.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Allowed image extensions:&#039;&#039;&#039; The standard web image types are listed here. In general, you want to restrict image uploads to web images. See [https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types] for more on browser-supported image types.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceArticleInfo===&lt;br /&gt;
&#039;&#039;BlueSpiceArticleInfo&#039;&#039;, together with &#039;&#039;[[Manual:Extension/BlueSpiceAuthors|BlueSpiceAuthors]], [[Manual:Extension/BlueSpiceReaders|BlueSpiceReaders]], and [[Manual:Extension/BlueSpiceExtendedSearch|BlueSpiceExtendedSearch]]&#039;&#039; is part of the &#039;&#039;Page information&#039;&#039; in the quality management tools.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Update interval in seconds:&#039;&#039;&#039; Sets the refresh rate for the &amp;quot;Last edit&amp;quot; value. By default, this date is updated every 10 seconds via JavaScript.&lt;br /&gt;
[[File:Manual:ArticleInfo.png|link=link=Special:FilePath/ArticleInfo3.jpg|alt=|center|thumb|374x374px|article info]]&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceAuthors===&lt;br /&gt;
&#039;&#039;BlueSpiceAuthors,&#039;&#039; together with &#039;&#039;[[Manual:Extension/BlueSpiceArticleInfo|BlueSpiceArticleInfo]]&#039;&#039; and &#039;&#039;BlueSpiceReaders&#039;&#039;, is part of the &#039;&#039;Page information&#039;&#039; in the quality management tools.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Display authors:&#039;&#039;&#039; Show or hide authors on the page information page.&lt;br /&gt;
[[File:Manual:PageInformation Authors.png|alt=|center|page=authors in page information|thumb|332x332px|Authors of page]]&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceAvatars===&lt;br /&gt;
[[File:Manual:configmanager-instantavatar.png|thumb|101x101px|InstantAvatar|link=Special:FilePath/Manual:configmanager-instantavatar.png]]&lt;br /&gt;
An avatar image is automatically generated if the user does not upload a profile picture or if the user decides to create an avatar image in the preferences.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Generator&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;InstantAvatar:&#039;&#039;&#039; Generates an avatar image based on using the initials of the Real name or the Username&lt;br /&gt;
**&#039;&#039;&#039;[[wikipedia:Identicon|Identicon:]]&#039;&#039;&#039; Generates an avatar image based on parts of the user&#039;s IP address.&amp;lt;br /&amp;gt;[[File:Manual:configmanager-identicon.png|alt=Identicon|center|thumb|500x500px|Identicon]]&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceBookshelf===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Show book chapter pager after content:&#039;&#039;&#039; Displays previous/next book page navigation at the end of each book page. (1)&lt;br /&gt;
*&#039;&#039;&#039;Show book chapter pager before content:&#039;&#039;&#039;  Displays previous/next book page navigation at the beginning of each book page. (2) &amp;lt;br /&amp;gt;[[File:Manual:book-pagenav.png|alt=Book navigation|center|thumb|450x450px|Book navigation ]]&amp;lt;br /&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Use the display title from book source on article:&#039;&#039;&#039; Shows the title from the book navigation as page title instead of the page name. &amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Manual:bookdisplaytitle.png|alt=book display title|center|thumb|450x450px|book display title]]&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page additionally contains a &amp;lt;nowiki&amp;gt;{{DISPLAYTITLE}}&amp;lt;/nowiki&amp;gt; tag, the display title of the page is shown instead of the book title.}}&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Prepend article table of contents and headlines with book numberation:&#039;&#039;&#039; The page TOC does not start with the main heading 1, but with the actual number from the book chapter (see screenshot). If users have activated in their [[Manual:Preferences#Advanced options|user preferences]] to &amp;quot;auto-number headings&amp;quot;, the numbering system is matched accordingly. [[File:prepand TOC with book chapter.png|alt=Prepended chapter numbers|center|thumb|650x650px|Prepended chapter numbers]]&lt;br /&gt;
*&#039;&#039;&#039;Supress namespace prefix of book articles in output:&#039;&#039;&#039; The namespace prefix of an article is not shown in PDFs.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceChecklist===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Mark checklist changes as minor edit:&#039;&#039;&#039; If this setting is active, changes to a checklist (for example, checking a checkbox) in view mode are logged as minor edits. If this setting is inactive, a change to the checklist is  recorded as a regular version in the page history.&amp;lt;br /&amp;gt;[[File:Manual:configmanager-checklistminoredit.png|alt=minor edit|center|thumb|550x550px|minor edit]]&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceExtendedSearch===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;External file paths&#039;&#039;&#039;: External locations to scan for and index files from. These locations are entered in key/value pairs of Physical path and URL prefix.&lt;br /&gt;
**&#039;&#039;Physical path: S&#039;&#039;torage path. For mounted drives, for example: &#039;&#039;X:\Documents&#039;&#039;&lt;br /&gt;
**&#039;&#039;URL prefix:&#039;&#039; All files indexed from the indexed physical location are prefixed in the search results. It should be used if files are available from a web server. By default, the URL prefix is set to the same value as &#039;&#039;Physical path&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
|+Examples for external file paths&lt;br /&gt;
!Example file&lt;br /&gt;
!Phys. Path&lt;br /&gt;
!URL Prefix&lt;br /&gt;
!Link in results list&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |S:\Sales\Info\glossaryy.pdf&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |S:\&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;file:///S:/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;file:///S:/Sales/Info/glossary.pdf&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;8&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://sharepoint/Sales/&lt;br /&gt;
documents/&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;9&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://sharepoint/Sales/&lt;br /&gt;
documents/Sales/Info/glossary.pdf&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;10&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://intranet/showdocs&lt;br /&gt;
inline.aspx?path=&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;11&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://intranet/showdocsinline.aspx?&lt;br /&gt;
path=/Sales/Info/glossary.pdf&lt;br /&gt;
|-&lt;br /&gt;
|/var/www/bluespice/w/mounted_&lt;br /&gt;
share/Sales/Info/glossary.pdf&lt;br /&gt;
|/var/www/bluespice/w/&lt;br /&gt;
mounted_share/&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;12&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://wiki.company.local/w/mounted_&lt;br /&gt;
share/Sales/Info/glossary.pdf&lt;br /&gt;
|}&lt;br /&gt;
[[File:Manual:configmanager-addfilepath.png|alt=Add an external file path|center|thumb|650x650px|Add an external file path: (1) confirm the checkmark and  (2) save the settings.]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Use simple autocomplete:&#039;&#039;&#039; forces a more compact autocomplete (1-column Sales thumbnail preview).&amp;lt;br /&amp;gt;[[File:Manual:configuration-autocomplete-simple.1575886540740.png|alt=compact autocomplete|center|thumb|450x450px|compact autocomplete]][[File:Manual:configuration-autocomplete-regular.1575886496796.png|alt=regular autocomplete|center|thumb|450x450px|Salesautocompletey]]&amp;lt;br /&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Automatically set language filter&#039;&#039;&#039;: This setting applies to multi-languages. It returns search results for a user only in the user&#039;s language. Users can set their language in their [[Manual:Preferences|preferences]].&lt;br /&gt;
*&#039;&#039;&#039;Exclude patterns:&#039;&#039;&#039; Files at external file locations can be exluded from search based on regular expression patterns.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceExtendedStatistics===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exclude these users:&#039;&#039;&#039; Some user groups, like WikiSysop can skew the statistics, for example the statistics for search queries or because they complete automated maintenance tasks. These types of user groups can be excluded from the statistical results.&lt;br /&gt;
*&#039;&#039;&#039;Maximum number of interval steps:&#039;&#039;&#039; Sets the size of the x-axis for the results. For a few days, select the interval &#039;&#039;Day&#039;&#039; or &#039;&#039;Calendar Week&#039;&#039;, for periods over one year, select &#039;&#039;Year&#039;&#039; or &#039;&#039;Month&#039;&#039;. If you do not get any results for your query, try to adjust the interval accordingly.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceInsertCategory===&lt;br /&gt;
&lt;br /&gt;
*Insert category with its parent categories&lt;br /&gt;
*Preset categories of a page in the upload dialog&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceInsertLink===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Allow unmapped links&amp;lt;span class=&amp;quot;col-red&amp;quot;&amp;gt;:&amp;lt;/span&amp;gt;&#039;&#039;&#039;  if there is no prefix in the map, the link will still be inserted. Example: S:\HR. If this setting is unchecked, the link will not be inserted.&lt;br /&gt;
*&#039;&#039;&#039;Allowed locations for external files&#039;&#039;&#039;:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
!Example file&lt;br /&gt;
!Filesystem prefix&lt;br /&gt;
!Web accessible Prefix&lt;br /&gt;
!Link output&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |S:\Sales\Info\glossaryy.pdf&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |S:\&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;file:///S:/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;file:///S:/Sales/Info/glossary.pdf&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;8&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://sharepoint/Sales/&lt;br /&gt;
documents/&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;9&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://sharepoint/Sales/&lt;br /&gt;
documents/Sales/Info/glossary.pdf&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;10&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://intranet/showdocs&lt;br /&gt;
inline.aspx?path=&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;11&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://intranet/showdocsinline.aspx?&lt;br /&gt;
path=/Sales/Info/glossary.pdf&lt;br /&gt;
|-&lt;br /&gt;
|/var/www/bluespice/w/mounted_&lt;br /&gt;
share/Sales/Info/glossary.pdf&lt;br /&gt;
|/var/www/bluespice/w/&lt;br /&gt;
mounted_share/&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;span class=&amp;quot;mw-lingo-term&amp;quot; data-lingo-term-id=&amp;quot;5e056c500a1c4b6a7110b50d807bade5&amp;quot; data-hasqtip=&amp;quot;12&amp;quot;&amp;gt;https&amp;lt;/span&amp;gt;://wiki.company.local/w/mounted_&lt;br /&gt;
share/Sales/Info/glossary.pdf&lt;br /&gt;
|}&lt;br /&gt;
===BlueSpicePageTemplates===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Force target namespace:&#039;&#039;&#039; The page is always created in the target namespace that is associated with the template, even if the user provided a different namespace prefix. In the screenshot below, the user wants to create the page &amp;quot;NewPage&amp;quot; and then selects a template for the QM namespace. The page is, therefore, created as &amp;quot;QM:NewPage&amp;quot; if this setting is activated. [[File:force namespace from template.png|alt=force the namespace of the template|center|thumb|650x650px|force the namespace of the template]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hide default templates:&#039;&#039;&#039; Hides the default &#039;&#039;Empty page&#039;&#039; template.&lt;br /&gt;
*&#039;&#039;&#039;Hide template if the page is not to be created in the target namespace:&#039;&#039;&#039; Depending on the namespace prefix of the page to be created, templates that are associated with other namespaces will not be shown to the user for selection.&lt;br /&gt;
&lt;br /&gt;
===BlueSpicePermissionManager===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Backup limit:&#039;&#039;&#039; Sets the number of backups for the permissions manager. Each time the page &#039;&#039;Special:PermissionManager&#039;&#039; is saved, a backup is created. If the backup limit is set to 5, the last five versions of the permissions configuration are saved as backups.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceRSSFeeder===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;URL whitelist:&#039;&#039;&#039; RSS feeds need to be whitelisted here by an administrator before they can be displayed in a wiki page.&lt;br /&gt;
*&#039;&#039;&#039;Maximum number of allowed redirects:&#039;&#039;&#039; If there are URL redirects for any of the whitelisted URLs, the number of redirects needs to be adjusted (usually to 1 or 2).&lt;br /&gt;
&lt;br /&gt;
[[File:Manual:configmanager-RSS.png|alt=RSS Feed settings|center|thumb|450x450px|RSS Feed settings]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
===BlueSpiceReaders ===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Number of readers to display:&#039;&#039;&#039; Sets the number of readers that are displayed on the Page information in the Quality management tools. &amp;lt;br /&amp;gt;[[File:Manual:PageInformation Reader.png|link=link=Special:FilePath/Manual:configmanager-readers.png|alt=displays readers of the page|center|page=readers|thumb|displays readers of the page]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== BlueSpiceSaferEdit===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Interval for lookup for concurrent editings:&#039;&#039;&#039; Sets the time in seconds for checking if another person is editing the page.&lt;br /&gt;
*&#039;&#039;&#039;Show name of current editor:&#039;&#039;&#039; Shows or hides the name of the user who is currently editing the page.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceUEModuleBookPDF===&lt;br /&gt;
&lt;br /&gt;
* Table of Contents&lt;br /&gt;
**&#039;&#039;Only article titles (indent by grade):&#039;&#039; Only shows the article titles in the main contents table of the PDF.&amp;lt;br /&amp;gt;[[File:Manual:configmanager-toc-simple.png|alt=PDF table of contents without article TOCs|center|thumb|450x450px|PDF table of contents without article TOCs]]&amp;lt;br /&amp;gt;&lt;br /&gt;
**&#039;&#039;Embed article TOCs (No indent of article titles):&#039;&#039; Shows the table of contents for each article in the main contents table of the PDF.[[File:Manual:configmanager-toc-embed.png|alt=Embed article TOCs|center|thumb|450x450px|Embed article TOCs]]&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceUEModuleHTML===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hide namespace prefix in HTML:&#039;&#039;&#039; If activated, the namespace is shown in the HTML main heading.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page contains a &amp;quot;displaytitle&amp;quot; tag in the page source, the page display title is shown and this setting has no effect.}}&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceUEModulePDF===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Hide namespace prefix in PDF:&#039;&#039;&#039; If activated, the namespace is shown in the PDF main heading for a page.&lt;br /&gt;
&lt;br /&gt;
[[File:Manual:configmanager-pdfhidenamespace.png|alt=namespace in heading|center|thumb|450x450px|namespace in heading]]&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page contains a &amp;quot;displaytitle&amp;quot; tag in the page source, the page display title is shown and this setting has no effect.}}&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceUniversalExport===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Metadata (standard, JSON):&#039;&#039;&#039;&amp;lt;/span&amp;gt;  Additional data to be passed to the rendering template in JSON format. This data can be used in the export template. The template itself is maintened server-side.&lt;br /&gt;
*&#039;&#039;&#039;Metadata (override, JSON)&#039;&#039;&#039;: Allows overriding standard data sent to the rendering template in JSON format. Values that are set by default can be overriden with this option.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceVisualEditorConnector===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span class=&amp;quot;col-red&amp;quot;&amp;gt;Enable VisualEditor for BlueSpice extensions&amp;lt;/span&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;Configuration variable to use a simplified save process&amp;lt;/span&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;Upload type&#039;&#039;&#039;&lt;br /&gt;
**Original (Here a confirmation of the rights of use/upload is obtained, file name and namespace of the file can be changed, a category can be assigned and a description of the file &amp;lt;span class=&amp;quot;col-red&amp;quot;&amp;gt;MUST&amp;lt;/span&amp;gt; be given).&lt;br /&gt;
**Simple (No confirmation of required rights is obtained here, the name and namespace of the file can be changed, a description and a category can be assigned, but does not have to be specified)&lt;br /&gt;
**One click (No confirmation about required rights is obtained here, the image cannot be renamed and no category can be assigned. Only the namespace can, but does not have to be adjusted before uploading)  &amp;lt;!-- verify what one-click means, since the next screens appear. --&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceWhoIsOnline===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Time in seconds until a user is marked as offline:&#039;&#039;&#039;&amp;lt;/span&amp;gt; The system checks every &#039;&#039;x&#039;&#039; seconds if a user logged out and no longer displayed as online. This can  be less frequent than the update inteval for newly logged-in users.&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Update interval in seconds:&#039;&#039;&#039;&amp;lt;/span&amp;gt; The system checks every &#039;&#039;x&#039;&#039; seconds for users.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceExpiry===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;Show watermark for expired pages in PDF&amp;lt;/span&amp;gt;:&#039;&#039;&#039;  Shows the watermark for expired pages in PDFs.&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Show watermark for expired pages in print version:&#039;&#039;&#039; Shows the watermark for expired pages when a page is printed.&amp;lt;/span&amp;gt;&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Show watermark for expired pages&#039;&#039;&#039;&amp;lt;/span&amp;gt;: Shows a watermark on the page itself.&amp;lt;br /&amp;gt;[[File:Manual:configmanager-watermark.png|alt=watermark|center|thumb|250x250px|watermark]]&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceFlaggedRevsConnector===&lt;br /&gt;
{{BSVersion|bsvFrom=|bsvTo=4.2|bsvFeature=BlueSpiceFlaggedRevsConnector|text=It is replaced by [[#Content Stabilization]].}}&lt;br /&gt;
&#039;&#039;&#039;Export&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The export settings affect how the pages of a book are generated in the PDF export.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;Bookshelf: List approved revisions log&amp;lt;/span&amp;gt;:&#039;&#039;&#039; Shows a log of stable page versions of pages in the PDF and when these pages were put into accepted status. If editors did not provide a comment when accepting the page, the &#039;&#039;Stable comment&#039;&#039; field for a revision is empty. &amp;lt;br /&amp;gt;[[File:Manual:configmanager-bookshelf-revisionslog.png|alt=accepted revisions log|center|thumb|450x450px|accepted revisions log]]&amp;lt;br /&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Bookshelf: List pages without stable revision:&#039;&#039;&#039; Displays a list of PDF pages at the beginning of the PDF that only exist as a first draft and have no released version.[[File:configmanager-book-nichtfreigegebeneseiten-EN.png|center|thumb|300x300px|Pages without acceptance feature|link=Special:FilePath/configmanager-book-nichtfreigegebeneseiten-EN.png]]&amp;lt;br /&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;Bookshelf: List pages without FlaggedRevs:&#039;&#039;&#039; Displays a list of PDF pages that do not have a release mechanism at the beginning of the PDF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Manual:configmanager-book-listnoflaggedrev.png|alt=Pages with no FlaggedRevs feature.|center|thumb|260x260px|Pages with no FlaggedRevs feature.]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;UEModulePDF: Show FlaggedRevs info below main heading&#039;&#039;&#039;&amp;lt;/span&amp;gt;: Prints the latest revision dates (last acceptance and last edit date) below the heading. &amp;lt;br /&amp;gt;[[File:Manual:configmanager-bookshelf-flaggedrevsinfo.png|alt=FlaggedRevs info below heading|center|thumb|350x350px|FlaggedRevs info below heading]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quality assurance&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Include handling:&#039;&#039;&#039; If resources are embedded in a page and those resources are located in namespaces with approval mechanism, then the following settings can be selected. For example: If an approved page contains a template or a file that has been changed after the page itself has been approved, the page will not get another draft version, but instead one of two configurations applies:&lt;br /&gt;
**Current versions: Always show the latest version of the embedded resource.&lt;br /&gt;
**Stable versions: Always show the stable (=approved) version of a resource. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Show unstable pages for following groups:&#039;&#039;&#039;&amp;lt;/span&amp;gt; If the group &#039;&#039;user&#039;&#039; is removed from the &#039;&#039;BlueSpiceFlaggedRevs&#039;&#039; configuration, users in this group will not be able to see draft versions when they are added as reviewers in a review process. When the group user is removed, only &#039;&#039;sysop&#039;&#039; and &#039;&#039;reviewer&#039;&#039; users can access drafts. If you want other groups, for example &#039;&#039;editor&#039;&#039;, to see draft versions, you need to add them to the configuration. If no user groups are specified in the configuration field, not even reviewers and sysops users will see a visual status indication of a page. They will have access to drafts through the revision history for the page instead.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Searching and Navigation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-header&amp;quot;&amp;gt;&#039;&#039;&#039;Indexing only stable versions:&#039;&#039;&#039; Draft versions are excluded from the search results. If a page does not have a stable version, it is not shown as a search result.&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-field&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;bsgFlaggedRevsConnectorUEModulePDFShowFRTag&amp;quot; class=&amp;quot;oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-checkboxInputWidget&amp;quot; aria-disabled=&amp;quot;false&amp;quot; data-ooui&amp;gt;&amp;lt;span class=&amp;quot;oo-ui-checkboxInputWidget-checkIcon oo-ui-widget oo-ui-widget-enabled oo-ui-iconElement oo-ui-iconElement-icon oo-ui-icon-check oo-ui-iconWidget oo-ui-image-invert&amp;quot; aria-disabled=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;oo-ui-fieldLayout-field&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;bsgFlaggedRevsConnectorUEModulePDFShowFRTag&amp;quot; class=&amp;quot;oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-checkboxInputWidget&amp;quot; aria-disabled=&amp;quot;false&amp;quot; data-ooui&amp;gt;&amp;lt;span class=&amp;quot;oo-ui-checkboxInputWidget-checkIcon oo-ui-widget oo-ui-widget-enabled oo-ui-iconElement oo-ui-iconElement-icon oo-ui-icon-check oo-ui-iconWidget oo-ui-image-invert&amp;quot; aria-disabled=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== BlueSpiceSocial ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Show entrypoint &amp;quot;Timeline&amp;quot;:&#039;&#039;&#039; Shows a link to the page &#039;&#039;Special:Timeline&#039;&#039; in the main navigation.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceSocialBlog===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Use teaser text for blog entries in the timeline:&#039;&#039;&#039; When you create a blog entry, you can create a teaser text for it by clicking the cogwheel symbol in the blog entry form. If this setting is active, the teaser text will be shown on the page &#039;&#039;Special:Timeline&#039;&#039; instead of the first part of the content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;[[File:Manual:configmanager-blogteaser.png|center|thumb|380x380px|blog teaser text|link=Special:FilePath/Manual:configmanager-blogteaser.png]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Show entrypoint &amp;quot;Blog&amp;quot;:&#039;&#039;&#039; Shows a link to the page &#039;&#039;Special:Blog&#039;&#039; in the main navigation.&lt;br /&gt;
&lt;br /&gt;
===BlueSpiceSocialTopics===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Automatically create all discussion pages.&#039;&#039;&#039; If a user creates the first discussion topic for a page using the link in the page footer of a wiki page, the needed discussion page is automatically created first.  &amp;lt;br /&amp;gt;[[File:Manual:configmanager-socialtopics-create.png|alt=create discussion topic|center|thumb|350x350px|create discussion topic]]&amp;lt;br /&amp;gt;A message &amp;quot;This discussion page was created automatically&amp;quot; is inserted on the discussion page.  &amp;lt;br /&amp;gt;[[File:Manual:configmanager-socialtopics.png|alt=automatically created discussion page|center|thumb|350x350px|automatically created discussion page]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this setting is deactivated, the user is directed to the &amp;quot;Create page&amp;quot; default page first.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== BlueSpiceDiscovery ==&lt;br /&gt;
&lt;br /&gt;
====Deactivating the Entrypoint links====&lt;br /&gt;
[[File:discovery-entrypoint links.png|alt=Entrypoint links for Discovery skin|center|thumb|650x650px|Entrypoint links for Discovery skin]]&lt;br /&gt;
&lt;br /&gt;
====Positioning of skin elements====&lt;br /&gt;
[[File:BlueSpice-Discovery2.png|alt=positioning skin elements|center|thumb|600x600px|positioning skin elements]]&lt;br /&gt;
&lt;br /&gt;
*page-sentence: display of page status ([[Manual:Extension/FlaggedRevs|Approval status]], [[Manual:Extension/BlueSpiceExpiry|Expiry]])&lt;br /&gt;
*categories: display of  [[:de:Handbuch:Kategorien_erstellen_und_nutzen|page categories]]&lt;br /&gt;
&lt;br /&gt;
*rating: display of [[Manual:Extension/BlueSpiceRating|page ratings]]&lt;br /&gt;
&lt;br /&gt;
*recommendations: display of [[Manual:Extension/BlueSpiceRating|page recommendations]]&lt;br /&gt;
&lt;br /&gt;
=== Content Stabilization{{bsvs|bsvFrom=4.3|bsvTo=|bsvFeature=}} ===&lt;br /&gt;
The following configuration options are available for page approvals:&lt;br /&gt;
[[Datei:Handbuch:config-contentstabilization.png|alt=Screenshot for approval settings|center|mini|650x650px|Settings for page approvals]]&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Include handling (1):&#039;&#039;&#039;   Wenn Ressourcen in eine Seite eingebettet sind &#039;&#039;&#039;und sich diese Ressourcen in Namensräumen mit Freigabe befinden&#039;&#039;&#039;, können die folgenden Einstellungen ausgewählt werden. Es gibt zwei mögliche Einstellungen:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%;&amp;quot; data-ve-attributes=&amp;quot;{&amp;amp;quot;style&amp;amp;quot;:&amp;amp;quot;width:100%;&amp;amp;quot;}&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:220px;&amp;quot; data-ve-attributes=&amp;quot;{&amp;amp;quot;style&amp;amp;quot;:&amp;amp;quot;width:220px;&amp;amp;quot;}&amp;quot; |&lt;br /&gt;
!Verhalten&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:220px;&amp;quot; data-ve-attributes=&amp;quot;{&amp;amp;quot;style&amp;amp;quot;:&amp;amp;quot;width:220px;&amp;amp;quot;}&amp;quot; |&amp;lt;span class=&amp;quot;col-red ve-pasteProtect&amp;quot;&amp;gt;Stable versions of included pages&amp;lt;/span&amp;gt;&lt;br /&gt;
|Shows the approved (stable) version of a resource, even if it was approved after the page that includes the resource was approved. (This works only if the resource is located in a namespace with active approval feature).&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:220px;&amp;quot; data-ve-attributes=&amp;quot;{&amp;amp;quot;style&amp;amp;quot;:&amp;amp;quot;width:220px;&amp;amp;quot;}&amp;quot; |&amp;lt;span class=&amp;quot;col-red ve-pasteProtect&amp;quot;&amp;gt;Versions that were current at the time of approval&amp;lt;/span&amp;gt;&lt;br /&gt;
|Shows the version of the resource which was embedded at the time of the last approval of the wiki page where it is embedded. (This works only if the resource is located in a namespace with active approval feature).&lt;br /&gt;
|}For example, if an approved page contains a template that was modified after the page itself was approved, the page will not show  a draft version. Approvals work directly via the embedded resource.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Allow viewing of first draft version (2):&#039;&#039;&#039;     If this setting is activated, then all users with read rights can view the first draft. When disabled, only groups from the &amp;quot;Show unstable pages for following groups&amp;quot; setting can see first drafts.&lt;br /&gt;
*&#039;&#039;&#039;Update semantic properties from stable pages only (3):&#039;&#039;&#039;    The  property value of the page is read from the stable version of the page and not from the draft version.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Entwurfsseiten für folgende Gruppen anzeigen (4):&#039;&#039;&#039;  If the  group &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; has been removed from the configuration, users in this group will not be able to see draft versions when they are added as reviewers in a review process. In this case, only users with the roles &amp;lt;code&amp;gt;sysop&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;reviewer&amp;lt;/code&amp;gt;  can access drafts unless other groups are specified. These system groups can only access drafts through the site&#039;s version history.&lt;br /&gt;
{{translation}}&lt;br /&gt;
[[Category:Administration]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Optimization/Cronjobs&amp;diff=6254</id>
		<title>Archive:Setup:Installation Guide/Optimization/Cronjobs</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/Optimization/Cronjobs&amp;diff=6254"/>
		<updated>2023-06-14T11:46:44Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Cronjobs}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document describes cronjobs an related configurations, which should be set for your BlueSpice (depending on the used version).&lt;br /&gt;
&lt;br /&gt;
==Tips for this Document==&lt;br /&gt;
{{Setup-document-note}}&lt;br /&gt;
&lt;br /&gt;
==runJobs.php==&lt;br /&gt;
Time-consuming processes will be moved to a processing queue in the background of BlueSpice. With every page impression, a part of these will be processed. For the case that there are lots of processes in the queue and there are relatively litte page impressions, the tasks will not be processed promptly. &lt;br /&gt;
&lt;br /&gt;
For this reason, the queue should be processed regularly by cronjob. &lt;br /&gt;
&lt;br /&gt;
Now create a cronjob (Windows: &amp;quot;Scheduled task&amp;quot;) depending on your operating system. The command to execute is:&lt;br /&gt;
&lt;br /&gt;
 php &amp;lt;code&amp;gt;&amp;amp;lt;installpath-bluespice&amp;amp;gt;&amp;lt;/code&amp;gt;/maintenance/runJobs.php &#039;&#039;(Linux)&#039;&#039;&lt;br /&gt;
 php.exe &amp;lt;code&amp;gt;&amp;amp;lt;installpath-bluespice&amp;amp;gt;&amp;lt;/code&amp;gt;\maintenance\runJobs.php &#039;&#039;(Windows)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=Hinweis|Note text=It is recommended to specify the complete path to php.exe under Windows. For more information, see the [[Setup:Installation_Guide/Services_and_system_configuration/Environment_Variables|environment variables]] document.}}&lt;br /&gt;
Execute the cronjob every &#039;&#039;&#039;10 minutes&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Optimierungen/Cronjobs]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6227</id>
		<title>User:WikiSysop</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6227"/>
		<updated>2023-06-06T14:41:00Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: Undo revision 6224 by WikiSysop (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Userpage standard content}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6226</id>
		<title>User:WikiSysop</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6226"/>
		<updated>2023-06-06T14:40:33Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: Undo revision 6225 by WikiSysop (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Userpage standard content}}&lt;br /&gt;
&lt;br /&gt;
{{#ask:[[Reference:+]][[Category:Extension]][[Revision ID::!27855]][[Modification date::+]] &lt;br /&gt;
|?BSExtensionInfoDescription=Description&lt;br /&gt;
|?BSExtensionInfoLicense=License&lt;br /&gt;
|?BSExtensionInfoType=Maintainer&lt;br /&gt;
|limit=9999&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6225</id>
		<title>User:WikiSysop</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6225"/>
		<updated>2023-06-06T14:36:06Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Userpage standard content}}&lt;br /&gt;
&lt;br /&gt;
{{#ask:[[Reference:+]][[Category:Extension]][[Revision ID::!27855]][[Modification date::+]] &lt;br /&gt;
|?BSExtensionInfoDescription=Description&lt;br /&gt;
|?BSExtensionInfoType=Maintainer&lt;br /&gt;
|limit=9999&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6224</id>
		<title>User:WikiSysop</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=User:WikiSysop&amp;diff=6224"/>
		<updated>2023-06-06T14:34:52Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Userpage standard content}}&lt;br /&gt;
&lt;br /&gt;
{{#ask:[[Reference:+]][[Category:Extension]][[Revision ID::!27855]][[Modification date::+]] &lt;br /&gt;
|?BSExtensionInfoDescription=Description&lt;br /&gt;
|?BSExtensionInfoLicense=License&lt;br /&gt;
|?BSExtensionInfoType=Maintainer&lt;br /&gt;
|limit=9999&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=6167</id>
		<title>Archive:Setup:Installation Guide/With Installer</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=6167"/>
		<updated>2023-05-24T08:25:43Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download installation package ==&lt;br /&gt;
{{DISPLAYTITLE:Installation BlueSpice 4 with Installer}}&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=neutral|icon=yes|Note text=[https://bluespice.com/download/ Download the installation package]  from the bluespice.com website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Store the installation package in a web root of your choice (see our [[Setup:Installation_Guide/Advanced/Folder_structure_under_Windows|folder structure recommendations]] for Windows installations), where you can access it via your browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that [[Setup:Installation_Guide/Security_Settings/File_System_Permissions|file system permissions]] are set up properly.|bgcolor=}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
BlueSpice 4 is installed  as a complete package with MediaWiki 1.35 and BlueSpice 4.&lt;br /&gt;
This installation guide gives you step-by-step instructions to install BlueSpice.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=If you do a fresh install of BlueSpice 4, it might be necessary to run update.php afterwards if you get an error.|bgcolor=|icon=}}This document only describes the steps for installing the web application itself. For the installation of extended functions such as [[Setup:Installation_Guide/Advanced/VisualEditor_Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]], please refer to the corresponding documentation.&lt;br /&gt;
&lt;br /&gt;
We will not go into details about your operating system installation here, but assume that you have already checked the [[Setup:Installation_Guide#Prerequesites|system requirements]] and your server configuration.  You can find more details in our detailed [[Setup:Installation Guide|installation guide]].&lt;br /&gt;
&lt;br /&gt;
Further help on optimizing the operating system can be found in our [[Setup:Installation Guide/Advanced|compendium]].&lt;br /&gt;
==Step-by-step installation==&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=If you also install the paid extension &amp;quot;BlueSpiceWikiFarm&amp;quot;, make sure that the codebase is not located directly in the DocumentRoot of your web server or VirtualHost - it must be located in the /w subfolder!&lt;br /&gt;
|bgcolor=}}{{Messagebox|boxtype=note|icon=no|Note text=If Error  &amp;quot;Fatal exception of type MWException&amp;quot; shows up, you need to check the rights of your Bluespice Folder and give it reading- and writing permissions. If there is still a error you need to add &amp;quot;$wgShowExceptionDetails = true&amp;quot; to your localsettings.php file and reload your URL to get preciser information of your error.|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
First use your browser to call up the URL under which the web application can be reached. Then complete the following steps: &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:1.png|alt=MediaWiki setup page php error|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 1:  Start the installation setup&#039;&#039;&#039;&lt;br /&gt;
First, open the URL of your web application in your browser. Then click on &amp;quot;set up the wiki&amp;quot; to start the installation. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t meet all necessary requirements for PHP yet, you won&#039;t be able to view this setup page yet. Please make the necessary corrections to your PHP installation first. Otherwise, you are now on the page shown in the screenshot (click on the thumbnail to see the full screenshot).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:2.png|alt=Select language|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 2: Select your language&#039;&#039;&#039;&lt;br /&gt;
You are now in the language selection.&lt;br /&gt;
&amp;quot;Your language&amp;quot; defines the language that guides you through the installer,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wiki language&amp;quot; the later language settings of your wiki.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:3.png|alt=Installation check|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 3:  MediaWiki installation check&#039;&#039;&#039;&lt;br /&gt;
This step takes you to the MediaWiki installation check. &lt;br /&gt;
Please read this check carefully, as possible hints may not block the installation itself, but may lead to restrictions of the wiki functionality in practice.&lt;br /&gt;
Make the necessary corrections to your system and reload the page in your browser before proceeding with the setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:4.png|alt=Database connection|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 4: Establish the database connection&#039;&#039;&#039;&lt;br /&gt;
In this step, you configure the database connection. &lt;br /&gt;
Here you can either specify the root user of your MySQL server and in the following step have the installer create an additional user who only has access to the BlueSpice database. The database will also be created automatically if it does not yet exist. &lt;br /&gt;
Or, alternatively, you can create a user and a database in advance and directly enter this information here. You can find information on the manual creation of users and databases in the [[mediawikiwiki:Manual:Installing_MediaWiki#MariaDB/MySQL|official Mediawiki documentation]].&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:5.png|alt=Database user|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 5: Create the BlueSpice database user&#039;&#039;&#039;&lt;br /&gt;
Depending on the procedure you followed in the previous step, you can now define an exclusive user for your BlueSpice database. If you have already created the user explicitly for the database in advance, leave the check mark at &amp;quot;Use the same database account as during the installation process&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:6.png|alt=Wiki name and admin account|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 6: Create your wiki name and administrator account&#039;&#039;&#039;&lt;br /&gt;
Enter the name for your wiki. This name is displayed in the title bar of your browser and in various other places such as in notification mails.&lt;br /&gt;
Pay extra attention to the correct spelling, because this name can afterwards only be changed  with a certain effort and certain risks. Next, enter the username, password and e-mail address of the first wiki administrator. The administrator account is then created by the wiki during setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:7.png|alt=Email options|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 7: Options&#039;&#039;&#039;&lt;br /&gt;
In this step, you specify the e-mail address for  notification e-mails.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:8.png|alt=|thumb]]&lt;br /&gt;
||&#039;&#039;&#039;Step 8: Installation&#039;&#039;&#039;&lt;br /&gt;
This step announces the installation of the wiki. If you don&#039;t need to make any changes to the previous steps, click &amp;quot;Next&amp;quot; to start the installation process.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:9.png|alt=Installation status|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 9: Installation status&#039;&#039;&#039;&lt;br /&gt;
After the successful installation of BlueSpice, you  see a confirmation page that you confirm with &amp;quot;Next&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:10.png|alt=Download localsettings.php|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 10: Download LocalSettings.php&#039;&#039;&#039;&lt;br /&gt;
In the last step of the installation, you will be asked to download the configuration file &amp;quot;LocalSettings.php&amp;quot; of your installation. Download it and place it in the root directory of your BlueSpice codebase.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&#039;&#039;&#039;Step 11: Rename the template folders&#039;&#039;&#039;&lt;br /&gt;
#Open the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;\extensions\BluesSpiceFoundation&amp;lt;/code&amp;gt; and rename the subfolder &amp;lt;code&amp;gt;config.template&amp;lt;/code&amp;gt;  to &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; and create the new folder &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt;.   &amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;These folders should have read and write access, see  [[Setup:Installation Guide/Security Settings/File System Permissions|File System Permissions]].  &amp;lt;br /&amp;gt;&amp;lt;span class=&amp;quot;col-purple&amp;quot;&amp;gt;Note: Since BlueSpice 4.3.0, &amp;lt;code&amp;gt;config.template&amp;lt;/code&amp;gt; directory no longer exists, so step of renaming it should be skipped&amp;lt;/span&amp;gt;&lt;br /&gt;
#Run  &amp;lt;code&amp;gt;php &amp;lt;installpath-bluespic&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;e&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;\maintenance\update.php&amp;lt;/code&amp;gt; from the console.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:11.png|alt=BlueSpice start page|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 12: Load the BlueSpice welcome page&#039;&#039;&#039;&lt;br /&gt;
If you now access the URL you specified for BlueSpice, you now see the BlueSpice welcome page. You can start using BlueSpice immediately.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BlueSpice WikiFarm==&lt;br /&gt;
If you are installing &#039;&#039;&#039;BlueSpice WikiFarm,&#039;&#039;&#039; follow these [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|instructions.]] If not, skip to [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|Next steps.]]&lt;br /&gt;
&lt;br /&gt;
Now open a command line and change to the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Run the following command:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance/update.php&amp;lt;/code&amp;gt; &#039;&#039;(Linux)&#039;&#039;&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance\update.php&amp;lt;/code&amp;gt; &#039;&#039;(Windows)&#039;&#039;&lt;br /&gt;
==Next steps==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page is not loading, give the group &amp;quot;users&amp;quot; change-permissions for the folder C:\Windows\Temp.}}&lt;br /&gt;
For security reasons, it is recommended to prevent access to the path &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; after the installation. This can be implemented as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Linux=&lt;br /&gt;
In Apache, add the following entry to the file &amp;lt;code&amp;gt;000-bluespice.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;Directory /var/www/bluespice/w/mw-config&amp;gt;&lt;br /&gt;
        Require all denied&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Windows=&lt;br /&gt;
In IIS, create a file &amp;lt;code&amp;gt;web.config&amp;lt;/code&amp;gt; in the sub-directory &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; with the following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.webServer&amp;gt;&lt;br /&gt;
        &amp;lt;security&amp;gt;&lt;br /&gt;
            &amp;lt;authentication&amp;gt;&lt;br /&gt;
                &amp;lt;anonymousAuthentication enabled=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
            &amp;lt;/authentication&amp;gt;&lt;br /&gt;
        &amp;lt;/security&amp;gt;&lt;br /&gt;
    &amp;lt;/system.webServer&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;headertabs /&amp;gt;&amp;lt;notabtoc/&amp;gt;&lt;br /&gt;
Please note that this entry may have to be removed temporarily if the web installer is used to update the application.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=As next step, you can configure [[Setup:Installation Guide/Advanced/VisualEditor Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]].}}&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Installation von BlueSpice]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=6166</id>
		<title>Archive:Setup:Installation Guide/With Installer</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=6166"/>
		<updated>2023-05-24T08:22:55Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download installation package ==&lt;br /&gt;
{{DISPLAYTITLE:Installation BlueSpice 4 with Installer}}&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=neutral|icon=yes|Note text=[https://bluespice.com/download/ Download the installation package]  from the bluespice.com website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Store the installation package in a web root of your choice (see our [[Setup:Installation_Guide/Advanced/Folder_structure_under_Windows|folder structure recommendations]] for Windows installations), where you can access it via your browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that [[Setup:Installation_Guide/Security_Settings/File_System_Permissions|file system permissions]] are set up properly.|bgcolor=}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
BlueSpice 4 is installed  as a complete package with MediaWiki 1.35 and BlueSpice 4.&lt;br /&gt;
This installation guide gives you step-by-step instructions to install BlueSpice.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=If you do a fresh install of BlueSpice 4, it might be necessary to run update.php afterwards if you get an error.|bgcolor=|icon=}}This document only describes the steps for installing the web application itself. For the installation of extended functions such as [[Setup:Installation_Guide/Advanced/VisualEditor_Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]], please refer to the corresponding documentation.&lt;br /&gt;
&lt;br /&gt;
We will not go into details about your operating system installation here, but assume that you have already checked the [[Setup:Installation_Guide#Prerequesites|system requirements]] and your server configuration.  You can find more details in our detailed [[Setup:Installation Guide|installation guide]].&lt;br /&gt;
&lt;br /&gt;
Further help on optimizing the operating system can be found in our [[Setup:Installation Guide/Advanced|compendium]].&lt;br /&gt;
==Step-by-step installation==&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=If you also install the paid extension &amp;quot;BlueSpiceWikiFarm&amp;quot;, make sure that the codebase is not located directly in the DocumentRoot of your web server or VirtualHost - it must be located in the /w subfolder!&lt;br /&gt;
|bgcolor=}}{{Messagebox|boxtype=note|icon=no|Note text=If Error  &amp;quot;Fatal exception of type MWException&amp;quot; shows up, you need to check the rights of your Bluespice Folder and give it reading- and writing permissions. If there is still a error you need to add &amp;quot;$wgShowExceptionDetails = true&amp;quot; to your localsettings.php file and reload your URL to get preciser information of your error.|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
First use your browser to call up the URL under which the web application can be reached. Then complete the following steps: &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:1.png|alt=MediaWiki setup page php error|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 1:  Start the installation setup&#039;&#039;&#039;&lt;br /&gt;
First, open the URL of your web application in your browser. Then click on &amp;quot;set up the wiki&amp;quot; to start the installation. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t meet all necessary requirements for PHP yet, you won&#039;t be able to view this setup page yet. Please make the necessary corrections to your PHP installation first. Otherwise, you are now on the page shown in the screenshot (click on the thumbnail to see the full screenshot).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:2.png|alt=Select language|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 2: Select your language&#039;&#039;&#039;&lt;br /&gt;
You are now in the language selection.&lt;br /&gt;
&amp;quot;Your language&amp;quot; defines the language that guides you through the installer,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wiki language&amp;quot; the later language settings of your wiki.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:3.png|alt=Installation check|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 3:  MediaWiki installation check&#039;&#039;&#039;&lt;br /&gt;
This step takes you to the MediaWiki installation check. &lt;br /&gt;
Please read this check carefully, as possible hints may not block the installation itself, but may lead to restrictions of the wiki functionality in practice.&lt;br /&gt;
Make the necessary corrections to your system and reload the page in your browser before proceeding with the setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:4.png|alt=Database connection|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 4: Establish the database connection&#039;&#039;&#039;&lt;br /&gt;
In this step, you configure the database connection. &lt;br /&gt;
Here you can either specify the root user of your MySQL server and in the following step have the installer create an additional user who only has access to the BlueSpice database. The database will also be created automatically if it does not yet exist. &lt;br /&gt;
Or, alternatively, you can create a user and a database in advance and directly enter this information here. You can find information on the manual creation of users and databases in the [[mediawikiwiki:Manual:Installing_MediaWiki#MariaDB/MySQL|official Mediawiki documentation]].&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:5.png|alt=Database user|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 5: Create the BlueSpice database user&#039;&#039;&#039;&lt;br /&gt;
Depending on the procedure you followed in the previous step, you can now define an exclusive user for your BlueSpice database. If you have already created the user explicitly for the database in advance, leave the check mark at &amp;quot;Use the same database account as during the installation process&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:6.png|alt=Wiki name and admin account|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 6: Create your wiki name and administrator account&#039;&#039;&#039;&lt;br /&gt;
Enter the name for your wiki. This name is displayed in the title bar of your browser and in various other places such as in notification mails.&lt;br /&gt;
Pay extra attention to the correct spelling, because this name can afterwards only be changed  with a certain effort and certain risks. Next, enter the username, password and e-mail address of the first wiki administrator. The administrator account is then created by the wiki during setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:7.png|alt=Email options|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 7: Options&#039;&#039;&#039;&lt;br /&gt;
In this step, you specify the e-mail address for  notification e-mails.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:8.png|alt=|thumb]]&lt;br /&gt;
||&#039;&#039;&#039;Step 8: Installation&#039;&#039;&#039;&lt;br /&gt;
This step announces the installation of the wiki. If you don&#039;t need to make any changes to the previous steps, click &amp;quot;Next&amp;quot; to start the installation process.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:9.png|alt=Installation status|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 9: Installation status&#039;&#039;&#039;&lt;br /&gt;
After the successful installation of BlueSpice, you  see a confirmation page that you confirm with &amp;quot;Next&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:10.png|alt=Download localsettings.php|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 10: Download LocalSettings.php&#039;&#039;&#039;&lt;br /&gt;
In the last step of the installation, you will be asked to download the configuration file &amp;quot;LocalSettings.php&amp;quot; of your installation. Download it and place it in the root directory of your BlueSpice codebase.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&#039;&#039;&#039;Step 11: Rename the template folders&#039;&#039;&#039;&lt;br /&gt;
#Open the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;\extensions\BluesSpiceFoundation&amp;lt;/code&amp;gt; and rename the subfolder &amp;lt;code&amp;gt;config.template&amp;lt;/code&amp;gt;  to &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; and create the new folder &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt;.   &amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;These folders should have read and write access, see  [[Setup:Installation Guide/Security Settings/File System Permissions|File System Permissions]].  &amp;lt;br /&amp;gt;&amp;lt;span class=&amp;quot;col-purple&amp;quot;&amp;gt;Note: Since BlueSpice 4.3 config.template directory no longer exists, so step of renaming it should be skipped&amp;lt;/span&amp;gt;&lt;br /&gt;
#Run  &amp;lt;code&amp;gt;php &amp;lt;installpath-bluespic&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;e&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;\maintenance\update.php&amp;lt;/code&amp;gt; from the console.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:11.png|alt=BlueSpice start page|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 12: Load the BlueSpice welcome page&#039;&#039;&#039;&lt;br /&gt;
If you now access the URL you specified for BlueSpice, you now see the BlueSpice welcome page. You can start using BlueSpice immediately.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BlueSpice WikiFarm==&lt;br /&gt;
If you are installing &#039;&#039;&#039;BlueSpice WikiFarm,&#039;&#039;&#039; follow these [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|instructions.]] If not, skip to [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|Next steps.]]&lt;br /&gt;
&lt;br /&gt;
Now open a command line and change to the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Run the following command:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance/update.php&amp;lt;/code&amp;gt; &#039;&#039;(Linux)&#039;&#039;&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance\update.php&amp;lt;/code&amp;gt; &#039;&#039;(Windows)&#039;&#039;&lt;br /&gt;
==Next steps==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page is not loading, give the group &amp;quot;users&amp;quot; change-permissions for the folder C:\Windows\Temp.}}&lt;br /&gt;
For security reasons, it is recommended to prevent access to the path &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; after the installation. This can be implemented as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Linux=&lt;br /&gt;
In Apache, add the following entry to the file &amp;lt;code&amp;gt;000-bluespice.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;Directory /var/www/bluespice/w/mw-config&amp;gt;&lt;br /&gt;
        Require all denied&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Windows=&lt;br /&gt;
In IIS, create a file &amp;lt;code&amp;gt;web.config&amp;lt;/code&amp;gt; in the sub-directory &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; with the following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.webServer&amp;gt;&lt;br /&gt;
        &amp;lt;security&amp;gt;&lt;br /&gt;
            &amp;lt;authentication&amp;gt;&lt;br /&gt;
                &amp;lt;anonymousAuthentication enabled=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
            &amp;lt;/authentication&amp;gt;&lt;br /&gt;
        &amp;lt;/security&amp;gt;&lt;br /&gt;
    &amp;lt;/system.webServer&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;headertabs /&amp;gt;&amp;lt;notabtoc/&amp;gt;&lt;br /&gt;
Please note that this entry may have to be removed temporarily if the web installer is used to update the application.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=As next step, you can configure [[Setup:Installation Guide/Advanced/VisualEditor Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]].}}&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Installation von BlueSpice]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=6165</id>
		<title>Archive:Setup:Installation Guide/With Installer</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/With_Installer&amp;diff=6165"/>
		<updated>2023-05-24T08:22:33Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Download installation package ==&lt;br /&gt;
{{DISPLAYTITLE:Installation BlueSpice 4 with Installer}}&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=neutral|icon=yes|Note text=[https://bluespice.com/download/ Download the installation package]  from the bluespice.com website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Store the installation package in a web root of your choice (see our [[Setup:Installation_Guide/Advanced/Folder_structure_under_Windows|folder structure recommendations]] for Windows installations), where you can access it via your browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that [[Setup:Installation_Guide/Security_Settings/File_System_Permissions|file system permissions]] are set up properly.|bgcolor=}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
BlueSpice 4 is installed  as a complete package with MediaWiki 1.35 and BlueSpice 4.&lt;br /&gt;
This installation guide gives you step-by-step instructions to install BlueSpice.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=If you do a fresh install of BlueSpice 4, it might be necessary to run update.php afterwards if you get an error.|bgcolor=|icon=}}This document only describes the steps for installing the web application itself. For the installation of extended functions such as [[Setup:Installation_Guide/Advanced/VisualEditor_Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]], please refer to the corresponding documentation.&lt;br /&gt;
&lt;br /&gt;
We will not go into details about your operating system installation here, but assume that you have already checked the [[Setup:Installation_Guide#Prerequesites|system requirements]] and your server configuration.  You can find more details in our detailed [[Setup:Installation Guide|installation guide]].&lt;br /&gt;
&lt;br /&gt;
Further help on optimizing the operating system can be found in our [[Setup:Installation Guide/Advanced|compendium]].&lt;br /&gt;
==Step-by-step installation==&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=If you also install the paid extension &amp;quot;BlueSpiceWikiFarm&amp;quot;, make sure that the codebase is not located directly in the DocumentRoot of your web server or VirtualHost - it must be located in the /w subfolder!&lt;br /&gt;
|bgcolor=}}{{Messagebox|boxtype=note|icon=no|Note text=If Error  &amp;quot;Fatal exception of type MWException&amp;quot; shows up, you need to check the rights of your Bluespice Folder and give it reading- and writing permissions. If there is still a error you need to add &amp;quot;$wgShowExceptionDetails = true&amp;quot; to your localsettings.php file and reload your URL to get preciser information of your error.|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
First use your browser to call up the URL under which the web application can be reached. Then complete the following steps: &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:1.png|alt=MediaWiki setup page php error|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 1:  Start the installation setup&#039;&#039;&#039;&lt;br /&gt;
First, open the URL of your web application in your browser. Then click on &amp;quot;set up the wiki&amp;quot; to start the installation. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t meet all necessary requirements for PHP yet, you won&#039;t be able to view this setup page yet. Please make the necessary corrections to your PHP installation first. Otherwise, you are now on the page shown in the screenshot (click on the thumbnail to see the full screenshot).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:2.png|alt=Select language|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 2: Select your language&#039;&#039;&#039;&lt;br /&gt;
You are now in the language selection.&lt;br /&gt;
&amp;quot;Your language&amp;quot; defines the language that guides you through the installer,&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Wiki language&amp;quot; the later language settings of your wiki.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:3.png|alt=Installation check|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 3:  MediaWiki installation check&#039;&#039;&#039;&lt;br /&gt;
This step takes you to the MediaWiki installation check. &lt;br /&gt;
Please read this check carefully, as possible hints may not block the installation itself, but may lead to restrictions of the wiki functionality in practice.&lt;br /&gt;
Make the necessary corrections to your system and reload the page in your browser before proceeding with the setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:4.png|alt=Database connection|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 4: Establish the database connection&#039;&#039;&#039;&lt;br /&gt;
In this step, you configure the database connection. &lt;br /&gt;
Here you can either specify the root user of your MySQL server and in the following step have the installer create an additional user who only has access to the BlueSpice database. The database will also be created automatically if it does not yet exist. &lt;br /&gt;
Or, alternatively, you can create a user and a database in advance and directly enter this information here. You can find information on the manual creation of users and databases in the [[mediawikiwiki:Manual:Installing_MediaWiki#MariaDB/MySQL|official Mediawiki documentation]].&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:5.png|alt=Database user|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 5: Create the BlueSpice database user&#039;&#039;&#039;&lt;br /&gt;
Depending on the procedure you followed in the previous step, you can now define an exclusive user for your BlueSpice database. If you have already created the user explicitly for the database in advance, leave the check mark at &amp;quot;Use the same database account as during the installation process&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:6.png|alt=Wiki name and admin account|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 6: Create your wiki name and administrator account&#039;&#039;&#039;&lt;br /&gt;
Enter the name for your wiki. This name is displayed in the title bar of your browser and in various other places such as in notification mails.&lt;br /&gt;
Pay extra attention to the correct spelling, because this name can afterwards only be changed  with a certain effort and certain risks. Next, enter the username, password and e-mail address of the first wiki administrator. The administrator account is then created by the wiki during setup.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:7.png|alt=Email options|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 7: Options&#039;&#039;&#039;&lt;br /&gt;
In this step, you specify the e-mail address for  notification e-mails.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:8.png|alt=|thumb]]&lt;br /&gt;
||&#039;&#039;&#039;Step 8: Installation&#039;&#039;&#039;&lt;br /&gt;
This step announces the installation of the wiki. If you don&#039;t need to make any changes to the previous steps, click &amp;quot;Next&amp;quot; to start the installation process.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:9.png|alt=Installation status|center|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 9: Installation status&#039;&#039;&#039;&lt;br /&gt;
After the successful installation of BlueSpice, you  see a confirmation page that you confirm with &amp;quot;Next&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:10.png|alt=Download localsettings.php|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 10: Download LocalSettings.php&#039;&#039;&#039;&lt;br /&gt;
In the last step of the installation, you will be asked to download the configuration file &amp;quot;LocalSettings.php&amp;quot; of your installation. Download it and place it in the root directory of your BlueSpice codebase.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&#039;&#039;&#039;Step 11: Rename the template folders&#039;&#039;&#039;&lt;br /&gt;
#Open the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;\extensions\BluesSpiceFoundation&amp;lt;/code&amp;gt; and rename the subfolder &amp;lt;code&amp;gt;config.template&amp;lt;/code&amp;gt;  to &amp;lt;code&amp;gt;config&amp;lt;/code&amp;gt; and create the new folder &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt;.   &amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;These folders should have read and write access, see  [[Setup:Installation Guide/Security Settings/File System Permissions|File System Permissions]]. &amp;lt;span class=&amp;quot;col-purple&amp;quot;&amp;gt;Note: Since BlueSpice 4.3 config.template directory no longer exists, so step of renaming it should be skipped&amp;lt;/span&amp;gt;&lt;br /&gt;
#Run  &amp;lt;code&amp;gt;php &amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;code&amp;gt;\maintenance\update.php&amp;lt;/code&amp;gt; from the console.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Setup:11.png|alt=BlueSpice start page|300x300px]]&lt;br /&gt;
||&#039;&#039;&#039;Step 12: Load the BlueSpice welcome page&#039;&#039;&#039;&lt;br /&gt;
If you now access the URL you specified for BlueSpice, you now see the BlueSpice welcome page. You can start using BlueSpice immediately.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==BlueSpice WikiFarm==&lt;br /&gt;
If you are installing &#039;&#039;&#039;BlueSpice WikiFarm,&#039;&#039;&#039; follow these [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|instructions.]] If not, skip to [[:en:Setup:Installation_Guide/Installation_BlueSpice_WikiFarm|Next steps.]]&lt;br /&gt;
&lt;br /&gt;
Now open a command line and change to the folder &amp;lt;code&amp;gt;&amp;lt;installpath-bluespice&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Run the following command:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance/update.php&amp;lt;/code&amp;gt; &#039;&#039;(Linux)&#039;&#039;&lt;br /&gt;
*&amp;lt;code&amp;gt;php maintenance\update.php&amp;lt;/code&amp;gt; &#039;&#039;(Windows)&#039;&#039;&lt;br /&gt;
==Next steps==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If the page is not loading, give the group &amp;quot;users&amp;quot; change-permissions for the folder C:\Windows\Temp.}}&lt;br /&gt;
For security reasons, it is recommended to prevent access to the path &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; after the installation. This can be implemented as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Linux=&lt;br /&gt;
In Apache, add the following entry to the file &amp;lt;code&amp;gt;000-bluespice.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    &amp;lt;Directory /var/www/bluespice/w/mw-config&amp;gt;&lt;br /&gt;
        Require all denied&lt;br /&gt;
    &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;span /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=Windows=&lt;br /&gt;
In IIS, create a file &amp;lt;code&amp;gt;web.config&amp;lt;/code&amp;gt; in the sub-directory &amp;lt;code&amp;gt;mw-config/&amp;lt;/code&amp;gt; with the following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.webServer&amp;gt;&lt;br /&gt;
        &amp;lt;security&amp;gt;&lt;br /&gt;
            &amp;lt;authentication&amp;gt;&lt;br /&gt;
                &amp;lt;anonymousAuthentication enabled=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
            &amp;lt;/authentication&amp;gt;&lt;br /&gt;
        &amp;lt;/security&amp;gt;&lt;br /&gt;
    &amp;lt;/system.webServer&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;headertabs /&amp;gt;&amp;lt;notabtoc/&amp;gt;&lt;br /&gt;
Please note that this entry may have to be removed temporarily if the web installer is used to update the application.&lt;br /&gt;
&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=As next step, you can configure [[Setup:Installation Guide/Advanced/VisualEditor Configuration|VisualEditor]] and [[Setup:Installation Guide/Advanced/ExtendedSearch Configuration|Extendedsearch]].}}&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Installation von BlueSpice]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/Page_Forms/Snippets&amp;diff=6164</id>
		<title>Manual:Extension/Page Forms/Snippets</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/Page_Forms/Snippets&amp;diff=6164"/>
		<updated>2023-05-24T06:55:04Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Providing input values from a (sub-) category ==&lt;br /&gt;
=== Using input type &amp;quot;tree&amp;quot; ===&lt;br /&gt;
(see official documentation: [[mediawikiwiki:Extension:Page_Forms/Input_types#tree|mediawiki.org/wiki/Extension:Page_Forms/Input_types#tree]]  )&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{{field|doctype|input type=tree|top category=Document type|depth=1|hideroot|list}}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Form display:&lt;br /&gt;
[[File:PF tree.png|alt=screenshot of category tree with one value selected|none|thumb|Field type tree]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example output of template parameter:  &amp;lt;code&amp;gt;doctype=Process&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Using DPL query (dropdown) ===&lt;br /&gt;
(Solution found at: https://www.mediawiki.org/wiki/Extension_talk:DynamicPageList3#Return_page_titles_as_plain_text?&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{{field&lt;br /&gt;
 | doctype&lt;br /&gt;
 | input type=dropdown&lt;br /&gt;
 | values = {{#dpl: namespace = Category&lt;br /&gt;
 | category = Document type&lt;br /&gt;
 | mode = inline&lt;br /&gt;
 | format = ,¶%TITLE%,,&lt;br /&gt;
 | inlinetext = ,&lt;br /&gt;
  }}&lt;br /&gt;
}}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Form field:&lt;br /&gt;
[[File:PF-subcat-dpl.png|alt=screenshot of the dropdown result for the dpl3 solution|none|thumb|values provided by dpl3 parser function]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example template output: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;doctype=Process&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using an SMW inline query&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{{field|doctype|input type=dropdown|values={{#ask: [[Subcategory of::Document type]]|format=plainlist|sep=,|link=none|template=SMW Pagename}} }}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The above example uses the mapping template  &#039;&#039;Template:SMW Pagename&#039;&#039; to avoid showing the namespace prefix &amp;quot;Category:&amp;quot; in the dropdown. Create the template with the following content:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{PAGENAME:{{{1|}}} }}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Although the category prefix is then not shown in the dropdown, the value the form passes to its associated template parameter still includes the namespace prefix.&lt;br /&gt;
&lt;br /&gt;
Example template output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;doctype=Process&amp;lt;/code&amp;gt;&lt;br /&gt;
=== Using an SMW concept ===&lt;br /&gt;
Create the page Concept:Doctype with the following content:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{#concept:&lt;br /&gt;
 [[Subcategory of::Documenttype]][[Modification date::+]]&lt;br /&gt;
 |List of sub categories of the category Documenttype&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Use this concept as the source for the values of your field:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{{field|doctype|input type=dropdown|values from concept=doctype|mapping template=catConcept}}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The above example uses the mapping template  &#039;&#039;Template:catConcept&#039;&#039; to avoid showing the namespace prefix &amp;quot;Category:&amp;quot; in the dropdown. Create the template with the following content:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{PAGENAME:{{{1|}}} }}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Although the category prefix is then not shown in the dropdown, the value the form passes to its associated template parameter still includes the namespace prefix.&lt;br /&gt;
&lt;br /&gt;
Example template output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;doctype=Category:Process&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6152</id>
		<title>Archive:Setup:Installation Guide/System Preparation/Linux/Apache and PHP</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6152"/>
		<updated>2023-05-17T13:20:11Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Installing  Apache and PHP on Linux}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=The web server delivers your BlueSpice installation to the user&#039;s browser. Without a web server, BlueSpice cannot be used. The source code of BlueSpice is based on the scripting language &amp;quot;PHP&amp;quot;. This must also be installed on your server in order to operate BlueSpice. The steps listed here are required.}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
Apache or Nginx are available as web servers under Linux. BlueSpice can theoretically also be operated with Nginx, but in this documentation only Apache is treated in detail. Of course, you can also install Nginx with the appropriate expertise and operate it according to the here documented Virtualhost configuration of Apache.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If &amp;quot;User is not in the sudoers file.&amp;quot; type &amp;quot;su&amp;quot; in the terminal and execute. Write a &amp;quot;sudo&amp;quot; in front of a command.}}&lt;br /&gt;
==Installation==&lt;br /&gt;
Install Apache and PHP using the Aptitude package manager with the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt update; \&lt;br /&gt;
apt install apache2 \&lt;br /&gt;
    libapache2-mod-php7.4 \&lt;br /&gt;
    php7.4 \&lt;br /&gt;
    php7.4-cli \&lt;br /&gt;
    php7.4-common \&lt;br /&gt;
    php7.4-curl \&lt;br /&gt;
    php7.4-gd \&lt;br /&gt;
    php7.4-intl \&lt;br /&gt;
    php7.4-json \&lt;br /&gt;
    php7.4-mbstring \&lt;br /&gt;
    php7.4-mysql \&lt;br /&gt;
    php7.4-opcache \&lt;br /&gt;
    php7.4-tidy \&lt;br /&gt;
    php7.4-xml \&lt;br /&gt;
    php7.4-zip; \&lt;br /&gt;
apt clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;Depending on requirements, further PHP extensions may be necessary, e.g. for an LDAP connection.&lt;br /&gt;
&lt;br /&gt;
==Configuring PHP==&lt;br /&gt;
After the installation has been completed, first configure PHP. First change to the directory &amp;lt;code&amp;gt;/etc/php/7.4/apache2&amp;lt;/code&amp;gt; through the terminal and then execute the &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; file with the command &amp;lt;code&amp;gt;nano php.ini.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following settings and change the values accordingly. If a setting is commented out with a semicolon in front of it, please remove it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
max_execution_time = 600&lt;br /&gt;
post_max_size = 128M&lt;br /&gt;
upload_max_filesize = 128M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the value for &#039;date.timezone&#039; according to your own time zone.&lt;br /&gt;
&lt;br /&gt;
Save and exit the php.ini again.&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=In this documentation, we assume the recommended installation with [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL]. In this case, the root directory of the web server is in &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;, but the actual source code of BlueSpice is in &amp;lt;code&amp;gt;/var/www/bluespice/w&amp;lt;/code&amp;gt;. This configuration is designed accordingly.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Multiple virtual hosts&#039;&#039;&#039;&lt;br /&gt;
This guide applies to cases where BlueSpice is being installed on a dedicated server. If you have other virtual hosts configured, you may need to specify an alias for the &amp;lt;code&amp;gt;/w/&amp;lt;/code&amp;gt; subfolder. Add the following to your Apache&#039;s http-specific configuration:  &amp;lt;code&amp;gt;Alias /w/ /path/to/w/&amp;lt;/code&amp;gt;  (e.g., &amp;lt;code&amp;gt;Alias /w/ /var/www/html/example.com/w/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
To configure a VirtualHost for BlueSpice, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
#Change to the directory &amp;lt;code&amp;gt;/etc/apache2/sites-available &amp;lt;/code&amp;gt;.&lt;br /&gt;
#In a text editor of your choice, open the file &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, which does not yet exist, and create it. Copy the entire contents of the following file into this new configuration file:&lt;br /&gt;
##For BlueSpice free: [[Media:Setup:apache vhost bluespice free.txt|apache_vhost_bluespice_free.txt]]&lt;br /&gt;
##For BlueSpice pro: [[Media:Setup:apache vhost bluespice pro.txt|apache_vhost_bluespice_pro.txt]]&lt;br /&gt;
#In rows 3 and 4, replace &amp;quot;SERVERNAME&amp;quot; and &amp;quot;SERVERALIAS&amp;quot; according to your server name and domain. If the server is explicitly operated with only one VirtualHost for BlueSpice, you can also completely remove these two lines.&lt;br /&gt;
#Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Delete the VirtualHost created by default during the Apache installation with the command &amp;lt;code&amp;gt;a2dissite 000-default&amp;lt;/code&amp;gt;. Then activate the just created VirtualHost with the command &amp;lt;code&amp;gt;a2ensite bluespice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, activate the Module Rewrite, which we configured in the &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, by entering the following command: &amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, create the directory &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;(&amp;lt;code&amp;gt;mkdir/var/www/bluespice&amp;lt;/code&amp;gt;) and restart Apache with the command &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, call up the URL of your BlueSpice server (localhost). If configured correctly, Apache should respond to the request with the error message &amp;quot;Not found&amp;quot;, which is completely correct at the time of installation.&lt;br /&gt;
&lt;br /&gt;
[[File:Setup:apache_not_found.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
==Next step==&lt;br /&gt;
If you have successfully completed all these steps, you can proceed to the next step &amp;quot;[[Setup: Installation Guide/System Preparation/Linux/MariaDB | MariaDB]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Systemvorbereitung/Linux/Apache_und_PHP]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6151</id>
		<title>Archive:Setup:Installation Guide/System Preparation/Linux/Apache and PHP</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6151"/>
		<updated>2023-05-17T13:14:36Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Installing  Apache and PHP on Linux}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=The web server delivers your BlueSpice installation to the user&#039;s browser. Without a web server, BlueSpice cannot be used. The source code of BlueSpice is based on the scripting language &amp;quot;PHP&amp;quot;. This must also be installed on your server in order to operate BlueSpice. The steps listed here are required.}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
Apache or Nginx are available as web servers under Linux. BlueSpice can theoretically also be operated with Nginx, but in this documentation only Apache is treated in detail. Of course, you can also install Nginx with the appropriate expertise and operate it according to the here documented Virtualhost configuration of Apache.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If &amp;quot;User is not in the sudoers file.&amp;quot; type &amp;quot;su&amp;quot; in the terminal and execute. Write a &amp;quot;sudo&amp;quot; in front of a command.}}&lt;br /&gt;
==Installation==&lt;br /&gt;
Install Apache and PHP using the Aptitude package manager with the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt update; \&lt;br /&gt;
apt install apache2 \&lt;br /&gt;
    libapache2-mod-php7.4 \&lt;br /&gt;
    php7.4 \&lt;br /&gt;
    php7.4-cli \&lt;br /&gt;
    php7.4-common \&lt;br /&gt;
    php7.4-curl \&lt;br /&gt;
    php7.4-gd \&lt;br /&gt;
    php7.4-intl \&lt;br /&gt;
    php7.4-json \&lt;br /&gt;
    php7.4-mbstring \&lt;br /&gt;
    php7.4-mysql \&lt;br /&gt;
    php7.4-opcache \&lt;br /&gt;
    php7.4-tidy \&lt;br /&gt;
    php7.4-xml \&lt;br /&gt;
    php7.4-zip; \&lt;br /&gt;
apt clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;Depending on requirements, further PHP extensions may be necessary, e.g. for an LDAP connection.&lt;br /&gt;
&lt;br /&gt;
==Configuring PHP==&lt;br /&gt;
After the installation has been completed, first configure PHP. First change to the directory &amp;lt;code&amp;gt;/etc/php/7.4/apache2&amp;lt;/code&amp;gt; through the terminal and then execute the &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; file with the command &amp;lt;code&amp;gt;nano php.ini.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following settings and change the values accordingly. If a setting is commented out with a semicolon in front of it, please remove it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
max_execution_time = 600&lt;br /&gt;
post_max_size = 128M&lt;br /&gt;
upload_max_filesize = 128M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the value for &#039;date.timezone&#039; according to your own time zone.&lt;br /&gt;
&lt;br /&gt;
Save and exit the php.ini again.&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
{{Messagebox|boxtype=note|icon=|Note text=In this documentation, we assume the recommended installation with [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL]. In this case, the root directory of the web server is in &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;, but the actual source code of BlueSpice is in &amp;lt;code&amp;gt;/var/www/bluespice/w&amp;lt;/code&amp;gt;. This configuration is designed accordingly.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Multiple virtual hosts&#039;&#039;&#039;&lt;br /&gt;
This guide applies to cases where BlueSpice is being installed on a dedicated server. If you have other virtual hosts configured, you may need to specify an alias for the &amp;lt;code&amp;gt;/w/&amp;lt;/code&amp;gt; subfolder by adding the following to your Apache&#039;s http-specific configuration:  &amp;lt;code&amp;gt;Alias /w/ /path/to/w/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
|bgcolor=}}&lt;br /&gt;
&lt;br /&gt;
To configure a VirtualHost for BlueSpice, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
#Change to the directory &amp;lt;code&amp;gt;/etc/apache2/sites-available &amp;lt;/code&amp;gt;.&lt;br /&gt;
#In a text editor of your choice, open the file &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, which does not yet exist, and create it. Copy the entire contents of the following file into this new configuration file:&lt;br /&gt;
##For BlueSpice free: [[Media:Setup:apache vhost bluespice free.txt|apache_vhost_bluespice_free.txt]]&lt;br /&gt;
##For BlueSpice pro: [[Media:Setup:apache vhost bluespice pro.txt|apache_vhost_bluespice_pro.txt]]&lt;br /&gt;
#In rows 3 and 4, replace &amp;quot;SERVERNAME&amp;quot; and &amp;quot;SERVERALIAS&amp;quot; according to your server name and domain. If the server is explicitly operated with only one VirtualHost for BlueSpice, you can also completely remove these two lines.&lt;br /&gt;
#Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Delete the VirtualHost created by default during the Apache installation with the command &amp;lt;code&amp;gt;a2dissite 000-default&amp;lt;/code&amp;gt;. Then activate the just created VirtualHost with the command &amp;lt;code&amp;gt;a2ensite bluespice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, activate the Module Rewrite, which we configured in the &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, by entering the following command: &amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, create the directory &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;(&amp;lt;code&amp;gt;mkdir/var/www/bluespice&amp;lt;/code&amp;gt;) and restart Apache with the command &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, call up the URL of your BlueSpice server (localhost). If configured correctly, Apache should respond to the request with the error message &amp;quot;Not found&amp;quot;, which is completely correct at the time of installation.&lt;br /&gt;
&lt;br /&gt;
[[File:Setup:apache_not_found.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
==Next step==&lt;br /&gt;
If you have successfully completed all these steps, you can proceed to the next step &amp;quot;[[Setup: Installation Guide/System Preparation/Linux/MariaDB | MariaDB]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Systemvorbereitung/Linux/Apache_und_PHP]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6150</id>
		<title>Archive:Setup:Installation Guide/System Preparation/Linux/Apache and PHP</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6150"/>
		<updated>2023-05-17T12:58:47Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Installing  Apache and PHP on Linux}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=The web server delivers your BlueSpice installation to the user&#039;s browser. Without a web server, BlueSpice cannot be used. The source code of BlueSpice is based on the scripting language &amp;quot;PHP&amp;quot;. This must also be installed on your server in order to operate BlueSpice. The steps listed here are required.}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
Apache or Nginx are available as web servers under Linux. BlueSpice can theoretically also be operated with Nginx, but in this documentation only Apache is treated in detail. Of course, you can also install Nginx with the appropriate expertise and operate it according to the here documented Virtualhost configuration of Apache.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If &amp;quot;User is not in the sudoers file.&amp;quot; type &amp;quot;su&amp;quot; in the terminal and execute. Write a &amp;quot;sudo&amp;quot; in front of a command.}}&lt;br /&gt;
==Installation==&lt;br /&gt;
Install Apache and PHP using the Aptitude package manager with the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt update; \&lt;br /&gt;
apt install apache2 \&lt;br /&gt;
    libapache2-mod-php7.4 \&lt;br /&gt;
    php7.4 \&lt;br /&gt;
    php7.4-cli \&lt;br /&gt;
    php7.4-common \&lt;br /&gt;
    php7.4-curl \&lt;br /&gt;
    php7.4-gd \&lt;br /&gt;
    php7.4-intl \&lt;br /&gt;
    php7.4-json \&lt;br /&gt;
    php7.4-mbstring \&lt;br /&gt;
    php7.4-mysql \&lt;br /&gt;
    php7.4-opcache \&lt;br /&gt;
    php7.4-tidy \&lt;br /&gt;
    php7.4-xml \&lt;br /&gt;
    php7.4-zip; \&lt;br /&gt;
apt clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;Depending on requirements, further PHP extensions may be necessary, e.g. for an LDAP connection.&lt;br /&gt;
&lt;br /&gt;
==Configuring PHP==&lt;br /&gt;
After the installation has been completed, first configure PHP. First change to the directory &amp;lt;code&amp;gt;/etc/php/7.4/apache2&amp;lt;/code&amp;gt; through the terminal and then execute the &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; file with the command &amp;lt;code&amp;gt;nano php.ini.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following settings and change the values accordingly. If a setting is commented out with a semicolon in front of it, please remove it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
max_execution_time = 600&lt;br /&gt;
post_max_size = 128M&lt;br /&gt;
upload_max_filesize = 128M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the value for &#039;date.timezone&#039; according to your own time zone.&lt;br /&gt;
&lt;br /&gt;
Save and exit the php.ini again.&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=In this documentation, we assume the recommended installation with [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL]. In this case, the root directory of the web server is in &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;, but the actual source code of BlueSpice is in &amp;lt;code&amp;gt;/var/www/bluespice/w&amp;lt;/code&amp;gt;. This configuration is designed accordingly.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Multiple virtual hosts&#039;&#039;&#039;&lt;br /&gt;
This guide applies to cases where BlueSpice is being installed on a dedicated server. If you have other virtual hosts configured, you may need to specify an alias for the &amp;lt;code&amp;gt;/w/&amp;lt;/code&amp;gt; subfolder (e.g., by using &amp;lt;code&amp;gt;Alias /w/ /path/to/w/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To configure a VirtualHost for BlueSpice, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
#Change to the directory &amp;lt;code&amp;gt;/etc/apache2/sites-available &amp;lt;/code&amp;gt;.&lt;br /&gt;
#In a text editor of your choice, open the file &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, which does not yet exist, and create it. Copy the entire contents of the following file into this new configuration file:&lt;br /&gt;
##For BlueSpice free: [[Media:Setup:apache vhost bluespice free.txt|apache_vhost_bluespice_free.txt]]&lt;br /&gt;
##For BlueSpice pro: [[Media:Setup:apache vhost bluespice pro.txt|apache_vhost_bluespice_pro.txt]]&lt;br /&gt;
#In rows 3 and 4, replace &amp;quot;SERVERNAME&amp;quot; and &amp;quot;SERVERALIAS&amp;quot; according to your server name and domain. If the server is explicitly operated with only one VirtualHost for BlueSpice, you can also completely remove these two lines.&lt;br /&gt;
#Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Delete the VirtualHost created by default during the Apache installation with the command &amp;lt;code&amp;gt;a2dissite 000-default&amp;lt;/code&amp;gt;. Then activate the just created VirtualHost with the command &amp;lt;code&amp;gt;a2ensite bluespice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, activate the Module Rewrite, which we configured in the &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, by entering the following command: &amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, create the directory &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;(&amp;lt;code&amp;gt;mkdir/var/www/bluespice&amp;lt;/code&amp;gt;) and restart Apache with the command &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, call up the URL of your BlueSpice server (localhost). If configured correctly, Apache should respond to the request with the error message &amp;quot;Not found&amp;quot;, which is completely correct at the time of installation.&lt;br /&gt;
&lt;br /&gt;
[[File:Setup:apache_not_found.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
==Next step==&lt;br /&gt;
If you have successfully completed all these steps, you can proceed to the next step &amp;quot;[[Setup: Installation Guide/System Preparation/Linux/MariaDB | MariaDB]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Systemvorbereitung/Linux/Apache_und_PHP]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6149</id>
		<title>Archive:Setup:Installation Guide/System Preparation/Linux/Apache and PHP</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6149"/>
		<updated>2023-05-17T12:58:08Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Installing  Apache and PHP on Linux}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=The web server delivers your BlueSpice installation to the user&#039;s browser. Without a web server, BlueSpice cannot be used. The source code of BlueSpice is based on the scripting language &amp;quot;PHP&amp;quot;. This must also be installed on your server in order to operate BlueSpice. The steps listed here are required.}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
Apache or Nginx are available as web servers under Linux. BlueSpice can theoretically also be operated with Nginx, but in this documentation only Apache is treated in detail. Of course, you can also install Nginx with the appropriate expertise and operate it according to the here documented Virtualhost configuration of Apache.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If &amp;quot;User is not in the sudoers file.&amp;quot; type &amp;quot;su&amp;quot; in the terminal and execute. Write a &amp;quot;sudo&amp;quot; in front of a command.}}&lt;br /&gt;
==Installation==&lt;br /&gt;
Install Apache and PHP using the Aptitude package manager with the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt update; \&lt;br /&gt;
apt install apache2 \&lt;br /&gt;
    libapache2-mod-php7.4 \&lt;br /&gt;
    php7.4 \&lt;br /&gt;
    php7.4-cli \&lt;br /&gt;
    php7.4-common \&lt;br /&gt;
    php7.4-curl \&lt;br /&gt;
    php7.4-gd \&lt;br /&gt;
    php7.4-intl \&lt;br /&gt;
    php7.4-json \&lt;br /&gt;
    php7.4-mbstring \&lt;br /&gt;
    php7.4-mysql \&lt;br /&gt;
    php7.4-opcache \&lt;br /&gt;
    php7.4-tidy \&lt;br /&gt;
    php7.4-xml \&lt;br /&gt;
    php7.4-zip; \&lt;br /&gt;
apt clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;Depending on requirements, further PHP extensions may be necessary, e.g. for an LDAP connection.&lt;br /&gt;
&lt;br /&gt;
==Configuring PHP==&lt;br /&gt;
After the installation has been completed, first configure PHP. First change to the directory &amp;lt;code&amp;gt;/etc/php/7.4/apache2&amp;lt;/code&amp;gt; through the terminal and then execute the &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; file with the command &amp;lt;code&amp;gt;nano php.ini.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following settings and change the values accordingly. If a setting is commented out with a semicolon in front of it, please remove it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
max_execution_time = 600&lt;br /&gt;
post_max_size = 128M&lt;br /&gt;
upload_max_filesize = 128M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the value for &#039;date.timezone&#039; according to your own time zone.&lt;br /&gt;
&lt;br /&gt;
Save and exit the php.ini again.&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=In this documentation, we assume the recommended installation with [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL]. In this case, the root directory of the web server is in &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;, but the actual source code of BlueSpice is in &amp;lt;code&amp;gt;/var/www/bluespice/w&amp;lt;/code&amp;gt;. This configuration is designed accordingly.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Multiple virtual hosts&#039;&#039;&#039;&lt;br /&gt;
This guide applies to cases where BlueSpice is being installed on a dedicated server. If you have other virtual hosts configured, you may need to specify an alias for the &amp;lt;code&amp;gt;/w/&amp;lt;/code&amp;gt; subfolder (e.g. by using &amp;lt;code&amp;gt;Alias /w/ /path/to/w/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To configure a VirtualHost for BlueSpice, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
#Change to the directory &amp;lt;code&amp;gt;/etc/apache2/sites-available &amp;lt;/code&amp;gt;.&lt;br /&gt;
#In a text editor of your choice, open the file &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, which does not yet exist, and create it. Copy the entire contents of the following file into this new configuration file:&lt;br /&gt;
##For BlueSpice free: [[Media:Setup:apache vhost bluespice free.txt|apache_vhost_bluespice_free.txt]]&lt;br /&gt;
##For BlueSpice pro: [[Media:Setup:apache vhost bluespice pro.txt|apache_vhost_bluespice_pro.txt]]&lt;br /&gt;
#In rows 3 and 4, replace &amp;quot;SERVERNAME&amp;quot; and &amp;quot;SERVERALIAS&amp;quot; according to your server name and domain. If the server is explicitly operated with only one VirtualHost for BlueSpice, you can also completely remove these two lines.&lt;br /&gt;
#Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Delete the VirtualHost created by default during the Apache installation with the command &amp;lt;code&amp;gt;a2dissite 000-default&amp;lt;/code&amp;gt;. Then activate the just created VirtualHost with the command &amp;lt;code&amp;gt;a2ensite bluespice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, activate the Module Rewrite, which we configured in the &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, by entering the following command: &amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, create the directory &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;(&amp;lt;code&amp;gt;mkdir/var/www/bluespice&amp;lt;/code&amp;gt;) and restart Apache with the command &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, call up the URL of your BlueSpice server (localhost). If configured correctly, Apache should respond to the request with the error message &amp;quot;Not found&amp;quot;, which is completely correct at the time of installation.&lt;br /&gt;
&lt;br /&gt;
[[File:Setup:apache_not_found.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
==Next step==&lt;br /&gt;
If you have successfully completed all these steps, you can proceed to the next step &amp;quot;[[Setup: Installation Guide/System Preparation/Linux/MariaDB | MariaDB]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Systemvorbereitung/Linux/Apache_und_PHP]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6148</id>
		<title>Archive:Setup:Installation Guide/System Preparation/Linux/Apache and PHP</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6148"/>
		<updated>2023-05-17T12:57:51Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Installing  Apache and PHP on Linux}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=The web server delivers your BlueSpice installation to the user&#039;s browser. Without a web server, BlueSpice cannot be used. The source code of BlueSpice is based on the scripting language &amp;quot;PHP&amp;quot;. This must also be installed on your server in order to operate BlueSpice. The steps listed here are required.}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
Apache or Nginx are available as web servers under Linux. BlueSpice can theoretically also be operated with Nginx, but in this documentation only Apache is treated in detail. Of course, you can also install Nginx with the appropriate expertise and operate it according to the here documented Virtualhost configuration of Apache.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If &amp;quot;User is not in the sudoers file.&amp;quot; type &amp;quot;su&amp;quot; in the terminal and execute. Write a &amp;quot;sudo&amp;quot; in front of a command.}}&lt;br /&gt;
==Installation==&lt;br /&gt;
Install Apache and PHP using the Aptitude package manager with the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt update; \&lt;br /&gt;
apt install apache2 \&lt;br /&gt;
    libapache2-mod-php7.4 \&lt;br /&gt;
    php7.4 \&lt;br /&gt;
    php7.4-cli \&lt;br /&gt;
    php7.4-common \&lt;br /&gt;
    php7.4-curl \&lt;br /&gt;
    php7.4-gd \&lt;br /&gt;
    php7.4-intl \&lt;br /&gt;
    php7.4-json \&lt;br /&gt;
    php7.4-mbstring \&lt;br /&gt;
    php7.4-mysql \&lt;br /&gt;
    php7.4-opcache \&lt;br /&gt;
    php7.4-tidy \&lt;br /&gt;
    php7.4-xml \&lt;br /&gt;
    php7.4-zip; \&lt;br /&gt;
apt clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;Depending on requirements, further PHP extensions may be necessary, e.g. for an LDAP connection.&lt;br /&gt;
&lt;br /&gt;
==Configuring PHP==&lt;br /&gt;
After the installation has been completed, first configure PHP. First change to the directory &amp;lt;code&amp;gt;/etc/php/7.4/apache2&amp;lt;/code&amp;gt; through the terminal and then execute the &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; file with the command &amp;lt;code&amp;gt;nano php.ini.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following settings and change the values accordingly. If a setting is commented out with a semicolon in front of it, please remove it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
max_execution_time = 600&lt;br /&gt;
post_max_size = 128M&lt;br /&gt;
upload_max_filesize = 128M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the value for &#039;date.timezone&#039; according to your own time zone.&lt;br /&gt;
&lt;br /&gt;
Save and exit the php.ini again.&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=In this documentation, we assume the recommended installation with [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL]. In this case, the root directory of the web server is in &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;, but the actual source code of BlueSpice is in &amp;lt;code&amp;gt;/var/www/bluespice/w&amp;lt;/code&amp;gt;. This configuration is designed accordingly.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Multiple virtual hosts&#039;&#039;&#039;&lt;br /&gt;
This guide applies to cases where BlueSpice is being installed on a dedicated server. If you have other virtual hosts configured, you may need to specify an alias for the &amp;lt;code&amp;gt;/w/&amp;lt;/code&amp;gt; subfolder (e.g. by using &amp;lt;code&amp;gt;Alias /w/ /path/to/w/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To configure a VirtualHost for BlueSpice, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
#Change to the directory &amp;lt;code&amp;gt;/etc/apache2/sites-available &amp;lt;/code&amp;gt;.&lt;br /&gt;
#In a text editor of your choice, open the file &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, which does not yet exist, and create it. Copy the entire contents of the following file into this new configuration file:&lt;br /&gt;
##For BlueSpice free: [[Media:Setup:apache vhost bluespice free.txt|apache_vhost_bluespice_free.txt]]&lt;br /&gt;
##For BlueSpice pro: [[Media:Setup:apache vhost bluespice pro.txt|apache_vhost_bluespice_pro.txt]]&lt;br /&gt;
#In rows 3 and 4, replace &amp;quot;SERVERNAME&amp;quot; and &amp;quot;SERVERALIAS&amp;quot; according to your server name and domain. If the server is explicitly operated with only one VirtualHost for BlueSpice, you can also completely remove these two lines.&lt;br /&gt;
#Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Delete the VirtualHost created by default during the Apache installation with the command &amp;lt;code&amp;gt;a2dissite 000-default&amp;lt;/code&amp;gt;. Then activate the just created VirtualHost with the command &amp;lt;code&amp;gt;a2ensite bluespice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, activate the Module Rewrite, which we configured in the &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, by entering the following command: &amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, create the directory &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;(&amp;lt;code&amp;gt;mkdir/var/www/bluespice&amp;lt;/code&amp;gt;) and restart Apache with the command &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, call up the URL of your BlueSpice server (localhost). If configured correctly, Apache should respond to the request with the error message &amp;quot;Not found&amp;quot;, which is completely correct at the time of installation.&lt;br /&gt;
&lt;br /&gt;
[[File:Setup:apache_not_found.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
==Next step==&lt;br /&gt;
If you have successfully completed all these steps, you can proceed to the next step &amp;quot;[[Setup: Installation Guide/System Preparation/Linux/MariaDB | MariaDB]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Systemvorbereitung/Linux/Apache_und_PHP]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Site:Privacy_policy&amp;diff=6147</id>
		<title>Site:Privacy policy</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Site:Privacy_policy&amp;diff=6147"/>
		<updated>2023-05-17T12:24:39Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Community&amp;diff=6145</id>
		<title>Community</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Community&amp;diff=6145"/>
		<updated>2023-05-17T12:24:26Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Banner|banner-image=pexels-jeffrey-czum-2346289.jpg|image-width=300|imagealign=|banner-title=Community|titlesize=|titlecolor=|banner-text=Be part of the community and exchange your knowledge about wikis and BlueSpice!|textsize=|textcolor=|contentpadding=20px 40px|boxpadding=10px|boxbgcolor=}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionflex col3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
== Email Support ==&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;bi bi-envelope-open-fill bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contact us by email at&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[mailto:support@hallowelt.com support@hallowelt.com]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
== Support forums ==&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;bi bi-chat-dots-fill  bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/tracker/?func=add&amp;amp;group_id=358032&amp;amp;atid=1494709 Sourceforge bug report]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[http://sourceforge.net/p/bluespice/discussion/1249668 Sourceforge help forum]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
== Newsletter ==&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;bi bi-newspaper  bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://bluespice.com/newsletter Subscribe to our newsletter. &amp;lt;br /&amp;gt;We send 1-2 mails per month.]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
== Social Media ==&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;bi bi-facebook  bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;bi bi-twitter  bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[https://www.facebook.com/BlueSpice.MediaWiki Contact us via Facebook]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[https://twitter.com/BlueSpiceTweets Follow us on Twitter!]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
== YouTube ==&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;bi bi-youtube  bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[https://www.youtube.com/user/BlueSpiceVideo Leave a comment on our videos. &amp;lt;br /&amp;gt;We appreciate it!]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
== Participate! ==&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;bi bi-laptop-fill bi-big&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[How to become a BlueSpice hacker|BlueSpice hackers wanted!]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NODISCUSSION__&lt;br /&gt;
__HIDETITLE__&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[de:{{FULLPAGENAME}}]]&lt;br /&gt;
[[en:Community]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6144</id>
		<title>Archive:Setup:Installation Guide/System Preparation/Linux/Apache and PHP</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Archive:Setup:Installation_Guide/System_Preparation/Linux/Apache_and_PHP&amp;diff=6144"/>
		<updated>2023-05-17T11:45:36Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Installing  Apache and PHP on Linux}}&lt;br /&gt;
__TOC__&lt;br /&gt;
{{Messagebox|boxtype=important|Note text=The web server delivers your BlueSpice installation to the user&#039;s browser. Without a web server, BlueSpice cannot be used. The source code of BlueSpice is based on the scripting language &amp;quot;PHP&amp;quot;. This must also be installed on your server in order to operate BlueSpice. The steps listed here are required.}}&lt;br /&gt;
==Introduction==&lt;br /&gt;
Apache or Nginx are available as web servers under Linux. BlueSpice can theoretically also be operated with Nginx, but in this documentation only Apache is treated in detail. Of course, you can also install Nginx with the appropriate expertise and operate it according to the here documented Virtualhost configuration of Apache.&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=If &amp;quot;User is not in the sudoers file.&amp;quot; type &amp;quot;su&amp;quot; in the terminal and execute. Write a &amp;quot;sudo&amp;quot; in front of a command.}}&lt;br /&gt;
==Installation==&lt;br /&gt;
Install Apache and PHP using the Aptitude package manager with the following steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt update; \&lt;br /&gt;
apt install apache2 \&lt;br /&gt;
    libapache2-mod-php7.4 \&lt;br /&gt;
    php7.4 \&lt;br /&gt;
    php7.4-cli \&lt;br /&gt;
    php7.4-common \&lt;br /&gt;
    php7.4-curl \&lt;br /&gt;
    php7.4-gd \&lt;br /&gt;
    php7.4-intl \&lt;br /&gt;
    php7.4-json \&lt;br /&gt;
    php7.4-mbstring \&lt;br /&gt;
    php7.4-mysql \&lt;br /&gt;
    php7.4-opcache \&lt;br /&gt;
    php7.4-tidy \&lt;br /&gt;
    php7.4-xml \&lt;br /&gt;
    php7.4-zip; \&lt;br /&gt;
apt clean&lt;br /&gt;
&amp;lt;/pre&amp;gt;Depending on requirements, further PHP extensions may be necessary, e.g. for an LDAP connection.&lt;br /&gt;
&lt;br /&gt;
==Configuring PHP==&lt;br /&gt;
After the installation has been completed, first configure PHP. First change to the directory &amp;lt;code&amp;gt;/etc/php/7.4/apache2&amp;lt;/code&amp;gt; through the terminal and then execute the &amp;lt;code&amp;gt;php.ini&amp;lt;/code&amp;gt; file with the command &amp;lt;code&amp;gt;nano php.ini.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following settings and change the values accordingly. If a setting is commented out with a semicolon in front of it, please remove it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
date.timezone = Europe/Berlin&lt;br /&gt;
max_execution_time = 600&lt;br /&gt;
post_max_size = 128M&lt;br /&gt;
upload_max_filesize = 128M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the value for &#039;date.timezone&#039; according to your own time zone.&lt;br /&gt;
&lt;br /&gt;
Save and exit the php.ini again.&lt;br /&gt;
==Configuring Apache==&lt;br /&gt;
{{Messagebox|boxtype=note|Note text=In this documentation, we assume the recommended installation with [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL]. In this case, the root directory of the web server is in &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;, but the actual source code of BlueSpice is in &amp;lt;code&amp;gt;/var/www/bluespice/w&amp;lt;/code&amp;gt;. This configuration is designed accordingly.}}&lt;br /&gt;
&lt;br /&gt;
To configure a VirtualHost for BlueSpice, please proceed as follows:&lt;br /&gt;
&lt;br /&gt;
#Change to the directory &amp;lt;code&amp;gt;/etc/apache2/sites-available &amp;lt;/code&amp;gt;.&lt;br /&gt;
#In a text editor of your choice, open the file &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, which does not yet exist, and create it. Copy the entire contents of the following file into this new configuration file:&lt;br /&gt;
##For BlueSpice free: [[Media:Setup:apache vhost bluespice free.txt|apache_vhost_bluespice_free.txt]]&lt;br /&gt;
##For BlueSpice pro: [[Media:Setup:apache vhost bluespice pro.txt|apache_vhost_bluespice_pro.txt]]&lt;br /&gt;
#In rows 3 and 4, replace &amp;quot;SERVERNAME&amp;quot; and &amp;quot;SERVERALIAS&amp;quot; according to your server name and domain. If the server is explicitly operated with only one VirtualHost for BlueSpice, you can also completely remove these two lines.&lt;br /&gt;
#Save the file and close it.&lt;br /&gt;
&lt;br /&gt;
This guide applies to cases where BlueSpice is being installed on a dedicated server. If you have other virtual hosts configured, you may need to specify an alias for the &amp;lt;code&amp;gt;/w/&amp;lt;/code&amp;gt; subfolder (e.g. by using &amp;lt;code&amp;gt;Alias /w/ /path/to/w/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Delete the VirtualHost created by default during the Apache installation with the command &amp;lt;code&amp;gt;a2dissite 000-default&amp;lt;/code&amp;gt;. Then activate the just created VirtualHost with the command &amp;lt;code&amp;gt;a2ensite bluespice&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, activate the Module Rewrite, which we configured in the &amp;lt;code&amp;gt;bluespice.conf&amp;lt;/code&amp;gt;, by entering the following command: &amp;lt;code&amp;gt;a2enmod rewrite&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, create the directory &amp;lt;code&amp;gt;/var/www/bluespice&amp;lt;/code&amp;gt;(&amp;lt;code&amp;gt;mkdir/var/www/bluespice&amp;lt;/code&amp;gt;) and restart Apache with the command &amp;lt;code&amp;gt;service apache2 restart&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Next, call up the URL of your BlueSpice server (localhost). If configured correctly, Apache should respond to the request with the error message &amp;quot;Not found&amp;quot;, which is completely correct at the time of installation.&lt;br /&gt;
&lt;br /&gt;
[[File:Setup:apache_not_found.png|frameless]]&lt;br /&gt;
&lt;br /&gt;
==Next step==&lt;br /&gt;
If you have successfully completed all these steps, you can proceed to the next step &amp;quot;[[Setup: Installation Guide/System Preparation/Linux/MariaDB | MariaDB]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[en:{{FULLPAGENAME}}]]&lt;br /&gt;
[[de:Setup:Installationsanleitung/Systemvorbereitung/Linux/Apache_und_PHP]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Reference:MenuEditor&amp;diff=5785</id>
		<title>Reference:MenuEditor</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Reference:MenuEditor&amp;diff=5785"/>
		<updated>2023-04-11T11:04:17Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BSExtensionInfo&lt;br /&gt;
|status=stable&lt;br /&gt;
|developer=HalloWelt&lt;br /&gt;
|type=BlueSpice&lt;br /&gt;
|edition=BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud&lt;br /&gt;
|compatible=BlueSpice&lt;br /&gt;
|category=Content Structuring&lt;br /&gt;
|license=GPL v3 only&lt;br /&gt;
|features={{BSVersion|bsvFrom=4.2|bsvTo=|bsvFeature=}}&lt;br /&gt;
*Graphical user interface allows editing of the left sidebar as well as the user menu via drag and drop&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{wcagCheck}}&lt;br /&gt;
{{translation}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=AutoDoc:MenuEditor&amp;diff=5784</id>
		<title>AutoDoc:MenuEditor</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=AutoDoc:MenuEditor&amp;diff=5784"/>
		<updated>2023-04-11T11:03:27Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: Created page with &amp;quot;==DescriptionMsg== {{AutoDocDescriptionMsg |name = MenuEditor |desc = {{int:menueditor-desc }} }} ==License== {{AutoDocLicense |name = GPL-3.0-only }} ==Requirements== {{AutoD...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==DescriptionMsg==&lt;br /&gt;
{{AutoDocDescriptionMsg&lt;br /&gt;
|name = MenuEditor&lt;br /&gt;
|desc = {{int:menueditor-desc&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
==License==&lt;br /&gt;
{{AutoDocLicense&lt;br /&gt;
|name = GPL-3.0-only&lt;br /&gt;
}}&lt;br /&gt;
==Requirements==&lt;br /&gt;
{{AutoDocRequirements&lt;br /&gt;
|mediawiki = {{AutoDocVersion&lt;br /&gt;
|name = MediaWiki&lt;br /&gt;
|version = 1.35.0&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
==IntegratesInto==&lt;br /&gt;
{{AutoDocIntegratesInto&lt;br /&gt;
|into = {{AutoDocListItem&lt;br /&gt;
|item = MenuEditor&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
==Hooks==&lt;br /&gt;
{{AutoDocHooks&lt;br /&gt;
|Hooks = {{AutoDocCallback&lt;br /&gt;
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforeInitialize BeforeInitialize]&lt;br /&gt;
|callback = initializeMenus&lt;br /&gt;
}}&lt;br /&gt;
{{AutoDocCallback&lt;br /&gt;
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]&lt;br /&gt;
|callback = editActions&lt;br /&gt;
}}&lt;br /&gt;
{{AutoDocCallback&lt;br /&gt;
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MediaWikiPerformAction MediaWikiPerformAction]&lt;br /&gt;
|callback = editActions&lt;br /&gt;
}}&lt;br /&gt;
{{AutoDocCallback&lt;br /&gt;
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateNavigation::Universal SkinTemplateNavigation::Universal]&lt;br /&gt;
|callback = editActions&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://en.wiki.bluespice.com/w/index.php?title=Reference:MenuEditor&amp;diff=5783</id>
		<title>Reference:MenuEditor</title>
		<link rel="alternate" type="text/html" href="https://en.wiki.bluespice.com/w/index.php?title=Reference:MenuEditor&amp;diff=5783"/>
		<updated>2023-04-11T11:02:12Z</updated>

		<summary type="html">&lt;p&gt;WikiSysop: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BSExtensionInfo&lt;br /&gt;
|status=stable&lt;br /&gt;
|developer=HalloWelt&lt;br /&gt;
|type=BlueSpice&lt;br /&gt;
|edition=BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud&lt;br /&gt;
|compatible=BlueSpice&lt;br /&gt;
|category=Content Structuring&lt;br /&gt;
|license=GPL v3 only&lt;br /&gt;
|features=&amp;lt;div class=&amp;quot;hw-messagebox notification-bsversion icon&amp;quot;&amp;gt; is available from BlueSpice [[bsvFrom::4.2]] &amp;lt;/div&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
*Graphical user interface allows editing of the left sidebar as well as the user menu via drag and drop&lt;br /&gt;
*Allows to embed the name of a wiki page, external links as well as interwiki links&lt;br /&gt;
}}&lt;br /&gt;
{{wcagCheck}}&lt;br /&gt;
{{translation}}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>