[Error/6] Failed to unpack AMP.
[Error/6] KeyNotFoundException
[Error/6] [0] (KeyNotFoundException) : The given key ‘GenericModule.Meta.MinAMPVersion’ was not present in the dictionary.
[Error/6] at InstanceManagerPlugin.LocalInstanceManager.DownloadAndUnpack(LocalAMPInstance Spec, Boolean SkipCache)
[Error/6] Upgrade failed: Failed to unpack AMP: The given key ‘GenericModule.Meta.MinAMPVersion’ was not present in the dictionary.
Reproduction Steps
I am experiencing an issue with updating my AMP instances. Specifically, two of my “Don’t Starve Together” instances fail to update, while my “Minecraft” instance updates without any problems.
I have already tried clearing the cache and forcing an upgrade, but the issue persists.
Seems like you’re missing the latest templates. Try to Fetch Latest from the configuration section with the configuration repositories. Maybe you also need to delete the CubeCoders directory within the DeploymentTemplates directory. Possibly they are named differently. I don’t have the names at hand.
I’ve removed the old templates, but I’m having trouble fetching the new ones. I tried running ampinstmgr --fetchlatest, but it doesn’t seem to work. Unfortunately, I can’t find the “Fetch Latest” option in the interface or documentation, and even after deleting the directories in DeploymentTemplates, I’m still getting an error about a missing key in the configuration file (“The given key ‘GenericModule.Meta.MinAMPVersion’ was not present in the dictionary”).
I used the Fetch Latest option in the Configuration Repositories section and restarted AMP, but I still can’t update these two instances. The error persists:
“The given key ‘GenericModule.Meta.MinAMPVersion’ was not present in the dictionary.”
I also tried running ampinstmgr --nocache upgradeall, but it didn’t help. The CubeCoders repository is the only one configured.