Update Issue with Valheim - Server won't start after update: 'mv: cannot stat "[...]//Data'

OS Name/Version: Ubuntu 22.04.4 LTS

Product Name/Version: AMP Release “Callisto” v2.5.0.10, built 21/05/2024 01:29

Problem Description:
Updated AMP. Now, after starting a Valheim instance, game update fails and server won’t start automatically. Can start it with the Start button instead.

Log:

14:23:20
Redirecting stderr to '/home/amp/Steam/logs/stderr.txt'
Logging directory: '/home/amp/Steam/logs'
[ 0%] Checking for available updates...
14:23:21
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1716584438
-- type 'quit' to exit --
Loading Steam API...OK
force_install_dir "896660"
14:23:22
Connecting anonymously to Steam Public...OK
14:23:23
Waiting for client config...OK
Waiting for user info...OK
app_update 896660 -beta public validate
14:23:24
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
14:23:26
Update state (0x5) verifying install, progress: 32.27 (757168652 / 2346408748)
14:23:28
Update state (0x5) verifying install, progress: 67.33 (1579924956 / 2346408748)
14:23:29
Success! App '896660' fully installed.
quit
14:23:30
bash14:23:30
mv: cannot stat '/home/amp/.ampdata/instances/Ribeira01/Valheim/896660//Data/': No such file or directory

Steps to reproduce:

  • Start AMP Server
  • Start existing Valheim instance or create a new one
  • Wait for update to finish, get error.

Actions taken to resolve so far:

  • Created missing directory manually, however it gets deleted after update, so have to create it again.
  • Updated instance and template from main instance manager, to no avail. After instance update, game updates and the same error appears.

Your templates are not updating properly. When you click Update on the instance from the main instances screen (which shows all your instances), check the console for any errors

Thanks! I didn’t catch that earlier. I’m getting the following log:

10:13:02
Stopping instance Ribeira01...
Requesting soft-stop...
Waiting for instance to stop...
Instance was shut down gracefully.
Instance Ribeira01 has stopped.
10:13:21
Updating remote source CubeCoders/AMPTemplates
Updating existing remote source https://github.com/CubeCoders/AMPTemplates.git...
10:13:22
error: Your local changes to the following files would be overwritten by merge:
ark-sa.kvp
arma-reforgerconfig.json
assetto-corsaupdates.json
carrier-command2.kvp
carrier-command2updates.json
dayz-experimentalconfig.json
dayz-originalconfig.json
deadmatter.kvp
deadmatterupdates.json
enshroudedupdates.json
Updating 87e8457..bb03304
jedi-academyupdates.json
mxbikes.kvp
mxbikesconfig.json
mxbikesdedicated.ini
mxbikesupdates.json
palworld-modded.kvp
palworld-moddedconfig.json
palworld.kvp
palworldconfig.json
python-app-runnerconfig.json
quake3-arenaupdates.json
reign-of-kings.kvp
reign-of-kingsupdates.json
rimworld-togetherconfig.json
rimworld-togetherupdates.json
rising-storm2-vietnam.kvp
rising-storm2-vietnamupdates.json
stormworksupdates.json
tshockupdates.json
vintage-story.kvp
Please commit your changes or stash them before you merge.
Aborting
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/vintage-story.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/ark-sa.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/stormworks.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/palworld-modded.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/jedi-academy.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/vintage-story-new.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/dayz-experimental.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/palworld.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/dayz-original.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/deadmatter.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/rising-storm2-vietnam.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/carrier-command2.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/mxbikes.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
Unable to load Generic Manifest /home/amp/.ampdata/instances/ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates/reign-of-kings.kvp - missing required keys: GenericModule.Meta.AppConfigId, GenericModule.Meta.DisplayName, GenericModule.Meta.Description, GenericModule.Meta.DisplayImageSource, GenericModule.Meta.OS
10:13:30
Slow method invocation: RefreshInstanceConfig took 8913ms to complete.
Slow response: ADSModule.RefreshInstanceConfig took 8913ms to complete.

Seems like some changes exist in the local repo. However I don’t remember making any changes.
I also see something about some missing keys.

Any idea on how to fix this? Thanks in advance.

Delete ADS01/Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates

Then update your instance again from the UI

As you said, updating the instance and templates after deleting said directory fixed the issue.

Solved, thanks!

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