I receive the following error during PSCONFIG upgrade:
Failed to upgrade SharePoint Products. This is a critical task. You have to fix the failures before you can continue. Follow this link for more information about how to troubleshoot upgrade failures: http://go.microsoft.com/fwlink/?LinkId=259653
An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: Upgrade [SearchAdminDatabase Name=SearchServiceXXXXX] failed. (EventID:an59t)
Exception: User does not have permission to perform this action. (EventID:an59t)
Upgrade Timer job is exiting due to exception: System.Data.SqlClient.SqlException (0x80131904): User does not have permission to perform this action.
The account I'm using to run PSCONFIG has sysadmin role and is db_owner on the database.
I reviewed the log file and checked application event viewer which refers to the error above.