Table of Contents

Lime CRM Server Upgrade Guide

This page describes how to upgrade an existing Lime CRM Server installation. The upgrade procedure might differ, depending on the version of Lime CRM Server that is currently installed.

Upgrade Steps

Follow these steps:

  1. Perform pre-upgrade preparations. (Should be done several days ahead and be checked through when giving a estimate, also take login into consideration if the customer still uses Ladi (aka the old Ad-integration with EOL 2025-01-01)
  2. Depending on which version is currently installed, see if there are some extra upgrade steps needed.
  3. Upgrade and build a new release of the solution. Also add limepkg-lisa or uppgrade to the latest version of it.
  4. Back-up the database.
  5. Restart the Windows server.
  6. Run the installer (limecrm-server-<version>.exe) as administrator.
  7. Restart the Windows server.
  8. Re-enable Super Search if it was in use earlier.
  9. Create or update search index (needed if the customer uses the Web Client).
  10. Verify that the upgrade has succeeded. E.g. test some basic functionality and important solution customizations.
  11. Update IT card in Sublime with new Lime CRM/server version and any other relevant information

If the upgrade fails or something doesn't work as expected, check out the Troubleshoot Server Installation/Upgrades guide.

Pre-upgrade Preparations

The pre-upgrade preparations should be performed several days ahead of the actual server upgrade. Follow these steps to ensure that you're upgrade is successful:

Server requirements

The server requirements gets updated on a regular basis. Go to the server requirements page to make sure your customers server is still up to date.

Login

Ladi has end of life planned for end of 2024, so make sure the customer uses something else. Check what other options there are in the list here on platform: Ladi

Lime CRM Server User Account Credentials

The installer application remembers the installation configuration (e.g. user and group information) specified from the last time it was run. However, no passwords are remembered. So make sure you know the password for the Lime CRM Server user account (a.k.a. Lime service user).

Go Through Release Notes

Read up on the release notes for the server version you are upgrading to, and all the server versions you may be jumping over.

Upgrade Add-ons

Go through all the add-ons that are installed in the Lime CRM application. Check their documentation and see if there are new versions that could or MUST be installed. There are mainly two good reasons to also upgrade installed add-ons:

Check If Super Search Is Enabled

Check if Super Search is enabled in Lisa.

Use Latest Compatible Python Version

  1. Open cmd/terminal/windows powershell (not Lime Pro Command Prompt).
  2. Write ‘python -V’ and press enter key to see Python version.
  3. If not using latest compatible version. Run the Python installer and click “Upgrade Now”.

Extra Upgrade Steps

When upgrading from some versions there are extra steps needed to complete the upgrade.

Upgrading From 2022.3 or Earlier

Python 3.11 is required from version 2023.1 and later of Lime CRM server. Follow the instructions here before running the installer. If 3.11 isn't available the Lime CRM installer will detect this and stop.

.NET 4.7.2 or later is required to run Lime CRM. Recommendation is to run 4.8. You can check which version is running by following the instructions here. Install the runtime version before running the installer from here if you have a older version. If 4.7.2 or later isn't available the Lime CRM installer will detect this and stop.

Check SQL Server version SQL Server 2017 or later is required, Lime CRM 2024.3 will not work on SQL Server 2016 or older

Remove the Elastic Search 5 data directory. Prior to creating a new search index, it is necessary to manually delete the previous data directory associated with ElasticSearch 5 (%LIME_HOME_PATH%\LIME Pro Server\Elasticsearch\data). Otherwise, old indexes built for ElasticSearch 5 will remain on the server and take up disk space and interfer with the new installation.

Create a new search index. You have to create a new search index with help of the command limefu search index. Remember that this is an operation that can take very long if the database associated with the solution contains lots of data.

Upgrading From 2022.2 or Earlier

Tips for the web client when upgrading

Erlang and RabbitMQ Needs To Be Manually Uninstalled

Erlang and RabbitMQ needs to be manually uninstalled to get upgraded correctly by the Lime CRM installer. Follow this guide: Uninstall Erlang and RabbitMQ When Doing Lime CRM Server Upgrade

Upgrading From 2021.1 or Earlier

Upgrading From 13.2 or Earlier

In older server versions, the packages for the GDPR, Consent, Newsletter and Info Tiles (WC) were included in the server installation. Make sure to check these specifically if you are upgrading from a server version older than 2020.2.

Upgrading From 12.50 or Earlier

From version 12.51 and later of Lime CRM Server, Python needs to be installed prior to installation or upgrade of Lime CRM Server.

Instructions for how to install Python is found here.

Upgrading From 12.7 or Earlier

From Lime CRM Server 12.9, lime-views and some configuration is stored in the database instead of in files. To migrate existing lime-views and configurations, run the following script from the Lime CRM Command Prompt on the server.

python migrate_config.py <database name>

migrate_config.zip

Upgrading From 12.4 or Earlier

From Lime CRM Server 12.6, the file-API makes it possible to include the name of the document-file as a proper filename. When upgrading, already existing files do not have any filename, and if you want to set the filenames on the already existing files you need to run the following SQL-script. The script set the filename to the text in the field [description] on the document-table, but can be adjusted to suit the individual solution.

filename-migration-lime.zip