After creating a new portal, I get the error message “There was an error creating your initial administrator account. Index Service Configuration Failed.” In the portal logs it is failing with the error “Attempt to configure data store failed.. Extended error message: Failed to grant file permission.” This is a fresh Portal install so there is no data store yet.
I am using a domain service account which is an administrator on the server. The portal content directory is set to C:\arcgisportal\content, and it seems to be creating the items as expected.
In the Event Viewer Application logs I’ve noticed some PostgreSQL events around the same time that the portal error occurs. One is “FATAL: role "serviceaccount" does not exist”
What could be causing this?