Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Due to security considerations, the proxy setting has not yet been adapted to the CICD server.
To resolve this issue, two options can be adopted: adding proxy settings at the Operating System or Maven level, as follows.
Operating System level:
vi /etc/profile
export http_proxy=http://USERNAME:PASSOWRD@proxy-server.mycorp.com:3128/
export https_proxy=http://USERNAME:PASSOWRD@proxy-server.mycorp.com:3128/
export no_proxy=localhost,127.0.0.1,*.xxx.com
Maven level:
vi maven-setting.xml
<settings>
....
<proxies>
<proxy>
<id>example-proxy</id>
<active>true</active>
<protocol>http</protocol>
<host>proxy.example.com</host>
<port>8080</port>
<username>proxyuser</username>
<password>somepassword</password>
<nonProxyHosts>localhost|127.0.01|*.example.com</nonProxyHosts>
</proxy>
</proxies>
....
</settings>
Qlik Talend CICD build fails with an error: Could not resolve dependencies for project
A Talend ESB Data Service job with tSalesforceConnection component fails with following error in Runtime server while it works in Studio
java.lang.RuntimeException:java.lang.NoClassDefFoundError: org/apache/avro/AvroTypeException
Please upgrade Talend Runtime to R2025-02 or manually install avro dependency by Karaf console as a workaround
karaf@trun()>bundle:install -s mvn:org.apache.avro/avro/1.11.4
The avro will not be contained in the built jar file hence it should be enabled on Talend Runtime Server side (it is not automatically enabled).
When trying to use Qlik Data Transfer for the first time after a correct installation, you might have the below white screen:
Having a white screen basically means one of the Qlik DataTransfer micro service is not started and/or not working. This can be checked in the Windows Event Application (Source: Qlik Sense Service Dispatcher) or in the Qlik DataTransfer logs (C:\ProgramData\Qlik\DataTransfer\Log).
In the \DataUploadService logs you will see this error message:
localhost 6.0.0 Global INFO Responding certificates after reading it from defined location.
localhost 6.0.0 Global ERROR Unable to unlock the ReloadService, cannot continue.
localhost 6.0.0 Global ERROR Exception: Error: Unable to unlock the reload service.
This error message is happening directly after the step of reading certificate:
INFO Responding certificates after reading it from defined location.
Verify what certificates you have listed in the MMC console.
A group policy or other system security settings may have prevented certificates from being installed. Follow the Reset certificates steps found in the second half of the article after lifting potential restrictions on the account or machine which previously prevented the certificates from being installed.
Installing Qlik Sense Enterprise on Windows (Desktop or otherwise) will also lead to compatibility issues, including certificate mismatches.
A proxy system variable may be set in Windows. Example: https_proxy=http://PROXY:80
Qlik Data Transfer does not support the use of a proxy. Delete the Windows variable.
If only Qlik DataTransfer is installed on the machine, do the following:
In Windows Services, stop the Qlik DataTransfer service.
Navigate to C:\Program Files\Qlik\DataTransfer\DataUploadService\install-utils.
Run Remove-Certificate.ps1 in PowerShell.
Start the Qlik DataTransfer service.
Navigate to C:\ProgramData\Qlik\DataTransfer\DataUpload\certificate and confirm the following files are present:
client.pfx
server.pfx
If Qlik DataTransfer and Qlik Sense Enterprise on Windows are installed on the machine, do the following:
In Windows, Services, stop the Qlik DataTransfer service.
In the Windows Certificate Store, delete the following certificates:
Local Computer > Personal > QdtClient
Local Computer > Trusted Root Certification Authority > <hostname.domain> or <hostname>
Current user > Personal > QdtClient
Alternatively, you can run Remove-Certificate.ps1 in PowerShell as the administrator.
Run Configure-Service.ps1 in PowerShell as the Qlik Sense services user.
For the first input dataTransferCertificatePath, enter C:\ProgramData\Qlik\DataTransfer\DataUpload\certificate.
For the second input qsefwPresent, enter Yes.
Navigate to C:\ProgramData\Qlik\DataTransfer\DataUpload\certificate and confirm the following files are present:
root.pfx
client.pfx
server.pfx
Restart the Qlik DataTransfer service.
Installing and Using Qlik DataTransfer
Troubleshooting Qlik DataTransfer
Qlik Data Transfer any release
After upgrading the Remote Engine from version 2.12.0 to 2.12.14 and restarting it, some jobs cannot be deployed, resulting in the error "java.io.IOException: Failed to deploy job xxxx".
Detailed error messages can be found in the log:
the 8.0.1.20221125_1614_patch | | java.net.SocketException: Broken pipe (Write failed)
org.talend.remote.commons.exception.ClientServerException: java.net.SocketException: Broken pipe (Write failed)
at org.talend.remote.jobserver.client.FileSenderClient.sendData(FileSenderClient.java:307) ~[bundleFile:?]
2025-01-13T02:31:49,390 | ERROR | MultiSocketServer_FileServer_ConnectionPool_pool-37-thread-3 | MultiSocketServer | 307 - org.talend.remote.server - 8.0.1.20221125_1614_patch | | org.talend.remote.jobserver.commons.utils.io.JobLimitException: Current upload of job archive will exceed the allowed size of archive directory of: '107374182400' (configured in org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_ARCHIVES_DIR_SIZE)
org.talend.remote.commons.exception.ClientServerException: org.talend.remote.jobserver.commons.utils.io.JobLimitException: Current upload of job archive will exceed the allowed size of archive directory of: '107374182400' (configured in org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAX_ARCHIVES_DIR_SIZE)
Based on the detailed log checking, the failed broken pipe exception is due to the limitation of org.talend.remote.jobserver.commons.config.JobServerConfiguration.MAXARCHIVESDIR_SIZE being reached. This issue can be resolved by increasing the default size from 100G.
Additionally, from a management perspective, you can uncomment the following settings in <RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.deployment.agent.cfg file to reduce the overall size of the artifacts in the <RemoteEngineInstallationDirectory>/data/m2/ folder.
# karaf maven data cleaner configurations, use 0 days interval to disable cleaner
local.maven.clean.interval.days=2
local.maven.clean.max.gb.size=8
local.maven.clean.older.than.days=7
Qlik Sense URL(s) tested on SSLlabs (ssllabs.com) return the following weak Cipher suites:
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 1024 bits FS WEAK TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 1024 bits FS WEAK TLS_DHE_RSA_WITH_AES_256_CBC_SHA (0x39) DH 1024 bits FS WEAK TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x33) DH 1024 bits FS WEAK
TLS_RSA_WITH_3DES_EDE_CBC_SHA (0xa) WEAK
The steps documented in this article are an example of how cipher suites can be disabled. All steps are to be performed by a Windows Administrator on Windows level and cannot be supported by Qlik Support.
We recommend to consulting with your security or Windows administrator before proceeding as they may have automated practices in place.
The security in Qlik Sense does not depend only on the Qlik Sense software. It also relies on the security of the environment that Qlik Sense operates in. This means that the security of, for example, the operating system and the cryptographic protocols (such as TLS/SSL) has to be set up and configured to provide the security needed for Qlik Sense. See Protecting the platform.
You can review and configure the cipher suites order using a Group Policy. See Manage Transport Layer Security (TLS) | Microsoft Learn.
Please refer to fig 1:
This policy determines the cipher suites used by the Secure Socket Layer (SSL). If you enable the policy setting, SSL cipher suites are prioritized in the order specified.
If you disable or do not configure this policy setting, the factory default cipher suite order is used.
SSL2, SSL3, TLS 1.0 and TLS 1.1 cipher suites:
TLS_RSA_WITH_AES_128_CBC_SHA TLS_RSA_WITH_AES_256_CBC_SHA TLS_RSA_WITH_RC4_128_SHA TLS_RSA_WITH_3DES_EDE_CBC_SHA TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P521 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P521 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P256 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P384 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P521 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P384 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P521 TLS_DHE_DSS_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_256_CBC_SHA TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA TLS_RSA_WITH_RC4_128_MD5 SSL_CK_RC4_128_WITH_MD5 SSL_CK_DES_192_EDE3_CBC_WITH_MD5 TLS_RSA_WITH_NULL_SHA TLS_RSA_WITH_NULL_MD5
TLS 1.2 SHA256 and SHA384 cipher suites:
TLS_RSA_WITH_AES_128_CBC_SHA256 TLS_RSA_WITH_AES_256_CBC_SHA256 TLS_RSA_WITH_AES_128_GCM_SHA256 TLS_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P521 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P256 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P384 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P521 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P384 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P521 TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 TLS_DHE_RSA_WITH_AES_256_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_RSA_WITH_NULL_SHA256 TLS 1.2 ECC GCM cipher suites: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P384 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P521 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P521
How to modify this setting:
Configuring preferred cipher suites for Qlik License Service in Qlik Sense Enterprise on Windows
Qlik Sense Enterprise on Windows any version
As a benefit of our Analytics Modernisation Program (AMP), a signed license key is issued as a unified license key. This enables the use of one license across Qlik Sense Enterprise on Windows and QlikView, granted the license has the required QlikView infrastructure attributes (QV_NODES for QVS, QDS_NODES for Publisher).
This allows for analyzer capacity to be shared across all systems using the same license.
QlikView
Qlik Sense Enterprise on Windows
With a Signed License Key (SLK) applied as a unified license across multiple environments
Here is an example;
A QlikView server currently shows 18 minutes of consumption in the QlikView Management Console (Fig 1.)
This can be accessed through: System > Licenses > Professional and Analyzer access.
If a user accesses and consumes on a linked Qlik Sense Enterprise Server, the Qlik Sense Enterprise Management Console will show the up to date consumption. See Fig 2. Note the 24 minutes, an increase from the 18 we have seen in QlikView.
This can be accessed in the Qlik Sense Management Console > License Management > License usage summary
The usage on the server will be synchronized and shown on the other linked servers within approximately 10 minutes. See Fig 3 and note the 24 minutes, which matches the value in Qlik Sense.
For local consumption data, each server will store its own consumption and user information.
For Qlik Sense Enterprise on Windows, the License Monitor app will show capacity consumption.
For the QlikView Server, the capacity consumption is shown and stored in the local session log file, with the CAL consumed being Analyzer Capacity, with a log entry like this:
RLS64 12.50.20200.0 20210412T132942.000+0200 20210412T133617.000+0200 C:/ProgramData/QlikTech/Documents/retail store performance.qvw 20190220T113522.000+0200 Socket closed by client 20210412T133601.000+0200 00:00:16 0.000000 10228 1303493 31 2 QTSEL\ghd 1718e2e6-5b1c-4b9e-87a9-d9200f55e37a Ajax QvWS 12.50.20200.0 browser.msie illa/5.0 (windows nt 10.0 On 4747 fe80::df3:cd38:b86f:50bd 58495 Analyzer Capacity 6 315dcfab-7448-4f4b-8209-ef34742b1abe
It is recommended to enable HTTPS for Qlik GeoAnalytics Server. This can be done either during the installation or by editing the config.ini after the installation.
The deployed SSL certificate may need to be updated regularly, which requires a repeat of the initial installation steps.
The recommended way to enable HTTPS is to run the installation package and set/change the certificate during install. Setting the certificate during install will automatically obfuscate the password stored in config.ini.
[SSL]
sslEnabled=true
sslPort=443
sslKeystore=c:\\path_to_certificate\\certificate_filename.pfx
sslPassword=certificate_password
A talend Job is failing with the following error when you publish it to Cloud
java.io.FileNotFoundException: <File Path Here> (Access is denied)
The process of migrating a Qlik Sense Enterprise for Windows environment after unbundling PostgreSQL is similar to Migrating any other Qlik Sense environment to a different host.
Select your corresponding Qlik Sense Enterprise for Windows version from the dropdown select box
The following error is showing for tasks that were hanging in queue:
No engines were available to process this task. You can try to run the task manually now. Run this task during a time when your processors are available.
If you are running too many tasks in parallel, experiencing time out and tasks failed, please consider the following.
Too many tasks are running at the same time, and since the tasks that were in queue timed out, it failed to execute.
On a different note, please also review the steps to clean up the task logs on the Remote Engine
automatic-task-log-cleanup
Executing tasks or modifying tasks (changing owner, renaming an app) in the Qlik Sense Management Console and refreshing the page does not update the correct task status. Issue affects Content Admin and Deployment Admin roles.
The behaviour began after an upgrade of Qlik Sense Enterprise on Windows.
This issue can be mitigated beginning with August 2021 by enabling the QMCCachingSupport Security Rule.
Enable QmcTaskTableCacheDisabled.
To do so:
Upgrade to the latest Service Release and disable the caching functionality:
To do so:
NOTE: Make sure to use lower case when setting values to true or false as capabilities.json file is case sensitive.
Should the issue persist after applying the workaround/fix, contact Qlik Support.
After following the Qlik article Configure Qlik Sense to use a dedicated PostgreSQL server and update the connection string to point to the new host, Qlik Sense appears to work fine at first. However, access by the Qlik Sense Service account to the old host is registered or errors are found in the logs similar to what is found in the example below:
In the AppDistributionService trace logs:
307308 20210104T170444.859+01:00 INFO QLIKSERVER 70 DOMAIN\serviceaccountname Retry attempt: 10/10. Previous result: "No such host is known". 304796
307309 20210104T170451.812+01:00 ERROR QLIKSERVER 70 DOMAIN\serviceaccountname Error processing message queue notifications. System.Net.Sockets.SocketException (11001): No such host is known
at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)
There are a few new services starting on the September 2019 release of Qlik Sense which did not exist in June 2018. Some of them were also removed/replaced on the new release.
# Set the Installation Directory for Qlik Sense
$installDir = 'C:\Program Files\Qlik\Sense\'
#change that to the new database server
$newdatabasehostname='new database server'
# Specify the new password for the qliksenserepository account
$password = 'MyNewPassword'
# Find all Configure-Service.ps1 scripts in the installation directory and execute them
$files = Get-ChildItem -Path $installDir -Include Configure-Service.ps1 -Recurse
foreach ($file in $files) {
$ScriptToRun=$($file.FullName)
&$ScriptToRun $newdatabasehostname 4432 qliksenserepository $password -postgresHome 'D:\Qlik\Sense\Repository\PostgreSQL\12.5'
}
In case of having a custom path Qlik Sense installation, change the last line to:
&$ScriptToRun $newdatabasehostname 4432 qliksenserepository $password -postgresHome 'D:\Qlik\Sense\Repository\PostgreSQL\12.5'
}
Where "D:\Qlik\Sense" is Qlik Sense installed folder and where "12.5" is the Postgres version installed.
Change to the following directories with the commands below before running the Configure-Service.ps1 command listed further below.
Repeat the step for every subfolder mentioned below.
Note: If you previously upgraded you may find folders in your system which are not listed here. Ignore them. No steps need to be taken.
Qlik Sense February 2021 and later.
Locate Configure-Service.ps1 in C:\program files\Qlik\Sense\.
It lists all services that need to be changed.
Qlik Sense June 2018:
Qlik Sense September 2019:
Example:
For AppDistributionService...
PS C:\> cd 'C:\Program Files\Qlik\Sense\AppDistributionService' PS C:\Program Files\Qlik\Sense\AppDistributionService> .\Configure-Service.ps1 DatabaseHost Databaseport DatabaseUser DatabasePassword
e.g. .\Configure-Service.ps1 newdatabasehostname 4432 qliksenserepository Password123!
The answer will look similar to this:
AppDistributionService configuration started. WARNING: Skiping the database initialization. No superuser or password specified. Reading the settings file. Saving the modified settings. Exporting the copy of the invocation parameters. AppDistributionService configuration successful.
In this article, we walk you through the requirements and process of how to upgrade and unbundle an existing Qlik Sense Repository Database (see supported scenarios) as well as how to install a brand new Repository based on PostgreSQL. We will use the Qlik PostgreSQL Installer (QPI).
For a manual method, see How to manually upgrade the bundled Qlik Sense PostgreSQL version to 12.5 version.
Using the Qlik Postgres Installer not only upgrades PostgreSQL; it also unbundles PostgreSQL from your Qlik Sense Enterprise on Windows install. This allows for direct control of your PostgreSQL instance and facilitates maintenance without a dependency on Qlik Sense. Further Database upgrades can then be performed independently and in accordance with your corporate security policy when needed, as long as you remain within the supported PostgreSQL versions. See How To Upgrade Standalone PostgreSQL.
Index
Video Walkthrough
Video chapters:
The following versions have been tested and verified to work with QPI (1.4.0):
Qlik Sense February 2022 to Qlik Sense November 2023.
If you are on a Qlik Sense version prior to these, upgrade to at least February 2022 before you begin.
Qlik Sense November 2022 and later do not support 9.6, and a warning will be displayed during the upgrade. From Qlik Sense August 2023 a upgrade with a 9.6 database is blocked.
The Qlik PostgreSQL Installer supports installing a new standalone PostgreSQL database with the configurations required for connecting to a Qlik Sense server. This allows setting up a new environment or migrating an existing database to a separate host.
Using the Qlik PostgreSQL Installer on a patched Qlik Sense version can lead to unexpected results. If you have a patch installed, either:
Do not use the standard Qlik Sense folders, such as C:\Program Files\Qlik\Sense\Repository\PostgreSQL\ and C:\Programdata\Qlik\Sense\Repository\PostgreSQL\.
Do not use the standard Qlik Sense folders, such as C:\Program Files\Qlik\Sense\Repository\PostgreSQL\ and C:\Programdata\Qlik\Sense\Repository\PostgreSQL\.
Download the installer here.
Qlik PostgreSQL installer Release Notes
The following versions have been tested and verified to work with QPI (1.4.0):
February 2022 to November 2023.
If you are on any version prior to these, upgrade to at least February 2022 before you begin.
Qlik Sense November 2022 and later do not support 9.6, and a warning will be displayed during the upgrade. From Qlik Sense August 2023 a 9.6 update is blocked.
Uninstall the old Qlik Sense Repository Database service.
This step is required. Failing to remove the old service will lead the upgrade or patching issues.
Failing to reinstall the binaries will lead to errors when executing any number of service configuration scripts.If you do not immediately upgrade:
If the upgrade was unsuccessful and you are missing data in the Qlik Management Console or elsewhere, contact Qlik Support.
Now that your PostgreSQL instance is no longer connected to the Qlik Sense Enterprise on Windows services, all future updates of PostgreSQL are performed independently of Qlik Sense. This allows you to act in accordance with your corporate security policy when needed, as long as you remain within the supported PostgreSQL versions.
Your PostgreSQL database is fully compatible with the official PostgreSQL installers from https://www.enterprisedb.com/downloads/postgres-postgresql-downloads.
See How To Upgrade Standalone PostgreSQL, which documents the upgrade procedure for either a minor version upgrade (example: 14.5 to 14.8) or a major version upgrade (example: 12 to 14). Further information on PostgreSQL upgrades or updates can be obtained from Postgre directly.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support. The video in this article was recorded in a earlier version of QPI, some screens might differ a little bit.
Qlik PostgreSQL installer version 1.3.0 Release Notes
Techspert Talks - Upgrading PostgreSQL Repository Troubleshooting
Backup and Restore Qlik Sense Enterprise documentation
Migrating Like a Boss
Optimizing Performance for Qlik Sense Enterprise
Qlik Sense Enterprise on Windows: How To Upgrade Standalone PostgreSQL
How-to reset forgotten PostgreSQL password in Qlik Sense
How to configure Qlik Sense to use a dedicated PostgreSQL database
Troubleshooting Qlik Sense Upgrades
What is the default user session timeout for Qlik Sense Business and Qlik Sense Enterprise SaaS? Can the session timeout for Qlik Cloud be changed?
The default (fixed) value is set to 30 minutes. This is controlled by SESSION_TTL.
It is not currently possible to adjust the session timeouts in the Qlik Cloud.
While updating the qliksenserepository user with any of the Configure-Service.ps1 scripts, you may encounter the following error:
Invoke-Query : Exception calling "Start" with "0" argument(s): "The system cannot find the file specified"
At C:\Program Fi 1es\Qlik\Sense\Mobi1i tyRegistrarService\install\instal1-uti1s\Postgres.psl:56 char :10
+ $ret = Invoke-Query $command
+ Categorylnfo : NotSpecified: (:) [Invoke-Query], MethodlnvocationException
+ FullyQualifiedErrorld : Win32Exception,Invoke-Query
Some Power-shell scripts have not been updated for the new default value of the Database home.
Different versions of Qlik Sense Enterprise for Windows come with their own bundled PostgreSQL version.
Examples: Qlik Sense Enterprise for Windows from May 2021 to May 2023 will install PostgreSQL 12.5, while previous releases used PostgreSQL 9.6 as a default during a new install. Similarly, from Qlik Sense Enterprise on Windows August 2023 onwards, Qlik pre-installs PostgreSQL 14.8 as the default database. For more details on the default, see the System Requirements for your respective version.
When you upgrade from an earlier release you will keep 9.6 or 12.5 and you should not have the issue.
This leads to issues with the following line:
Variation One:
[string]$postgresHome = "$senseInstallPath\Repository\PostgreSQL\9.6",
Variation Two:
[string]$postgresHome = "$senseInstallPath\Repository\PostgreSQL\12.5",
Apply the actions in this solution on all nodes.
Depending on your version of Qlik Sense Enterprise on Windows different corrections will be needed.
This is an example list of .ps1 files needing to be edited in the Qlik Sense Enterprise for Windows August 2023 version:
The Qlik Sense Engine allows for a Hard Max Limit to be set on memory consumption.
To be able to enforce "Hard max limit" the engine requires access to a specific endpoint in the Windows operating system API.
If the operating system blocks calls to this endpoint, then an attempt to use the configuration "Hard max limit" will fail, and the engine will instead operate according to the "Soft max limit" configuration.
Refer to the documentation provided by Microsoft fur forther information: "SetProcessWorkingSetSizeEx"
See Editing an engine - Qlik Sense for administrators for details.
To note:
Even with the hard limit set, it may still be possible for the host operating system to report memory spikes above the Max memory usage (%).
This is down to how the Qlik Sense Engine memory limit will be defined based on the total memory available.
Example:
The memory working setting limit is not a hard limit to set on the engine. This is a setting which determines how much we allocate and how far we are allowed to go before we start alarming on the working set beyond parameters.
QLIK-96872, HLP-17517
Manually restart Qlik Sense services in right order is important because the Qlik Sense Repository Service is dependent on the Qlik Sense Repository Database (QRD) and the rest of the services are dependent on the Qlik Sense Repository Service.
Please review the Qlik Sense Online help for the relevant Sense version to find the Service Dependencies for your specific version.
In a Multi-node environment, start the central node first and stop the rim nodes first.
Content:
We are unable to provide a comprehensive start or stop order as rim nodes can have a number of different combinations of services installed. Please skip any services you do not have installed.
We are unable to provide a comprehensive start or stop order as rim nodes can have a number of different combinations of services installed. Please skip any services you do not have installed.
Get-Service "Qlik*" | Where-Object {($_.Name -like "QlikSense*" -and $_.Name -notlike "QlikSenseRepositoryDatabase") -or ($_.Name -eq "QlikLoggingService")} | Stop-Service -Force Start-Service -Name "Qlik Sense Service Dispatcher" Start-Service -Name "QlikSenseServiceDispatcher" Start-Service "Qlik*"
Open the following location: C:\ProgramData\Qlik\Sense\Log\Repository\Trace
Monitor the folder after starting the Qlik Sense Repository Service (QRS). Files with appended time/date will disappear.
There are environments where the cryptographic protocols available to the Windows Operating System need to be restricted for security or compliance reasons. This article will outline where various TLS versions are supported. This article will not have full coverage of the impact of TLS changes to other software installed on the Qlik Sense server. For examples of potential impacts:
To enable strong TLS implementation make sure to have all your servers updated to a version of both the operating system and the Qlik software, which explicitly details they support the required version of TLS.
If you have a clustered environment with multiple nodes spread across different machines, please make sure to enable the same subset of protocols on all Sense machines, otherwise the services will not be able to successfully communicate.
Third-party tools such as IIS Crypto can be used to enable and disable SSL or TLS. Consult your Windows administrator or network security team for what tools are usually used in your organization.
The correct protocols and ciphers can then be applied using the PowerShell (PS) scripts and making changes to the Windows Registry. Consult Microsoft or your Windows administrator for details.
IIS Crypto is an example 3rd party tool that can be used to achieve this. IIS Crypto is not supported by Qlik, but by its respective vendor, NARTAC Software. To obtain IIS Crypto, visit https://www.nartac.com/Products/IISCrypto.
After a Qlik Sense upgrade, the Qlik Sense Repository service fails to start. The following error is logged in the Windows Application Event log:
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unhandled exception: Could not load file or assembly 'Qlik.Sense.Logging, Version=37.3.0.0, Culture=neutral, PublicKeyToken=1a848309662c81e5' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
System.IO.FileLoadException: Could not load file or assembly 'Qlik.Sense.Logging, Version=37.3.0.0, Culture=neutral, PublicKeyToken=1a848309662c81e5' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Qlik.Sense.Logging, Version=37.3.0.0, Culture=neutral, PublicKeyToken=1a848309662c81e5'
at Repository.QRSService.Start(Action`1 terminate)
at
The initial recommendation is to repair the installation. See How to repair an installation.
If the repair does not resolve the problem:
The Qlik.Sense.Logging.dll present in [Installation Qlik Sense folder]\Repository\ was missing required inforamtion.
Upgrading Qlik Sense Enterprise on Windows fails with a generic error message:
An error has occurred
For detailed information see the log file
The Qlik Sense Repository Database service is no longer installed after the failed installation.
This means that the database password validation did not complete and a partial rollback has occurred. This has removed the database software, but it has not removed the database itself.
The database password is normally password is checked before the upgrade process begins, but under some circumstances, such as the database service being stopped, this check does not occur. Once the new version of the database software is installed it will attempt to open the database as part of the install verification process and will fail. This then prompts a rollback of the database software and removing the new version.
Reinstall Qlik Sense. (Uninstall, Reinstall)
During the uninstall process, do not remove the certificates or database.
Once Qlik Sense is uninstalled, you can proceed to install the desired upgraded version of Qlik Sense, the installer will detect the existing database and request the password, if it is from an earlier version the installer will make the necessary changes as part of the installation process.