WebUI won't start a 1.13 server


#14

When you entered the mineos installation direcory, did the “update MineOS” directions work? or did they produce an error?

Did you restart MineOS? (Either by reboot, or by following the “restart the MineOS service” directions?)

After restarting the MineOS service: Did you refresh your webbrowser? And try to reset theweb browsers cache to make sure that it’s not using a chached version of the WebUI?

With a freshly updatet WebUI, did you go o the profile page and re download the 1.13 minecraft server profile?

After redownloading the 1.13 minecraft, did you go then try to set the freshly downloaded profile and server file as JAR and then start?

Edit: if your WebUI is properly updated you should have the following comit : fd17bbc , you can see your running comit by pressing the small arrow in the top corner of he WebUI


#15

When you entered the mineos installation direcory, did the “update MineOS” directions work? or did they produce an error?

It said I was running the newest files

Did you restart MineOS? (Either by reboot, or by following the “restart the MineOS service” directions?)

I restarted the VM

After restarting the MineOS service: Did you refresh your webbrowser? And try to reset theweb browsers cache to make sure that it’s not using a chached version of the WebUI?

lol yes.

With a freshly updatet WebUI, did you go o the profile page and re download the 1.13 minecraft server profile?

It said it was already downloaded; however, yes, I did re-download it.

After redownloading the 1.13 minecraft, did you go then try to set the freshly downloaded profile and server file as JAR and then start?

lol. yes.

git reset --hard origin/master

gives me fd17bbc

Hey I am getting an error

The log file is giving me after receiving the command “start”: "Cannot start server without designated$
Not entirely sure what that means.


#16

(I know I got at bit detaily there BTW ;))

The full message is “Cannot start server without designated JAR”
There are two things you can try then:

  1. select (in your minecraft servers page) another profile, then reselect the 1.13 profile.
    * this should force a recopy of the downloaded profile jar
  2. press the “Transfer profile files” button to force a recopy from the profiles to your server.

Then reselect the correct JAR in the JAR dropdown menu. Wait a few seconds to make sure the selected JAR stays selected. If not, select it again. Repeat until it stays selected. If it refuses you can manually edit the “server.config” file in/var/games/minecraft/servers/[servername]/. It should read “jarfile=minecraft_server.1.13.jar”


#17

From PM-thread:

drszxn:

I think i’m going to try PM.

select (in your minecraft servers page) another profile, then reselect the 1.13 profile.

It’s already saying that but I re-selected it.

press the “Transfer profile files” button to force a recopy from the profiles to your server.

Okay. I tried that.

Then reselect the correct JAR in the JAR dropdown menu. Wait a few seconds to make sure the selected JAR stays selected. If not, select it again. Repeat until it stays selected. If it refuses you can manually edit the “server.config” file in/var/games/minecraft/servers/[servername]/. It should read “jarfile=minecraft_server.1.13.jar”

Did that. Here is what the file is showing:
image|272x214

My reply:

Ok., so the correct file is selected.

enter the following command:
ls -lsa --block-size=M *.jar
in /var/games/minecraft/servers/[servername]/.

Please confirm that the following linjexists and is the same size (32M):
32M -rw-rw-r-- 1 mc mc 32M Jul 22 20:03 minecraft_server.1.13.jar

If it is not, you have the small file containing only the download error message.


#18

I’ll be logging of to go home to get to bed so I get to work tomorrow morning. So I’ll bun unavailable for awhile.There may be others in here that can pick up the thread to help solve this.


#19

image

Looks like you found an issue. Takk! I’ll work on downloading the file.

I wonder what I did to not get the legit file but i’m using out-of-the-box stuff.


#20

int the server directory:
Delete the to small minecraft_server.1.13.jar
Go to dir
/var/games/minecraft/profiles/
Delete the 1.13 directory (rm -rf 1.13/ )

go to the WebUI
In the pulldown menu in the top corner: Select “refresh profile list”

Go to “profiles” Redownload the 1.13 profile
Go to your minecraft server and select the correct 1.13 profile ( do the select other profiule, select 1.13 profile stunt to be sure). Select the 1.13 jar.

Try starting.

Now we should have forced MineOS to redownload the file, making sure that MineOS do not ignore existing files (since we deleted the old ones).


#21

After doing the above, the file size is showing correctly at 32M.

The profile won’t stay but the file shows that it has the 1.13 profile selected and the jar selected.

The server still will not start. No error message given.

Restarted and now the profile shows 1.13 but “Change runnable jar to:” is blank.

I delete the server, deleted the profile, re-downloaded the profile, checked 32M file size (it is), created a new server, .jar is finally showing back up so set it to minecr…1.13.jar, not showing 1.13 jar in the folder so I “Copy profile to live server files”, manually set chmod to the jar, accepted EULA, checked manually that the EULA was there and true (it was), pressed start…

