Startup Issue with Minecraft - The Application State is stuck on "Installing Components."

System Information

Field Value
Operating System Linux - Ubuntu 22.04.3 on x86_64
Product AMP ‘Decadeus’ v2.4.6.8 (Mainline)
Virtualization VMware
Application Minecraft
Module MinecraftModule
Running in Container No
Current State Installing

Problem Description

Issue

After creating a new server, the state is stuck at installing components. It doesn’t get past this.

Reproduction Steps

  • Create new Minecraft Java Edition server
  • Start server for first time
  • Application state stuck on installing components

What type of Minecraft server is selected? Is it the official one or another type?

I’m not sure what the issue was, it seems to work working consistently now. Ultimately what I’m trying to do is import my existing spigot server. Based on the KBA for importing existing servers, I’m trying to follow it, but I’m having a lot of trouble getting the files imported. So far I’ve zipped up the existing files at the top level like it’s supposed to be, I’ve created a new Java edition server, and gone to the File Manager, and this is where trouble is happening. AMP won’t upload the file when I try and drag and drop, so I’ve been trying to use WinSCP. I’m able to get the zip file uploaded successfully that way, and when I go back to the file manager in AMP and try to extract “here,” I get a popup that says “Unable to complete task. This task could not be completed: Extracting archive to …-mcserver.zip - State: 3. Error extrating archive.”
So the next thing I tried was just uploading all the files not as a zip to WinSCP, but before it can even finish I get either “Error Code: 4” or “I/O Errors,” or WinSCP just generally disconnects while it’s in the process of uploading files. So I’m just really not sure what to do or what I’m doing wrong. I thought I was following the KBA. The setup I have is that one AMP is in a Linux VM as a controller, and another AMP is in another Linux VM as a target.

Can you sanity check that it is indeed a zip file and not another archive type? If you check the instances logs (right click → view logs) you might get more information about why AMP can’t extract it.

Okay, I will check that, but first, why does the target not come back online after I restart the VM? Is it supposed to come back online automatically? Because it isn’t. How can I start the target from the terminal since it won’t start automatically? Sorry I’m having so many issues, I must be doing something wrong. I really appreciate the help though!!

There’s a systemctl service called “ampinstmgr” that should be running at boot to start AMP. Check it’s present and starting up.

This is the status I get. It’s not immediately obvious to me what the issue is. I can’t start it manually either. Did I just install it wrong? I followed the setup guide and just set it up as a target.

× ampinstmgr.service - AMP Instance Manager
Loaded: loaded (/etc/systemd/system/ampinstmgr.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2023-12-01 21:18:23 UTC; 55s ago
Docs: AMP systemd script (Linux) · CubeCoders/AMP Wiki · GitHub
Process: 7293 ExecStart=/opt/cubecoders/amp/ampinstmgr startboot true (code=exited, status=1/FAILURE)
Main PID: 7293 (code=exited, status=1/FAILURE)
CPU: 110ms

Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at System.IO.FileSystem.FileExists (System.ReadOnlySpan1[T] fullPath) [0x00006] in <84860023ab994fb899a1d6d68e96bfb8>:0 Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at System.IO.File.Exists (System.String path) [0x00043] in <84860023ab994fb899a1d6d68e96bfb8>:0 Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <d79fa9ebec8046c79a4b0b8142d3203f>:0 Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in :0
Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at InstanceManagerCLI.CertSync…ctor (ModuleShared.ILogger log, System.String CustomCertPath) [0x0004d] in <9df3ac2ee2c949629a3c86310869ca3f>:0
Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at InstanceManagerCLI.Core.Run () [0x00ab5] in <9df3ac2ee2c949629a3c86310869ca3f>:0
Dec 01 21:18:23 mc1.cyberblock.online ampinstmgr[7293]: at InstanceManagerCLI.Program. () [0x0000b] in <9df3ac2ee2c949629a3c86310869ca3f>:0
Dec 01 21:18:23 mc1.cyberblock.online systemd[1]: ampinstmgr.service: Main process exited, code=exited, status=1/FAILURE
Dec 01 21:18:23 mc1.cyberblock.online systemd[1]: ampinstmgr.service: Failed with result ‘exit-code’.
Dec 01 21:18:23 mc1.cyberblock.online systemd[1]: Failed to start AMP Instance Manager.