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

app-center
upgrade
bluespice
ucs-4
problem

#1

See first the introducing article

Problem

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>

<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
</Directory>

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

Purge

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

Init

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

Rebuild

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/

closed #2