POST
|
I finally got this working by using the command prompt to install it. This first time used the command prompt it failed with the same "installer is no longer responding" error. The second time the command prompt install worked. The only difference was I added the parameter to set the install location. Instead of taking the default location I set the install location to c:\myportal and installing from the command prompt worked. 😕
... View more
a week ago
|
0
|
0
|
7
|
BLOG
|
@RichardFairhurstI just want to say thank you so much for this post. I've been using it a reference for years.
... View more
2 weeks ago
|
1
|
0
|
134
|
POST
|
I'm experiencing the exact same issue. Clean Portal 10.8.1 install on a clean windows server 2019 VM instance is giving an installer unresponsive error. Did anybody ever find a work around?
... View more
3 weeks ago
|
0
|
1
|
77
|
POST
|
Regarding ArcMap not being able to publish shared services, there is a workaround, or maybe a hack, that is probably not supported but works fine in my experience. Obviously test this out on your test system first and make some backups before attempting in prod. Use ArcMap to publish as a new service as a normal dedicated service. Stop the new service Open the service definition file in <arcgisserverhome>config-store\services\NewMap.MapServer.json change the line provider from "ArcObjects" to "DMaps" restart the map service ArcServer will now think allow you to change the instance type to shared.
... View more
11-19-2020
11:11 PM
|
0
|
0
|
84
|
POST
|
Thank you Alessandro Valra This fixed the issue for me. I made a backup of the existing C:\arcgisserver\config-store\security\security-config.json file and then replaced the original with your code above.I was then able to continue the site setup using the original site admin account, not the AD account that had had its password changed. One thing to note for others is to stop and restart the ArcGIS Server service after the change and before continuing the site setup in the browser. Basically I replaced "userStoreConfig": { "type": "WINDOWS", "properties": { "adminUser": "network\\account", "adminUserPassword": "oldencryptedpassword" } } with "userStoreConfig": { "type": "BUILTIN", "properties": {} }
... View more
08-21-2020
11:47 AM
|
0
|
0
|
62
|
POST
|
I couldn't figure out how to use IMapServerDataAccess until I read this. Thank you so much.
... View more
07-30-2020
07:15 PM
|
0
|
0
|
68
|
POST
|
I'm using the ArcGIS API for Python to export a feature service to a FGDB and then download it. My problem is that the export function appears to be asynchronous even though I set wait=True . The returned item from gis.item.export() has a jobid so this shouldn't be a problem if I could poll the service for job status but I don't see a URL to do this. Without a synchronous export or a job status I am user time.sleep(60) to slow things down but that not exactly ideal So how do I get my export to execute synchronously, or how do I query the job status? def Get_AGOL_Data_All2(itemID): """ PARAMETERS: itemID (str) = Ther Portal itemID of the feature service to download. RETURNS: None FUNCTION: Uses the arcgis api for python library to connect to Portal and copy a feature service to a FGDB. Portal returns a zipped file which then has to be unzipped and the contents moved to the staging location NOTE: """ print ('Starting Get_AGOL_Data_All()') # #anon_gis = GIS() mygis = GIS(username="userid",password="****") service = mygis.content.get(itemID) itemDesc = service.export(title="DamageReports", export_format= 'File Geodatabase', parameters=None, wait='True') time.sleep(60) fgdb = mygis.content.get(itemDesc['exportItemId']) fgdb.download(r"D:\temp") with zipfile.ZipFile(os.path.join( r"D:\temp" , fgdb.name),'r') as zip_tar: zip_tar.extractall(r"D:\temp") print ('Finished Get_AGOL_Data_All()') arcpy.Rename_management(os.path.join(r"D:\temp", zip_tar.filelist[0].filename.split("/")[0]),"DamageReports.gdb") return
... View more
07-23-2020
02:55 PM
|
0
|
3
|
82
|
POST
|
In my case the problem wasn't with the search results, I was getting the correct service definition item, my problem was that the map item name had changed in the Pro .aprx. Since the target feature service titles no longer matched the update call would fail. https://gis.stackexchange.com/questions/309685/how-to-update-a-hosted-feature-service-on-arcgis-online-using-the-python-api-for I deleted and republish the feature serive from Pro the thread I found the solution on says you can also change the map name back to the original name. I didn't try this.
... View more
07-23-2020
02:47 PM
|
0
|
0
|
94
|
POST
|
I'm writing a script to export some feature services in AGOL to FGDB and then download them. The export process takes a while but my code doesn't pause execution despite using wait='True'. This results in a corrupted zip file as my code downloads it before the export has finished. Since gis.item.export returns a jobid I would think I could poll the job status until it is success however I don't see a rest endpoint to do this. I've tried things like https://services1.arcgis.com/myorg/ArcGIS/rest/services/myFS/jobs/<jobid> but I don't see any status messages. As of right now I am putting in an arbitrary 3 minute wait timer but I would like something a little less hacky. mygis = GIS(username="myuser",password="*****") service = mygis.content.get(itemID) itemDes = service.export(title="DamageReports", export_format= 'File Geodatabase', parameters=None, wait='True') fgdb = mygis.content.get(itemDes['exportItemId']) <wait time goes here> fgdb.download(r"D:\temp")
... View more
07-17-2020
02:22 PM
|
0
|
1
|
55
|
Online Status |
Offline
|
Date Last Visited |
a week ago
|