I've been working with Esri support on this for weeks on this problem to no avail.
About a year ago I migrated from a single machine to 3 separate machines for Portal, Server, and DataStore. Everything runs fine. But the Portal is still running on a local account.This means I cannot run webgisdr, which has to write to a network share when running in multi-machine mode. The Esri tech that helped with some other issues back when I migrated gave up on this one so I've just lived with it.
Before upgrading to 11.x I want to make sure it's running on an Active Directory account so that it can use networked file shares and make a full webgisdr backup.
configureserviceaccount runs just fine, and the Portal starts with the new AD account. But then it fails to start up, and logs this message roughly every 10 seconds.
<Msg time="2024-01-30T17:53:58,159" type="WARNING" code="218017" source="Portal Admin" process="9684" thread="1" methodName="" machine="CC-GIS.CLATSOP.CO.CLATSOP.OR.US" user="" elapsed="" requestID="">The Portal site has been initialized and configured but is currently not accessible, because the content directory is not available. This may be due to incorrect permissions, a file server hosting the directory being unavailable, or network issues. As a last resort, if the content directory can not be recovered, then uninstall the software, re-install, and restore from a backup.</Msg>
Of course, we've checked the permissions on the Program Files\ArcGIS\Portal folder and on the arcgisportal folder many times, they are fine. We've checked the location of the content directory to make sure it's using the normal place.
All I change is the LOGON account; it works with a local account but not a network account. No other settings change so the content directory setting is not changed. It works with a local account but not a network account.
Last night we tried doing REPAIR of the application. It made no difference. The tech then wandered far afield and started trying random things. I hate it when they do that.
Though I am reluctant to run the 11 upgrade before fixing this it's probably what I need to do. Three outcomes I can see are:
(1) 11 does not work at all and I have wasted hours but can recover from a snapshot backup
(2) 11 works but runs in local account and I just go on living with it
(3) 11 works and I can switch to a networked service account and I share my elation with the world.
That's 2 positive outcomes of 3 so I am inclined to go that way.
I'd love to hear from anyone who can shed light on the underlying problem though --- "content directory is not available" -- but it is!! Thanks