Although we have Tracker for ArcGIS App Licences, when I try to enable Location Tracking under our Organizations Extension, I get an error message "Unable to enable Location Tracking"
Anyone's had this issues before and know how to fix it?
Can you search all items in your organization using this query
typekeywords: "Location Tracking Service"
do you see anything returned?
If you do not see any items, then I suggest you open a case with customer support as it may be specific to your organization and will require further debugging.
Thanks for the suggestion!
There was an issues that customer support was able to fix after a few days.
We're up and running now.
Hi Aaron,What if the search result is a location tracking hosted feature service owned by an administrator other than myself? Should I delete the item or change the owner (to myself) before enabling the location tracking?Regards,
Hi Jean-Sebastien,
I get the same error message. Do you know how support fixed the problem ?
Best regards,
hi @Anonymous User ,I got error when click organization > settings
Unable to find the location tracking service: https://****/****/rest/services/Hosted/location_tracking/FeatureServer
I try to reconfigure location tracking but got same error. I try delete all layer "Location Tracking Service" but 1 layer cannot be delete.
Do you have any suggestions?
Hi @Izzat,
I also had the "ghost" service issue preventing me from enabling the location tracking service. The only solution I found was to delete the service trace in the underlying datastore database with PgAdmin. Please note that this operation is not recommended by ESRI.
Do you mean the deletion failed? Or that you don't have the option to delete the service in UI - it's intentionally blocked in UI on the item details page.
You should be able to delete it via the REST API or via the Python API wrapper unless there's an issue on the server/db.
The deletion failed even via the REST API or Python API.
We have identified the request that fails while trying to enable the location tracking service :
https://***.com/portal/sharing/rest/portals/self/isServiceNameAvailable?name=location_tracking&type=Feature%20Service&f=json
returns
{"error":{"code":500,"message":"Internal Server Error"}}
So we deleted the item directly from the datastore database, we updated the Portal index and we enabled location tracking successfully.
It seems that the location tracking service no longer existed on the server but was still referenced in the datastore and Portal.
Hi @RonanHervé ,how you delete the item directly from the datastore database? Do mind share your step to delete it manually.
So i have this error (10.8.1 to 10.9.1 upgrade), have one row in database. However, my service on hosting server exists and is up.
Cant delete the item because I have hosted feature layers with data that depend on it.
ideas?
Following method is better:
https://support.esri.com/en/technical-article/000022531#:~:text=Navigate%20to%20the%20Portal%20for%20ArcGIS%20home%20page.,Click%20Enable%20Location%20Tracking%20%3E%20Save.
Deleting the item (as linked above) fails because there is a Hosted Feature Layer dependent on it (the tracks)
Hi @JeffPace1 , here is more detailed steps, FYI:
1. Go to portal, under folder Location Tracking, delete the tracker viewer that was created before. That viewer maybe has delete protection, you can disable it from portal, then delete.
2. Go to portal rest, that is ../portal/sharing/rest/, following above document, find the location tracking service item, use related operation - disable protect - to make the Location Tracking service can be deleted, then use the operation - delete item - to delete it.
3. Back to portal, organization /settings to enable location tracking.
Will this preserve the existing track data?
Please take a further research on that and I don't know the answer, for my environment is DEV and has no data.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.