fugasjunior / arma-server-manager

A web administration tool for managing Arma 3, Arma Reforger and DayZ dedicated servers
GNU General Public License v3.0
52 stars 11 forks source link

Installation of Arma 3 fails to verify valid install #114

Open meachiez opened 4 months ago

meachiez commented 4 months ago

When attempting to download the Arma 3 Server, it completes the download successfully but the test server it attempts to bring up afterwards always fails with the following message in the log that is seen in a few other issues that all seem to relate to attempting to start a server after it has already been installed (Full log at the end)

Server crashed before it could be queried

I am able to create a test arma 3 server which appears to work flawlessly, although I haven't yet had time to attempt connecting to it. I am unable to install any mods since the server manager doesn't believe that Arma 3 has installed correctly yet. (Message: "Mod installaton failed: Arma 3 server is not installed" in the webUI, nothing in the log)

Full log, including successful server launch:

2024-04-16 02:39:36,591 INFO  c.f.s.s.ServerController: Received request to start server ID 2
2024-04-16 02:39:36,597 INFO  c.f.s.s.p.ServerProcess: Starting server with options: -port=2302 -config="/home/steam/armaservermanager/servers/ARMA3/ARMA3_2.cfg" -profiles="/home/steam/armaservermanager/servers/ARMA3/custom_profiles" -name=ARMA3_2 -nosplash -skipIntro -world=empty
2024-04-16 02:39:36,598 INFO  c.f.s.s.p.ServerProcess: Server 'test' (ID 2) started (PID 3905)
2024-04-16 02:39:40,472 INFO  c.f.s.s.ServerController: Received request to stop server ID 2
2024-04-16 02:46:31,655 INFO  c.f.s.i.ServerInstallerService: Starting download of server 'ARMA3'
2024-04-16 02:47:02,202 INFO  c.f.s.i.ServerInstallerService: Server 'ARMA3' successfully downloaded, verifying...
2024-04-16 02:47:02,210 INFO  c.f.s.i.TestRunService: Starting server 'ARMA3' for dry run with parameters: [-nosplash, -skipIntro, -world=empty, -config=TEST_CONFIG.cfg, -port=3002]
2024-04-16 02:47:12,324 ERROR c.f.s.i.TestRunService: Server crashed before it could be queried
2024-04-16 02:47:12,325 ERROR c.f.s.i.ServerInstallerService: Server 'ARMA3' failed to start after installation
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.ibasco.agql.core.exceptions.ReadTimeoutException: Timeout occured for 'SessionId{id='SourceInfoResponse:127.0.0.1:3003'}' Started: 5.101000 seconds ago
        at cz.forgottenempire.servermanager.installation.TestRunService.performServerDryRun(TestRunService.java:66)
        at cz.forgottenempire.servermanager.installation.ServerInstallerService.handleInstallation(ServerInstallerService.java:51)
        at cz.forgottenempire.servermanager.installation.ServerInstallerService.lambda$installServer$0(ServerInstallerService.java:39)
        at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
        at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.util.concurrent.ExecutionException: com.ibasco.agql.core.exceptions.ReadTimeoutException: Timeout occured for 'SessionId{id='SourceInfoResponse:127.0.0.1:3003'}' Started: 5.101000 seconds ago
        at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
        at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
        at cz.forgottenempire.servermanager.installation.TestRunService.performServerDryRun(TestRunService.java:60)
        ... 9 common frames omitted
Caused by: com.ibasco.agql.core.exceptions.ReadTimeoutException: Timeout occured for 'SessionId{id='SourceInfoResponse:127.0.0.1:3003'}' Started: 5.101000 seconds ago
        at com.ibasco.agql.core.ReadRequestTimeoutTimerTask.run(ReadRequestTimeoutTimerTask.java:63)
        at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:715)
        at io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34)
        at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:703)
        at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:790)
        at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:503)
        at java.base/java.lang.Thread.run(Thread.java:840)