Hello,
A previous sysadmin who opened port 8192 for me on my dedicated machine left me a guide to opening it myself. However, I've encountered a few errors during the process that I'm wondering if anyone knows how to fix:
The server is running Ubuntu 14.04 with Pufferpanel. So, the process was:
1. cd /srv/scales && npm stop
2. /srv/scales/data && nano xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx.json (whichever was the lobby server since that's where votes are sent).
3. Under the build hash add
_____"mapping": {
______"192.95.30.123": {
________"8192": "8192"
______}
____}
4. Save it. Start the daemon. Hit the update button. Then npm start.
However, when he said "Start the daemon and hit the update button", I'm not sure what command that specifically refers to. I've tried putting both 4 & 5 spaces before the "mapping" part just to make sure it lined up correctly, but I keep receiving this error:
[2016-02-26 01:23:02] [ERROR] uncaughtException: Cannot read property 'name' of undefined
[2016-02-26 01:23:02] [ERROR] Unhandled exception occurred
TypeError: Cannot read property 'name' of undefined
at initalize (/srv/scales/lib/initalize.js:43:17)
at /srv/scales/lib/initalize.js:30:17
at /srv/scales/node_modules/fs-extra/node_modules/jsonfile/index.js:17:14
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
[2016-02-26 01:23:03] [INFO] Scales has started
When I remove the "mapping" bit, Scales starts without error. Any suggestions?
A previous sysadmin who opened port 8192 for me on my dedicated machine left me a guide to opening it myself. However, I've encountered a few errors during the process that I'm wondering if anyone knows how to fix:
The server is running Ubuntu 14.04 with Pufferpanel. So, the process was:
1. cd /srv/scales && npm stop
2. /srv/scales/data && nano xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx.json (whichever was the lobby server since that's where votes are sent).
3. Under the build hash add
_____"mapping": {
______"192.95.30.123": {
________"8192": "8192"
______}
____}
4. Save it. Start the daemon. Hit the update button. Then npm start.
However, when he said "Start the daemon and hit the update button", I'm not sure what command that specifically refers to. I've tried putting both 4 & 5 spaces before the "mapping" part just to make sure it lined up correctly, but I keep receiving this error:
[2016-02-26 01:23:02] [ERROR] uncaughtException: Cannot read property 'name' of undefined
[2016-02-26 01:23:02] [ERROR] Unhandled exception occurred
TypeError: Cannot read property 'name' of undefined
at initalize (/srv/scales/lib/initalize.js:43:17)
at /srv/scales/lib/initalize.js:30:17
at /srv/scales/node_modules/fs-extra/node_modules/jsonfile/index.js:17:14
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
[2016-02-26 01:23:03] [INFO] Scales has started
When I remove the "mapping" bit, Scales starts without error. Any suggestions?
