Open mikedebian opened 3 weeks ago
Here is the pastebin
Thanks for reporting. I started a quick test across all platforms and versions: https://github.com/MichaIng/DietPi/actions/runs/11619447508
Weird, like a syntax error in the userid
node module, installed as dependency, but weirdly it fails on Bookworm only, while the Node version is the same and module version should be the same. For userid
a beta version is installed userid@1.0.0-beta.9
, maybe it will solve itself once that one became stable.
.... nope weird: https://www.npmjs.com/package/userid?activeTab=versions
There is a stable version 1.0.0
, but the beta 9 was uploaded 9 seconds later, hence npm
grabs that one as "latest" 1.0.0 instead 🤣. However, that is 4 years old, so somehow I do not think that the beta is the problem. But updating that dependency might solve things regardless. But still not sure why it can fail on Bookworm only, with identical Node versions.
Linux shenanigans :smiling_face_with_tear: Hope you are able to figure it out...
Weird, like a syntax error in the
userid
node module, installed as dependency, but weirdly it fails on Bookworm only, while the Node version is the same and module version should be the same. Foruserid
a beta version is installeduserid@1.0.0-beta.9
, maybe it will solve itself once that one became stable..... nope weird: https://www.npmjs.com/package/userid?activeTab=versions There is a stable version
1.0.0
, but the beta 9 was uploaded 9 seconds later, hencenpm
grabs that one as "latest" 1.0.0 instead 🤣. However, that is 4 years old, so somehow I do not think that the beta is the problem. But updating that dependency might solve things regardless. But still not sure why it can fail on Bookworm only, with identical Node versions.
Any update on this?
PR up to fix/workaround this, and additionally fixing/working around the login issue #5759 which required #4551 to be addressed: #7276
Indeed, when just updating the userid
module, all works well. What you could do, when facing the error, is select "Open shell" from the error handler, and run this command:
G_CONFIG_INJECT '"userid"' ' "userid": "1.2.5",' package.json
exit
Then "Retry".
To fix the login issue, create an new non-root user:
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
Change "dietpi" to a different password. Then use user "mineos" with this password to login the MineOS web UI.
Fix sent upstream: https://github.com/hexparrot/mineos-node/pull/558
sudo systemctl restart mineos
You have been busy! This worked great, thank you :)
Creating a bug report/issue
Required Information
DietPi version | G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=8 G_DIETPI_VERSION_RC=0 G_GITBRANCH='master' G_GITOWNER='MichaIng'
Distro version | Bookworm
Kernel version |
Linux BLACKPI 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux
SBC model | Native, x64 UEFI
SSD install
Additional Information (if applicable)
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
Works on my raspberry pi.