Loading

Help documentation

Upgrading from previous versions

Upgrading from Mingle 3.3, 3.3.1, 3.4 or 3.4.1

Before you get started

    Applicability: These instructions are for upgrading from Mingle 3.3, Mingle 3.3.1 or Mingle 3.4 to Mingle 3.5. See Upgrading from Mingle 3.2 for information about how to upgrade from Mingle 3.2. Upgrades and importing projects from earlier versions (such as 1.0, 1.1, 2.0, 2.0.1, 2.1, 2.2, 2.3, 2.3.1, 3.0, 3.1, the 1.0 Early Access and 2.0 Early Access versions) are not supported.

  • Please ensure that nobody, other than Mingle administrators completing the upgrade, has access to Mingle during the upgrade process. We expect that the upgrade of Mingle is completed by Mingle administrators only.
  • The upgrade to 3.5 involves migration of your existing data which is a very sensitive process. We strongly recommend that you make a backup of the mingle data directory and your database before starting the upgrade process. DO NOT SHUT DOWN THE SERVER IN THE MIDDLE OF THE UPGRADE PROCESS.
  • ANY TEMPLATES THAT WERE INSTALLED WITH THE PREVIOUS RELEASES WILL BE REPLACED. This has no impact on any of your existing projects or any templates that you have created yourself. If you have modified the pre-installed templates and wish to keep them, you must export them and then import them using a different name before the upgrade.
  • The Mingle database will be upgraded and any projects in your database will be upgraded and fully usable as soon as you start a newly installed 3.5 Mingle server.
  • Any old project export files (.mingle files) can be directly imported into this version of the application. They will be automatically upgraded upon import.

Installing the software

Windows

  1. Note the location of the Mingle data, swap, config directories and the port on which Mingle is currently running. Typically, the Mingle data directory is in your home directory (C:\Documents and Settings\[username]\Mingle) and the port is 8080.
  2. Run the Mingle uninstaller to remove your current installation. The uninstaller will stop the Mingle service if it is currently running.
  3. Run the new installer, specifying the same data, swap, config directories and port as the previous installer. The installer will automatically start the new Mingle service when it completes.
  4. Open your browser to any Mingle page. You will be warned to backup your data. Accept this and proceed after backing up your database.
  5. You may like to move the revision cache from the old cache directory (/[swap_dir]/mmmmm_xxxxx/cache) to the new location (/[swapDir]/nnnnn_xxxxx) in order to preserve your revision cache and avoid having to wait for the cache to rebuild (where mmmmm_xxxxx is the identifier for the 3_3_1 version of Mingle and nnnnn_xxxxx is the identifier for the 3_5 version of Mingle).

If you do not uninstall Mingle manually and try to install a newer version at the same location as an existing installation, Mingle will automatically uninstall the existing installation of Mingle before installing the new version.

Linux/Unix/Mac OS X

As the Mac OSX installer is no longer supported, if you have previously used this installer, you will need to migrate to use the Linux/Unix installer.

  • Note the path of the data directory and the config directory from the old Mingle launch window. You can safely ignore the the values specified for port and swap directory.
  • Follow the Linux/Unix installation steps below specifying your data directory and your config directory locations from your previous installation.

  1. Note the location of the Mingle data, swap, config directories and port on which Mingle is currently running. You may retrieve these locations by running "ps aux | grep MingleServer".
  2. If the Mingle server is currently running, stop it by running './MingleServer stop' in the old Mingle installation directory.
  3. Untar the newly downloaded archive.
  4. Start Mingle, using './MingleServer --mingle.dataDir=/path/to/your/data start' where /path/to/your/data is the location of your data directory. Use the '--mingle.swapDir' and '--mingle.configDir' switches should you want to override the defaults.
  5. Open your browser to any Mingle page. You will be warned to backup your data. Accept this and proceed after backing up your database.
  6. You may like to move the revision cache from the old cache directory (/[swap_dir]/mmmmm_xxxxx/cache) to the new location (/[swapDir]/nnnnn_xxxxx) in order to preserve your revision cache and avoid having to wait for the cache to rebuild (where mmmmm_xxxxx is the identifier for the 3_3_1 version of Mingle and nnnnn_xxxxx is the identifier for the 3_5 version of Mingle).

See Advanced configuration for additional configuration options.

After installation is complete...

Configuring Mingle's authentication

The authentication settings for Mingle are controlled through the [mingle_data_directory]/config/auth_config.yml file. This file is created by default on all brand new installations.

Advanced configuration

See Advanced configuration for additional configuration options.

Upgrading from Mingle 3.2