AnsweredAssumed Answered

How can you fix a corrupt ArcGIS Server lifecycleinfos.json file

Question asked by fratin on Dec 2, 2019
Latest reply on Dec 3, 2019 by JQuinn-esristaff

This question relates to an ArcGIS Server 10.7.1 implementation. 


When trying the start a service, the following error occurs:


I have discovered ten services that have corrupted lifecycleinfos.json file. The file is full of unreadable characters.  I'm assuming this is the problem, because all other json files associated with the services are readable and have '{' as the first character in the file. 


A typical lifecycleinfos file will look something like this:



I've tried to republish the services, but they can't be republished.  There is an "ERROR 001369: Failed to create the service" error.   I've also tried to stop or delete the services in the Server Manager, but they can't be deleted for a similar error Failed to stop one or more services: A JSONObject text must begin with '{' at character 1 of.


Here is the file location for lifecycleinfos.json i  arcgisserver -> config-store -> services -> service folder -> service.MapServer -> esriinfo


There is a lifecycleinfos.json.rlock file as well.  


Is there a way to repair the lifecycleinfos.json file?