Startup Issue with Application Deployment - Factorio Instance will no longer start after Update

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.0.6 (Mainline)
Virtualization HyperV
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

I updated my Server to the newest Version 2.6.0.6.
The Minecraft Instances are all running Fine.
But the Factorio Instance is no longer able to start.

I just see
Instance FactorioServer01 has stopped
ADS logged stopped instance FactorioServer01 - exit code -1 (CATASTROPHIC_FAILURE)

How can I access the Instance?
Or how do I repair the startup?

Edit:
Found the LatestLog Option:

Log shows:

[16:21:52] [System Error/9]       : Missing plugin/assembly: MaxMind.Db (/home/amp/.ampdata/instances/FactorioServer01/Plugins/MaxMind.Db/MaxMind.Db.dll) for
[16:21:52] [Core Info/1]          : Licence Present: AMP Professional Edition - Lifetime Licence
[16:21:52] [System Error/1]       : Missing plugin/assembly: steamcmdplugin (/home/amp/.ampdata/instances/FactorioServer01/Plugins/FactorioModule/steamcmdplugin.dll) for FactorioModule
[16:21:52] [Factorio Error/1]     : Unhandled Exception: This will be automatically reported to the AMP developers.
[16:21:52] [Factorio Error/1]     : [Error] --- Begin Exception Data ---
[Error] OS: Linux (x86_64/HyperV)
[Error] Module: FactorioModule, Version: AMP 2.6.0.6
[Error] Release spec: Mainline - built by CUBECODERS/buildbot on CCL-DEV
[Error] Instance ID: 91cbebaa-91dc-4947-ab85-7a9921bd549e
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'steamcmdplugin, Version=2.6.0.6, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

[Error]    at FactorioModule.ModuleMain.PostInit()
   at GSMyAdmin.ModuleLoader.RunPostInit()
   at GSMyAdmin.Core.Run()
   at GSMyAdmin.Program.Main()
[Error] --- End Exception Data ---

Reproduction Steps

  • Click Start on the Factorio Instance
  • Deployment Log Shows Error
  • There is no more Steps

Run through this update guide, make sure your CLI tools are up to date, then follow part 4:

After running through the update guide, I still get the same error:

ampinstmgr --LastLog FactorioServer01
[Info/1] AMP Instance Manager v2.6.0.6 built 20/11/2024 20:58
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[23:07:59] [Program Info/1]       : Starting AMP version 2.6.0.6 (Phobos), built 20/11/2024 20:57
[23:07:59] [Program Info/1]       : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[23:07:59] [Program Info/1]       : Running in a HyperV environment.
[23:07:59] [Program Warning/1]    : Current time zone is set to Central European Standard Time - It is recommended you switch to UTC+0 to avoid time-zone related issues
[23:07:59] [Program Info/1]       : OS: Linux / x86_64
[23:07:59] [Program Info/1]       : CPU: Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz (3C/6T)
[23:07:59] [Program Info/1]       : RAM: 19525MB
[23:07:59] [Program Info/1]       : AMP Instance ID: 91cbebaa-91dc-4947-ab85-7a9921bd549e
[23:08:00] [Core Info/1]          : Loaded FactorioModule version 2.6.0.6 by CubeCoders Limited
[23:08:00] [Core Info/1]          : Metrics publishing is enabled at udp://localhost:12820.
[23:08:00] [Loader Info/1]        : Loaded FileManagerPlugin by CubeCoders Limited
[23:08:00] [Loader Info/1]        : Loaded EmailSenderPlugin by CubeCoders Limited
[23:08:00] [Loader Info/1]        : Loaded WebRequestPlugin by CubeCoders Limited
[23:08:00] [Loader Info/1]        : Loaded LocalFileBackupPlugin by CubeCoders Limited
[23:08:00] [Loader Info/1]        : Loaded CommonCorePlugin by CubeCoders Limited
[23:08:00] [Loader Info/1]        : Loaded AnalyticsPlugin by CubeCoders Limited
[23:08:00] [System Error/7]       : Missing plugin/assembly: MaxMind.Db (/home/amp/.ampdata/instances/FactorioServer01/Plugins/MaxMind.Db/MaxMind.Db.dll) for
[23:08:00] [Core Info/1]          : Licence Present: AMP Professional Edition - Lifetime Licence
[23:08:00] [System Error/1]       : Missing plugin/assembly: steamcmdplugin (/home/amp/.ampdata/instances/FactorioServer01/Plugins/FactorioModule/steamcmdplugin.dll) for FactorioModule
[23:08:00] [Factorio Error/1]     : Unhandled Exception: This will be automatically reported to the AMP developers.
[23:08:00] [Factorio Error/1]     : [Error] --- Begin Exception Data ---
[Error] OS: Linux (x86_64/HyperV)
[Error] Module: FactorioModule, Version: AMP 2.6.0.6
[Error] Release spec: Mainline - built by CUBECODERS/buildbot on CCL-DEV
[Error] Instance ID: 91cbebaa-91dc-4947-ab85-7a9921bd549e
[Error] FileNotFoundException
[Error] [0] (FileNotFoundException) : Could not load file or assembly 'steamcmdplugin, Version=2.6.0.6, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

[Error]    at FactorioModule.ModuleMain.PostInit()
   at GSMyAdmin.ModuleLoader.RunPostInit()
   at GSMyAdmin.Core.Run()
   at GSMyAdmin.Program.Main()
[Error] --- End Exception Data ---
[Warning] Last error was raised less than 60 minutes ago, error report will not be submitted.

[23:08:00] [ErrorReporter Info/1] : ####################################
[23:08:00] [ErrorReporter Info/1] : #         Self Diagnostics         #
[23:08:00] [ErrorReporter Info/1] : ####################################
[23:08:00] [ErrorReporter Info/1] : AMP tried to access a file (steamcmdplugin, Version=2.6.0.6, Culture=neutral, PublicKeyToken=null) that doesn't exist, or the file was removed after the point AMP checked for its existence. Could not load file or assembly 'steamcmdplugin, Version=2.6.0.6, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.


Any other Ideas?

How would I make sure my CLI Tools are up to date?

They’re up to date, this line here:
[Info/1] AMP Instance Manager v2.6.0.6 built 20/11/2024 20:58

After cooking my brain for a bit, I missed the bit about FactorioModule, it looks like you’re using the old Factorio instance.
There’s a new one that uses the Generic module, which should be up to date and working.
Downside is that you’ll need to create the new instance, then migrate the server over.
At the very least I’d say it’s worth a try to whip up a new instance and see if it’s running into the same startup issue.

Alternatively, if you want to prolong the life of the instance, you could copy the steamcmdplugin from the ADS instance.
To do that you’d do the following:

  • fully stop the Factorio instance
  • using the ADS’s file manager:
    • the plugin would be under: __VDS_ADS01/Plugins/steamcmdplugin/steamcmdplugin.dll
    • copy that to: __VDS_FactorioServer01/Plugins/steamcmdplugin/
  • start the instance and hope it rolls

Thank you for the help!

I did create a new instance and copied over my save files.
Now it is working again.

For the future:
I did not expect any breaking changes during updates. So far all updates always went smooth.

Are there Release Notes for the updates, so i could check for breaking changes before updates?

Yep, there’s release notes here:
https://discourse.cubecoders.com/t/amp-phobos-2-6-release-notes/18255/6#p-37457-amp-2606-release-notes-1
You can usually expect breaking changes when the version’s major revision changes, eg from 2.5.x.x to 2.6.x.x or from 2.6.x.x to 2.7.x.x. Sometimes they’re small and unnoticeable to the average user, other times there’s been some upgrade to instance templates, requiring some shuffling. 2.6 was a big one, with AMP going from .NET 4.6 to .NET 8, so I’d expect the next one to be a bit tame in comparison.
There’s also announcements in the Discord related to any large breaking changes.