Esri / arcgis-python-api

Documentation and samples for ArcGIS API for Python
https://developers.arcgis.com/python/
Apache License 2.0
1.89k stars 1.1k forks source link

Copied Groups to Portal, now can't Edit Settings for Organization #314

Closed joeroganDOTca closed 6 years ago

joeroganDOTca commented 6 years ago

Hi, I was using the code to copy groups (no items or users) from our ArcGIS Online organization to 10.6.1 Enterprise (Federated Server/Portal/DataStore/WebAdaptor each on their own machines).

The copying worked with the exception of the Groups not having the same sharing (they were all set to Public). That wasn't the big deal though. The problem now is I can no longer Edit Settings of the Portal Organization. The button is greyed out / can't be clicked.

I have tried restarting all the machines, other Admin users have the same issue. What could cause this?

The only thing I could find on google was: https://community.esri.com/thread/189808-edit-settings-is-disabled-when-accessing-portal-using-the-web-adaptor I've tried the options here of connecting directly to the machine at port 7443, doesn't make any difference.

rwmajor2 commented 6 years ago

Hi @canadajebus. This is truly strange. I was wondering if you could relay a little more information.

1) What is your web server? Tomcat? IIS? and version. 2) If you open Chrome Developer Tools and then refresh the Organization page, do you see any failed requests or any errors in the Console? 3) If you delete the Groups that you copied from ArcGIS Online, does the problem go away? 4) Do any of the Group names have special characters in them, like a ( or { or |?

Thanks.

joeroganDOTca commented 6 years ago

Web adaptor is installed with IIS 8.5 on Windows Server 2012 R2. There are no errors in the console or failed requests. There were some / and french characters. Tried deleting all of the groups but the Edit Settings is still not available. I'm wondering if it has something to do with deleting the original gallery or featured content group? The only way I can change them now is with the REST API.

rwmajor2 commented 6 years ago

@canadajebus Your best path forward at this point is perhaps getting in touch with Esri Tech Support and see if you can get to the bottom of it. I will be interested in learning what you find out.

joeroganDOTca commented 6 years ago

So I just figured it out. Somehow the Portal self defaultExtent property was set to an invalid value. I don't know how this got set but I was able to clear it with the REST API.

This was the bad value: "defaultExtent": { "xmin": -1.9880993138733562E7, "ymin": 0, "xmax": -6105206.153066193, "ymax": 1.988056119355007E7, "spatialReference": { "wkid": 102100 }