I can't manage the instance

OS Name/Version: Windows Server 2022

Product Name/Version: AMP Release “Decadeus” v2.4.6.8, built 23/11/2023 12:29

Problem Description:

I have just installed AMP on Windows and created a first instance.
I was able to access it and manage it but it wasn’t in a docker.
So I followed the instructions here:

I have restarted, updated the AMP configuration, created a new instance.
Now when i try to log in I get an error message saying:

Failed to login to remote instance. null

Invalid Username or password

I have tried following the instructions here when something is wrong on windows:

But it didn’t help.

When I check the logs of the instance, here is what I see:

[23:38:29] [Logger Info]          : Starting AMP version 2.4.6.8 (Decadeus), built 23/11/2023 12:29
[23:38:29] [Logger Info]          : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[23:38:29] [Logger Info]          : Running in a Docker environment.
[23:38:29] [Logger Info]          : Purging old audit logs (this may take a moment)...
[23:38:29] [Logger Info]          : OS: Linux / x86_64
[23:38:29] [Logger Info]          : CPU: AMD Ryzen 7 3800X 8-Core Processor (8C/16T)
[23:38:29] [Logger Info]          : RAM: 32046MB
[23:38:29] [Logger Info]          : AMP Instance ID: 8d788b2a-01f3-4e65-a2fb-90618b918a7d
[23:38:30] [Logger Info]          : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
[23:38:30] [Logger Info]          : Loaded FileManagerPlugin by CubeCoders Limited
[23:38:30] [Logger Info]          : Loaded EmailSenderPlugin by CubeCoders Limited
[23:38:30] [Logger Info]          : Loaded WebRequestPlugin by CubeCoders Limited
[23:38:30] [Logger Info]          : Loaded LocalFileBackupPlugin by CubeCoders Limited
[23:38:30] [Logger Info]          : Loaded CommonCorePlugin by CubeCoders Limited
[23:38:30] [Logger Info]          : ADSModule requests dependency InstanceManagerPlugin...
[23:38:30] [Logger Info]          : Loaded InstanceManagerPlugin by CubeCoders Limited
[23:38:30] [Logger Info]          : ADSModule requests dependency SystemUserManagerPlugin...
[23:38:30] [Logger Info]          : Loaded SystemUserManagerPlugin by CubeCoders Limited
[23:38:30] [Logger Warning]       : No such setting node: RustModule.Rust.Port - maybe the relevant plugin/module isn't loaded?
[23:38:30] [Logger Warning]       : No such setting node: RustModule.Rust.QueryPort - maybe the relevant plugin/module isn't loaded?
[23:38:30] [Logger Warning]       : No such setting node: RustModule.Rust.RconPort - maybe the relevant plugin/module isn't loaded?
[23:38:30] [Logger Warning]       : No such setting node: RustModule.Rust.AppPlusPort - maybe the relevant plugin/module isn't loaded?
[23:38:30] [Logger Info]          : Loaded steamcmdplugin by CubeCoders Limited
[23:38:30] [Logger Info]          : Metrics server started OK on port 12820
[23:38:30] [Logger Info]          : ADS startup complete in 147ms
[23:38:30] [Logger Info]          : Updating remote source CubeCoders/AMPTemplates
Cloning into 'CubeCoders-AMPTemplates'...
[23:38:31] [FileManager Notice]   : No SSH keypair available for embedded server, generating new keypair...
[23:38:31] [Logger Notice]        : Generated new keypair with fingerprint jkVfTtJBdl3EOolrPRANqi6OLJPy3U80zkgf5OGbFtI=
[23:38:31] [Logger Notice]        : Using keypair with fingerprint jkVfTtJBdl3EOolrPRANqi6OLJPy3U80zkgf5OGbFtI=
[23:38:31] [Logger Info]          : SFTP Server started on 0.0.0.0:2224
[23:38:31] [Webserver Info]       : Websockets are enabled.
[23:38:31] [Logger Info]          : Webserver started on http://0.0.0.0:8081
[23:38:31] [Logger Info]          : RouterTimer@10Hz with 2 jobs started
[23:38:31] [Core Info]            : Checking for AMP updates...
[23:38:31] [Logger Info]          : Startup mode is StartApplication, SkipThisTime.
[23:38:31] [Core Info]            : AMP is up to date.
fatal: not in a git directory

So I’m guessing the issue comes from that last line “fatal: not in a git directory”

Steps to reproduce:

  • Create anew instance
  • Once it has started, try to manage it
  • An error message appear saying the credentials are not valid

Actions taken to resolve so far:

I’ve tried to find what could cause “fatal: not in a git directory” but this is getting too technical for me. Apparently AMP attempted to run a Git command, but wasn’t inside a Git repository. (I guess?)

I’ve tried to get help on discord where I was advised to enable “Use Host Networking for new Containers”
When this is enabled, I still can’t manage the instance, but there is no error message, just the instance flashing white and that’s it.

When I check AMPConfig.conf for the instance, here is what i find for the AuthServer:

################################
# Login
################################
Login.UseAuthServer=False
# Login.AuthServerURL - The URL for the ADS instance providing authentication when using UseAuthServer
Login.AuthServerURL=
Login.MetricsServerPort=12820
Login.UseLDAPLogins=False
Login.LDAPAuthDomain=
Login.LDAPGroupPrefix=AMP_
Login.LDAPUserDomain=
Login.LDAPADPre2000=False
Login.LDAPStripDomainFromFilter=False
Login.LDAPQueryUsername=ampquery
Login.LDAPQueryPassword=

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