…and nothing, again.

It just sits there and returns nothing.


#22

The MineOS log will not show more just after recieving a “start”. “mineos.log” is the log for operations MineOS or the administrator does.

You should see the server badge go from a red “down” to a green “up” in the WebUI, and you should see the start minecraft server logsappear at the bottomof the menu panel inthe WebUI.

The minecraft server log containing the operations and events for the minecraft server is placed in /var/games/minecraft/servers/[server name]/logs/latest.log

If it was the first run of a new server you should have seen a line like this in “mineos.log” though:

{"level":"info","message":"[[server name]] transmittting existing file contents: logs/latest.log (680 bytes)","timestamp":"2018-08-01T06:05:52.219Z"}


#23

Actually after a first run you should see this:

{"level":"info","message":"[est344] received request \"start\"","timestamp":"2018-08-01T06:23:41.115Z"}
{"level":"info","message":"[est344] latest.log created! Watchfile logs/latest.log closed","timestamp":"2018-08-01T06:23:43.485Z"}
{"level":"info","message":"[est344] Created tail on logs/latest.log","timestamp":"2018-08-01T06:23:43.485Z"}

You’ll only see the “start” line and nothing else after it when the log already exists.


#24

Jarfiles aren’t executables–they’re actually pretty much just zip files that have certain files within, like Java manifests and other things that make it a jar file.

That said, when you were doing things like chmodding, we’re you doing it as root or as mc?

Your earlier screenshot shows root for ls and such (safe things), but doing things as root risks that root will take ownership of files for some other actions, and in any case, root should never be the owner of server files.

So, as root let’s try ensuring some things are back to their expected state:

chown -R mc:mc /var/games/minecraft/servers/LeHome
chown -R mc:mc /var/games/minecraft/archive/LeHome
chown -R mc:mc /var/games/minecraft/backup/LeHome
su - mc
cd /var/games/minecraft/servers/LeHome
java -jar minecraft_server.1.13.jar

This should start up the server. Not in the ideal way, but we’ll shut it down once we know it works, then we can go the next step to make sure it can all be done in the webui.


#25

@iMelsom

I don’t have a “/var/games/minecraft/servers/[server name]/logs/latest.log” folder because minecraft hasn’t successfully launched

@hexparrot

I gotta say, I have very basic linux knowledge and im running out of the box. I googled “Unsupported major.minor version 52.0” and it says there is a version conflict.

Guys,

I’m not sure why I am having so many issues with this and it’s really getting frustrating. I am running it in VMware because I couldn’t even get it working running through VirtualBox.

MineOS is supposed to be the easier solution and I really really like the webgui but I feel defeated. I’ve spent days now following instructions and googling stuff. I am sure im doing something wrong but at this point I don’t see how i’m going to be able to get this to work.

If it’s an issue with Minecraft and not MineOS, so be it; however, again, running out of the box and other people can get it working and I don’t understand what’s going on or why it just isn’t working for me.


#26

It seems like your Java version is out of date.

Using the prebuilt ISO’s is not a failsafe to get the latest build of anything. It is a build from the time the ISO was compiled. made so it is easier to get into MineOS. Much like when you install windows, there is usually updates to install after installing the OS is done. This is why I usually forgo the ISO’s when I install, and go the ubuntu server way, then install the MineOS scripts on top of that. I get a newer install, but also a whole set of new problems, and the option to install things as I like them.

For MineOS this includes udates to the OS, and to requrired system software like Java and NodeJS

Updating java can be done by following this page:
https://wiki.debian.org/JavaPackage

For now you should try only updating java, but at some point you should also update your system:
Most updates can be done by following the instructions on this page:

I’d also like to remind you about this pinned forum post: Basic skills and interests you’ll need to be a MineOS admin

