Pages

Saturday, September 21, 2013

Attempt to apply cumulative update database updates to Lync Server 2013 standard server fails with: “Error: An error occurred: "Microsoft.Rtc.Management.Deployment.DeploymentException" "Cannot find any suitable disks for database files. You must manually specify database paths.”

Problem

You attempt to apply cumulative update database updates to a Lync Server 2013 standard server with the cmdlet:

Install-CSDatabase -ConfiguredDatabases -SqlServerFqdn <standardLyncServerFQDN> -Verbose

image

… but it fails with the error:

WARNING: Install-CsDatabase failed.
WARNING: Detailed results can be found at
"C:\Users\administrator.SomeDomain\AppData\Local\Temp\2\Install-CsDatabase-6b80904
b-3c18-43c0-8568-d09c4d0406c1.html".
Install-CsDatabase : Command execution failed: Cannot find any suitable disks for database files. You must manually specify database paths.
At line:1 char:1
+ Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn
lyncstd01.someDomain ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-CsDatabase], Depl
   oymentException
    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy
   ment.InstallDatabaseCmdlet
PS C:\Users\administrator.SomeDomain>

image

Opening the install html log in the folder C:\Users\administrator\AppData\Local\Temp\2\Install-CsDatabase-6b809… show the following:

Error: An error occurred: "Microsoft.Rtc.Management.Deployment.DeploymentException" "Cannot find any suitable disks for database files. You must manually specify database paths.

image

Solution

I find that most people who come across this error would immediately think that the upgrade process is unable to locate the Lync databases and that additional information needs to be Install-CSDatabase cmdlet.  Unfortunately, that is usually not the solution as this is usually due to insufficient drive space on the drive where the database is located.  In this example, the database is stored on the C drive and it currently only has 12GB of free drive space:

image

Most forum posts suggest that you need at least 20GBs but the first time I encountered this problem, I noticed that 16GB appeared to be sufficient:

image

image

No comments: