Problem: Bluespice upgrade fails with messge "no space left on device"

See first the introducing article


Some default config seems not to fit any environment. Inside the docker container (some of) the following steps might be applied

Container Apache configuration

In the Apache2 container configuration for Bluespice, the following had to be adjusted for ports 80 and 443:

<Directory /var/www/bluespice>
Options FollowSymLinks MultiViews
AllowOverride None
Require all granted

<Directory /var/www/bluespice/images>
AllowOverride None
AddType text/plain .html .htm .shtml .phtml .php .php3 .php4 .php5 .php7
php_admin_flag engine off
Require all granted

Bluespice local settings

If necessary the /etc/bluespice/LocalSettings.php must be adjusted to our needs:

# MySQL specific settings
$wgDBprefix = “bsp3”;

Run the update script

The maintenance script had to be executed:

 php maintenance/update.php --quick

Adjust language

# Site language code, should be one of the list in ./languages/data/Names.php
$wgLanguageCode = “de”;

Rebuild Indices

Now the indices must be recreated


root@blues-14344585:/var/www/bluespice# php extensions/BlueSpiceExtendedSearch/maintenance/purgeIndexes.php


root@blues-14344585:/var/www/bluespice# php extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php


root@blues-14344585:/var/www/bluespice# php extensions/BlueSpiceExtendedSearch/maintenance/rebuildIndex.php

Run maintenance jobs

root@blues-14344585:~# php /var/www/bluespice/maintenance/runJobs.php

Adjust some rights

If necessary change ownership of these folders and inside files

chown -R www-data:www-data /opt/bluespice/cache
chown -R www-data:www-data /var/bluespice/images/