(Oh and if you think getting your minecraft server running puts you in the clear? Mojang currently has this nasty bug that crashes your server if a player is in the wrong area: https://bugs.mojang.com/browse/MC-131071. I have had to manually edit player files to make them start in “spawn” again when they log on since the server autocrashed when he tried to log in while he was in the affected areas. So be prepared for new and facinating ways to be frustrated)


#27

Hey, I’m really sorry you’re running into all these issues. I don’t know what to say–I’ve never seen such issues crop up before, so this is all fairly new to me as well.

Can you refer me to what URL you used to download MineOS? I definitely want to check all ISO URLs out there because all versions of MineOS that should exist should have Java 8: the error you’re getting (from my googling) appears to only exist on Java 7. None of my ISOs (or at least, none of my Node.JS ISOs) should be coming with that outdated version anymore.

According to this SO page, this means that the Jar you’re trying to run (1.13) requires Java 8. You’re somehow on Java 7, hence the problem.

So a few things:

  1. you should be able to run a 1.12.2 server right now. It should work, no question right now.

  2. you’d need Java8 to run 1.13; we know this is actually a Minecraft requirement, so finding out why you don’t have Java8 instead of Java7 would be key.

  3. This was installed from an ISO, correct, and not a manual install? If it’s from a manual install, it was probably a repository command missed, and the solution is easy. If it’s from an ISO, you’re using an old ISO and a new one will fix it (and I need to identify it so I can put it out of circulation).

Again, sorry for all the problems. I really recommend you try out #1 just so you can see a semblance of progress. I really think getting the 1.13 fixed after that should take minutes rather than days after that.


#28

you should be able to run a 1.12.2 server right now. It should work, no question right now.

Family wants 1.13 :slight_smile:
Looks like MineOS isn’t for me!

you’d need Java8 to run 1.13; we know this is actually a Minecraft requirement, so finding out why you don’t have Java8 instead of Java7 would be key.

Any idea why 1.13 is an option availble through MineOS but Java 8 isn’t installed out of the box? “Hey, try this option you can’t run! Good luck!”

Also, I’ve been trying to install java 8 since i saw this msg and i just get error after error trying to get it installed. “Oracle-Java8-Installer No installation candidate” can’t get it fixed. Giving up.

you’d need Java8 to run 1.13; we know this is actually a Minecraft requirement, so finding out why you don’t have Java8 instead of Java7 would be key.

I don’t have java 8 installed because the iso i downloaded didn’t hvae it installed by default:
I downloaded it from here: https://minecraft.codeemo.com/mineoswiki/index.php?title=Main_Page
Pre-configured ISOs --> “Current 64-bit ISO download” link

So, is it now an issue of me not getting the right “current” file?

Thanks guys for your assistance but I’m just giving up. I wanted something quick, easy, and something even a n00b like me can run but I didn’t get what’s advertised. Thanks again!


#29

Hey, sorry to hear it didn’t work out for you.

Definitely double-checked the Java version:

openjdk version "1.8.0_171"

came from here:

Current 64-bit ISO download, based on Debian “Jessie” (~400MB). This is the recommended download! It comes with OpenJDK8 right out of the box.

Best guess is you inadvertently got the link below it:

Also available are the previous ISOs, based on the Debian “Wheezy” LTS release, which comes with OpenJDK7.

Perhaps it’s ill-placed there, but the URL behind the “Jessie ~400MB” version is 100% working out of box with Java8.

Again, sorry we couldn’t get it up and working as advertised.


#30

I had this same problem too but fixed it by downloading the official 1.13 server jar from mojang and replacing it with the jar that I downloaded with the web ui.


#31

Chowfatfat’s fix worked for me. I replaced my server and decided to start with a clean new MineOS VM. 1.12 servers worked just fine out of the box but 1.13 and 1.13.1 servers would not start. I had to download the official server and replace the ones in the appropriate /profile server version folders. I realize this was older thread but could still potentially cause a significant hang up for new adopters of MineOS.
thanks
clint


#32

Updating the Webui is and has been the fix for MineOS with Minecraft 1.13/1.13.X Server jars for the longest actually, since July.


Many of you have noticed Minecraft no longer launching vanilla version 1.13 since it has released. This is because Mojang has changed their URL pattern they have historically kept for many, many releases.

https://s3.amazonaws.com/Minecraft.Download/versions/{0}/minecraft_server.{0}.jar

This URL used to work, for pretty much every modern version since their 1.0 release. The pattern still downloads something–in this case it’s XML for an error message. It says ‘downloaded’ because there is, in fact, a file called minecraft_server.1.13.jar, it’s just that it contains no usable game code. Here’s what the URL might potentially could have changed to:

https://launcher.mojang.com/mc/game/1.13/server/d0caafb8438ebd206f99930cfaecfa6c9a13dca0/server.jar

That is, not a dependable, versioned URL, but instead a URL that could have a long SHA5 or other checksum in the URL itself.

If you want to play Minecraft 1.13, you still can, you just have to download the file manually and place it in your server’s live directory (/var/games/minecraft/servers/[myserver]).

Alternatively, you can instead replace the dummy file that exists in /var/games/minecraft/profiles/1.13 so you can continue to use the profile as normal. (this would be preferred, really). Be sure to re-copy over the new jarfile by clicking “copy profile to live server files” after doing this overwrite, too.

I’ll try to look into this further to find out a way to programmatically download this server jar without really sloppy code, but at some point it’s just them making things needlessly complicated just so we can race after them.




You just update, followed by redownloading (click on download again to properly download and overwrite what ever had been downloaded already before previously) and then proceed on as normal copying to server or using for server.


Assistance requested with new install
Can't start new server
Server ip not working?
#33

Hey Dustin! I would love to reconnect with you! You probably don’t remember me, but my discord is Bradydawg#0001, I’d love it if you added me.