Skip to main content
All Creatio products

Update guide

Update an on-site Creatio application to the latest version to get new features and fixes. Use the Updater utility: it downloads the update packages, installs every version in the update order, and collects the logs. Learn about the new features in the release notes.

If you use Creatio version 7.11.0 or earlier, contact Creatio support for instructions.

How to update​

We recommend updating in two stages: first on a pre-production site that uses a copy of your Creatio database, then on the production site.

Important

Update the production site outside business hours. The site is not available during the update.

The update consists of the following steps:

  1. Copy the database and the binary files of the production site to deploy the pre-production site. To back up the binary files, archive them to a different folder. Learn more: Back up database.
  2. Create a new pre-production site in IIS. Learn more: General Creatio deployment procedure.
  3. Install the update into the pre-production site. Learn more: Installing updates.
  4. Verify that the pre-production site is fully operational. If the main and frequently used functions work without errors, start updating the production site. Learn more: Maintain Creatio website in IIS.
  5. Back up the production database and application files again. You need the backup to restore a working version if the update fails. Learn more: Back up database.
  6. Install the update into the production site. Learn more: Installing updates.
  7. Verify that the updated version is operational. Learn more: Maintain Creatio website in IIS.

Install updates​

To install the updates:

  1. Prepare system to update. Read more >>>
  2. Get and configure the Updater. Read more >>>
  3. Run Updater. Read more >>>
  4. Complete the update. Read more >>>

1. Prepare system to update​

  1. Install the .NET 10 SDK (x64) on the server where you run the Updater. The Updater 2.6.1 runs on .NET 10. The .NET 10 SDK includes the .NET 10 runtime and meets the .NET SDK requirement below. Download it from the .NET download page.

    The .NET 10 runtime is necessary only for the Updater. It does not change the runtime of the Creatio application. A Creatio site on .NET Framework or on .NET 8 continues to use its own runtime.

  2. Make sure that the server has the necessary software. The Updater examines this software before the update starts and stops if a component is missing or outdated.

    Component

    Minimum version

    When it is necessary

    .NET SDK (x64)

    8.0.404 or later

    Always. Download

    .NET Framework

    4.7.2

    .NET Framework sites. Download

    Visual C++ 2015–2022 Redistributable (x64)

    14.51.36247

    .NET Framework sites. Download

    IIS

    10.0

    Sites in IIS

    ss (package iproute2) or netstat

    —

    Sites in Kestrel on Linux

    Microsoft SQL Server

    2016

    MS SQL databases

    PostgreSQL

    16.0

    PostgreSQL databases

    Redis

    6.4

    Always

    Learn more: Server-side system requirements and Requirements calculator.

    On Linux, the Updater finds the processes of a Kestrel site with the ss tool. Current distributions have it. If ss is not installed, the Updater uses netstat. If neither tool is installed, the update stops before the site changes. Install the iproute2 package (iproute on RHEL) and run the update again.

  3. Remove unused cultures. If your Creatio instance has installed cultures that company employees do not use, we recommend removing them before the update. This reduces the amount of data to download. Learn more: Clean up the drive space.

  4. Go to the System Designer → Admin area block → Advanced settings. This opens the Configuration section.

  5. Run the "Generate source code for all items" action.

  6. Run the "Compile all items" action. If the compilation returns errors, fix them before the update.

    The Updater examines the compilation history before the update. If the last compilation of a project failed, the update stops before the site changes. The list of errors is in the "#Updater#/artifacts/CompilationErrors-yyyyMMddTHHmmss.txt" file.

    If the Updater cannot read the compilation history, for example, if the database query times out, it shows the database error and stops. In this case, contact Creatio support. Support can tell you to skip this check with the SkipCheckCompilationHistory feature.

2. Get and configure the Updater​

Important

