OS Name/Version: Ubuntu Server 24.04 LTS
Product Name/Version: AMP Instance Manager v2.5.0.12 built 31/05/2024 14:46
Problem Description:
I restarted my server and AMP is not starting (it’s active but exited). I don’t know what the error is because it was working 4h ago. I updated AMP few days ago but don’t think that’s the problem since it has been working flawlessly.
$ systemctl status ampinstmgr
● ampinstmgr.service - AMP Instance Manager
Loaded: loaded (/etc/systemd/system/ampinstmgr.service; enabled; preset: enabled)
Active: active (exited) since Wed 2024-11-06 13:47:42 UTC; 12min ago
Docs: https://github.com/CubeCoders/AMP/wiki/AMP-systemd-script-(Linux)
Process: 13535 ExecStart=/opt/cubecoders/amp/ampinstmgr startboot true (code=exited, status=0/SUCCESS)
Main PID: 13535 (code=exited, status=0/SUCCESS)
CPU: 316ms
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.J>
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serial>
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditional>
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <dd21e08747d94bcebed8b56112226337>:0
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <dd21e08747d94bcebed8b56112226337>:0
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <dd21e08747d9>
nov 06 13:47:42 miarma ampinstmgr[13535]: at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <dd21e08747d94bcebed8b561122>
nov 06 13:47:42 miarma ampinstmgr[13535]: at InstanceManagerPlugin.LocalInstanceManager.GetLocalInstances (System.String AlternateDefsPath) [0x00096] in <fa5cbfd73769428ea6bffea6109b4f4b>:0
nov 06 13:47:42 miarma ampinstmgr[13535]: [Info/1] No AMP instances are currently set to start automatically on boot.
nov 06 13:47:42 miarma systemd[1]: Finished ampinstmgr.service - AMP Instance Manager.
Steps to reproduce:
- Update to latest AMP version
- Restart Ubuntu
Actions taken to resolve so far:
I’ve tried looking at the logs, but there are no logs from today
==================================================
EDIT
SOLVED
For those who are struggling with this the solution was update the ampinstmgr
package with apt as explained here: