Hello, we set up collaborations between our portals (10.5.1). Although some times i have to manually run the sync to get the contents synced, most times we are pretty happy with it. In the past couple of days, one of our users tried to share an map image layer (map service as the source) and it didn't get through. When I tried manually running the sync, unsharing/resharing it like what i used to do, it still didn't go through. I noticed whenever I ran the sync, the following warning message appeared in the portal log.
Failed to export item '57116782cc064eca9078cc87c02b9a55' into a replication package
Based on my understanding, data for only hosted feature layers gets replicated during collaboration while for map services, just, just a reference is shared. But why it's trying to replicate the data for this case? Since I couldn't make it work, our user tried republishing the service and re-shared it and it was able to get through. But republishing the service is not a solution for us since it will change the portal item IDs and mess up any existing map/apps using the item.
Can anyone please help why the sync didn't work? Any workarounds or solutions?
Hello,
Did you figure this out? I'm having the same issue. I've noticed that it happens when I add hosted features with multiple layers and tables.
Thanks!
Having the same issue with only 2 features in my UAT env. One un-versioned (works) and one versioned (which has this error)
no solution here, yet, but I am working on this with tech support.
Same error, in a collaboration between ArcGIS Online (AGOL) and our Enterprise Portal. Ours started failing without warning on 6/10/2022, after months of syncing fine. The package fails on all services not just one. (The only thing that changed around the same time that syncs started failing was generating a portal token - using the Portal REST directory, https://<portal>/<webadaptor>/sharing/rest/GenerateToken - for a specific user, *using our own portal as the referrer*.)
If we delete the destination content (the *copy* created on the host from the portal), the first sync works, but any subsequent ones fail. Also, it seems to only push a copy of the map services, not the feature services.
Configuration
Fails on push of portal services-to-AGOL
Task Name: | Export replication package |
Task Status: | failed |
Fails on push of hosted service in AGOL-to-Portal
Export and download peer replication package | |
Task Status: failed |
What we Tried So Far
TIP: Esri recommended that anytime I force a sync, to do it from the REST API for the Portal (ex. https://<portal>/<portalwebadaptor>/sharing/rest/portals/<portalOrgID>/collaborations/<collaboration... "sync" and then "sync status"
We are having the same issue. Were you able to resolve the issue in your end? Thanks for your help.
Any solutions? We're having a similar issue as well after upgrading to Enterprise 11.0. Our send-only workspaces still sync, but our send-and-receive workspace fails on the "Export and download peer replication package" task, citing an inability to unpack the replication package to the temporary location.
Interestingly, the last successful sync happened in the middle of our upgrade process, after upgrading Portal but before upgrading Server. For that reason, I believe the failure is caused by some change that occurred during our Server or DataStore upgrades.
Here's the log text for the failed task:
Task Id: 8519dab454cb4548b424b5e67402f7cc">
Participant portal Id: jrlD8VS1h8uKjsE8
Task Name: Export and download peer replication package
Task Status: failed
Started: Jan 18, 2023, 2:12:20 PM
Ended: Jan 18, 2023, 2:12:24 PM
Modified: Jan 18, 2023, 2:12:24 PM
Status Summary: Exception: java.lang.RuntimeException: com.esri.gw.GWException: Could not unpack replication package to temporary location.
Updated to add: It turned out that the problem was insufficient space on the Enterprise installation drive following the upgrade. Portal has a temp directory there where it tries to temporarily save replication packages during the sync process. Examining the Portal debug logs was key to figuring this out ([your portal URL]/portaladmin/logs/queryFilter).
I saw that you were having issues with you send/receive workspace, but not your send workspace - I was running into that as well.
I just turned the send/receive to just send - and it fixed everything! At the moment, we don't need to receive any data, so this works for us.
Thanks!