Can't upgrade MID Server

Paul125
Kilo Guru

Hello, we are on Kingston Patch 9. We have an issue with MID server upgrade which unable to upgrade from patch 6 to patch 9. We have 3 mids installed on the same box 2 of them upgraded correctly but one mid has issue upgrading to patch 9. I tried restarting the agent from the agent file also from the services but when I hit the start mid goes up and showing upgrading and after few seconds mid goes down without upgrading.

I've checked the wrapper log and this is what I see. Can someone give an insight into this issue. Thanks!

INFO   | jvm 1    | 2018/11/07 08:35:21.324 | java.lang.Exception: Cannot complete upgrade, one or more files in the upgrade tree are locked and cannot be upgraded

1 ACCEPTED SOLUTION

tim_broberg
ServiceNow Employee
ServiceNow Employee

Some ideas to try:

  1. Check to make sure you don't have two mid server processes running out of the same directory such that the one locks up files the other needs to upgrade.
  2. Check logs/agent0.log.0 to see the upgrade progress file by file and maybe get an idea what file is causing the trouble.
  3. "Kill 'em all and let God sort 'em out." Stop the mid. Delete the directory. Install from scratch.

View solution in original post

9 REPLIES 9

Harsh Vardhan
Giga Patron

Adding one article here.

kindly refer that. hope it will help you.

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0596459

Paul125
Kilo Guru

Thanks Harsh. I quickly looked into it but I can't find anything related to my issue.

have you checked the conf file? is there any difference from other 2 mid server conf file?

Dave Mau
ServiceNow Employee
ServiceNow Employee

Restart the MID then wait for the upgrade to try again, it seems like there are files we can't access which shouldn't be the case.  Is the MID running a a domain user or local system?  If running as domain user, does that user have full access to the MID directory?  You can also try setting it back to local system and restarting the MID to see if it upgrades then.