Symptoms

An attempt to upgrade Office 365 Endpoint fails:

Warning SQL72019: The database is readonly. Updates to the database will not succeed until the database is made read write.

Cause

Office 365 Endpoint database is deployed in localdb mode and currently occupied by another process.

Resolution

Please check the following:

  1. Database is not attached in the MS SQL Studio (by another user);
  2. Database is not locked by another process, making some DB requests;
  3. Wrong NTFS permissions are assigned to the *.mdf database file.

In case non of these steps helped, please reboot the host itself.

Internal content