Couldn't start instance: D:\AMPDatastore \Instances \Minecraft01\ AMP.exe does not exist

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

OS Name/Version: Windows 10 Home Version 22H2

Product Name/Version: (Always use the full version number - not ‘Latest’) AMP Release “Decadeus” v2.4.4, built 17/05/2023 17:54

Problem Description:

After upgrading I restarted AMP and got this error "

> Couldn't start instance: D:\AMPDatastore\Instances\BuildWorld01\AMP.exe does not exist.

"


Actions taken to resolve so far: I’ve tried repairing, restarting and reinstalling. I’ve probably caused more problems trying to fix it myself when I should have just come here first. I have another issue on my other PC but I’ll address that once we have fixed this one.

Run ampinstmgr --nocache upgradeall

Hi Mike

Thanks. I’ve done that lots having seen it in many of your responses

And what’s the result of running that command?

Microsoft Windows [Version 10.0.19045.2965]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Admin>ampinstmgr --nocache upgradeall
[Info] AMP Instance Manager v2.4.4 built 17/05/2023 17:54
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Stopping Instance: 'ADS01'
[Info] Stopping instance ADS01...
[Info] Waiting for instance to stop...
[Info] Instance ADS01 has stopped.
[Info] Upgrading instance ADS01
[Info] Skipping cache and downloading fresh copy...
[Info] Downloading AMP from https://cubecoders.com/Downloads/Release/AMP_Latest_Release.zip...
[--------------------------------------------------] ETA 00:00:17 @2.98 MB/sec  [#-------------------------------------------------] ETA 00:00:11 @4.61 MB/sec  [#-------------------------------------------------] ETA 00:00:08 @5.92 MB/sec  [##------------------------------------------------] ETA 00:00:07 @6.94 MB/sec  [##------------------------------------------------] ETA 00:00:06 @8.51 MB/sec  [###-----------------------------------------------] ETA 00:00:05 @9.76 MB/sec  [###-----------------------------------------------] ETA 00:00:04 @11.1 MB/sec  [####----------------------------------------------] ETA 00:00:04 @12.23 MB/sec [####----------------------------------------------] ETA 00:00:03 @13.51 MB/sec [#####---------------------------------------------] ETA 00:00:03 @14.59 MB/sec [#####---------------------------------------------] ETA 00:00:03 @15.72 MB/sec [######--------------------------------------------] ETA 00:00:02 @16.82 MB/sec [######--------------------------------------------] ETA 00:00:02 @17.97 MB/sec [#######-------------------------------------------] ETA 00:00:02 @19.07 MB/sec [#######-------------------------------------------] ETA 00:00:02 @20.05 MB/sec [########------------------------------------------] ETA 00:00:02 @21.06 MB/sec [########------------------------------------------] ETA 00:00:02 @22.09 MB/sec [#########-----------------------------------------] ETA 00:00:01 @23.09 MB/sec [#########-----------------------------------------] ETA 00:00:01 @24.05 MB/sec [##########----------------------------------------] ETA 00:00:01 @25.06 MB/sec [##########----------------------------------------] ETA 00:00:01 @26.04 MB/sec [###########---------------------------------------] ETA 00:00:03 @12.68 MB/sec [###########---------------------------------------] ETA 00:00:03 @12.26 MB/sec [############--------------------------------------] ETA 00:00:03 @12.46 MB/sec [############--------------------------------------] ETA 00:00:03 @12.66 MB/sec [#############-------------------------------------] ETA 00:00:03 @12.83 MB/sec [#############-------------------------------------] ETA 00:00:02 @13.29 MB/sec [##############------------------------------------] ETA 00:00:02 @13.59 MB/sec [##############------------------------------------] ETA 00:00:02 @13.97 MB/sec [###############-----------------------------------] ETA 00:00:02 @14.32 MB/sec [###############-----------------------------------] ETA 00:00:02 @14.64 MB/sec [################----------------------------------] ETA 00:00:02 @15.04 MB/sec [################----------------------------------] ETA 00:00:02 @15.29 MB/sec [#################---------------------------------] ETA 00:00:02 @15.64 MB/sec [#################---------------------------------] ETA 00:00:02 @15.93 MB/sec [##################--------------------------------] ETA 00:00:02 @16.27 MB/sec [##################--------------------------------] ETA 00:00:02 @16.5 MB/sec  [###################-------------------------------] ETA 00:00:01 @16.86 MB/sec [###################-------------------------------] ETA 00:00:01 @17.09 MB/sec [####################------------------------------] ETA 00:00:01 @17.41 MB/sec [####################------------------------------] ETA 00:00:01 @17.76 MB/sec [#####################-----------------------------] ETA 00:00:01 @17.95 MB/sec [#####################-----------------------------] ETA 00:00:01 @18.32 MB/sec [######################----------------------------] ETA 00:00:01 @18.52 MB/sec [######################----------------------------] ETA 00:00:01 @18.82 MB/sec [#######################---------------------------] ETA 00:00:01 @19.01 MB/sec [#######################---------------------------] ETA 00:00:01 @19.31 MB/sec [########################--------------------------] ETA 00:00:01 @19.54 MB/sec [########################--------------------------] ETA 00:00:01 @19.87 MB/sec [########################--------------------------] ETA 00:00:01 @19.46 MB/sec [#########################-------------------------] ETA 00:00:01 @19.49 MB/sec [#########################-------------------------] ETA 00:00:01 @19.51 MB/sec [#########################-------------------------] ETA 00:00:01 @19.82 MB/sec [##########################------------------------] ETA 00:00:01 @13.15 MB/sec [##########################------------------------] ETA 00:00:02 @11.73 MB/sec [###########################-----------------------] ETA 00:00:02 @10.87 MB/sec [###########################-----------------------] ETA 00:00:02 @10.37 MB/sec [############################----------------------] ETA 00:00:02 @9.98 MB/sec  [############################----------------------] ETA 00:00:02 @9.7 MB/sec   [#############################---------------------] ETA 00:00:02 @9.42 MB/sec  [#############################---------------------] ETA 00:00:02 @9.2 MB/sec   [##############################--------------------] ETA 00:00:02 @9.01 MB/sec  [##############################--------------------] ETA 00:00:02 @8.83 MB/sec  [###############################-------------------] ETA 00:00:02 @8.71 MB/sec  [###############################-------------------] ETA 00:00:02 @8.59 MB/sec  [################################------------------] ETA 00:00:02 @8.48 MB/sec  [################################------------------] ETA 00:00:02 @8.38 MB/sec  [#################################-----------------] ETA 00:00:02 @8.31 MB/sec  [#################################-----------------] ETA 00:00:02 @8.25 MB/sec  [##################################----------------] ETA 00:00:02 @8.17 MB/sec  [##################################----------------] ETA 00:00:02 @8.11 MB/sec  [###################################---------------] ETA 00:00:01 @8.07 MB/sec  [###################################---------------] ETA 00:00:01 @8.03 MB/sec  [####################################--------------] ETA 00:00:01 @7.97 MB/sec  [####################################--------------] ETA 00:00:01 @7.93 MB/sec  [#####################################-------------] ETA 00:00:01 @7.89 MB/sec  [#####################################-------------] ETA 00:00:01 @7.86 MB/sec  [######################################------------] ETA 00:00:01 @7.82 MB/sec  [######################################------------] ETA 00:00:01 @7.79 MB/sec  [#######################################-----------] ETA 00:00:01 @7.76 MB/sec  [#######################################-----------] ETA 00:00:01 @7.74 MB/sec  [########################################----------] ETA 00:00:01 @7.72 MB/sec  [########################################----------] ETA 00:00:01 @7.69 MB/sec  [#########################################---------] ETA 00:00:01 @7.67 MB/sec  [#########################################---------] ETA 00:00:01 @7.65 MB/sec  [##########################################--------] ETA 00:00:01 @7.64 MB/sec  [##########################################--------] ETA 00:00:01 @7.62 MB/sec  [###########################################-------] ETA 00:00:00 @7.62 MB/sec  [###########################################-------] ETA 00:00:00 @7.61 MB/sec  [############################################------] ETA 00:00:00 @7.59 MB/sec  [############################################------] ETA 00:00:00 @7.58 MB/sec  [#############################################-----] ETA 00:00:00 @7.57 MB/sec  [#############################################-----] ETA 00:00:00 @7.57 MB/sec  [##############################################----] ETA 00:00:00 @7.56 MB/sec  [##############################################----] ETA 00:00:00 @7.55 MB/sec  [###############################################---] ETA 00:00:00 @7.54 MB/sec  [###############################################---] ETA 00:00:00 @7.52 MB/sec  [################################################--] ETA 00:00:00 @7.51 MB/sec  [################################################--] ETA 00:00:00 @7.49 MB/sec  [#################################################-] ETA 00:00:00 @7.5 MB/sec   [#################################################-] ETA 00:00:00 @7.49 MB/sec  [##################################################] ETA 00:00:00 @7.5 MB/sec
[Info] Complete
[Info] Upgrade successful
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'SQLite-net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
[Error]    at ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit)
   at Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit)
   at InstanceManagerPlugin.LocalInstanceManager.<>c.<GetProvisionArguments>b__273_0(TypeInfo t)
   at Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at InstanceManagerPlugin.LocalInstanceManager.GetProvisionArguments(String ModuleName, IEnumerable`1& Dependencies)
[Warning] Failed to register job process
[Info] Upgrading instance Minecraft01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance TestWorld
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance FlatTestWorld
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance stewbert01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance Forest01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance Phasmo01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance AmongUs01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance DHD01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance MysteryManor01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance AnongUsNew01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance FCBackup01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance BuildWorld01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Upgrading instance S7D2D01
[Info] Using cached archive: D:\AMPDatastore\Instances\AMPCache-Mainline-2440.zip
[Info] Upgrade successful
[Info] Start for instance ADS01 was requested, but it is already running.

C:\Users\Admin>

And if you look manually, does AMP.exe exist where it’s complaining about?

Yes. If I double click it it actually starts and runs the server

Make sure that AMPDatastore has full read/write/execute permissions for the user “NETWORK SERVICE”

I know this is where Im going to have a problem. There is no user called “NETWORK SERVICE”. I’ve never added one but it’s always worked perfectly until now. :frowning:

There is such a user, it’s a user built into Windows that ships as standard that system services use. You have to enter it manually.

Thank you Mike. You are a bona fide Genius.

I take it from your response that it’s all working now? :slight_smile:

Thank you Mike. Yes it is. Now I’ll go and do that on the other PC and see if it works on that too.