Open maybaxstv opened 2 years ago
Many thanks for your report.
Ah, it is still the missing yescrypt support: https://github.com/hexparrot/mineos-node/issues/441
Still not sure how to deal with this, disabling MineOS for Bullseye or offering the yescrypt => SHA512 change with a bug warning 🤔.
Ah, it seems to be possible to set the password for a single user with SHA512 explicitly:
chpasswd --crypt-method SHA512 <<< 'user:password'
In combination with #4551 this would be a solution.
Same. MineOS is severely out of date
With npm
MineOS is severely out of date
Not sure what you mean, we pull/update to the latest MineOS and dependency versions. It is latest MineOS which does not support the default UNIX user password encryption algorithm since Debian Bullseye, hence an upstream issue, as linked above.
@MichaIng Well, npm goes insane when it is set up, login fails, the OS that has it is old, the site is old, I just feel that it kinda sucks an pterodactyl is better as it is easier to use.
the OS that has it is old, the site is old
What do you mean with "OS is old"? The Node.js implementation of MineOS is actively developed, just nobody finds time to implement support for yescrypt, that's all.
Also not sure what you mean by "npm goes insane"? It is common that Node modules get updated when you do a reinstall/update after a while, but that is perfectly fine and does not cause any issues.
Feel free to open a software request for pterodactyl, but let's not mix it with this MineOS issue.
@MichaIng I guess I will. MineOS sucks compared to that
PR up to create again a non-root login user. Seems to work all well: #7276 Its password will be stored with SHA512 hash, so login works OOTB.
Fixed for next release. Can be done manually like this:
sudo useradd -rMU -d /mnt/dietpi_userdata/mineos/serverdata -s /usr/sbin/nologin mineos
sudo chpasswd --crypt-method SHA512 <<< 'mineos:dietpi'
sudo chown -R mineos /mnt/dietpi_userdata/mineos/serverdata
sudo systemctl restart mineos
I would also like to note that with newer minecraft versions, the jdk that mineos uses is severely outdated and wont start any server.
For x64 I use curl -O https://download.bell-sw.com/java/22.0.2+11/bellsoft-jdk22.0.2+11-linux-amd64.deb
For the pi I use curl -O https://download.bell-sw.com/java/22.0.2+11/bellsoft-jdk22.0.2+11-linux-aarch64.deb
Right, I recognised the same. Nasty that it does not show any error, but the server does just not start, service logs containing the start request, but nothing after that. Do you know where to find logs from the actual Minecraft servers?
However, I added a note about that to our docs: https://github.com/MichaIng/DietPi-Docs/pull/1034/files
I find logs in /mnt/dietpi_userdata/mineos/serverdata/servers/ServerName/logs and in /var/log/mineos.log
Ah I think the problem was/is that the Minecraft server does not even start any logging if the Java version is too low. Somewhat a gap in logging, as the initial Java executable output is not logged to journal and /var/log/mineos.log
, and not done to the Minecraft server logs either, as those likely require the server to be actually running, loading some Java logging system/library.
Creating a bug report/issue
Required Information
echo $G_DISTRO_NAME $G_RASPBIAN
Linux DietPi 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details