Activations showing incorrect number and unable to manage an instance

Note - If you do not fill in every section below, your post won’t be answered - you must provide the steps you have followed so far and the actions you’ve already taken. Make sure to remove this notice from your post too.

Make sure you search before posting! Duplicate posts for the same issue may not be answered.

OS Name/Version: Debian GNU/Linux 12 (Running in a Virtual Machine on Unraid 6.12.10)

Product Name/Version: AMP 2.6.0.6 - 20241120.1

Problem Description:

I’ve added a new instance to my, only, AMP installation. I now have 5 instances, which matches to my license. However, I have been unable to start the new instance (Space Engineers - would still prefer a Torch based version though). When I try to start it I get a message saying “Token Rejected No such token exists”. Not knowing why this is happening, and I can’t see anything in any of the logs - there is quite literally nothing beyond the request for an authentication token:

[23:58:25] [Core:admin Activity/27] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[23:58:25] [ADS:admin Activity/27] : Authentication token for admin requested by ManageInstance on behalf of admin

So I decided to take a gander at my license status - it says I have 8 out of 5 instances! But I don’t, I have only a single AMP installation and a total of 5 instances. I don’t know if this is what has caused the issue - or if there is just a problem trying to run a Space Engineers server on AMP under Linux (I have one running directly on Unraid in a Docker container so it shouldn’t be a problem).

Really hope somebody can shed some light on this as I’m stumped - with regards to both the instance not starting and the instance activation count being above what it should be.

Steps to reproduce:

N/A

Actions taken to resolve so far:

Have tried to stop and restart the instance as well as a full reboot of the VM. Both to no avail.

Activations will sort themselves out over time, that error in the log isn’t related to your licence key at all, that’s in reference to a session token.

Try clearing your browser cache for the page, then try managing the instance.
If that doesn’t work, right click the instance and hit View Logs to see if there’s anything in there that can shed light on things. (might be as simple as reactivating the instance)

Thank you for the response.

It is good to know that the instance count will sort itself out (though there is an item in there that is now almost 1 month old). I have tried flushing the browser cache - even went so far as to use a different browser (sometimes the sledgehammer approach is best). But no dice.

Looking at the logs:

Main ADS log:

