Enterprise 1.8 thinks a feature layer still exists but does not.
I am trying to publish a csv file and get this error
A published service with this name already exists within the organization. Service names must be unique across the organization. Please use a different name.
a search does not find a service with this name.
I can publish with a different name ok.
I have a script which deletes then adds a new updated feature layer each night. This has been working fine for weeks.
Could a process be using the old feature layer which is not allowing me to replace it?
It is possible that the indexing for your items within your Portal for ArcGIS is off. This could be why you cannot find the service under that name. This can be checked by navigating to your Portal Admin site >System > Indexer > Index Status. If there are no errors within the index, the indexer should return status that looks as such:
If the indexer is off, it will note the counts in red highlighting.