How do I upgrade an existing installation on Linux?

To upgrade an existing SearchBlox installation on Linux, follow these steps:

  1. Stop the SearchBlox service and back up the folder before performing the upgrade.

  2. Change the current installation folder name from /opt/searchblox to /opt/searchbloxold

    Upgrading from 8.x version:
    For clean install remove the following files (This is required for the changes made in new changes to reflect in the build)
    rm -rf /etc/init.d/searchblox
    rm -rf /opt/searchblox_unix64.tar.gz

    Upgrading from 9.x to 9.1:
    Uninstall the previous version using the command below:
    yum remove searchblox

  3. Install the 9.1 version using the instructions
    Installing on Linux - Centos, RHEL
    Installing on Linux - Ubuntu

  4. After installing run the following commands to run the SearchBlox service successfully
    sudo systemctl daemon-reexec
    sudo systemctl daemon-reload

  5. After you have the new /opt/searchblox folder, copy over the following files: /opt/searchblox/webapps/searchblox/WEB-INF/config.xml /opt/searchblox/webapps/searchblox/WEB-INF/license.xml.
    copy the following folder and then replace the one in the latest build for the collections to reflect synonyms
    /opt/searchblox/webapps/searchblox/synonyms

  6. Stop and Start SearchBlox
    Stop SearchBlox
    systemctl stop sbelastic
    systemctl stop searchblox

    Start SearchBlox
    systemctl start sbelastic
    systemctl start searchblox

  7. Once the new server service starts up, with the license key applied and the same configuration settings in the new version, re-index the collections and test searching.

  8. If you have created any XSL stylesheets or custom pages or using custom plugins, copy them over from the old installation to the new one into the respective locations.



To learn more about SearchBlox please visit our developer document site https://developer.searchblox.com/docs

Have more questions? Submit a request

Comments