Hi all,
I have been playing about with MineOS and I decided to try and install it on an OS that I could get preinstalled on a VPS, in case I ever want to host it. After a while, I was able to get the webui working from a virtual machine running arch Linux, but there are several issues I cannot figure out. Firstly, when the web page is first logged into, what appears to be the names of the variables are displayed instead of the actual value of that variable. This is a minor issue, which goes away if I go off of, and then back onto the page, but I feel it may be related to my bigger issue.
The bigger issue is with creating servers. I can create a new server from the page, but when it is created, it does not appear in the currently selected server drop down. If I look at the server status, the location of the server is in “undefined”, the server owner is "undefined (undefined) ", and anywhere where storage space is to be calculated is “NaNundefined”. There are also no profiles, no calendar in the calendar tab and no load averages in the dashboard, as can be seen above. When I refresh the page, the server disappears, probably because it was never created. I have tried to reinstall both arch and MineOS from scratch, but this problem persists. I was able to install MineOS Turnkey on a similar VM and it did not have these issues, so I believe it is something to do with installing it on Arch.
Here is some screenshots which show the issues: https://imgur.com/a/h3PWr2J
And here is /var/log/mineos.log:
{"level":"info","message":"Starting up server, using commit: ad34695 Update FTB profile to use forgecdn.net (#330)\n","timestamp":"2020-02-10T12:24:56.143Z"} {"date":"Mon Feb 10 2020 12:25:17 GMT+0000 (Greenwich Mean Time)","process":{"pid":357,"uid":0,"gid":0,"cwd":"/","execPath":"/usr/bin/node","version":"v13.8.0","argv":["/usr/bin/node","/usr/games/minecraft/webui.js","start"],"memoryUsage":{"rss":63381504,"heapTotal":16228352,"heapUsed":13516392,"external":2698215}},"os":{"loadavg":[0.21484375,0.06005859375,0.01953125],"uptime":32},"trace":[{"column":15,"file":"internal/modules/cjs/loader.js","function":"Module._resolveFilename","line":980,"method":"_resolveFilename","native":false},{"column":27,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":862,"method":"_load","native":false},{"column":19,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":1040,"method":"require","native":false},{"column":18,"file":"internal/modules/cjs/helpers.js","function":"require","line":72,"method":null,"native":false},{"column":19,"file":"/usr/games/minecraft/node_modules/userid/lib/userid.js","function":null,"line":5,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":1151,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":1171,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":1000,"method":"load","native":false},{"column":14,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":899,"method":"_load","native":false},{"column":19,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":1040,"method":"require","native":false}],"stack":["Error: Cannot find module '/usr/games/minecraft/node_modules/userid/build/Debug/userid.node'","Require stack:","- /usr/games/minecraft/node_modules/userid/lib/userid.js","- /usr/games/minecraft/server.js","- /usr/games/minecraft/webui.js","- /usr/games/minecraft/node_modules/daemonize2/lib/wrapper.js"," at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)"," at Function.Module._load (internal/modules/cjs/loader.js:862:27)"," at Module.require (internal/modules/cjs/loader.js:1040:19)"," at require (internal/modules/cjs/helpers.js:72:18)"," at Object.<anonymous> (/usr/games/minecraft/node_modules/userid/lib/userid.js:5:19)"," at Module._compile (internal/modules/cjs/loader.js:1151:30)"," at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)"," at Module.load (internal/modules/cjs/loader.js:1000:32)"," at Function.Module._load (internal/modules/cjs/loader.js:899:14)"," at Module.require (internal/modules/cjs/loader.js:1040:19)"],"level":"error","message":"uncaughtException: Cannot find module '/usr/games/minecraft/node_modules/userid/build/Debug/userid.node'\nRequire stack:\n- /usr/games/minecraft/node_modules/userid/lib/userid.js\n- /usr/games/minecraft/server.js\n- /usr/games/minecraft/webui.js\n- /usr/games/minecraft/node_modules/daemonize2/lib/wrapper.js","timestamp":"2020-02-10T12:25:17.017Z"} {"level":"info","message":"Starting up server, using commit: ad34695 Update FTB profile to use forgecdn.net (#330)\n","timestamp":"2020-02-10T12:25:17.666Z"}