I cannot create a Portal admin account with ArcGIS Enterprise

1202
3
Jump to solution
11-01-2018 08:00 AM
New Contributor II

I have a problem with the installation of ArcGIS Portal (on Linux). After the installation I want to create an admin portal account. For some reason, ArcGIS Portal thinks I need to upgrade Portal. In the createadmin.html page, I can only see 'continue Portal upgrade'. I installed it on a complete new server with the newest software (10.6.1).

I scripted the whole installation process with Ansible and already successfully installed ArcGIS Enterprise on 4 different machines (test-server). The same script fails with these new servers, as I get the error: Starting the createportal utility.\n==================================================\n\nChecking if the portal is initialized.\n\nThe portal is not initialized.\n\nValidating portal.\n\nConfiguring the portal.\n\nIndex Service configuration failed.\n\nFailed to configure the portal.\n\nExiting the createportal utility.", "stdout_lines": ["==================================================", "Starting the createportal utility.", "==================================================", "", "Checking if the portal is initialized.", "", "The portal is not initialized.", "", "Validating portal.", "", "Configuring the portal.", "", "Index Service configuration failed.", "", "Failed to configure the portal.", "", "Exiting the createportal utility."]}

As said, if I go to the webpage instead, it says I have to upgrade Portal first. If I try this, it fails also. I have no clue what could be the problem. I tried to reinstall, manually install with command line but with no luck. The weirdest thing is that I use the same script on a different machine with success. Both deployments are the same. I do use the same provisioning file on both deployments, but I have been told that a test and development deployment can use the same license file. Also, the error seems not to be the cause of the license file since the installation went well and error message state nothing about a license problem?

Do any of you have any idea what could be the problem?


Thanks in advance!

Reply
0 Kudos
1 Solution

Accepted Solutions
Esri Frequent Contributor

Try the following:

1) Make sure the db folder doesn't exist in the usr/arcgisportal/ directory. That directory is under the install directory by default

2) Make sure the config-store-connection.json file doesn't exist in the framework/etc directory. That directory is also under the install.

3) Restart Portal

Try to create the Portal again and if it fails, check the logs for information about the failure.

View solution in original post

3 Replies
Esri Frequent Contributor

Try the following:

1) Make sure the db folder doesn't exist in the usr/arcgisportal/ directory. That directory is under the install directory by default

2) Make sure the config-store-connection.json file doesn't exist in the framework/etc directory. That directory is also under the install.

3) Restart Portal

Try to create the Portal again and if it fails, check the logs for information about the failure.

View solution in original post

New Contributor II

Awesome, thank you very much! This did the trick. I only removed the db folder in the usr/arcgisportal/ directory, I did not have a config-store-connection.json file at the time.

Is this a common bug? Or do you have any idea what causes this issue? For future deployments, I maybe have to add something to my installation script.

Thanks again for your help.

Reply
0 Kudos
Esri Frequent Contributor

No problem!

No, I haven't heard of this problem before. If creating the portal fails, it should delete the db directory and any other files/folders that were created during that process. Perhaps it couldn't delete the directory when it tried to? The logs should tell you why it failed and hopefully why it couldn't delete the db folder.