Hi everyone, I’m a total newbie on Linux and Rpi.
Since there are many successful cases, I thought it’s quite easy to set a minecraft server on Rpi, alone with faster CPU, I can play with more friends online.
But while I followed the tutorial on mineOS wiki and start running my server, many problems pops out…
Here are problems and how I tried to solve them.
Server log on webUI does not update automatically, thus I have to manually refresh webpage to see new logs.
The big problem is, the 1st time start took very very long time to prepare spawn area, almost 3 hours. I type $top to see CPU status, and it shows java used over 100% cpu while server preparing.
This problem was solved by changing java from openJDK to oracleJRE
It only take less than 1 min to start a new world now. But another problem has come.
After the server seems stable, I use $top again, and find java only use about 30% CPU, but in a 3-5 interval, it spike to 100%.
Some article said adding nogui while start java can solve this problem, but it does’t work in my scene.
Finally, I logged in with PC, in about 3min, server just crashed.
I went back to see server log.
Yes, on the top right corner of MineOS WebUI is an arrow next to your log in name. (git commit xxxxx).
No. Trick question to see if you have enabled ‘root’. You have not, so that is not an issue.
Correct, not set above 1gb. However you leave no memory for anything else.
I am not to familiar with your type of hardware. But others here may help.
My impression is you are underpowered but I have been wrong before.
Of note are also the ‘stack guard’ error and the crash (and “crash report”). I feel the server crashed because the server hung due to lack of memory to run, MineOS noticed a ‘tick’ was taking forever and shut down.
Real quick I figured I’d chime in on the subject of running mineOS an a pi 3.
I would definitely use an optimized minimal OS. Currently the best available that I can be found here, DietPi. DietPi even has MineOS install setup.
Secondly I can’t stress enough you should run the server off of a hard drive instead of a thumb drive or SD card. Not only because of limited performance but storage medium failure due to high read/writes. DietPi has an option to install programs onto HHD/SSD with ez. If you end up checking out let me know here.