Hello,
I am working on adding netonix manager to an existing ubuntu server that we are currently running librenms and phpipam on.
I have installed as described and set up a conf file to assign a listen port to be accessible.
After playing with this a bit, I found that the bootloader.js was set to listen on port 3000, not 3443 as stated.
setting a proxy to port 3000 brought me to the netonix login page, submitting user/pass does nothing.
It also looks like there is no node running by default, is there any additional setup not mentioned that is needed?
Looking at the output from the node when I manually have it running shows:
starting child process
{ Error: Cannot find module '../build/Release/bson'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/opt/netonix-manager/node_modules/bson/ext/index.js:15:10)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }
Express server listening on port 3000
{ [Error: ENOENT: no such file or directory, open '/opt/netonix-manager/storage/configs']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/opt/netonix-manager/storage/configs' }
GET / 304 36.161 ms - -
GET /images/logo-large.png 200 11.887 ms - 42745
{ [Error: ENOENT: no such file or directory, open '/opt/netonix-manager/storage/configs']
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/opt/netonix-manager/storage/configs' }
I verified that there is no folder /storage
service netonix-manager status shows that netonix-manager is loaded, active and running.
I am fairly new to linux CLI, but was able to get both of the other programs running with no issues.
Ubuntu 20.04.4 LTS
Nginx 1.18.0
Node version 10.19.0
NPM version 6.14.4
Thanks for any help!