|
POST
|
This is the portal error i receive: Failed to add or update item '1cab88c8bef743baab32716aa17e9724'. Error writing to file: D:\arcgisportal\content\items\1cab88c8bef743baab32716aa17e9724\FloodCert.sd Note this is an entirely new layer (but the same data and attachments) copied to my file gdb and added to my pro project's map and so in this case is not an overwrite but a new write. I think i've got either a corrupt attachment or attachments or there are communication errors between my portal, server and datastore (although all components test correctly). So as Jonah Lay suggested earlier there are probably other issues going on with my environment or the layer. Unfortunately, my org is really abusing the attachment capability. I don't think attachments should replace a document search system or repository.
... View more
07-15-2020
11:30 AM
|
0
|
4
|
4685
|
|
POST
|
Hi Shilpi - I did try using the Pro UI with the same result. 99999 fail code at the upload stage. I will try adding as an update later today.
... View more
07-14-2020
09:50 AM
|
0
|
5
|
4685
|
|
POST
|
Hi Jonah - yes thanks. And yes, that's what I thought as well re SD files. I'd never read anywhere about a size limit for those. Yes, the largest attachment (in this case pdf's) is about 9.5Mb. I like to work in the IDLE for Pro - here is a snippet of my code: def stageSDDraft(mp,lyrName,summary,lyrs,descript,folder,tags,sdfolder):
sddraft_out = "C:/ArcProProjects/PortalUpdates/" + sdfolder + "/" + lyrName + ".sddraft"
draft = mp.getWebLayerSharingDraft("HOSTING_SERVER", "FEATURE", lyrName, lyrs)
draft.portalFolder = folder
draft.tags = tags
##draft.allowExporting = True
draft.summary = summary
draft.description = descript
draft.overwriteExistingService = True
draft.exportToSDDraft(sddraft_out)
return
try:
portal = arcpy.SignInToPortal("https://ags3.myorg.net/portal", "userName_portal", "userNamePw")
aprx = arcpy.mp.ArcGISProject('C:/ArcProProjects/PortalUpdates/PortalUpdates.aprx')
for m in aprx.listMaps("FloodAttachments"):
print("Map: " + m.name)
for lyr in m.listLayers():
desc = arcpy.Describe(lyr)
if lyr.name == 'ElevationCertificate':
print(lyr.name)
lyrList = []
lyrList.append(m.listLayers(lyr.name)[0])
stageSDDraft(m, lyr.name, "The Elevation Certificate point layer contains the addresses of homes and businesses that have a documented finished floor elevation that is above the Effective \
FEMA designated base flood elevation.",lyrList,"The Elevation Certificate point layer contains the addresses of homes and businesses that have documented finished floor elevation \
that is above the Effective FEMA designated base flood elevation. The certificate is accessed as a layer attachment.",
"EnvironmentalLayers","Cadastral,Environmental,Services","Environmental")
print(lyr.name + " Draft Created")
arcpy.StageService_server('C:/ArcProProjects/PortalUpdates/Environmental/' + lyr.name + '.sddraft', 'C:/ArcProProjects/PortalUpdates/Environmental/' + lyr.name + '.sd')
print(lyr.name + " Service Staged")
arcpy.UploadServiceDefinition_server('C:/ArcProProjects/PortalUpdates/Environmental/' + lyr.name + '.sd', 'My Hosted Services', "","","","","","OVERRIDE_DEFINITION","SHARE_ONLINE","PUBLIC",
"SHARE_ORGANIZATION","")
print(lyr.name + " Service Uploaded")
message = message + "\n" + "1. " + (lyr.name) + " Service Uploaded" It's pretty straight-forward. However, you are probably right about there being another issue. I have been overwriting this feature layer weekly for a couple of years because of how the attachments are constructed. The attachments are pulled in from another system of record and then we use a GP to dump them into another directory before attaching them to the points via a match table. I am going to try setting this up with a new layer, new SD file, etc and see it works.....
... View more
07-14-2020
06:50 AM
|
0
|
7
|
4685
|
|
POST
|
Grasias Anibal - es posible. Pero luego tendria que usar la api . . And I didn't really want to do that because the file does publish to AGOL using the Pro sharing module and I didn't want to have to re-write this part of my workflow unless necessary
... View more
07-13-2020
12:45 PM
|
0
|
0
|
4685
|
|
POST
|
Hello - I don't think that this section from the Enterprise help Manage hosted feature layers—Portal for ArcGIS | Documentation for ArcGIS Enterprise at 10.8 is entirely accurate: "Allow attachments You can allow editors to attach images and other files to individual features in a layer in a hosted feature layer. This is useful, as it allows you to associate documentation or photos to specific, relevant features. For example, a code compliance officer might attach a photo of the code violation for a specific address point, or a building inspector might include a PDF of a permit for a building feature. Each hosted feature layer view inherits the attachment setting of the hosted feature layer from which it was created. By default, all view users can see the attachments inherited from the hosted feature layer. To control who has access to these attachments, you can hide the attachments in the hosted feature layer view. Each file you attach to a feature can be a maximum size of 2 GB. To attach files larger than 2 GB, you can use the Upload Part and Add Attachment operations from ArcGIS REST API to do a multipart upload. . . . . . " What I have found is that when sharing or overwriting a hosted feature layer via the 2.5.x ArcGIS Pro sharing module to Enterprise 10..8, the maximum service definition file size appears to be 2GB. In my case, I have a point layer with some 3600 records and pdf attachments. The largest attachement is about 9MB. However, the total size of the service definition file exceeds 2GB, and the sharing module overwrite now fails with a 99999. Specifically, the: ## arcpy.UploadServiceDefinition_server('C:/ArcProProjects/PortalUpdates/Environmental/' + lyr.name + '.sd', 'My Hosted Services', "","","","","","OVERRIDE_DEFINITION","SHARE_ONLINE","PUBLIC", ## "SHARE_ORGANIZATION","") fails because I think that the entire sd file size cannot exceed 2GB. Has anyone encountered this?
... View more
07-09-2020
10:32 AM
|
0
|
13
|
6302
|
|
POST
|
We have a weekly Nessus port scan that stops the AGM services. Each week those have to be restarted when the scan completes.
... View more
07-08-2020
07:27 AM
|
1
|
2
|
2890
|
|
POST
|
Hi Bing - how were you able to convert your pfx file to pem files? We have a Sectigo CA wildcard cert that contains a root and intermeditate certificates, but I've never been able to get the pfx to convert all levels. In your case, I think you need to create a DNS entry for the server hosting Monitor? I can see a port number in your url: .com.au:444
... View more
07-08-2020
07:24 AM
|
0
|
0
|
2119
|
|
POST
|
right so this is supposed to be fixed at 10.8. When I go here: https://downloads.esri.com/support/downloads/other_/108-IssuesAddressedList-02132020.pdf I see ArcGIS Data Store BUG-000123162 Improve ArcGIS Data Store messages and logs. ENH-000125411 Implement multi-node tile cache data stores. ENH-000126860 Improve cipher support for tile cache data stores. ENH-000126861 Add ability to configure multiple backup locations for tile cache data stores. I think this one addresses the size limit issue: ENH-000125411 Implement multi-node tile cache data stores.
... View more
04-14-2020
11:34 AM
|
0
|
0
|
4773
|
|
POST
|
one item that I've had scramble with past upgrades are the redirectURIs for the arcgisonline appID. I have had to check to make sure that the DNS uri, machine name uri, our local domain uri and the the *.arcgis.com uri are all in place after upgrade: https://portaldnsname:7443/arcgis/portalhelp/apidocs/admin/index.html#/Get_App_Info/032400000032000000/ usually just having the arcgisonline appID configured correctly handles all the other appIDs that you could register, but maybe not . . . just something to check.
... View more
04-13-2020
10:46 AM
|
1
|
0
|
1260
|
|
POST
|
Looks like the problem fixed itself, maybe due to the agol updates that occurred on March 31. The apps now sync as reference, as before.
... View more
04-01-2020
11:30 AM
|
0
|
0
|
1498
|
|
POST
|
From the Portals' Collaboration Sync Status Content: {
"syncId": "09f3bca2d2494502874ebd22af11b3df",
"syncExecType": "scheduled",
"startTime": 1585675838920,
"endTime": 1585675843200,
"status": "completed_with_failures",
"summary": "Failed for one or more participants.",
"participants": [
{
"participantId": "icrWMv7eBkctFu1f",
"taskStatus": [
{
"id": "4f408f1dcc6a47bba778fccf3c20867e",
"syncId": "09f3bca2d2494502874ebd22af11b3df",
"peerPortalId": "icrWMv7eBkctFu1f",
"name": "Upload and import replication package to peer",
"status": "failed",
"startTime": 1585675840337,
"endTime": 1585675843192,
"modified": 1585675843192,
"summary": "Completed upload and import",
"results": [
{
"taskStatusId": "4f408f1dcc6a47bba778fccf3c20867e",
"results": {
"succeededCount": 0,
"failedCount": 1,
"notProcessedCount": 0
},
"failed": [
{
"taskStatusId": "4f408f1dcc6a47bba778fccf3c20867e",
"itemId": "f3211181e4e74615801370f3d3cef47e",
"message": "A JSONObject text must begin with '{' at character 0 of "
}
],
"notProcessed": [
],
"created": 1585675843190
}
]
},
... View more
03-31-2020
11:20 AM
|
0
|
0
|
1498
|
|
POST
|
Hi - one of my enterprise collaborations was deleted by my host agol organization on March 30, 2020 at like 12:05 a.m. EDT. I am still at Enterprise release 10.7.1. The collaboration guest (my portal) sends content to my AGOL host. In this case, Developer Edition web application WABs that I have registered with my portal are sent to my AGOL so that they can appear on my AGOL Org home page and in our Open Data Site. My other collaborations and workspaces that send portal-hosted feature layers were not affected, only the collaboration containing the apps. The worst part is, after re-creating new collaboration and collaboration workspaces, the syncs keep failing, whether trying to send the apps by reference (preferred) or as copies (which I don't think works anyway when trying to collaborate apps) If anyone has any insight, that would be great. Kelly Gerrow Thanks, David
... View more
03-31-2020
07:01 AM
|
0
|
2
|
1570
|
|
POST
|
No I don't, I'd have to look it up. Are you still seeing this at 10.8?
... View more
03-31-2020
06:40 AM
|
0
|
2
|
4773
|
|
BLOG
|
Yes it does Derek, thanks. I like to keep my development and enterprise versions at the same release
... View more
03-11-2020
12:23 PM
|
1
|
0
|
2745
|
|
BLOG
|
Can anyone tell me what version of the WAB Enterprise at 10.8 is running? Is it 2.15?
... View more
03-11-2020
12:00 PM
|
0
|
0
|
2745
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-01-2026 05:41 AM | |
| 1 | 06-26-2026 12:39 PM | |
| 6 | 06-25-2026 07:23 AM | |
| 1 | 06-17-2026 06:04 AM | |
| 1 | 06-08-2026 08:37 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|