Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Wurm docker container does not start server #4265

Closed
zackchadwick opened this issue Jul 14, 2023 · 2 comments · Fixed by #4266
Closed

[Bug]: Wurm docker container does not start server #4265

zackchadwick opened this issue Jul 14, 2023 · 2 comments · Fixed by #4266

Comments

@zackchadwick
Copy link

User story

As a Docker user, I want the Wurm server to start so that I can host the server.

Game

Wurm

Linux distro

Ubuntu 22.04

Command

command: start

Further information

When starting the ghcr.io/gameservermanagers/gameserver:wurm image the server does not start, either automatically, manually using the /app/wurmserver launcher, or by manually running the execution command.

The issue appears to be due to Java within the container.

I was able to troubleshoot this issue by adding the repository list back into the container and installing the openjdk-8-jre package. After that is present in the container the server will launch without any issues.

I'm opening this issue to link to a pull request for updating the dependency list so that it is included in the container going forward.

Relevant log output

Output from ./wurmserver st being run manually:

$ ./wurmserver st
[  OK  ] Starting wurmserver: Test server
[ INFO ] Stopping wurmserver: Test server is already stopped
[  OK  ] Starting wurmserver: Test server
Error! Command did not exit correctly: st

core_exit.sh exiting with code: 2


Output from using the execution command manually in the /data/serverfiles directory:

$ xvfb-run ./WurmServerLauncher ADMINPWD="adminYijhc94Z" EPICSETTINGS="false" EXTERNALPORT="3724" HOMESERVER="true" HOMEKINGDOM="4" LOGINSERVER="true" MAXPLAYERS="200" QUERYPORT="27017" SERVERNAME="LinuxGSM" SERVERPASSWORD="" START="Creative" IP=""
Starting
Logs found: 0
SteamAppId set.
/data/serverfiles
Runtime path: /data/serverfiles/runtime/jre1.8.0_172/lib/amd64/server/libjvm.so
Working Directory: /data/serverfiles
Number of options: 7
Create java VM!
Jul 14, 2023 1:08:33 PM com.wurmonline.server.gui.WurmServerGuiMain main
INFO: WurmServerGuiMain starting
Should start without GUI here!

Execution from starting without any parameters (per the fix_wurm.sh) to generate the Creative/Adventure directories:

$ xvfb-run ./WurmServerLauncher
Starting
Logs found: 0
SteamAppId set.
/data/serverfiles
Runtime path: /data/serverfiles/runtime/jre1.8.0_172/lib/amd64/server/libjvm.so
Working Directory: /data/serverfiles
Number of options: 7
Create java VM!
Jul 14, 2023 1:09:11 PM com.wurmonline.server.gui.WurmServerGuiMain main
INFO: WurmServerGuiMain starting
Graphics Device initialization failed for :  es2, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
        at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:221)
        at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:248)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
        at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:695)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(LauncherImpl.java:182)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
        ... 1 more

Steps to reproduce

  1. Download the ghcr.io/gameservermanagers/gameserver:wurm image
  2. Run the container
  3. The server will not launch
@dgibbs64
Copy link
Member

I have completed a significant rework of wurm server to get it correctly working again. Will be available in the next release

@dgibbs64 dgibbs64 added this to the v23.4.0 milestone Jul 19, 2023
@dgibbs64 dgibbs64 linked a pull request Jul 21, 2023 that will close this issue
13 tasks
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants