Update Failure with Don't Starve Together - Upgrade failed - Don't Starve Together

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.0.6 (Mainline)
Virtualization Docker
Application Don’t Starve Together
Module GenericModule
Running in Container Yes
Current State Stopped

Problem Description

Issue

[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.
  • I have recently updated my Debian system

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.

Hi!

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”).

Use the search bar of AMP to find the configuration repositories section. Do you have any other repos configured than the cubecoders one?

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.

Is there anything else I should check or try?

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