Always unpack a new version of the Updater to a new folder. Do not unpack the new archive over an earlier version. You can copy "creatio.json" from the earlier version.

  1. Download the archive: Updater.zip.

  2. Unpack the archive to a new folder outside the site folder, for example, "C:\Creatio\Updater". This guide calls this folder "#Updater#".

  3. Open the "#Updater#/creatio.json" file and fill out the settings.

    The Updater reads most settings from the site in WebRootDirectory: the connection string, the database engine and schema, the current version, the application type, the IIS site and application pool, the Kestrel ports and the Redis connection. You do not enter these values in "creatio.json".

    Required settings

    Setting

    Description

    WebRootDirectory

    The path to the root folder of the site, for example, "C:\inetpub\wwwroot\Creatio".

    WorkDirectory

    The folder where the Updater downloads the update files. The Updater creates the "InstallPackages" folder in it and reads the update packages from this folder. Below, "#WorkDirectory#" stands for the path to your work folder.

    Product

    The name of the product. Values: "Studio", "SalesTeam", "SalesCommerce", "SalesEnterprise", "Marketing", "CustomerCenter", "ServiceEnterprise", "SalesTeam_Marketing", "SalesTeam_Marketing_CustomerCenter", "SalesCommerce_Marketing_CustomerCenter", "SalesEnterprise_Marketing_CustomerCenter", "SalesEnterprise_Marketing_ServiceEnterprise", "BankCustomerJourney", "BankSales_BankCustomerJourney", "BankSales_BankCustomerJourney_Lending_Marketing", "BankSales", "Lending".

    HubUser

    The login of your Creatio hub account.

    HubPassword

    The password of your Creatio hub account.

    You need a Creatio hub account (Nexus account) to download the update packages. If you do not have an account, contact Creatio support.

    Optional settings

    Setting

    Description

    TargetVersion

    The version to update to, for example, "8.3.4". If the value is empty, the Updater updates to the latest version.

    SkipVersions

    Keep the list empty. Change it only if Creatio support tells you to.

    Example of "creatio.json":

    {
    "WebRootDirectory": "C:\\inetpub\\wwwroot\\Creatio\\",
    "WorkDirectory": "C:\\Creatio\\Delivery",
    "Product": "SalesEnterprise_Marketing_ServiceEnterprise",
    "TargetVersion": "",
    "SkipVersions": [],
    "HubUser": "user@example.com",
    "HubPassword": "********"
    }

    Override settings. The shipped "creatio.json" does not contain the settings below. Add a setting only if the Updater cannot read the value from the site and the error message tells you which setting to add.

    Setting

    Description

    ConnectionString

    The connection string that the Updater uses for its own operations, for example, the backup and the restore. The site continues to use its own connection string. The value must point to the same server, port and database as the connection string of the site.

    DbEngineType

    "MSSQL" or "PostgreSQL".

    HostingType

    "IIS" or "Kestrel".

    KestrelPorts

    The ports of a Kestrel site, separated by commas, for example, "5000,5002". The Updater stops the processes that use these ports.

    Version

    The current version of the site. The Updater uses it only to find where the download starts. The update uses the version of the site.

    WCConnectionTimeout

    The database timeout of WorkspaceConsole, in seconds. The default value is "1024".

    Backup

    The settings of the built-in backup (AppDirectory, DbDirectory, Frequency). Add this block only if Creatio support tells you to turn on the ForceBackup or ForceRestore feature.

    The Updater 2.6.1 does not use these settings from earlier versions: DbServer, Database, UserName, Password, CurrentSchemaName, ApplicationType, Site, ApplicationPool, InstallPackagesPath, WebServer, RedisServer, RedisDB, RedisPort, RedisPassword and SkipSecurityProtocol. If your "creatio.json" contains them, the Updater ignores them and shows one warning. The Updater also ignores an "install.xml" file from earlier versions.

  4. Check the settings that the Updater reads. Open the command prompt as administrator, go to the "#Updater#" folder, and run:

    dotnet Updater.dll --show-config

    The Updater shows each setting and the source of its value. The Updater masks passwords. This command does not change the site.

    If the Updater cannot read a setting, it shows what it cannot read and the setting to add to "creatio.json". For example, the Updater needs KestrelPorts when the ports of a Kestrel site can come from a source that it does not read.

  5. Optional. Download the update files before the update. The --update command downloads the missing files automatically, so this step is necessary only for a server without internet access.

    dotnet Updater.dll --download

    The Updater creates the "#WorkDirectory#\InstallPackages" folder. It contains a folder for each version in the update order. Each version folder contains the update package archive and the "Scenario" folder. Each run of --download creates the "InstallPackages" folder again.

    When your application server is not connected to the Internet
    1. On a computer that has internet access and the .NET 10 SDK installed, unpack "Updater.zip" and fill out "creatio.json". Set WebRootDirectory to the site folder or to a copy of the site folder. The Updater reads the application type, the version and the database engine from this folder.
    2. Run dotnet Updater.dll --download.
    3. Copy the "InstallPackages" folder to the WorkDirectory folder on the server.
    4. On the server, run the update.

    If a download fails, the Updater removes the packages that it downloaded in this run. The next update cannot start from an incomplete set of packages.

