In this project I don't have database at the moment.
In the node app directory I find a log file that reports some errors
2024-10-15T21:51:51.077Z server-connect:setup:config {
port: 3000,
debug: true,
secret: 'N67X9UUyJGqcTBA',
tmpFolder: '/home/brainpod/nodejsapp/tmp',
abortOnDisconnect: false,
createApiRoutes: true,
compression: true,
redis: false,
cron: true,
static: { index: false },
session: {
name: 'brainpod_debsite.sid',
resave: false,
saveUninitialized: false,
store: { '$type': 'memory', ttl: 86400 }
},
cors: { origin: false, methods: 'GET,POST', credentials: true },
csrf: { enabled: false, exclude: 'GET,HEAD,OPTIONS' },
rateLimit: {
enabled: false,
duration: 60,
points: 100,
private: { provider: '', duration: 60, points: 1000 }
},
globals: {},
rateLimiter: {},
mail: {},
auth: {},
oauth: {},
db: {},
s3: {},
jwt: {},
stripe: {},
env: {
currentHost: 'https://brainpod.azurewebsites.net/',
logoPath: 'https://brainpod.azurewebsites.net/assets/images/logo/logo-email.svg'
}
}
2024-10-15T21:51:51.446Z server-connect:setup:session init session store { '$type': 'memory', ttl: 86400 }
2024-10-15T21:51:51.473Z server-connect:setup:upload Upload middleware configured.
2024-10-15T21:51:51.474Z server-connect:secure CSRF Protection initialized
2024-10-15T21:51:51.477Z server-connect:setup:routes Api route /api/become-partner(.json)? created
2024-10-15T21:51:51.478Z server-connect:setup:routes Api route /api/contact-dealer(.json)? created
2024-10-15T21:51:51.479Z server-connect:setup:routes Api route /api/contact(.json)? created
2024-10-15T21:51:51.479Z server-connect:setup:routes Api route /api/meta-data(.json)? created
2024-10-15T21:51:51.480Z server-connect:setup:routes Api route /api/order(.json)? created
2024-10-15T21:51:51.481Z server-connect:setup:routes Api route /api/test(.json)? created
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
2024-10-15T23:01:05.780Z server-connect:setup:config {
port: '3000',
debug: true,
secret: 'N67X9UUyJGqcTBA',
tmpFolder: '/home/brainpod/nodejsapp/tmp',
abortOnDisconnect: false,
createApiRoutes: true,
compression: true,
redis: false,
cron: true,
static: { index: false },
session: {
name: 'brainpod_debsite.sid',
resave: false,
saveUninitialized: false,
store: { '$type': 'memory', ttl: 86400 }
},
cors: { origin: false, methods: 'GET,POST', credentials: true },
csrf: { enabled: false, exclude: 'GET,HEAD,OPTIONS' },
rateLimit: {
enabled: false,
duration: 60,
points: 100,
private: { provider: '', duration: 60, points: 1000 }
},
globals: {},
rateLimiter: {},
mail: {},
auth: {},
oauth: {},
db: {},
s3: {},
jwt: {},
stripe: {},
env: {
currentHost: 'https://brainpod.azurewebsites.net/',
logoPath: 'https://brainpod.azurewebsites.net/assets/images/logo/logo-email.svg'
}
}
2024-10-15T23:01:06.162Z server-connect:setup:session init session store { '$type': 'memory', ttl: 86400 }
2024-10-15T23:01:06.231Z server-connect:setup:upload Upload middleware configured.
2024-10-15T23:01:06.231Z server-connect:secure CSRF Protection initialized
2024-10-15T23:01:06.235Z server-connect:setup:routes Api route /api/become-partner(.json)? created
2024-10-15T23:01:06.236Z server-connect:setup:routes Api route /api/contact-dealer(.json)? created
2024-10-15T23:01:06.236Z server-connect:setup:routes Api route /api/contact(.json)? created
2024-10-15T23:01:06.237Z server-connect:setup:routes Api route /api/meta-data(.json)? created
2024-10-15T23:01:06.237Z server-connect:setup:routes Api route /api/order(.json)? created
2024-10-15T23:01:06.238Z server-connect:setup:routes Api route /api/test(.json)? created
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/brainpod/nodejsapp//index.js'
Require stack:
- /usr/local/lsws/fcgi-bin/lsnode.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at startApplication (/usr/local/lsws/fcgi-bin/lsnode.js:48:15)
at Object.<anonymous> (/usr/local/lsws/fcgi-bin/lsnode.js:16:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lsws/fcgi-bin/lsnode.js' ]
}
Node.js v18.20.4
2024-10-16T06:13:47.079Z server-connect:setup:config {
port: '3000',
debug: true,
secret: 'N67X9UUyJGqcTBA',
tmpFolder: '/home/brainpod/nodejsapp/tmp',
abortOnDisconnect: false,
createApiRoutes: true,
compression: true,
redis: false,
cron: true,
static: { index: false },
session: {
name: 'brainpod_debsite.sid',
resave: false,
saveUninitialized: false,
store: { '$type': 'memory', ttl: 86400 }
},
cors: { origin: false, methods: 'GET,POST', credentials: true },
csrf: { enabled: false, exclude: 'GET,HEAD,OPTIONS' },
rateLimit: {
enabled: false,
duration: 60,
points: 100,
private: { provider: '', duration: 60, points: 1000 }
},
globals: {},
rateLimiter: {},
mail: {},
auth: {},
oauth: {},
db: {},
s3: {},
jwt: {},
stripe: {},
env: {
currentHost: 'https://brainpod.azurewebsites.net/',
logoPath: 'https://brainpod.azurewebsites.net/assets/images/logo/logo-email.svg'
}
}
2024-10-16T06:13:47.473Z server-connect:setup:session init session store { '$type': 'memory', ttl: 86400 }
2024-10-16T06:13:47.542Z server-connect:setup:upload Upload middleware configured.
2024-10-16T06:13:47.543Z server-connect:secure CSRF Protection initialized
2024-10-16T06:13:47.548Z server-connect:setup:routes Api route /api/become-partner(.json)? created
2024-10-16T06:13:47.549Z server-connect:setup:routes Api route /api/contact-dealer(.json)? created
2024-10-16T06:13:47.551Z server-connect:setup:routes Api route /api/contact(.json)? created
2024-10-16T06:13:47.552Z server-connect:setup:routes Api route /api/meta-data(.json)? created
2024-10-16T06:13:47.553Z server-connect:setup:routes Api route /api/order(.json)? created
2024-10-16T06:13:47.554Z server-connect:setup:routes Api route /api/test(.json)? created
2024-10-16T06:43:05.901Z server-connect:setup:config {
port: '3000',
debug: true,
secret: 'N67X9UUyJGqcTBA',
tmpFolder: '/home/brainpod/nodejsapp/tmp',
abortOnDisconnect: false,
createApiRoutes: true,
compression: true,
redis: false,
cron: true,
static: { index: false },
session: {
name: 'brainpod_debsite.sid',
resave: false,
saveUninitialized: false,
store: { '$type': 'memory', ttl: 86400 }
},
cors: { origin: false, methods: 'GET,POST', credentials: true },
csrf: { enabled: false, exclude: 'GET,HEAD,OPTIONS' },
rateLimit: {
enabled: false,
duration: 60,
points: 100,
private: { provider: '', duration: 60, points: 1000 }
},
globals: {},
rateLimiter: {},
mail: {},
auth: {},
oauth: {},
db: {},
s3: {},
jwt: {},
stripe: {},
env: {
currentHost: 'https://brainpod.azurewebsites.net/',
logoPath: 'https://brainpod.azurewebsites.net/assets/images/logo/logo-email.svg'
}
}
2024-10-16T06:43:06.265Z server-connect:setup:session init session store { '$type': 'memory', ttl: 86400 }
2024-10-16T06:43:06.338Z server-connect:setup:upload Upload middleware configured.
2024-10-16T06:43:06.338Z server-connect:secure CSRF Protection initialized
2024-10-16T06:43:06.342Z server-connect:setup:routes Api route /api/become-partner(.json)? created
2024-10-16T06:43:06.342Z server-connect:setup:routes Api route /api/contact-dealer(.json)? created
2024-10-16T06:43:06.343Z server-connect:setup:routes Api route /api/contact(.json)? created
2024-10-16T06:43:06.344Z server-connect:setup:routes Api route /api/meta-data(.json)? created
2024-10-16T06:43:06.345Z server-connect:setup:routes Api route /api/order(.json)? created
2024-10-16T06:43:06.346Z server-connect:setup:routes Api route /api/test(.json)? created
2024-10-16T07:31:40.776Z server-connect:router Serving templateView /
2024-10-16T07:31:40.782Z server-connect:app Executing action step wait
2024-10-16T07:31:40.782Z server-connect:app options: { delay: 500 }
2024-10-16T07:31:41.283Z server-connect:output wait: undefined
2024-10-16T07:31:41.288Z server-connect:app Executing action step send
2024-10-16T07:31:41.289Z server-connect:app options: {
url: "{{$_ENV.currentHost+'data/meta/'+$_COOKIE.lang+'.json'}}",
dataType: 'json',
schema: [
{ type: 'object', name: 'data', sub: [Array] },
{ type: 'object', name: 'headers', sub: [Array] }
]
}
2024-10-16T07:35:42.095Z server-connect:output api: undefined
2024-10-16T07:47:18.140Z server-connect:router Serving templateView /
2024-10-16T07:47:18.140Z server-connect:app Executing action step wait
2024-10-16T07:47:18.140Z server-connect:app options: { delay: 500 }
2024-10-16T07:47:18.641Z server-connect:output wait: undefined
2024-10-16T07:47:18.642Z server-connect:app Executing action step send
2024-10-16T07:47:18.643Z server-connect:app options: {
url: "{{$_ENV.currentHost+'data/meta/'+$_COOKIE.lang+'.json'}}",
dataType: 'json',
schema: [
{ type: 'object', name: 'data', sub: [Array] },
{ type: 'object', name: 'headers', sub: [Array] }
]
}
2024-10-16T07:47:39.615Z server-connect:router Serving templateView /
2024-10-16T07:47:39.616Z server-connect:app Executing action step wait
2024-10-16T07:47:39.617Z server-connect:app options: { delay: 500 }
2024-10-16T07:47:40.117Z server-connect:output wait: undefined
2024-10-16T07:47:40.118Z server-connect:app Executing action step send
2024-10-16T07:47:40.118Z server-connect:app options: {
url: "{{$_ENV.currentHost+'data/meta/'+$_COOKIE.lang+'.json'}}",
dataType: 'json',
schema: [
{ type: 'object', name: 'data', sub: [Array] },
{ type: 'object', name: 'headers', sub: [Array] }
]
}
2024-10-16T07:51:19.375Z server-connect:output api: undefined
2024-10-16T07:51:29.437Z server-connect:output api: undefined
2024-10-16T08:08:36.239Z server-connect:router Serving templateView /
2024-10-16T08:08:36.240Z server-connect:app Executing action step wait
2024-10-16T08:08:36.240Z server-connect:app options: { delay: 500 }
2024-10-16T08:08:36.739Z server-connect:output wait: undefined
2024-10-16T08:08:36.740Z server-connect:app Executing action step send
2024-10-16T08:08:36.740Z server-connect:app options: {
url: "{{$_ENV.currentHost+'data/meta/'+$_COOKIE.lang+'.json'}}",
dataType: 'json',
schema: [
{ type: 'object', name: 'data', sub: [Array] },
{ type: 'object', name: 'headers', sub: [Array] }
]
}
2024-10-16T08:13:45.418Z server-connect:setup:config {
port: '3000',
debug: true,
secret: 'N67X9UUyJGqcTBA',
tmpFolder: '/home/brainpod/nodejsapp/tmp',
abortOnDisconnect: false,
createApiRoutes: true,
compression: true,
redis: false,
cron: true,
static: { index: false },
session: {
name: 'brainpod_debsite.sid',
resave: false,
saveUninitialized: false,
store: { '$type': 'memory', ttl: 86400 }
},
cors: { origin: false, methods: 'GET,POST', credentials: true },
csrf: { enabled: false, exclude: 'GET,HEAD,OPTIONS' },
rateLimit: {
enabled: false,
duration: 60,
points: 100,
private: { provider: '', duration: 60, points: 1000 }
},
globals: {},
rateLimiter: {},
mail: {},
auth: {},
oauth: {},
db: {},
s3: {},
jwt: {},
stripe: {},
env: {
currentHost: 'https://brainpod.azurewebsites.net/',
logoPath: 'https://brainpod.azurewebsites.net/assets/images/logo/logo-email.svg'
}
}
2024-10-16T08:13:45.846Z server-connect:setup:session init session store { '$type': 'memory', ttl: 86400 }
2024-10-16T08:13:45.874Z server-connect:setup:upload Upload middleware configured.
2024-10-16T08:13:45.875Z server-connect:secure CSRF Protection initialized
2024-10-16T08:13:45.879Z server-connect:setup:routes Api route /api/become-partner(.json)? created
2024-10-16T08:13:45.879Z server-connect:setup:routes Api route /api/contact-dealer(.json)? created
2024-10-16T08:13:45.880Z server-connect:setup:routes Api route /api/contact(.json)? created
2024-10-16T08:13:45.881Z server-connect:setup:routes Api route /api/meta-data(.json)? created
2024-10-16T08:13:45.882Z server-connect:setup:routes Api route /api/order(.json)? created
2024-10-16T08:13:45.883Z server-connect:setup:routes Api route /api/test(.json)? created
2024-10-16T08:13:45.981Z server-connect:router Serving templateView /
2024-10-16T08:13:45.985Z server-connect:app Executing action step wait
2024-10-16T08:13:45.986Z server-connect:app options: { delay: 500 }
2024-10-16T08:13:46.488Z server-connect:output wait: undefined
2024-10-16T08:13:46.493Z server-connect:app Executing action step send
2024-10-16T08:13:46.494Z server-connect:app options: {
url: "{{$_ENV.currentHost+'data/meta/'+$_COOKIE.lang+'.json'}}",
dataType: 'json',
schema: [
{ type: 'object', name: 'data', sub: [Array] },
{ type: 'object', name: 'headers', sub: [Array] }
]
}
2024-10-16T08:13:47.272Z server-connect:output api: undefined