Setup:Installationsanleitung/Docker/Update: Unterschied zwischen den Versionen

(Die Seite wurde neu angelegt: „ == <span class="mw-headline">Introduction</span> == * Edition: BlueSpice free, distributed on Docker Hub as a Docker image. * Starting from version 3.1.13, B…“)
 
(Der Seiteninhalt wurde durch einen anderen Text ersetzt: „Derzeit gibt es noch kein Docker-Image für BlueSpice 4.“)
Markierungen: Ersetzt 2017-Quelltext-Bearbeitung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
Derzeit gibt es noch kein Docker-Image für BlueSpice 4.
== <span class="mw-headline">Introduction</span> ==
 
* Edition: BlueSpice free, distributed on Docker Hub as a Docker image.
* Starting from version 3.1.13, BlueSpice Docker Hub release is able to upgrade itself automatically.
 
== <span class="mw-headline">Spinning up a new container with old data</span> ==
We assume you have a BlueSpice installation from Docker Hub. Also, this installation should have been done using an external data volume.
 
Example:<div>
docker run -d -p <span class="m" style="color: rgb(102, 102, 102)">80</span>:80 -v <span class="o" style="color: rgb(102, 102, 102)">{</span>/my/data/folder<span class="o" style="color: rgb(102, 102, 102)">}</span>:/data bluespice/bluespice-free
</div>1.Back up your current data folder:<div>
sudo cp -Rf /my/data/folder /my/data/current
</div>2. Stop your current BlueSpice-free container:<div>
docker container stop <span class="nv" style="color: rgb(25, 23, 124)">$your_container_id_or_name</span>
</div>3. Remove the container (optional):<div>
docker container rm <span class="nv" style="color: rgb(25, 23, 124)">$your_container_id_or_name</span>
</div>4. Fetch the new container image:<div>
docker pull bluespice/bluespice-free:latest
</div>6. Create a fresh container with the new image:<div>
docker run -d -p <span class="m" style="color: rgb(102, 102, 102)">80</span>:80 -v <span class="o" style="color: rgb(102, 102, 102)">{</span>/my/data/new<span class="o" style="color: rgb(102, 102, 102)">}</span>:/data bluespice/bluespice-free
</div>the BlueSpice DockerHub container will detect the old installation and execute necessary maintenance tasks in the background.
 
After the bootup, the Wiki will be up to date.
 
== <span class="mw-headline">Fixing the broken search</span> ==
The following commands fix the BlueSpiceExtendedSearch indexes:<div>
sudo docker <span class="nb" style="color: rgb(0, 128, 0)">exec</span> <span class="nv" style="color: rgb(25, 23, 124)">$container_name_or_id</span> /opt/docker/setwikiperm.sh /data/www/bluespice/w
sudo docker <span class="nb" style="color: rgb(0, 128, 0)">exec</span> <span class="nv" style="color: rgb(25, 23, 124)">$container_name_or_id</span> /usr/bin/php /data/www/bluespice/w/maintenance/update.php --quick
sudo docker <span class="nb" style="color: rgb(0, 128, 0)">exec</span> <span class="nv" style="color: rgb(25, 23, 124)">$container_name_or_id</span> /usr/bin/php /data/www/bluespice/w/maintenance/rebuildall.php --quick
sudo docker <span class="nb" style="color: rgb(0, 128, 0)">exec</span> <span class="nv" style="color: rgb(25, 23, 124)">$container_name_or_id</span> /usr/bin/php /data/www/bluespice/w/extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick
sudo docker <span class="nb" style="color: rgb(0, 128, 0)">exec</span> <span class="nv" style="color: rgb(25, 23, 124)">$container_name_or_id</span> /usr/bin/php /data/www/bluespice/w/extensions/BlueSpiceExtendedSearch/maintenance/rebuildIndex.php
sudo docker <span class="nb" style="color: rgb(0, 128, 0)">exec</span> <span class="nv" style="color: rgb(25, 23, 124)">$container_name_or_id</span> /usr/bin/php /data/www/bluespice/w/maintenance/runJobs.php
</div>

Aktuelle Version vom 8. Dezember 2021, 11:30 Uhr

Derzeit gibt es noch kein Docker-Image für BlueSpice 4.



Feedback zur Dokumentation ist im Community-Forum möglich.

Keine Kategorien vergebenBearbeiten

Diskussionen