Symptoms
-
Installation of MS SQL Server fails with error:
PLESK_INFO: Action ‘<install-exe-package command-line=’/Q /IAcceptSQLServerLicenseTerms /ACTION=INSTALL /FEATURES=SQL,AS,RS,IS /INSTANCEDIR=”[GLOBAL.Path.ProgramFiles]Microsoft SQL Server” /INSTALLSQLDATADIR=”[PLESK_DATADIR]DatabasesMSSQL” /INSTANCENAME=MSSQLSERVER2016 /SECURITYMODE=SQL /TCPENABLED=1 /NPENABLED=1 /SAPWD=”[MSSQL2016_PASSWORD]”‘ />’ failed with error -2067919934(0x84be0bc2)
Error: The installation of the package ‘sql2016_express’ failed with code -2067919934. (install: Installing MSSQL 2016 server…)
Not all packages were installed.
Please contact product technical support. -
The following error can be found in the
C:Program FilesMicrosoft SQL Server<version>Setup BootstrapLogSummary.txt
log file:The system database file example.mdf already exists in C:Program Files (x86)PleskDatabasesMSSQL<version>DATA.
Cause
System database files already exist in the destination folder.
Resolution
via GUI
- Connect to the server via RDP
- Open File Explorer and enter
%USERPROFILE%
: - In the opened folder create a backup directory:
- Move files from
%plesk_dir%DatabasesMSSQL<version>MSSQLDATAexample.mdf
to the created%USERPROFILE%backup
directory - Proceed with the installation of MS SQL Server
via the Command Prompt
-
Connect to the server via RDP
-
Move system database files to another location:
C:> mkdir %USERPROFILE%backup
C:> move “%plesk_dir%DatabasesMSSQL<version>MSSQLDATAexample.mdf” %USERPROFILE%backup
-
Proceed with the installation of MS SQL Server
Additional Information
Unable to install MS SQL Server: The installation of the package ‘sql201x_express’ failed