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]: Server start script incomplete/wrong #935

Closed
wutterfly opened this issue Jun 10, 2022 · 2 comments
Closed

[Bug]: Server start script incomplete/wrong #935

wutterfly opened this issue Jun 10, 2022 · 2 comments

Comments

@wutterfly
Copy link

Modpack

FTB Direwolf20 1.18

Modpack version

1.4.1

Log Files

No response

Describe the bug

For the Modpack FTB Direwolf20 1.18, Version 1.4.1 and Target arm linux,
the start.sh script still contains a placeholder value for the jar file to run.

./jre/jdk-17.0.2+8-jre/bin/java -javaagent:log4jfix/Log4jPatcher-1.0.0.jar -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx6144M -Xms4096M -jar insert-jar-here.jar nogui

Steps to reproduce

  1. download serverfiles for arm linux
  2. run installer
  3. set permissions
  4. try to run ./start.sh
  5. returns error "Unable to access jarfile insert-jar-here.jar"

Expected behaviour

running start.sh should start the server

Screenshots

No response

Additional information

I tried replacing "insert-jar-here.jar" with "minecraft_server.1.18.2.jar", this started a server i could join to, but it was just a vanilla server with corrupted world gen

@Raidobw2
Copy link
Contributor

@pjfranke
Copy link

pjfranke commented Jun 21, 2022

Did you look at the entire install log for errors? If the Forge installer doesn't run successfully, it won't update the start.sh file with the correct jar file, or reference to the unix_args.txt file. See my issue FTBTeam/FTB-App#618, specifically here, where I mention that running the installer without a functioning Java in your $PATH will lead to that same result:

This results in the above log tail, with a "failed Forge install" message, and start.sh isn't valid:

./jre/jdk-17.0.2+8-jre/bin/java -javaagent:log4jfix/Log4jPatcher-1.0.0.jar -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx6144M -Xms4096M -jar insert-jar-here.jar nogui

2022/06/20 20:56:06 [723/723] Downloaded jre/jre.tar.gz from https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jre_x64_linux_hotspot_17.0.2_8.tar.gz
2022/06/20 20:56:06 Downloaded 723 successful, 0 failed, 0 incomplete.
2022/06/20 20:56:06 Running Forge installer
2022/06/20 20:56:06 Running forge installer failed with exec: "java": executable file not found in $PATH. You may wish to install forge 40.1.47 for Minecraft 1.18.2 manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants