AMP has issues tracking multiple minecraft instances

This was posted in my Docker Container issue for minecraft, but breaking it out for seperate tracking.

Is there any solution for running two Minecraft instances on the same windows server without needing to use a docker container? Not using a container, AMP cant read server status and console logs of one of the instances since Minecraft saves the server logs for both instances to the same location.

Frankly, I would prefer to not use Docker, but was told by a community user that using Docker would be one of the solutions to my original issue above.

Description of my original issue. Instance one is up and running fine on port 19132. Instance 2 is configured for port 19135. The application state is stuck on “Starting” even though the application is up and running with players able to connect. The second instance has the below logs where it states no log file. If I were to stop both instances and start instance 2 first then instance 1, everything works fine for instance 2, but then the same issue described here starts happening for instance 1.

The issue is similar to this issue which does not seem to have any action. https://github.com/CubeCoders/AMP/issues/786

[15:43:15] [Program Info] : Starting AMP version 2.4.6.6 (Decadeus), built 05/10/2023 11:56
[15:43:15] [Program Info] : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[15:43:15] [Core Warning] : Current time zone is set to Eastern Standard Time - It is recommended you switch to UTC+0 to avoid time-zone related issues
[15:43:15] [Program Info] : OS: Windows / x86_64
[15:43:15] [Program Info] : CPU: Intel(R) N100 (4C/4T)
[15:43:15] [Program Info] : RAM: 16159MB
[15:43:15] [Program Info] : AMP Instance ID: 6570be66-4c2b-4ef0-aeaf-8eab773e00ab
[15:43:16] [Loader Info] : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
[15:43:16] [Core Info] : Metrics publishing is enabled at udp://localhost:12820.
[15:43:16] [Loader Info] : Loaded FileManagerPlugin by CubeCoders Limited
[15:43:16] [Loader Info] : Loaded EmailSenderPlugin by CubeCoders Limited
[15:43:16] [Loader Info] : Loaded WebRequestPlugin by CubeCoders Limited
[15:43:16] [Loader Info] : Loaded LocalFileBackupPlugin by CubeCoders Limited
[15:43:16] [Loader Info] : Loaded CommonCorePlugin by CubeCoders Limited
[15:43:16] [Core Info] : Licence Present: AMP Standard Edition
[15:43:17] [FileManager Notice] : Using keypair with fingerprint liL8Q4cA/56PgDAryH8oMrrUJgM5MBWtC1qnzW7y6gA=
[15:43:17] [FileManager Info] : SFTP Server started on 192.168.1.251:2225
[15:43:17] [Webserver Info] : Websockets are enabled.
[15:43:17] [Webserver Info] : Webserver started on http://192.168.1.251:8082
[15:43:17] [Webserver Info] : RouterTimer@10Hz with 2 jobs started
[15:43:17] [Core Info] : Checking for AMP updates…
[15:43:17] [Core Info] : Startup mode is UpdateAndStart.
[15:43:17] [Core Info] : AMP is up to date.
[15:43:18] [Core Activity] : Authentication attempt for user jrose323 from 192.168.1.251
[15:43:19] [Minecraft Info] : Updating Modpack cache for 85 modpacks…
[15:43:20] [Core Activity] : Authentication success
[15:43:20] [Core Warning] : Slow method invocation: Login took 2704ms to complete.
[15:43:20] [Core Warning] : Slow response: Core.Login took 2717ms to complete.
[15:43:42] [Minecraft Info] : Update complete.
[15:44:31] [API:jrose323 Activity] : Starting the application.
[15:44:31] NO LOG FILE! - setting up server logging…
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:095 INFO] Starting Server
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:095 INFO] Version: 1.20.32.03
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:095 INFO] Session ID: 4dcb0966-bba4-408a-acd1-d39b178904e6
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:095 INFO] Build ID: 18622169
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:096 INFO] Branch: r/20_u3
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:096 INFO] Commit ID: 7f99df07199ace8bcf7aea7865177e4d7b2fba19
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:096 INFO] Configuration: Publish
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:100 INFO] Level Name: world
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:251 INFO] No CDN config file found for dedicated server
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:252 INFO] Game mode: 0 Survival
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:252 INFO] Difficulty: 2 NORMAL
[15:44:31] NO LOG FILE! - [2023-10-11 11:44:31:253 INFO] Content logging to console is enabled.
[15:44:32] NO LOG FILE! - [2023-10-11 11:44:32:015 INFO] Opening level ‘worlds/world/db’
[15:44:34] [API:jrose323 Activity] : Changing setting MinecraftModule.MinecraftSettings.LevelName to LucTyR Survival
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:304 INFO] IPv4 supported, port: 19134: Used for gameplay
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:305 INFO] IPv6 supported, port: 19135: Used for gameplay
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:320 INFO] Server started.
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:321 INFO] ================ TELEMETRY MESSAGE ===================
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:321 INFO] Server Telemetry is currently not enabled.
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:322 INFO] Enabling this telemetry helps us improve the game.
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:322 INFO]
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:322 INFO] To enable this feature, add the line ‘emit-server-telemetry=true’
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:323 INFO] to the server.properties file in the handheld/src-server directory
[15:44:41] NO LOG FILE! - [2023-10-11 11:44:41:323 INFO] ======================================================
[15:44:42] [Core Activity] : Authentication attempt for user jrose323 from 192.168.1.251
[15:44:42] [Core Activity] : Authentication success
[15:44:55] [API:jrose323 Activity] : Changing setting MinecraftModule.GameSettings.Difficulty to 1
[15:45:12] [Core Activity] : Authentication attempt for user jrose323 from 192.168.1.251
[15:45:12] [Core Activity] : Authentication success
[15:45:19] [API:jrose323 Activity] : Starting the application.
[15:45:19] NO LOG FILE! - setting up server logging…
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:612 INFO] Starting Server
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:612 INFO] Version: 1.20.32.03
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:612 INFO] Session ID: f52ff48c-55e0-401d-9f1e-ac7f466eb94c
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:612 INFO] Build ID: 18622169
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:613 INFO] Branch: r/20_u3
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:613 INFO] Commit ID: 7f99df07199ace8bcf7aea7865177e4d7b2fba19
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:613 INFO] Configuration: Publish
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:614 INFO] Level Name: LucTyR Survival
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:617 INFO] No CDN config file found for dedicated server
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:618 INFO] Game mode: 0 Survival
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:618 INFO] Difficulty: 1 EASY
[15:45:19] NO LOG FILE! - [2023-10-11 11:45:19:619 INFO] Content logging to console is enabled.
[15:45:20] NO LOG FILE! - [2023-10-11 11:45:20:191 INFO] Opening level ‘worlds/LucTyR Survival/db’
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:248 INFO] IPv4 supported, port: 19134: Used for gameplay
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:249 INFO] IPv6 supported, port: 19135: Used for gameplay
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:266 INFO] Server started.
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:266 INFO] ================ TELEMETRY MESSAGE ===================
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:266 INFO] Server Telemetry is currently not enabled.
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:267 INFO] Enabling this telemetry helps us improve the game.
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:267 INFO]
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:267 INFO] To enable this feature, add the line ‘emit-server-telemetry=true’
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:268 INFO] to the server.properties file in the handheld/src-server directory
[15:45:22] NO LOG FILE! - [2023-10-11 11:45:22:268 INFO] ======================================================
[15:45:40] [Core Activity] : Authentication attempt for user jrose323 from 192.168.1.251
[15:45:42] [Core Activity] : Authentication success
[15:45:42] [Core Warning] : Slow method invocation: Login took 2238ms to complete.
[15:45:42] [Core Warning] : Slow response: Core.Login took 2242ms to complete.

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