3. Run Updater​

  1. Open the command prompt as administrator and go to the "#Updater#" folder.

  2. Run the update. On Linux, run the command with sudo, for example, sudo dotnet Updater.dll --update.

    dotnet Updater.dll --update

    If you run dotnet Updater.dll without a command, the Updater also starts the update.

  3. Wait for the entire process to finish. The Updater runs multiple operations one after another.

The Updater does the following:

  • Shows the settings that it read and the source of each value.
  • Examines the prerequisites: the necessary software, the database, Redis and the compilation history.
  • Makes sure that all update packages and scenarios are available. The Updater downloads the missing files automatically.
  • Stops the site. For a site in IIS, the Updater stops the application pool of the site. If the site is an application in an IIS web site, for example, "Default Web Site/creatio", the Updater stops only the application pool of this application. The web site and its other applications continue to run.
  • Installs each version in the update order.
  • Clears the Redis cache.
  • Starts the site and collects the logs.

If the site already has the target version, the Updater shows "The site is already up to date; nothing was changed." and stops. The site does not stop.

If a prerequisite is not met, the Updater stops before the site changes.

Exit codes. The Updater returns exit code 0 when the command completes successfully. It returns exit code 1 when the command stops because of an error, or when you press Ctrl+C. Use the exit code in your scripts.

Redis. The Updater uses the Redis connection string of the site without changes. It supports Redis Cluster and secure (TLS) connections, with or without a client certificate. In a Redis Cluster, the Updater clears the cache on all master nodes. The Updater does not support Redis Sentinel. In this case, the Updater skips the Redis steps and continues the update. If the Updater cannot clear the cache, it shows a warning and the command to run manually.

Kestrel. The Updater starts a Kestrel site and completes the run. It does not wait for the site process. On Linux, the site continues to run when you close the terminal or the SSH session. The Updater does not make sure that the site starts correctly. Open the site after the update.

Updater commands​

Run the commands from the "#Updater#" folder: dotnet Updater.dll <command>.

Command

Short form

Description

--update

run-update

Starts the update. Downloads the missing update files first. This is the default command.

--download

run-download

Downloads the update packages and scenarios. Does not update the site.

--show-config

show-config

Shows the settings that the Updater reads from the site. Does not change the site.

--changelog

run-changelog

Shows the list of changes in the Updater versions.

--remove-rollback-marker

rm-marker

Removes the rollback marker after a failed update. Use it only if Creatio support tells you to.

--help

—

Shows the list of commands.

--version

—

Shows the version of the Updater.

Options:

  • -s — silent mode. The Updater does not wait for a key press at the end. Use it when you run the Updater from a script, for example, dotnet Updater.dll --update -s.
  • --<setting>=<value> — changes a setting of "appsettings.json" for one run, for example, --features:ExtendProduct=true. You can use it alone or together with a command.
