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
Modded MC server not startting #5079
Comments
This isn't a bug with the panel. Also note, your wings is out of date. Please update - YOU ARE VULNERABLE |
didnt modify my egg,, modified my startup ccommand beccause ATM9 server pacck does not have a server.jar an as for > Please use the discord for support
|
Yep you modified the eggs startup command. Github issues are not the place for support requests. |
Where else do you expect me to get assisstance when iim banned from the discord? |
im simply figuring out if there iis an answer to this, or if its genuinely a bug, and regardless of which, if therees something i can do abouut it |
This is the default shipped startup command with tthe MC forge egg. It REQUIRES a jar file, or something written in Java, which the serverstart.sh or the run.sh that is shipped with ATM9 does not work The aforementioned files houses the following Startserver.sh below
To use a specific Java runtime, set an environment variable named ATM9_JAVA to the full path of java.exe.To disable automatic restarts, set an environment variable named ATM9_RESTART to false.To install the pack without starting the server, set an environment variable named ATM9_INSTALL_ONLY to true.INSTALLER="forge-1.20.1-$FORGE_VERSION-installer.jar" pause() { if ! command -v "${ATM9_JAVA:-java}" >/dev/null 2>&1; then cd "$(dirname "$0")"
fi if [ ! -e server.properties ]; then if [ "${ATM9_INSTALL_ONLY:-false}" = "true" ]; then JAVA_VERSION=$("${ATM9_JAVA:-java}" -fullversion 2>&1 | awk -F '"' '/version/ {print $2}' | cut -d'.' -f1) while true
done Run.sh Below#!/usr/bin/env sh Forge requires a configured set of both JVM and program arguments.Add custom JVM arguments to the user_jvm_args.txtAdd custom program arguments {such as nogui} to this file in the next line before the "$@" orpass them to this script directlyjava @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.2.20/unix_args.txt "$@" The Default startup command was changed to /home/container/start.sh (after renaming the run.sh to start.sh) because it wont recogize it otherwise Runnning it without a jar file an using the default start command, it says as follows:
|
No actually. If you read and understand that startup line it supports either a regular server.jar, OR unix_args.txt If the included forge egg doesn't work for you, try the one in Parkers egg repo https://github.com/parkervcp/eggs/ |
There isnt a unix_args.txt file, theres a user_jvm_args.txt but thats it. even downloading Curse Forge Enhanced it still calls for a jar file, and if i was to rewrite it to use the user_jvm it doesnt work, maybe im misundderstanding something here if i run the user_jvm or make a unix_arg file with the user_jvm stuff
|
found a solution, had to follow the directory to where it was supposed to be pointing, (where the run.sh is supposed to point it to) and had to move the unix_args to the root directory for it to read. |
Current Behavior
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds...
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from pterodactyl/yolks
Status: Image is up to date for ghcr.io/pterodactyl/yolks:java_17
Digest: sha256:07aae50dcc032201089bd0a65e8b6bbf1a173a8bfe534d363c8768a34a09298a
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ java -version
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7)
OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing)
container@pterodactyl~ /home/container/run.sh
env: ‘/home/container/run.sh’: Permission denied
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 126
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
cantt join discordd due to bban ffrom coompromised acc
Expected Behavior
For MC server to start
Steps to Reproduce
Downloaded ATM9 modded server files, uplooadeed filees affter generating all necceesary filees loccally, reest is explainedd above
Panel Version
1.11.5
Wings Version
1.11.8
Games and/or Eggs Affected
MC Forge
Docker Image
Java 17
Error Logs
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: