Upgrading the Qlik Sense Enterprise on Windows PostgreSQL instance using QPI (Upgrading and unbundling the Qlik Sense Repository Database using the Qlik PostgreSQL Installer) fails.
The following is logged in the installation log file:
[ERR] Error! Exception when trying to stop Service: QlikSenseRepositoryDatabase in: 60 s: Cannot open 'QlikSenseRepositoryDatabase' service on computer '.'.. Please make sure you are running the application as an administrator.
[INF] QlikSenseRepositoryDatabase was stopped
[WRN] The service: QlikSenseRepositoryDatabase could not be stopped, tryin to kill process...
[INF] Trying to kill process: 7440
[INF] Found process, checking status
[INF] Could not kill process for some reason: Access denied
[ERR] Error! Failure while: QlikSenseRepositoryDatabase
For information on how to locate the Qlik Sense Installation logs, see How To Collect Qlik Sense Installation Log File.
Resolution
- The setup file must be run with administrative privileges.
- Ensure that the account running the setup:
- Has all necessary access permissions.
- Is a Local Administrator on the Qlik Sense Windows machine.
- Can access the setup file directly on the local machine (not via a Network path or Mapped Drives).
-
Ensure the setup file is "Unblocked" and accessible for installation.
![Not Unblocked.jpg Not Unblocked.jpg](https://community.qlik.com/t5/image/serverpage/image-id/169188i7BF0355AE7B9E64E/image-dimensions/337x451?v=v2)
![Unblocked.jpg Unblocked.jpg](https://community.qlik.com/t5/image/serverpage/image-id/169185iDBC2824B1039BE46/image-dimensions/336x452?v=v2)
Cause
The account that is running the setup does not have access permissions.
Environment