Advertisement
Guest User

MineOS Node Error

a guest
Nov 1st, 2023
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@mine:~# apt -y install git rdiff-backup screen
  2. Reading package lists... Done
  3. Building dependency tree... Done
  4. Reading state information... Done
  5. git is already the newest version (1:2.40.1-1ubuntu1).
  6. rdiff-backup is already the newest version (2.2.2-1build1).
  7. screen is already the newest version (4.9.0-4).
  8. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  9. root@mine:~# apt -y install build-essential
  10. Reading package lists... Done
  11. Building dependency tree... Done
  12. Reading state information... Done
  13. build-essential is already the newest version (12.10ubuntu1).
  14. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  15. root@mine:~# cd /usr/games
  16. root@mine:/usr/games# git clone https://github.com/hexparrot/mineos-node minecraft
  17. Cloning into 'minecraft'...
  18. remote: Enumerating objects: 6597, done.
  19. remote: Counting objects: 100% (8/8), done.
  20. remote: Compressing objects: 100% (8/8), done.
  21. remote: Total 6597 (delta 1), reused 4 (delta 0), pack-reused 6589
  22. Receiving objects: 100% (6597/6597), 5.29 MiB | 1.26 MiB/s, done.
  23. Resolving deltas: 100% (3900/3900), done.
  24. root@mine:/usr/games# cd minecraft
  25. root@mine:/usr/games/minecraft# git config core.filemode false
  26. root@mine:/usr/games/minecraft# chmod +x generate-sslcert.sh mineos_console.js webui.js
  27. root@mine:/usr/games/minecraft# cp mineos.conf /etc/mineos.conf
  28. root@mine:/usr/games/minecraft# cd /usr/games/minecraft
  29. root@mine:/usr/games/minecraft# npm install
  30.  
  31. > diskusage@1.1.3 install /usr/games/minecraft/node_modules/diskusage
  32. > node-gyp rebuild
  33.  
  34. gyp ERR! configure error
  35. gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/games/minecraft/node_modules/diskusage/build'
  36. gyp ERR! System Linux 6.5.0-10-generic
  37. gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
  38. gyp ERR! cwd /usr/games/minecraft/node_modules/diskusage
  39. gyp ERR! node -v v18.13.0
  40. gyp ERR! node-gyp -v v9.3.0
  41. gyp ERR! not ok
  42. npm ERR! code ELIFECYCLE
  43. npm ERR! errno 1
  44. npm ERR! diskusage@1.1.3 install: `node-gyp rebuild`
  45. npm ERR! Exit status 1
  46. npm ERR!
  47. npm ERR! Failed at the diskusage@1.1.3 install script.
  48. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  49.  
  50. npm ERR! A complete log of this run can be found in:
  51. npm ERR!     /root/.npm/_logs/2023-11-01T19_11_11_584Z-debug.log
  52. root@mine:/usr/games/minecraft# cd /usr/games/minecraft
  53. root@mine:/usr/games/minecraft# ./generate-sslcert.sh
  54. ...+..........+..+......+.......+.....+.......+..+....+..+.........+...+...+..........+..+.+.....+......+.+..+...............+.......+.....+.+........+....+..+......+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.....+...+.......+..+.+.....+...+.........+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+........+.......+...+..+...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  55. ..+.......+..+.............+..+...................+.........+.....+.+.........+......+..+.......+..+...+......+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*............+...+..+......+...............+.+...+.....+......+...............+....+..+....+..+............+.+..+....+...+.....+.+.....+......+..................+.+..+..........+.....+...+.+......+...+..+.......+............+.....+..................+...+.......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+......+......+..+...+...+......+.................................+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  56. -----
  57. writing RSA key
  58. root@mine:/usr/games/minecraft# cp /usr/games/minecraft/init/systemd_conf /etc/systemd/system/mineos.service
  59. root@mine:/usr/games/minecraft# systemctl enable mineos
  60. root@mine:/usr/games/minecraft# systemctl start mineos
  61. Job for mineos.service failed because the service did not take the steps required by its unit configuration.
  62. See "systemctl status mineos.service" and "journalctl -xeu mineos.service" for details.
  63. root@mine:/usr/games/minecraft#
Tags: MineOs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement