ADS01 Instance does not start

OS Name/Version: debian

Product Name/Version: AMP Instance Manager v2.4.3.6

Problem Description:
After an unplanned reboot server, Instance does not start

[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Instance ID        │ 89d57087-c505-4f84-afdd-7309fe199a5c
Module             │ ADS
Instance Name      │ ADS01
Friendly Name      │ ADS01
URL                │ http://127.0.0.1:8080/
Running            │ No
Runs in Container  │ No
Runs as Shared     │ No
Start on Boot      │ Yes
AMP Version        │ 2.4.4.0
Release Stream     │ Mainline
Data Path          │ /home/amp/.ampdata/instances/ADS01

Writes in logs next:

[20:34:19] [Logger Info]          : Loading locale data for xx from xx.json...
[20:34:19] [Logger Info]          : Starting AMP version 2.4.4.0 (Decadeus), built 17/05/2023 17:54
[20:34:19] [Logger Info]          : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[20:34:19] [Logger Info]          : Running in a HyperV environment.
[20:34:19] [Logger Warning]       : Current time zone is set to MSK - It is recommended you switch to UTC+0 to avoid time-zone related issues
[20:34:19] [Logger Info]          : OS: Linux / x86_64
[20:34:19] [Logger Info]          : CPU: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz (6C/12T)
[20:34:19] [Logger Info]          : RAM: 32145MB
[20:34:19] [Logger Info]          : AMP Instance ID: 89d57087-c505-4f84-afdd-7309fe199a5c
[20:34:20] [Logger Info]          : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[20:34:20] [Logger Info]          : Loaded FileManagerPlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : Loaded EmailSenderPlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : Loaded WebRequestPlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : Loaded LocalFileBackupPlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : Loaded CommonCorePlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : ADSModule requests dependency InstanceManagerPlugin...
[20:34:20] [Logger Info]          : Loaded InstanceManagerPlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : ADSModule requests dependency SystemUserManagerPlugin...
[20:34:20] [Logger Info]          : Loaded SystemUserManagerPlugin by CubeCoders Limited
[20:34:20] [Logger Info]          : Loaded steamcmdplugin by CubeCoders Limited
[20:34:20] [ErrorReporter Error]  : Unhandled Exception: Please report this to the AMP developers.
[20:34:20] [ErrorReporter Error]  : [Error] --- Begin Exception Data ---
[Error] OS: Linux (x86_64/HyperV)
[Error] Module: ADSModule, Version: AMP 2.4.4.0
[Error] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Error] Instance ID: 89d57087-c505-4f84-afdd-7309fe199a5c
[Error] NullReferenceException
[Error] [0] (NullReferenceException) : Object reference not set to an instance of an object
[Error]   at ADSModule.WebMethods.BuildAppsCache () 
  at ADSModule.ModuleMain.TryGuessIMImages () 
  at ADSModule.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.

[20:34:20] [ErrorReporter Info]   : ####################################
[20:34:20] [ErrorReporter Info]   : #         Self Diagnostics         #
[20:34:20] [ErrorReporter Info]   : ####################################
[20:34:20] [ErrorReporter Info]   : This exception was caused by a null reference or null argument. This is usually caused by a bug in AMP, or a plugin.
[20:34:20] [Logger Info]          : The exception message was: Object reference not set to an instance of an object

What do you recommend to do to fix it?

What’s the output of ampinstmgr status ?

  CubeCoders AMP  💻amp@GameServerAMP  📁~  ampinstmgr status
[Info] AMP Instance Manager v2.4.3.6 built 07/05/2023 12:05
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Instance Name      │ Friendly Name    │ Module     │ IP              │ Port  │ Up
───────────────────┼──────────────────┼────────────┼─────────────────┼───────┼───
ADS01              │ ADS01            │ ADS        │ 0.0.0.0         │ 8080  │  
MerfegHomeServer   │ MerfegHomeSer... │ Minecraft  │ 127.0.0.1       │ 8081  │ ✓
HL                 │ HL               │ srcds      │ 127.0.0.1       │ 8082  │ ✓
Pophousethepart... │ Pop house the... │ Minecraft  │ 127.0.0.1       │ 8083  │ ✓

In your instance datastore directory, do you have a recent backup of the instances.json file? There should be multiple, dated copies of it.

Yes

Keep a backup of the current instances.json, and try copying the most recent dated backup replace it.

I try used two last json backups result is the same :frowning:

  CubeCoders AMP  💻amp@GameServerAMP  📁~  ampinstmgr --StartInstance ADS01
[Info] AMP Instance Manager v2.4.3.6 built 07/05/2023 12:05
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Starting Instance: 'ADS01'
[Info] Waiting for AMP instance to start...
[Notice] AMP instance ADS01 is now running.
[Info] You can browse to this instance at http://192.168.1.94:8080/
[Info] Instance started in new session. Run 'ampinstmgr View ADS01' to view this instances live output.
  CubeCoders AMP  💻amp@GameServerAMP  📁~  ampinstmgr --ShowInstanceInfo ADS01
[Info] AMP Instance Manager v2.4.3.6 built 07/05/2023 12:05
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Instance ID        │ 89d57087-c505-4f84-afdd-7309fe199a5c
Module             │ ADS
Instance Name      │ ADS01
Friendly Name      │ ADS01
URL                │ http://127.0.0.1:8080/
Running            │ No
Runs in Container  │ No
Runs as Shared     │ No
Start on Boot      │ Yes
AMP Version        │ 2.4.4.0
Release Stream     │ Mainline
Data Path          │ /home/amp/.ampdata/instances/ADS01

Take a backup of your srcds instance (copy its directory), delete it using ampinstmgr delete, does ADS start up?

ADS not start

  CubeCoders AMP  💻amp@GameServerAMP  📁~  ampinstmgr --StartInstance ADS01
[Info] AMP Instance Manager v2.4.3.6 built 07/05/2023 12:05
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Starting Instance: 'ADS01'
[Info] Waiting for AMP instance to start...
[Notice] AMP instance ADS01 is now running.
[Info] You can browse to this instance at http://192.168.1.94:8080/
[Info] Instance started in new session. Run 'ampinstmgr View ADS01' to view this instances live output.
  CubeCoders AMP  💻amp@GameServerAMP  📁~  ampinstmgr -t
[Info] AMP Instance Manager v2.4.3.6 built 07/05/2023 12:05
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
Instance Name      │ Friendly Name    │ Module     │ IP              │ Port  │ Up
───────────────────┼──────────────────┼────────────┼─────────────────┼───────┼───
ADS01              │ ADS01            │ ADS        │ 0.0.0.0         │ 8080  │  

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