[23:41:55] [Program Info/1] : Starting AMP version 2.6.0.6 (Phobos), built 20/11/2024 20:57
[23:41:55] [Program Info/1] : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[23:41:55] [Program Info/1] : Running in a QEMU KVM environment.
[23:41:55] [Program Info/1] : OS: Linux / x86_64
[23:41:55] [Program Info/1] : CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz (8C/16T)
[23:41:55] [Program Info/1] : RAM: 32088MB
[23:41:55] [Program Info/1] : AMP Instance ID: 56bff67e-ec12-45b6-a785-bda4f5c5dd1c
[23:41:59] [Core Info/1] : Loaded ADSModule version 2.6.0.6 by CubeCoders Limited
[23:41:59] [Loader Info/1] : Loaded FileManagerPlugin by CubeCoders Limited
[23:41:59] [Loader Info/1] : Loaded EmailSenderPlugin by CubeCoders Limited
[23:41:59] [Loader Info/1] : Loaded WebRequestPlugin by CubeCoders Limited
[23:41:59] [Loader Info/1] : Loaded CommonCorePlugin by CubeCoders Limited
[23:41:59] [Loader Info/1] : ADSModule requests dependency InstanceManagerPlugin…
[23:41:59] [Loader Info/1] : Loaded InstanceManagerPlugin by CubeCoders Limited
[23:41:59] [Loader Info/1] : ADSModule requests dependency SystemUserManagerPlugin…
[23:41:59] [Loader Info/1] : Loaded SystemUserManagerPlugin by CubeCoders Limited
[23:41:59] [Core Info/1] : Licence Present: AMP Professional Edition - Lifetime Licence
[23:42:00] [Loader Info/1] : Loaded steamcmdplugin by CubeCoders Limited
[23:42:00] [ADS Info/1] : Metrics server started OK on port 12820
[23:42:00] [Loader Info/1] : ADS startup complete in 533ms
[23:42:00] [System Info/12] : Updating remote source CubeCoders/AMPTemplates
[23:42:00] [System Info/12] : Updating existing remote source GitHub - CubeCoders/AMPTemplates: For the AMP community to share Generic Module templates.
[23:42:00] [Loader Notice/1] : Using keypair with fingerprint REDACTED
No local changes to save
No stash entries found.
[23:42:00] [Loader Info/1] : SFTP Server started on 0.0.0.0:2223
Already up to date.
[23:42:05] [Core Info/1] : Webserver started on http://0.0.0.0:8080
[23:42:05] [System Info/14] : Startup mode is UpdateAndStart.
[23:42:05] [System Info/11] : Checking for AMP updates…
[23:42:05] [System Info/14] : AMP is up to date.
[23:42:05] [Core Info/14] : Using default tag: latest
[23:42:07] [Core Info/15] : latest: Pulling from cubecoders/ampbase
[23:42:07] [Core Info/14] : Digest: REDACTED
[23:42:07] [Core Info/14] : Status: Image is up to date for cubecoders/ampbase:latest
[23:42:08] [Core Info/7] : docker.io/cubecoders/ampbase:latest
[23:42:08] [Core Info/14] : docker: Error response from daemon: Conflict. The container name “/AMP_GarrysMod01” is already in use by container “d4c361797042787d38f1f8ccfa92977e3c1426af859ce25ee26e8136b564ef3e”. You have to remove (or rename) that container to be able to reuse that name.
[23:42:08] [Core Info/14] : See ‘docker run --help’.
[23:42:10] [System:Anonymous Warning/25] : Slow method invocation: Login took 4656ms to complete.
[23:42:10] [System:Anonymous Warning/25] : Slow response: Core.Login took 4661ms to complete.
[23:42:14] [System:Anonymous Warning/10] : Slow method invocation: Login took 7160ms to complete.
[23:42:14] [System:Anonymous Warning/10] : Slow response: Core.Login took 7161ms to complete.
[23:42:14] [System:Anonymous Warning/13] : Slow method invocation: Login took 7993ms to complete.
[23:42:14] [System:Anonymous Warning/15] : Slow method invocation: Login took 6152ms to complete.
[23:42:14] [System:Anonymous Warning/15] : Slow response: Core.Login took 6154ms to complete.
[23:42:14] [System:Anonymous Warning/13] : Slow response: Core.Login took 7998ms to complete.
[23:42:14] [Core Info/15] : wine8: Pulling from cubecoders/ampbase
[23:42:15] [Core Info/15] : Digest: REDACTED
[23:42:15] [Core Info/15] : Status: Image is up to date for cubecoders/ampbase:wine8
[23:42:15] [Core Info/15] : docker.io/cubecoders/ampbase:wine8
[23:42:15] [Core Info/10] : docker: Error response from daemon: Conflict. The container name “/AMP_SpaceEngineers01” is already in use by container “950f525dda9aba07e3d34d38ed16c61a0f1e75e18982b0ef9911bf5bb88f562e”. You have to remove (or rename) that container to be able to reuse that name.
[23:42:15] [Core Info/10] : See ‘docker run --help’.
[23:42:16] [System:Anonymous Warning/14] : Slow method invocation: Login took 7220ms to complete.
[23:42:16] [System:Anonymous Warning/14] : Slow response: Core.Login took 7220ms to complete.
[23:42:17] [System:Anonymous Warning/14] : Slow method invocation: Login took 11416ms to complete.
[23:42:17] [System:Anonymous Warning/14] : Slow response: Core.Login took 11420ms to complete.
[23:42:18] [System Warning/13] : Slow method invocation: Login took 4637ms to complete.
[23:42:18] [System Warning/13] : Slow response: Core.Login took 4638ms to complete.
[23:46:53] [Core:admin Activity/29] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[23:46:55] [ADS:admin Activity/29] : Authentication token for admin requested by ManageInstance on behalf of admin
[23:46:55] [System Error/29] : LIM - Failure to make API call to SpaceEngineers01: Connection refused (127.0.0.1:8085)
[23:47:27] [Core:admin Activity/33] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[23:47:27] [ADS:admin Activity/33] : Authentication token for admin requested by ManageInstance on behalf of admin
[23:47:29] [System Error/29] : LIM - Failure to make API call to SpaceEngineers01: Connection refused (127.0.0.1:8085)
[23:51:15] [Core:admin Activity/29] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[23:51:15] [ADS:admin Activity/29] : Authentication token for admin requested by ManageInstance on behalf of admin
[23:58:25] [Core:admin Activity/27] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[23:58:25] [ADS:admin Activity/27] : Authentication token for admin requested by ManageInstance on behalf of admin

And in the SpaceEngineers AMP_Logs:

