-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
MineOS not working #3901
Comments
same happen on 32bit image. Logfile attached. Click to expand!
Probably it's looking for Python2 while DietPi is using Python3 now EDIT: |
The first failure happens when trying to install Node 8, AFAIK, and since MinoOS (still) requires Node 8, it's build fails.
If this fails:
Explicitly defining arm64 architecture was required due to an "n" bug: #1880 (comment) |
according MineOS wiki, it should work with Node10 https://minecraft.codeemo.com/mineoswiki/index.php?title=MineOS-node_(apt-get)_(Debian10) @MichaIng it's failing on 32bit as well |
Dammit, the quotation needs to be removed! Let's see if Node 10 works, then they need to update their readme: https://github.com/hexparrot/mineos-node#installation |
just for my understanding. Variable
Probably I misunderstood that section 🤣 |
It's not a variable but a Node version management module, installed above with:
@CactiChameleon9
|
thx for explanation |
doesn't seem to be working
The file is here: Logfile attached. Click to expand!
|
can you try to have it running as user
|
Yeah, I tried as root. I will test again quickly now but I did try as |
Yeah, those permissions denied are because parent directories are not existing. /mnt/dietpi_userdata/mineos/minecraft/node_modules/posix/ and seems to get deleted if it is created by me while running |
Please try
In my case the flag was not required but all guides actually suggest to use it when running npm as root. Probably |
That seems to work. Thanks a lot. Is sudo -s different then? 🤔 Maybe just me - thanks for the help |
I am trying with n 10 Edit: it didn't help |
Wait for a while, then the strings might appear. But indeed parts of the web UI also did not work on my tests first. I then switched to a foreground systemd unit and suddenly it worked, including a few gone 403 errors in browser console, although not sure which change exactly made it. If you are in mood, you could test what I am currently working on: #3904
Works well so far, cleans up a few obsolete dependencies and things that came with older implementations. |
Wow the more I play with it, the more I like it, easy access to all other Minecraft servers we offer: PaperMC, Nukkit, Spigot, Cuberite and others. Config file edit, live logging file monitoring combined with input console for each server, aside of usual status/start/stop etc all from web UI. In a few cases it fails to download, e.g. Cuberite and the BuildTools (to build all of'em directly from sources instead) successfully, with 404 or 403, not sure if the links need to be updated, but overall very nice impression. Needed to learn that the service only handles the web interface while each Minecraft server runs in an own screen session and needs to be manually started/stopped either from web UI or via The project could get some polish here and there, updates to certain Node modules, docs etc, but hey, it's the same with us 😄. |
Yeah, it is really cool. I am exited to have a play with it as well, it will allow for such easy management of servers, I can then also proxy it to add to nginx with my long list of services (dietpi is really cool too) I will try that out when I get the chance, the git mineOS branch only includes mineOS changes correct? Thanks for looking into this. |
Yes, it's the current dev branch + MineOS changes. While it's good to have a backup, it should be fine since v6.34 so far mostly contains fixes and individual software title enhancements, no breaking system changes. Although for RPi one change, if you have 16 MiB GPU memory applied (DietPi default):
should show 5 errors about failing VCSM. After the update, those should have been gone, as we place a dtoverlay that prevents VCSM module and device from being loaded if less than 32 MiB GPU memory are applied, where VCSM cannot work anymore. |
OK thanks. Mine OS now works, it took me a couple of times to guess the password and username though, it turns out to be the root password (dietpi) with username root. A small issue, there are no runtime jar options available? I have JRE and JDK headless installed however? |
It's explained in our online docs, yes it basically allows to login with any UNIX user and related UNIX password. For initial setup, as well the official docs state that root permissions are required, but it is advised then to use an unprivileged user to install actual Minecraft servers. What I am not sure about is if a UNIX user that you login into the web UI with, requires write access to |
Any clue about no java not showing as installed issue? Also I am experimenting with puffin panel (v2 alpha) at the moment, which does a similar thing |
Headless Java JRE (+ JDK, actually not required, we need to divide both, other topic... 😄) are installed as dependency with MineOS, but indeed not the GUI parts, which is intended to keep it slim. Where is it not shown as as installed? MineOS web UI? I was able to set memory allocation but didn't test to add further custom jar options. Generally to install the the GUI parts for JRE: |
Yeah, it shows as no JRE in the webUI, I will send a screenshot in a bit after I try a reinstall. |
It works for me. Did you already create and set the profile? |
Yeah I did. Thanks for asking. Could it be 64 bit trouble - that I assume is the only difference between our systems I assume? |
I'm using a VM. I'll test it on my RPi too. |
OK thanks |
Before being able to select a jar, you need to select a profile first at the left side, ah that is what ravenclaw900 already said. But also I recognised that some Minecraft downloads contain a tarball (or other kind of file) only without any jar file and I didn't understand how this is supposed to work. To be true I didn't try to manually extract those. The files are located in Okay, so this has nothing to do with the Java installation, that is good to know so far. Probably we can find out about the above cases an add some information about that in our docs. |
Spigot distributes Build Tools, as it is against the EULA to actually distribute the pure Minecraft JAR. Paper downloads the JAR on first run (then patches it). I would imagine other servers do similar things. |
I'd suggest Spigot then not available in Profiles for download but in ehm the other page where all the sources can be downloaded. There of course it is expected that no jar is available but one needs to compile first. |
Actually, I think it does. I am testing with cuberite, which doesn't need java, but it doesn't even let me start it because a java runtime (installed java) isn't selected - which seems to be a required field anyway for all minecraft servers (odd, I know), and none are available in the selection menu because it seems to see none as installed - I think I am correct here because I have used MineOS very, very briefly in the past on a pi zero (with dietpi), and I had to select the installed java to let me start cuberite. |
That is exactly what I was wondering. Selecting a jar seems to be mandatory but not all Minecraft servers are Java-based, Cuberite is C++. Not sure what you mean by selecting a "JRE", because the field clearly is about selecting a "jar" file, not selecting an installed JRE. What I would have expected, is when you're selecting a Cuberite profile, that there is no jar selection field at all but at best a field to select the executable and add optional command line options 🤔.
Very strange, because there is no such field as far as I could see and the attempt to execute Cuberite with Java can only fail. However, to rule it out, did you try to install full Java? |
Yeah, I definitively have default-jre installed.. Sorry, my mistake. It seems that it just doesn't want to start curberite because there is no jar file. Paper MC seems to work MineOS doesn't look like its been properly updated in years however? |
It is not under heavy but steady development: https://github.com/hexparrot/mineos-node |
Me looking at the wrong one :D |
Is it possible to apply the fixes myself? I saw the branch was merged, so I can't seem to change to that branch anymore. Thanks! |
You could use the |
Thanks, I wasn't sure what branch it was on. I'll continue testing it, but it all seems to be working great now, thanks! |
Creating a bug report/issue
Required Information
Additional Information (if applicable)
echo $G_HW_UUID
Steps to reproduce
Expected behaviour
It should all work
Actual behaviour
None of the menus seem to work and are blank:

Extra details
During the install it errors but carries on:
Logfile attached. Click to expand!
In the speficied log file:
/root/.npm/_logs/2020-11-08T14_20_04_759Z-debug.log
Logfile attached. Click to expand!
The text was updated successfully, but these errors were encountered: