Select to view content in your preferred language

Data Stores do not have a Portal URL

850
1
Jump to solution
02-03-2023 08:15 AM
CameronMcKee1
Regular Contributor

Our servers were recently restarted due to a power outage.  I have been performing a few checks to see if everything is working: 

1. Web services that use data stores appear to be fine when viewed in a web map. 

2. When validating data stores through Server Manager, the relational data store validates, but the tile cache does not.

3. When running server.datastores.validate_egdb on the relational data store I get the following error which has never come up before: Unauthorized access. Token not found. You can generate a token using the 'generateToken' operation.

4. When running descibedatastore.bat I noticed that the "Portal for ArcGIS URL" is blank, which seems odd.  It was definitely set before.

CameronMcKee1_0-1675440657688.png

Given that services appear to be working, I'm not sure how serious of an issue this is.  However, if you can let me know the best way to update the URL, it would be appreciated.

Thanks,

Cameron

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
CameronMcKee1
Regular Contributor

I ended up discussing this with ESRI Support and they provided the following solution.  In our case, Data Stores was installed on a separate machine from Server and Portal.

  1. On the data store machine, try to access the server admin site (https://<your arcgis server url>:6443/arcgis/admin).
  2. If it fails, open up port 6443 (you may need your IT department to help with this).
  3. Once you can access that link, run describedatastore.  If you're lucky, the URL will show up now.  Otherwise, continue onto the next step.
  4. Put your data store into read only mode.  Make sure you have a backup before proceeding to the next step. 
  5. Open your server manager from any machine.
  6. Unregister both your tile cache and your relational data stores (we only had these two).
  7. Reconfigure your data stores via https://<your data store server url>:2443/arcgis/datastore.
  8. Check data stores (describedatastore, check hosted layers, publish a test hosted layer, etc.).

View solution in original post

0 Kudos
1 Reply
CameronMcKee1
Regular Contributor

I ended up discussing this with ESRI Support and they provided the following solution.  In our case, Data Stores was installed on a separate machine from Server and Portal.

  1. On the data store machine, try to access the server admin site (https://<your arcgis server url>:6443/arcgis/admin).
  2. If it fails, open up port 6443 (you may need your IT department to help with this).
  3. Once you can access that link, run describedatastore.  If you're lucky, the URL will show up now.  Otherwise, continue onto the next step.
  4. Put your data store into read only mode.  Make sure you have a backup before proceeding to the next step. 
  5. Open your server manager from any machine.
  6. Unregister both your tile cache and your relational data stores (we only had these two).
  7. Reconfigure your data stores via https://<your data store server url>:2443/arcgis/datastore.
  8. Check data stores (describedatastore, check hosted layers, publish a test hosted layer, etc.).
0 Kudos