note

A feature value must be "true" or "false". If the value is different, for example, "true;", the Updater uses "false" and shows a warning in the list of features.

Update together with product upgrade​

note

To perform a product upgrade, for example, from Creatio Sales Enterprise edition to the CRM product lineup, the Updater uses the update package of the new product of the same version as your current product.

  1. In the "creatio.json" file, set Product to the name of the new product and set TargetVersion to your current version.

  2. Run the update with the ExtendProduct feature enabled:

    dotnet Updater.dll --update --features:ExtendProduct=true

    The Updater downloads the update package of the new product for your current version and installs it.

  3. To update to a newer version after the product upgrade, clear TargetVersion and run the regular update.

Update the web farm​

If your application operates in the web farm mode, perform additional steps after you complete the update of the pre-production site and one of the production sites:

  1. Set the ConnectionString parameter in the "Terrasoft.Tools.WorkspaceConsole.exe.config" file.
  2. Disable all sites except for sites that were updated.
  3. Copy the contents of the "#Application#myapp\webapp\conf" folder from the updated site to the disabled sites.
  4. Enable all sites.
note

To enable domain-based authentication in Creatio, transfer Windows authentication settings to the updated application. Learn more in the "How to setup Windows authentication" article.

Learn more about the web farm mode: Application server web farm.

4. Complete the update​

The Updater clears the Redis cache automatically after a successful update. You do not need to clear it manually.

After the update, take the following steps:

  1. Update the microservice components if their versions are outdated.
  2. Transfer your customizations of the "web.config" files, for example, integrations or external services, to the updated configuration manually.
  3. Order the licenses again. Creatio requires new licenses after each update. Generate the license request and upload the licenses at the same stage, either before or after the update. If you request the licenses before the update and upload them after it, Creatio might show license format errors. In this case, send the license request to Creatio support again. Learn more: Creatio licensing.
  4. Go to the System Designer → Admin area block → Advanced settings → run the "Compile all items" action. This re-generates the client static content.
  5. Open the application in a web browser and make sure that your routine operations work correctly.
note

If the IIS session state settings changed, users cannot log in to the mobile app. After the update, make sure that the "Use Cookies" mode is enabled in the IIS cookie settings.

Roll back the Creatio application before re-updating​

If the update fails:

  1. Restore the application files and the database from the backup.
  2. Send the log archive "#Updater#/artifacts/logs-yyyyMMddTHHmmss.zip" to Creatio support.
  3. In each version folder in "#WorkDirectory#\InstallPackages", delete the "App", "Log", "Pkg" and "Temp" folders. You can also run dotnet Updater.dll --download again.
  4. Fix the issues together with Creatio support.
  5. Run the update again.

The Updater writes a rollback marker to the database when an update fails. While the marker is in the database, the Updater does not start a new update. Restoring the database from the backup removes the marker. If Creatio support tells you to run the update again without a restore of the database, remove the marker:

dotnet Updater.dll --remove-rollback-marker
note

If Creatio support enabled the ForceRestore feature, the Updater restores the database and the site files after a failed update. The restore occurs while the site is stopped. Then the Updater starts the site and collects the logs.

Upgrade the Updater from an earlier version​

If the Updater shows "Updater version is outdated", get the new version:

  1. Download the latest "Updater.zip".
  2. Unpack it to a new folder.
  3. Copy your "creatio.json" to the new folder. The Updater ignores the settings that it no longer uses and shows one warning.
  4. Use the "appsettings.json" file from the new archive. The Updater also accepts an "appsettings.json" file from Updater 2.6.0 but does not support files from earlier versions.
  5. Run dotnet Updater.dll --show-config and make sure that the settings are correct.
  6. Run the update again.

Special features of version updates​

Update to 7.11.1 (for Creatio Financial Services, lending edition)​

note