[23:49:02] [Program Info/1] : Starting AMP version 2.6.0.6 (Phobos), built 20/11/2024 20:57
[23:49:02] [Program Info/1] : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[23:49:03] [Program Info/1] : Running in a Docker environment.
[23:49:03] [Program Info/1] : OS: Linux / x86_64
[23:49:03] [Program Info/1] : CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz (8C/16T)
[23:49:03] [Program Info/1] : RAM: 32088MB
[23:49:03] [Program Info/1] : AMP Instance ID: aac38b85-5113-4d37-b328-f8386241e8b4
[23:49:04] [Core Info/1] : Loaded ADSModule version 2.6.0.6 by CubeCoders Limited
[23:49:04] [Loader Info/1] : Loaded FileManagerPlugin by CubeCoders Limited
[23:49:04] [Loader Info/1] : Loaded EmailSenderPlugin by CubeCoders Limited
[23:49:04] [Loader Info/1] : Loaded WebRequestPlugin by CubeCoders Limited
[23:49:04] [Loader Info/1] : Loaded CommonCorePlugin by CubeCoders Limited
[23:49:04] [Loader Info/1] : ADSModule requests dependency InstanceManagerPlugin…
[23:49:04] [Loader Info/1] : Loaded InstanceManagerPlugin by CubeCoders Limited
[23:49:04] [Loader Info/1] : ADSModule requests dependency SystemUserManagerPlugin…
[23:49:05] [Loader Info/1] : Loaded SystemUserManagerPlugin by CubeCoders Limited
[23:49:05] [Core Info/1] : Licence Present: AMP Professional Edition - Lifetime Licence
[23:49:05] [Loader Info/1] : Loaded steamcmdplugin by CubeCoders Limited
[23:49:05] [ADS Info/1] : Metrics server started OK on port 12820
[23:49:05] [Loader Info/1] : ADS startup complete in 521ms
[23:49:05] [System Info/12] : Updating remote source CubeCoders/AMPTemplates
[23:49:05] [System Info/12] : Updating existing remote source GitHub - CubeCoders/AMPTemplates: For the AMP community to share Generic Module templates.
No local changes to save
No stash entries found.
[23:49:06] [Loader Notice/1] : Using keypair with fingerprint REDACTED
[23:49:06] [Loader Info/1] : SFTP Server started on 0.0.0.0:2223
Already up to date.
[23:49:07] [Core Info/1] : Webserver started on http://127.0.0.1:8085
[23:49:07] [System Info/10] : Checking for AMP updates…
[23:49:07] [System Info/11] : AMP is up to date.

I just can’t see anything obvious - the docker container name error has been common for quite some time - sometimes it will complain about PalWorld, other times about Left4Dead2 (which still doesn’t work right). Not sure why it does this, but on a fresh boot it always throws errors about Docker containers being slow to start then sorts itself out.

How does one go about reactivating an instance? I’ve tried to do a quick search in the docs but can’t find anything. I assume this will be a command line job?

Yeah that all there looks pretty standard (except for the “LIM -Failure…” messages). It usually says in the instance’s logs whether it needed to be reactivated, but for reference you can reactivate a single instance via ampinstmgr reactivate TheInstanceName and all of them via the main panel, or ampinstmgr reactivateall.
You could try and right click the instance, then hit Manage in new tab and see if managing it that way works (it’ll prompt a login)
You could also try setting the Logging Level to Debug in the main panel to see if that spits out any extra info

Sadly I have now tried all of that with no effect - I’ve even been away for a day (leaving it running in case it was really thinking). Alas, no joy.

I’ve now resorted to deleting the instance and creating a new one, with the same result :frowning:

