OS Name/Version: Windows 11 Pro
Product Name/Version: (Always use the full version number - not ‘Latest’)
Problem Description: Running Docker on windows 11 pro. Followed the exact steps to setup docker containers for amp. Instance starts fine, but when the application starts, the following errors are received below. I can see the files when looking at the container files, but it seems the execution command might not be getting to the directory path properly.
2023-10-10 17:19:20 [21:19:20] [API:jrose323 Activity] : Updating the application.
2023-10-10 17:19:41 [21:19:41] [API:jrose323 Activity] : Starting the application.
2023-10-10 17:19:41 [21:19:41] [Logger:jrose323 Error] : Unable to start Minecraft Server
2023-10-10 17:19:41 [21:19:41] [Core:jrose323 Error] : PlatformException
2023-10-10 17:19:41 [21:19:41] [Logger:jrose323 Error] : [0] (PlatformException) : ApplicationName='./Minecraft/bedrock_server', CommandLine='', CurrentDirectory='./Minecraft/', Native error= Cannot find the specified file
2023-10-10 17:19:41 [21:19:41] [Core:jrose323 Error] : at Diagnostics.Process.StartWithCreateProcess (Diagnostics.ProcessStartInfo startInfo)
2023-10-10 17:19:41 at Diagnostics.Process.Start ()
2023-10-10 17:19:41 at ModuleShared.AMPProcess.Start ()
2023-10-10 17:19:41 at (wrapper remoting-invoke-with-check) ModuleShared.AMPProcess.Start()
2023-10-10 17:19:41 at MinecraftModule.MinecraftApp.StartGameServer (Boolean autoRetry)
Steps to reproduce:
Installed Docker for windows
Updated AMP config according to docker article.
created new instance with full update and start
Actions taken to resolve so far:
*Tried using Java, wine, and wine8 image in container config. All three have same result
*rebooted server
Mike
October 11, 2023, 7:46am
2
What does the log say when you hit Update?
Thats shown at the top of the log. It shows updating application and then tries to start it.
Mike
October 11, 2023, 12:54pm
4
Ill do that now. In the meantime, this is the logging I got from Docker
2023-10-11 09:04:26 [Info] AMPStart for Docker - v23.07.1
2023-10-11 09:04:26 [Info] Performing first-time container setup…
2023-10-11 09:04:27 [Info] Container setup complete.
2023-10-11 09:04:27 [Info] No missing dependencies to install.
2023-10-11 09:04:27 [Info] AMP Instance Manager v2.4.6.2 built 30/08/2023 14:38
2023-10-11 09:04:27 [Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
2023-10-11 09:04:33 [Info] Certificates have been synced.
2023-10-11 09:04:36 [13:04:36] [Logger Info] : Starting AMP version 2.4.6.6 (Decadeus), built 05/10/2023 11:56
2023-10-11 09:04:36 [13:04:36] [Logger Info] : Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
2023-10-11 09:04:36 [13:04:36] [Logger Info] : Running in a Docker environment.
2023-10-11 09:04:36 [13:04:36] [Logger Info] : OS: Linux / x86_64
2023-10-11 09:04:36 [13:04:36] [Logger Info] : CPU: Intel(R) N100 (4C/4T)
2023-10-11 09:04:36 [13:04:36] [Logger Info] : RAM: 7832MB
2023-10-11 09:04:36 [13:04:36] [Logger Info] : AMP Instance ID: eda82e8e-d2a8-44ed-9936-e40005dc1f03
2023-10-11 09:04:26 useradd: warning: the home directory /home/amp already exists.
2023-10-11 09:04:26 useradd: Not copying any file from skel directory into it.
2023-10-11 09:04:37 [13:04:37] [Logger Info] : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
2023-10-11 09:04:38 [13:04:37] [Logger Info] : Metrics publishing is enabled at udp://host.docker.internal:12820.
2023-10-11 09:04:38 [13:04:38] [Logger Info] : Loaded FileManagerPlugin by CubeCoders Limited
2023-10-11 09:04:38 [13:04:38] [Logger Info] : Loaded EmailSenderPlugin by CubeCoders Limited
2023-10-11 09:04:38 [13:04:38] [Logger Info] : Loaded WebRequestPlugin by CubeCoders Limited
2023-10-11 09:04:38 [13:04:38] [Logger Info] : Loaded LocalFileBackupPlugin by CubeCoders Limited
2023-10-11 09:04:38 [13:04:38] [Logger Info] : Loaded CommonCorePlugin by CubeCoders Limited
2023-10-11 09:04:39 [13:04:39] [Logger Info] : Licence Present: AMP Standard Edition
2023-10-11 09:04:39 [13:04:39] [FileManager Error] : Unable to start SFTP server.
2023-10-11 09:04:39 [13:04:39] [Core Error] : SocketException
2023-10-11 09:04:39 [13:04:39] [Logger Error] : [0] (SocketException) : The requested address is not valid in this context
2023-10-11 09:04:39 [13:04:39] [Core Error] : at Net.Sockets.Socket.Bind (Net.EndPoint localEP)
2023-10-11 09:04:39 at kdbmv.ssrok.thtoq (Net.EndPoint p0, Boolean p1)
2023-10-11 09:04:39 at kdbmv.ssrok…ctor (Net.EndPoint ep, String hostname, kdbmv.xqkcu runner)
2023-10-11 09:04:39 at Rebex.Net.Servers.Core.Server.Bind (Net.IPEndPoint endPoint, Rebex.Net.Servers.Core.ServerModule module)
2023-10-11 09:04:39 at Rebex.Net.Servers.FileServer.Bind (Net.IPEndPoint endPoint, Rebex.Net.Servers.FileServerProtocol module)
2023-10-11 09:04:39 at FileManagerPlugin.PluginMain.PostInit ()
2023-10-11 09:04:39 [13:04:39] [Webserver Info] : Websockets are enabled.
2023-10-11 09:04:39 [13:04:39] [Logger Info] : RouterTimer@10Hz with 2 jobs started
2023-10-11 09:04:39 [13:04:39] [Logger Info] : Webserver started on http://0.0.0.0:8082
2023-10-11 09:04:39 [13:04:39] [Core Info] : Checking for AMP updates…
2023-10-11 09:04:39 [13:04:39] [Logger Info] : Startup mode is UpdateApplication.
2023-10-11 09:04:40 [13:04:40] [Core Info] : AMP is up to date.
2023-10-11 09:04:42 [13:04:42] [Logger Info] : Updating Modpack cache for 85 modpacks…
2023-10-11 09:04:58 [13:04:57] [Logger Activity] : Authentication attempt for user jrose323 from 172.17.0.1
2023-10-11 09:04:58 [13:04:58] [Core Activity] : Authentication success
2023-10-11 09:05:04 [13:05:04] [Logger Info] : Update complete.
2023-10-11 09:05:05 [13:05:05] [API:jrose323 Activity] : Updating the application.
2023-10-11 09:05:05 [13:05:05] [Core Error] : FileNotFoundException
2023-10-11 09:05:05 [13:05:05] [Logger Error] : [0] (FileNotFoundException) : Could not find file ‘/tmp/wsyc1ctq.ttd’.
2023-10-11 09:05:06 [13:05:05] [Core Error] : at IO.File.Move (String sourceFileName, String destFileName)
2023-10-11 09:05:06 at ModuleShared.Utilities.DownloadFileWithProgressAsync (String url, String filename, ModuleShared.RunningTask task, Boolean autoRemoveTask, String UserAgent)
2023-10-11 09:05:40 [13:05:40] [API:jrose323 Activity] : Updating the application.
2023-10-11 09:08:42 [13:08:42] [Logger Activity] : Authentication attempt for user jrose323 from 172.17.0.1
2023-10-11 09:08:42 [13:08:42] [Core Activity] : Authentication success
2023-10-11 09:08:45 [13:08:45] [API:jrose323 Activity] : Starting the application.
2023-10-11 09:08:48 [13:08:48] [API:jrose323 Activity] : Starting the application.
2023-10-11 09:08:48 [13:08:48] [Logger:jrose323 Error] : Unable to start Minecraft Server
2023-10-11 09:08:48 [13:08:48] [Core:jrose323 Error] : PlatformException
2023-10-11 09:08:48 [13:08:48] [Logger:jrose323 Error] : [0] (PlatformException) : ApplicationName=‘./Minecraft/bedrock_server’, CommandLine=‘’, CurrentDirectory=‘./Minecraft/’, Native error= Cannot find the specified file
2023-10-11 09:08:48 [13:08:48] [Core:jrose323 Error] : at Diagnostics.Process.StartWithCreateProcess (Diagnostics.ProcessStartInfo startInfo)
2023-10-11 09:08:48 at Diagnostics.Process.Start ()
2023-10-11 09:08:48 at ModuleShared.AMPProcess.Start ()
2023-10-11 09:08:48 at (wrapper remoting-invoke-with-check) ModuleShared.AMPProcess.Start()
2023-10-11 09:08:48 at MinecraftModule.MinecraftApp.StartGameServer (Boolean autoRetry)
Mike
October 11, 2023, 1:10pm
6
Interesting, it can’t access /tmp/ inside the container for some reason so it can’t store temporary files…
Do you still need the debug from the AMP application or is this good enough?
Mike
October 11, 2023, 1:17pm
8
This’ll do for now - let me get back to you on this.
Just checking in for a potential ETR?
Mike
October 11, 2023, 3:33pm
10
None right now since it’s in the queue to be investigated. Workaround for now is to switch off Docker mode.
For reference… Should just be a regex fix.
opened 09:22PM - 02 Dec 22 UTC
bug
module-specific
Windows
# Bug Report
## System Information
- Operating System - Windows 11 Pro 64-bi… t
- AMP version and build date - v2.4.0.10, built 27/10/2022 18: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?
Run a Minecraft Bedrock server.
* What are you expecting to happen?
The startup (and other regex) should account for the below.
* What is actually happening? ('Nothing' is not an acceptable answer!)
The logging looks different than normal. This happens consistently for the instances affected, but I don't see a pattern of why only some instances cause it.
```
[21:15:46] NO LOG FILE! - setting up server logging...
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:158 INFO] Starting Server
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:158 INFO] Version 1.19.41.01
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:158 INFO] Session ID d97a9345-9eb6-4877-bfa7-bdcf0adb03d9
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:159 INFO] Level Name: FlyJessDaMess's Realm - Copy
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:164 WARN] 'whitelist.json' will be deprecated. Please migrate to 'allowlist.json'.
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:171 INFO] Game mode: 0 Survival
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:171 INFO] Difficulty: 2 NORMAL
[21:15:46] NO LOG FILE! - [2022-12-02 13:15:46:329 INFO] opening worlds/FlyJessDaMess's Realm - Copy/db
[21:15:47] NO LOG FILE! - [2022-12-02 13:15:47:550 INFO] IPv4 supported, port: 40025
[21:15:47] NO LOG FILE! - [2022-12-02 13:15:47:550 INFO] IPv6 supported, port: 40026
[21:15:47] NO LOG FILE! - [2022-12-02 13:15:47:914 INFO] Server started.
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO] ================ TELEMETRY MESSAGE ===================
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO] Server Telemetry is currently not enabled.
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO] Enabling this telemetry helps us improve the game.
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO]
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO] to the server.properties file in the handheld/src-server directory
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:976 INFO] ======================================================
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:149 INFO] Please note that LAN discovery will not function for this server.
[21:15:48] NO LOG FILE! - [2022-12-02 13:15:48:149 INFO] Server IP must be specified in Servers tab in game.
```
## Reproduction
Create a Bedrock instance, update and start. Sometimes an instance will give the lines above, other times it gives the same without the first parts.
system
Closed
November 10, 2023, 4:16pm
14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.