AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Failure to start ADS on system startup W/O at least 1 Instance set to 'Start on Boot'

Open VoidLock92 opened this issue 1 year ago • 2 comments

Bug Report

System Information

  • Operating System - Debian 11 (Bullseye)
  • AMP version and build date - v2.4.3.0 "Decadeus" 14/03/2023 23:15
  • Which AMP release stream you're using - Mainline

I confirm:

  • [x] that I have searched for an existing bug report for this issue.
  • [x] that I am using the latest available version of AMP.
  • [x] that my operating system is up-to-date.

Symptoms

What are you trying to do?

  • Have AMP start when the server powers up and have the ADS start (with or without ANY instances enabled 'Start on Boot')

What are you expecting to happen?

  • AMP, ADS to automatically start and make the web GUI accessible.

What is actually happening? ('Nothing' is not an acceptable answer!)

  • When I have NO Instances set to 'Start on Boot' AMPs web GUI is inaccessible and tell me on the webpage that "AMP is not currently running"

Reproduction

Restarting the server with NO Instances set to 'Start on Boot' causes ADS to fail to start.

AMP web GUI tells me further down that I should run sudo service ampinstmgr restart

Upon running the command it then tells me: "Job for ampinstmgr.service failed because a fatal signal was delivered to the control process"

Then I am instructed to see systemctl status ampinstmgr.service and journalctl -xe

Of which the systemctl status reports "Failed to start AMP Instance Manager"

Then upon checking the journalctl I find something that hopefully can help resolve the issue. It might be easier to attach screenshots of the journalctl -xe error as I do not know what is needed from it or not. Attached please find 4 screenshots. If more information or troubleshooting is needed to figure out why this is happening, I am more than happy to assist.

journalctl_1 journalctl_2 journalctl_3 journalctl_4

VoidLock92 avatar Apr 16 '23 16:04 VoidLock92

What happens if you do ampinstmgr startboot as the amp user ?

PhonicUK avatar Apr 22 '23 09:04 PhonicUK

It prints this out: image This is while the ADS is already running because I left a MC server set to auto startup. Did you want me to run that command when it failed to start the ADS?

VoidLock92 avatar Apr 23 '23 03:04 VoidLock92