Take these steps before you update from Creatio version 7.11.0 to version 7.12.0 as well.

If you are using Bank.AI, lending edition and have a custom application page (FinApplicationPage), take the following steps after the base update scenario is complete.

  1. Update packages from SVN.

  2. Run the UpdateFinAppLendingPage utility.

    Running the UpdateFinAppLendingPage from Windows command prompt: UpdateFinAppLendingPage.exe "Path to the downloaded operational copy of svn".

    Example: UpdateFinAppLendingPage.exe C:\MyPackagesFromSvn\.

  3. Commit changes to SVN.

  4. Update the configuration from SVN by running the "Restore from repository" command in the Configuration section.

Update to 7.15.2 - 7.18.3 (if you use Redis Sentinel)​

If your Redis configuration is fail-proof, contact Creatio support for more information about Redis Sentinel (that ensures Redis remains reliable) before updating to version 7.15.2 and later.

The Redis Sentinel mechanism was retired in Creatio version 7.18.3. We recommend switching to Redis Cluster after updating Creatio to version 7.18.0 and later.

Update to version 7.15.3​

note

Take these steps before you update from Creatio version 7.15.0 to version 7.16.0 as well.

Before you update to version 7.15.3, make sure no ReportService customization has been performed in your configuration.

To do this, download and execute one of the following scripts depending on which DBMS you use: download the script for Microsoft SQL, download the script for PostgreSQL.

If the script returns no results, proceed with the following update steps.

If the script returns a list of replaced schemas, compare them with the out-of-the-box schema.

Check which packages contain the schemas from the selection below:

  • If the selection contains any of the schemas from the base packages: verify whether the base package is blocked. The "Maintainer" value of the base package should be "Terrasoft".
  • If the selection only contains schemas from custom packages, analyze the selection schemas.
    • If the custom schema contains "using Terrasoft.Reports:", delete "using" (the action is recommended but does not affect the update).
    • If the replaced schema references other report designers, but the logic of using it does not change as compared to the out-of-the-box logic, use the instruction.
    • If the replaced schema references other report designers and the logic of issuing the reports is changed, analyze the replaced schemas and adapt them to work with the package (the package is part of your configuration starting from version 7.15.0).

Update to 7.16.0​

After you update to version 7.16.0, deploy the Exchange Listener synchronization service to make sure the IMAP/SMTP and Exchange services work correctly.

Update to 7.16.1 and 7.16.2​

note

Take these steps before you update from Creatio version 7.16.0 to version 7.17.0 as well.

Before you update to versions 7.16.1 and 7.16.2 make sure you do not have any customization using the obsolete library and the Terrasoft.Mail.SmtpClient class in your configuration.

To do this, run the following MSSQL script:

SELECT SysSchema.Name AS SchemaName FROM SysSchema (NOLOCK)
WHERE SysSchema.Id IN (
SELECT SysSchemaId FROM SysSchemaSource
WHERE SysSchemaId IN (
SELECT
ss.Id
FROM SysSchema ss WITH (NOLOCK)
INNER JOIN SysPackage sp WITH (NOLOCK) ON ss.SysPackageId = sp.Id
WHERE sp.Name NOT IN ('Base', 'ProcessDesigner', 'NUI', 'SSP')
AND sp.Maintainer != 'Terrasoft'
AND ss.ManagerName NOT IN ('ClientUnitSchemaManager', 'DcmSchemaManager', 'PageSchemaManager')
)
AND (Source LIKE '%MailBe%' OR (Source like '%SmtpClient%' AND Source like '%Terrasoft.Mail%'))
)

If the script does not return anything, proceed with the following update steps.

If the script returns a list of schemas:

Check the packages for the schemas from the selection:

  • If the selection contains base package schemas, check whether the base package is blocked and if the "Maintainer" value of the base package is set to "Terrasoft".
  • If the selection only contains the custom package schemas, analyze the selection schemas.

Enjoy the new version of Creatio!