After Update cannot delete a Instance and all gameservers are deleted

OS Name/Version:
Windows Server 2019

Product Name/Version: (Always use the full version number - not ‘Latest’)
2.6.0.2 Phobos

Problem Description:

After I upgraded to the versionen, I was not able to start AMP anymore. After I tried to reinstall It, I was unbale to delete the instances. I cannot delete instaces now to reinstall AMP and all my gameservers are deleted.
In addition to that I´m unable to upgrade via websinterface. I need to start the command via CMD. Otherwise the AMP instance crashes.

C:\Windows\system32>ampinstmgr stopall
[Info/1] AMP Instance Manager v2.6.0.2 built 30/10/2024 21:58
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info/1] Stopping Instance: 'Terraria01'
[Info/1] Stopping instance Terraria01...
[Info/1] Requesting soft-stop...
[Info/1] Waiting for instance to stop...
[Error/6] IM was unable to execute the requested command.
[Error/6] TaskCanceledException
[Error/6] [0] (TaskCanceledException) : A task was canceled.
[Error/6]    at ModuleShared.AMPProcess.WaitForExitAsync(Process proc, Int32 timeoutMs)
   at InstanceManagerPlugin.LocalInstanceManager.StopProcInstance(LocalAMPInstance instance)
   at InstanceManagerPlugin.LocalInstanceManager.StopInstance(Guid instanceId)
   at InstanceManagerCLI.Core.StopAllInstances(String Instances)
   at InstanceManagerCLI.Core.ExecuteCommand(List`1 Params, Dictionary`2 Args)

Steps to reproduce:

  • Upgrade to Version 2.6.0.2
  • Trying to delete Instances via cmd and gui

Actions taken to resolve so far:

  • Try full reinstall

1 Like

I had the same crap happen. All of my servers have been deleted and now I cant do anything with AMP. Like what the crap. I am also a noob so now im out 4 servers and 100s of hours of a bunch of people. Cubecoders please help us out.

Take a read through this support post on the discord, might resolve the issue you’re having:
https://discord.com/channels/266012086423912458/1301201616908583085

Thanks this resolved the issue. I summarize the steps I dont to fix the issue:

  • Run ampinstmgr stopall so top all instances
  • Go to C:\AMPDatastore and copy the instances.json to your desktop (just in case this won´t work)
  • Rename the latest *.bak file to instances.json
  • execute the command ampinstmgr --nocache upgradeall and
    sc start amp-ads01

Additional troubleshooting, because windows cannot find the service amp-ads01

  • Start the InstanceManager as administrator
  • Right-click the AMP-ADS01 service and hit uninstall service if available or hit install service
  • Start the service and all Instances are there
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.