UPDATE:
Solved. I used the command wrong:
ampinstmgr CreateInstance MyMinecraftServer Minecraft
Should have been:
ampinstmgr CreateInstance Minecraft
After this you get a prompt, and you can name the server.
OS Name/Version: AlmaLinux with Apache instead of Nginx
Product Name/Version: AMP version 2.5.0.0 (Callisto), built 22/03/2024
Problem Description:
[Info] Testing internet connection...
PING google.com(ams16s22-in-x0e.1e100.net (2a00:1450:400e:803::200e)) from 2a01:7c8:aac4:b7:5054:ff:fea7:8c11 : 56 data bytes
64 bytes from ams16s22-in-x0e.1e100.net (2a00:1450:400e:803::200e): icmp_seq=1 ttl=119 time=1.07 ms
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.073/1.073/1.073/0.000 ms
[Info] Checking licence key...
[Info] Licence Type: AMP Professional
[Info] Current Usage: 0
[Info] Creating Instance: 'Minecraft'
[Info] Performing Step: Creating Environment
[Activity] Audit: Unknown/None [CreateInstance] Created instance Minecraft using MyMinecraftServer module on port 8080.
[Info] Performing Step: Downloading AMP
[Info] Performing Step: Unpacking
[Info] Performing Step: Configuring AMP
[14:42:00] [Core Info] : Starting AMP version 2.5.0.0 (Callisto), built 22/03/2024 17:32
[14:42:00] [Core Info] : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[14:42:00] [Core Info] : Loading configuration from provisionargs.kvp...
[14:42:00] [Logger Info] : Purging old audit logs (this may take a moment)...
[14:42:00] [Core Info] : Running in a QEMU KVM environment.
[14:42:01] [Core Warning] : Current time zone is set to CET - It is recommended you switch to UTC+0 to avoid time-zone related issues
[14:42:01] [Core Info] : OS: Linux / x86_64
[14:42:01] [Core Info] : CPU: Intel Xeon E312xx (Sandy Bridge, IBRS update) (2C/2T)
[14:42:01] [Core Info] : RAM: 3653MB
[14:42:01] [Core Info] : AMP Instance ID: 7dfc51fe-8def-46e8-9439-b50277a31a04
[14:42:01] [Core Warning] : Running as non-standard user.
[14:42:01] [Core Info] : Performing first-time setup for this instance, please wait...
[14:42:01] [Loader Error] : Missing plugin/assembly: MyMinecraftServerModule (/home/sjoerdcraft/.ampdata/instances/Minecraft/Plugins/MyMinecraftServerModule/MyMinecraftServerModule.dll) for MyMinecraftServerModule
[14:42:01] [Loader Error] : Unable to load module MyMinecraftServerModule: Could not load the file 'MyMinecraftServerModule'.
[14:42:01] [Core Error] : FileNotFoundException
[14:42:01] [Core Error] : [0] (FileNotFoundException) : Could not load the file 'MyMinecraftServerModule'.
[14:42:01] [Core Error] : at AppDomain.Load (String assemblyString)
at (wrapper remoting-invoke-with-check) AppDomain.Load(string)
at GSMyAdmin.ModuleLoader.GetPluginAssembly (String PluginName)
at GSMyAdmin.ModuleLoader.LoadApplicationModule (String ModuleName)
[14:42:01] [Core Fatal] : Failed to initialize application module.
[Error] Configuration Failed: AMP configuration failed with return code 17
[Info] Instance creation failed. AMP configuration failed with return code 17
Steps to reproduce:
- Install Amp as root user
- Manually use apache, instead of nginx
- Ignore the error about not being able to set up Nginx
- Use the command: ampinstmgr CreateInstance MyMinecraftServer Minecraft
- IP binding: 0.0.0.0
- Port 8080
- Pro licence key
Actions taken to resolve so far: Well, the problem does not seem related to apache / nginx.