Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
You are viewing an old version of this page. Return to the latest version.
This is the version of 27 May 2025, 08:07 by Robert Vogel
PreviousNext
  • Setup
  • Installation Guide
    • Update from 4.5 to 5.1
      • Classic tarball
      Last edited 13 hours ago
      by Robert Vogel

      Classic tarball

      Revision as of 08:07, 27 May 2025 by Robert Vogel (talk | contribs)
      (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

      Contents

      • 1 Setup Docker Stack
      • 2 Import Database
      • 3 Copy Images
      • 4 SSL Certificates (if not using Let's Encrypt)
      • 5 Certificates using Let's Encrypt
      • 6 Migrate Configuration
      • 7 Update the Wiki

      Setup Docker Stack

      Ensure the Docker Stack is running according to the BlueSpice Docker installation guide.

      Import Database

      Run the following command on the host system to create a dump of the BlueSpice MySQL database:

      mysqldump -u root -p bluespice > /tmp/dump.sql

      Delete the automatically created database inside the Docker container (Docker stack has to be running):

      ./bluespice-deploy exec -T database mariadb  <<< "drop database bluespice;"

      Create a new empty database:

      ./bluespice-deploy exec -T database mariadb  <<< "create database bluespice;"

      Import the database into the Docker container (Docker Stack has to be running):

      cat /tmp/dump.sql | ./bluespice-deploy exec -T database mariadb bluespice

      Copy Images

      Copy the images directory into the Docker data directory. Replace $DATADIR with your actual DATADIR ($DATADIR is set in .env):

      cp -r images $DATADIR/wiki/bluespice/

      SSL Certificates (if not using Let's Encrypt)

      If you're using self-signed or manually managed SSL certificates, move (and convert if necessary) your certificate and key to the following location:

      $DATADIR/proxy/certs/wiki.example.com.crt
      
      $DATADIR/proxy/certs/wiki.example.com.key
      Ensure the certificate filenames match the domain used.


      Certificates using Let's Encrypt

      See BlueSpice Docker installation guide

      Migrate Configuration

      The following files and folders can contain local changes:

      • settings.d/ directory
      • all LocalSettings.php files
      • extensions/BlueSpiceFoundation/data/ directory


      Move the relevant changes to

      $DATADIR/wiki/bluespice/pre-init-settings.php

      or

      $DATADIR/wiki/bluespice/post-init-settings.php

      Update the Wiki

      Run this from your new server where the Docker stack is running on:

      cd $DATADIR/bluespice-deploy/compose
      
      ./bluespice-deploy exec wiki-task run-updates
      

      Re-index the search:

      ./bluespice-deploy exec wiki-task "php /app/bluespice/w/extensions/BlueSpiceExtendedSearch/maintenance/initBackends.php --quick"
      
      ./bluespice-deploy exec wiki-task "php /app/bluespice/w/extensions/BlueSpiceExtendedSearch/maintenance/rebuildIndex.php --quick"
      
      ./bluespice-deploy exec wiki-task "php /app/bluespice/w/maintenance/runJobs.php"


      PDF exclude - start

      To submit feedback about this documentation, visit our community forum.

      PDF exclude - end
      Retrieved from "https://en.wiki5.bluespice.com/w/index.php?title=Setup:Installation_Guide/Update_from_4.5_to_5.1/Classic_tarball&oldid=11948"
      • Pages with syntax highlighting errors
      Edit
      Page actions and tools navigaiton contains tabs, toolbox and actions
      Actions
      • Refresh
      • Copy URL
      • E-Mail
      • QR code
      Details
      • View history
      • Page information
      • Browse properties
      • ... all actions
      • Privacy policy
      • Terms of service
      • Disclaimer
      • Imprint
      • Accessibility
      • About
      • Analysis service
      • Edit preview settings
      • Powered by MediaWiki
      • Powered by BlueSpice
      • Powered by Semantic MediaWiki
      • Creative Commons License