[17:41:31] [Core:admin Debug/23] : ManageInstance called with InstanceId: aac38b85-5113-4d37-b328-f8386241e8b4 and session: admin 5279ebf4-258e-4644-8fc0-2b25285ce0da
[17:41:31] [Core:admin Debug/23] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:41:31] [Core:admin Activity/23] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[17:41:32] [ADS:admin Activity/23] : Authentication token for admin requested by ManageInstance on behalf of admin
[17:41:59] [Core Debug/29] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:42:59] [Core Debug/24] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:09] [Core:admin Debug/29] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:09] [System:admin Info/29] : Stopping instance SpaceEngineers01…
[17:43:09] [InstanceManager:admin Debug/29] : Running command line: “/usr/bin/docker kill --signal=SIGINT AMP_SpaceEngineers01” from “”
[17:43:14] [Core:admin Debug/26] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:14] [Core:admin Debug/26] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:14] [Core:admin Debug/26] : Task Stopping Instance (Stopping Space Engineers (SpaceEngineers01)…) ended: Finished
[17:43:14] [System:admin Info/26] : Instance SpaceEngineers01 has stopped.
[17:43:14] [Core:admin Debug/26] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:18] [Core:admin Activity/29] : Deleting instance aac38b85-5113-4d37-b328-f8386241e8b4
[17:43:18] [Core:admin Debug/29] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:18] [Core:admin Debug/29] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:18] [Core:admin Debug/29] : Running command line: “/bin/rm -rf – “/home/amp/.ampdata/instances/SpaceEngineers01"” from “/home/amp/.ampdata/instances/ADS01”
[17:43:18] [Core:admin Debug/29] : Working Directory: /home/amp/.ampdata/instances/ADS01
[17:43:18] [InstanceManager:admin Debug/29] : Saving instances to /home/amp/.ampdata/instances.json…
[17:43:18] [InstanceManager:admin Debug/29] : Wrote 5 instances.
[17:43:18] [Core:admin Debug/29] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:43:23] [Core:admin Debug/29] : Task Removing Instance (Removing Space Engineers…) ended: Finished
[17:43:59] [Core Debug/46] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:44:59] [Core Debug/41] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:45:59] [Core Debug/41] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:25] [System:admin Info/46] : Updating remote source CubeCoders/AMPTemplates
[17:46:25] [System:admin Info/46] : Updating existing remote source GitHub - CubeCoders/AMPTemplates: For the AMP community to share Generic Module templates.
[17:46:25] [ADS:admin Debug/46] : Running command line: “/usr/bin/git stash --include-untracked” from “Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates”
No local changes to save
[17:46:25] [ADS:admin Debug/46] : Running command line: “/usr/bin/git stash drop” from “Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates”
No stash entries found.
[17:46:25] [ADS:admin Debug/46] : Running command line: “/usr/bin/git pull” from “Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates”
From GitHub - CubeCoders/AMPTemplates: For the AMP community to share Generic Module templates.
3a4624f…c07124b main → origin/main
Updating 3a4624f…c07124b
Fast-forward
enshrouded.kvp | 4 +±-
1 file changed, 2 insertions(+), 2 deletions(-)
[17:46:26] [Core:admin Debug/46] : Found configuration repository at CubeCoders-AMPTemplates, ec280171-c67b-4cf8-923f-dc27fea91ee1
[17:46:26] [ADS:admin Debug/46] : StartupMode: StartApplication, OneShot
[17:46:26] [System:admin Debug/45] : Autoconfiguring instance…
[17:46:26] [InstanceManager:admin Debug/45] : Autoconfiguring instance 2c7a2824-e3b7-4458-90dc-fcdf0c816845
[17:46:26] [InstanceManager:admin Warning/45] : Non-managed instances exist, autoconfigure cannot guarantee that the configuration is valid!
[17:46:26] [InstanceManager:admin Debug/45] : Setting FileManagerPlugin.SFTP.SFTPIPBinding to 192.168.2.141
[17:46:26] [InstanceManager:admin Debug/45] : Setting GenericModule.App.ApplicationIPBinding to 192.168.2.141
[17:46:26] [InstanceManager:admin Debug/45] : Using port 8085
[17:46:26] [InstanceManager:admin Debug/45] : Using name SpaceEngineers01 (SpaceEngineers)
[17:46:26] [InstanceManager:admin Debug/45] : Setting FileManagerPlugin.SFTP.SFTPPortNumber to 2228
[17:46:26] [System:admin Debug/45] : Autoconfiguration Successful
[17:46:26] [InstanceManager:admin Debug/46] : User: amp
[17:46:26] [InstanceManager:admin Debug/46] : Home Dir: /home/amp
[17:46:26] [System:admin Debug/46] : Target path: /home/amp/.ampdata/Versions/Mainline/20241120.1/AMP_x86_64.zip
[17:46:26] [Core:admin Debug/46] : Running command line: “/usr/bin/unzip -qq -o “/home/amp/.ampdata/Versions/Mainline/20241120.1/AMP_x86_64.zip”” from “/home/amp/.ampdata/instances/SpaceEngineers01”
[17:46:30] [Core:admin Debug/45] : Task Updating remote sources (Fetching latest configurations…) ended: Finished
[17:46:31] [System:admin Debug/46] : Updating Permissions…
[17:46:31] [Core:admin Debug/46] : Running command line: “/usr/bin/chmod +x “/home/amp/.ampdata/instances/SpaceEngineers01/AMP_Linux_x86_64"” from “/home/amp/.ampdata/instances/SpaceEngineers01”
[17:46:31] [Core:admin Debug/46] : Working Directory: /home/amp/.ampdata/instances/SpaceEngineers01
[17:46:31] [System:admin Debug/46] : Building arguments list…
[17:46:31] [System:admin Debug/46] : Arguments: -firststart +Core.Webserver.Port “8085” +Core.Webserver.IPBinding “127.0.0.1” +Core.AMP.AppModule “GenericModule” +Core.AMP.InstanceID “2c7a2824-e3b7-4458-90dc-fcdf0c816845” +Core.AMP.InstanceName “SpaceEngineers01” +Core.AMP.FriendlyName “SpaceEngineers” +Core.AMP.PrimaryEndpoint “0.0.0.0:27017” +Core.AMP.PrimaryEndpointUri “steam://connect/0.0.0.0:27017” +Core.Security.MetricsHMAKKey “918646cc-4674-44fb-adbf-d4964be95869” +Core.AMP.LicenceKey “a18a91af-395a-4656-bae7-1256009eebb5”
[17:46:31] [System:admin Debug/45] : Running AMP with configuration arguments…
[17:46:31] [Core:admin Debug/45] : Running command line: “/usr/bin/id -u” from “”
[17:46:31] [Core:admin Debug/45] : Running command line: “/usr/bin/id -g” from “”
[17:46:31] [InstanceManager:admin Debug/45] : Running command line: “/usr/bin/docker run --rm -id --name AMP_SpaceEngineers01_CONFIGURE -v “/home/amp/.ampdata/instances/SpaceEngineers01”:/AMP -v “/home/amp/.ampdata/instances/SpaceEngineers01/.virtualhome”:/home/amp -e AMPUSERID=1001 -e AMPGROUPID=1001 -e AMPHOSTPLATFORM=Linux -e AMP_CONTAINER=1 -e AMP_MOUNTPOINTS=”” -e AMP_CONTAINER_DEPS=”["winehq-stable=8.0.2~bookworm-1","wine-stable=8.0.2~bookworm-1","wine-stable-amd64=8.0.2~bookworm-1","wine-stable-i386=8.0.2~bookworm-1"]" --net=host -e AMP_CONTAINER_HOST_NETWORK=1 cubecoders/ampbase:wine8 -firststart +Core.Webserver.Port "8085" +Core.Webserver.IPBinding "127.0.0.1" +Core.AMP.AppModule "GenericModule" +Core.AMP.InstanceID "2c7a2824-e3b7-4458-90dc-fcdf0c816845" +Core.AMP.InstanceName "SpaceEngineers01" +Core.AMP.FriendlyName "SpaceEngineers" +Core.AMP.PrimaryEndpoint "0.0.0.0:27017" +Core.AMP.PrimaryEndpointUri "steam://connect/0.0.0.0:27017" +Core.Security.MetricsHMAKKey "918646cc-4674-44fb-adbf-d4964be95869" +Core.AMP.LicenceKey "a18a91af-395a-4656-bae7-1256009eebb5" -loadconfig provisionargs.kvp" from “”
[17:46:36] [Core:admin Info/46] : ff9ac5f5630c5cbe67196bacb1815e6df41d389b454ef26b912bd634388e9219
[17:46:37] [Core:admin Debug/45] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:37] [Core:admin Debug/45] : Running command line: “/usr/bin/chmod 700 .” from “/home/amp/.ampdata/instances/SpaceEngineers01”
[17:46:37] [Core:admin Debug/45] : Working Directory: /home/amp/.ampdata/instances/SpaceEngineers01
[17:46:37] [Core:admin Debug/45] : Task Configuring Instance (Configuring SpaceEngineers (SpaceEngineers01)…) ended: Finished
[17:46:37] [InstanceManager:admin Debug/45] : Saving instances to /home/amp/.ampdata/instances.json…
[17:46:37] [InstanceManager:admin Debug/45] : Wrote 6 instances.
[17:46:37] [System:admin Debug/45] : Post create actions: UpdateAndStartAlways (4)
[17:46:42] [Core:admin Debug/28] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:42] [Core:admin Debug/28] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:42] [Core:admin Debug/28] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:42] [InstanceManager:admin Debug/28] : Running command line: “/usr/bin/docker pull cubecoders/ampbase:wine8” from “”
[17:46:45] [Core:admin Info/45] : wine8: Pulling from cubecoders/ampbase
[17:46:45] [Core:admin Info/46] : Digest: sha256:ec140ec81611b8a651fb68104d33e72c5932734b6e6b73a3a2ecd8d34a2c1f1b
[17:46:45] [Core:admin Info/46] : Status: Image is up to date for cubecoders/ampbase:wine8
[17:46:45] [Core:admin Info/46] : docker.io/cubecoders/ampbase:wine8
[17:46:45] [Core:admin Debug/28] : Running command line: “/usr/bin/id -u” from “”
[17:46:45] [Core:admin Debug/28] : Running command line: “/usr/bin/id -g” from “”
[17:46:45] [InstanceManager:admin Debug/28] : Running command line: “/usr/bin/docker run --rm -d --name AMP_SpaceEngineers01 -v “/home/amp/.ampdata/instances/SpaceEngineers01”:/AMP -v “/home/amp/.ampdata/instances/SpaceEngineers01/.virtualhome”:/home/amp -e AMPUSERID=1001 -e AMPGROUPID=1001 -e AMPHOSTPLATFORM=Linux -e AMP_CONTAINER=1 -e AMP_MOUNTPOINTS=”" -e AMP_CONTAINER_DEPS=“["winehq-stable=8.0.2~bookworm-1","wine-stable=8.0.2~bookworm-1","wine-stable-amd64=8.0.2~bookworm-1","wine-stable-i386=8.0.2~bookworm-1"]” --net=host -e AMP_CONTAINER_HOST_NETWORK=1 cubecoders/ampbase:wine8 +Core.Webserver.Port "8085" +Core.Webserver.IPBinding "127.0.0.1" +Core.AMP.InstanceID "2c7a2824-e3b7-4458-90dc-fcdf0c816845" +Core.Security.MetricsHMAKKey "918646cc-4674-44fb-adbf-d4964be95869"" from “”
[17:46:49] [Core:admin Info/45] : 737cc5fee9168d64c0f3abe451706902b8c0510a3332a5a1762d623ad92b9ac4
[17:46:51] [Core:admin Debug/28] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:51] [Core:admin Debug/28] : Task Starting Instance (Starting SpaceEngineers (SpaceEngineers01)…) ended: Finished
[17:46:51] [Core:admin Debug/28] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:51] [Core:admin Debug/28] : Task Create instance (Space Engineers) ended: Finished
[17:46:56] [Core:admin Debug/46] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:46:59] [Core Debug/28] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:47:01] [Core:admin Debug/46] : ManageInstance called with InstanceId: 2c7a2824-e3b7-4458-90dc-fcdf0c816845 and session: admin 5279ebf4-258e-4644-8fc0-2b25285ce0da
[17:47:01] [Core:admin Debug/46] : Running command line: “/usr/bin/docker ps --format {{.Names}}” from “”
[17:47:01] [Core:admin Activity/46] : Managed remote instance SpaceEngineers01 at http://127.0.0.1:8085/
[17:47:06] [ADS:admin Activity/46] : Authentication token for admin requested by ManageInstance on behalf of admin
[17:47:06] [System:admin Warning/46] : Slow method invocation: ManageInstance took 5864ms to complete.
[17:47:06] [System:admin Warning/46] : Slow response: ADSModule.ManageInstance took 5864ms to complete.
[17:47:06] [System Error/46] : LIM - Failure to make API call to SpaceEngineers01: Connection refused (127.0.0.1:8085)

I’m about ready to just give up - I really do love AMP when it works, but it seems when it goes wrong it gets really stubborn :sob:

Right click the instance and hit View Logs, there might be more info on it’s side of things

Ok, I now very confused - but also happy.

So the fresh instance had no logs after I first created it - and had the same issue of not being able to be managed. So I just left it be after posting the above.

I looked just now (as I have only just seen your response)…and it started! The logs still are of no help, it seems it took AMP about an hour to get the instance ready, and then it started the server - without any config of course. So it is working, which makes me happy indeed - thank you for your responses.

However, I can’t help but feel that AMP should have been logging something saying what it was doing - and I still have no idea why this instance sorted itself out after an hour or so when the first one got stuck in limbo for 2 days.

Yeah that seems quite odd, I’ve personally never been able to get that issue to happen, but I’ve seen others have it at random. Next time I see someone with the issue, I’ll pass on the wise words of “give it a really long minute and see if that works”

It might be beneficial to set the Logging Level to debug inside the troublesome instances, so the next time it happens, we can see if there’s any extra errors being logged

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