Trying to run this under Freenas 11, and I'm pulling my hair out.
I've followed all the instructions on the main page, and other than having to pass the linprocfs command manually in the main shell (otherwise it doesn't show, even with the task... I'll hunt that down later), I get the following problem:
The second issue above smacks of a permissions problem, but unless BSD is far, far different from Linux, I'm pretty sure I've tried every permutation I know of to get things going. I've left it alone, changed ownership to the mcserver user and/or group, opened up access to the path to everyone and everything... nothing seems to help. At this point, I'm stumped. So, I'm here. :)
At this point I've blown away the plugin and reinstalled... a number of times. Hopefully someone else has had these issues, and I somehow missed the very simple solution. ;)
Code:
{"command":"create","server_name":"test","properties":{"generate-structures":true,"difficulty":"2","gamemode":"0","server-port":"25565","server-ip":"192.168.0.240"},"level":"info","message":"[WEBUI] Received emit command from 192.168.0.108:mcserver","timestamp":"2017-07-25T09:56:45.230Z"}
{"date":"Tue Jul 25 2017 04:56:45 GMT-0500 (CDT)","process":{"pid":20074,"uid":0,"gid":0,"cwd":"/","execPath":"/usr/local/bin/node","version":"v8.1.4","argv":["/usr/local/bin/node","/usr/pbi/mineos-amd64/share/mineos/mineos-node/webui.js","start"],"memoryUsage":{"rss":75431936,"heapTotal":26750976,"heapUsed":21742744,"external":338688}},"os":{"loadavg":[0.08935546875,0.244140625,0.24755859375],"uptime":40588},"trace":[{"column":18,"file":"fs.js","function":"Object.fs.readdirSync","line":909,"method":"readdirSync","native":false},{"column":17,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/mineos.js","function":"Object.mineos.server_pids_up","line":58,"method":"server_pids_up","native":false},{"column":27,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/mineos.js","function":"mineos.mc.self.property","line":1264,"method":"property","native":false},{"column":10,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/mineos.js","function":"self.verify","line":1531,"method":"verify","native":false},{"column":23,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js","function":null,"line":760,"method":null,"native":false},{"column":37,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js","function":null,"line":166,"method":null,"native":false},{"column":13,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js","function":null,"line":718,"method":null,"native":false},{"column":13,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js","function":"iterate","line":262,"method":null,"native":false},{"column":29,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js","function":null,"line":274,"method":null,"native":false},{"column":16,"file":"/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js","function":null,"line":44,"method":null,"native":false}],"stack":["TypeError: path must be a string or Buffer"," at Object.fs.readdirSync (fs.js:909:18)"," at Object.mineos.server_pids_up (/usr/pbi/mineos-amd64/share/mineos/mineos-node/mineos.js:58:17)"," at mineos.mc.self.property (/usr/pbi/mineos-amd64/share/mineos/mineos-node/mineos.js:1264:27)"," at self.verify (/usr/pbi/mineos-amd64/share/mineos/mineos-node/mineos.js:1531:10)"," at /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js:760:23"," at /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js:166:37"," at /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js:718:13"," at iterate (/usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js:262:13)"," at /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js:274:29"," at /usr/pbi/mineos-amd64/share/mineos/mineos-node/node_modules/async/lib/async.js:44:16"],"level":"error","message":"uncaughtException: path must be a string or Buffer","timestamp":"2017-07-25T09:56:45.234Z"}
EDIT: Okay, I re-ran the initial node instructions and it worked... so I had to run them twice? Regardless, it's working for the moment...