-
Notifications
You must be signed in to change notification settings - Fork 39
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
Server does not start #34
Comments
I've had similar errors sure to badly formatted script and settings files - my suggestion is to double check settings.cfg to make sure it's properly formatted. |
It is the default settings.cfg from the download, from what I'm seeing I don't see any problems. |
Navigate to the location of the serverstart.sh before running it in linux. |
the serverstart.sh is in the folder with the settings.cfg |
Yes. What I am suggesting is to CD/ yourself into the location where serverstart is being launched from before launching it and see if the server loads properly. |
That is the only place I've been launching it from, I don't launch it from outside the directory. |
Can you provide a gist of the If you navigate to https://gist.github.com/, copy-and-paste the entirety of the |
The pastebin I linked in my first post is the serverstart.log |
Oh wow, I totally didn't see that. Thanks, looking now. |
This is a kind of a weird issue. It looks as though the https://github.com/AllTheMods/Server-Scripts/blob/master/ServerStart.sh#L76 On the command line, can you type |
I still get the same error |
If you replace serverstart.sh and settings.cfg with fresh ones from the zip of the mod pack, and run serverstart.sh you are met with the same error? |
yes what I posted was a very fresh unzip of the script files. |
Is this a local machine you have access to or a hosted server? |
It is local, it is using Ubuntu 18.04.1 |
Can you provide a pastebin of the settings.cfg file? |
It should be the same file from the zip folder, I did not change anything in it. |
Given that this modpack seems to run an older version of forge, I am going to assume that there is an older version of the script that is being used as well. What I would suggest is replacing the serverstart.sh file with a newer version of it, that potentially would have fixes, this maybe being one of them. To make things easier, here is the newest version of the file. |
Brum, for research purposes, can you tell us what modpack you are running? |
@Glendening @FallenEagle1 They're not using any pack afaict. If I just download the start scripts and try to run them they fail for me too on Arch Linux. https://gist.github.com/Lartza/741690d59ca91051cec5a75ef28fcca4 |
The integer expression error comes from the fact that https://github.com/AllTheMods/Server-Scripts/blob/master/ServerStart.sh#L162 should be Here's a serverstart.log too https://gist.github.com/Lartza/d545e2676e9cd8ae66409575f6fa007d And no, setting the FORGEURL check to |
For some reason it seems like the script is reading DISABLE as a url rather then as the default to be ignored. I wonder when this started and why more people aren't having issues? |
Probably because packs ship an installer.jar so the script rarely tries to download one. |
Just did a test |
Can you download this forge installer, place it in same place as serverstart.sh, then run serverstart.sh? |
Mhh I just "fixed" it... https://gist.github.com/Lartza/f296fa4f14931a8165d7b1becccf214f#file-gistfile1-txt-L42 Removing semicolons seems to work too, but does that then break ServerStart.bat? |
Did some testing. Removing the spaces after DISABLE; (line 19 as well) from the .cfg allows the script to find the right URL and download the files but it looks like there are still issues. It looks like the URL it does try to connect to is 404.
|
Because there are semicolons in that url |
Removed ; from line 16 and 17 of .cfg URL resolved and files downloaded successfully. |
Removed ALL semi-colons that are AFTER entries in the .cfg EXCEPT the very last one after DISABLE |
Ok so I updated my settings.cfg to remove the semi-colons like Glendening mentioned and I also updated my ServerStart.sh file with adding the semi-colon after disable on line 76. I was able to get to the Starting install of Forge/Minecraft server binaries at the URL but that never downloaded, I noticed that it was just using Http and not Https so I updated line 77 to use Https and re-ran the script and was able to download the server binaries and start the server. |
Hello, I've been having trouble trying to get the server script to install forge and minecraft server files. I keep getting errors when it first runs.
I made a fresh install and here is the log https://pastebin.com/CuJ8SHZ8
this is what my screen looks like

I've been trying to figure it out with no luck
thanks in advance
The text was updated successfully, but these errors were encountered: