@girish Sure.
Oct 27 06:56:48 localhost systemd[1]: Dependency failed for Cloudron Syslog.
Oct 27 06:56:48 localhost systemd[1]: cloudron-syslog.service: Job cloudron-syslog.service/start failed with result 'dependency'.
Now, node_modules
was missing from the yellowtent/box
folder, so I just recently ran npm install
, which should have reinstalled all of the node_modules
inside of yellowtent/box
.
journalctl
on the other hand is returning:
Oct 27 06:34:46 localhost box.js[914671]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Oct 27 06:34:46 localhost box.js[914671]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Oct 27 06:34:46 localhost box.js[914671]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Oct 27 06:34:46 localhost box.js[914671]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
Oct 27 06:34:46 localhost box.js[914671]: code: 'MODULE_NOT_FOUND',
Oct 27 06:34:46 localhost box.js[914671]: requireStack: [
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/src/database.js',
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/src/addonconfigs.js',
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/src/ldap.js',
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/box.js'
Oct 27 06:34:46 localhost box.js[914671]: ]
Oct 27 06:34:46 localhost box.js[914671]: }
Oct 27 06:34:46 localhost systemd[1]: box.service: Main process exited, code=exited, status=1/FAILURE
Oct 27 06:34:46 localhost systemd[1]: box.service: Failed with result 'exit-code'.
Oct 27 06:34:46 localhost systemd[1]: box.service: Scheduled restart job, restart counter is at 124907.
Oct 27 06:34:46 localhost systemd[1]: Stopped Cloudron Admin.
Oct 27 06:34:46 localhost systemd[1]: Started Cloudron Admin.
Oct 27 06:34:46 localhost box.js[914679]: node:internal/modules/cjs/loader:988
Oct 27 06:34:46 localhost box.js[914679]: throw err;
Oct 27 06:34:46 localhost box.js[914679]: ^
Oct 27 06:34:46 localhost box.js[914679]: Error: Cannot find module 'async'
Oct 27 06:34:46 localhost box.js[914679]: Require stack:
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/src/database.js
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/src/addonconfigs.js
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/src/ldap.js
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/box.js
Oct 27 06:34:46 localhost box.js[914679]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
Oct 27 06:34:46 localhost box.js[914679]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
Oct 27 06:34:46 localhost box.js[914679]: at Module.require (node:internal/modules/cjs/loader:1057:19)
Oct 27 06:34:46 localhost box.js[914679]: at require (node:internal/modules/cjs/helpers:103:18)
Oct 27 06:34:46 localhost box.js[914679]: at Object.<anonymous> (/home/yellowtent/box/src/database.js:16:13)
Oct 27 06:34:46 localhost box.js[914679]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Oct 27 06:34:46 localhost box.js[914679]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
lines 1-34...skipping...
-- Logs begin at Fri 2023-10-27 06:34:46 UTC, end at Fri 2023-10-27 06:59:03 UTC. --
Oct 27 06:34:46 localhost box.js[914671]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Oct 27 06:34:46 localhost box.js[914671]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Oct 27 06:34:46 localhost box.js[914671]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Oct 27 06:34:46 localhost box.js[914671]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
Oct 27 06:34:46 localhost box.js[914671]: code: 'MODULE_NOT_FOUND',
Oct 27 06:34:46 localhost box.js[914671]: requireStack: [
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/src/database.js',
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/src/addonconfigs.js',
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/src/ldap.js',
Oct 27 06:34:46 localhost box.js[914671]: '/home/yellowtent/box/box.js'
Oct 27 06:34:46 localhost box.js[914671]: ]
Oct 27 06:34:46 localhost box.js[914671]: }
Oct 27 06:34:46 localhost systemd[1]: box.service: Main process exited, code=exited, status=1/FAILURE
Oct 27 06:34:46 localhost systemd[1]: box.service: Failed with result 'exit-code'.
Oct 27 06:34:46 localhost systemd[1]: box.service: Scheduled restart job, restart counter is at 124907.
Oct 27 06:34:46 localhost systemd[1]: Stopped Cloudron Admin.
Oct 27 06:34:46 localhost systemd[1]: Started Cloudron Admin.
Oct 27 06:34:46 localhost box.js[914679]: node:internal/modules/cjs/loader:988
Oct 27 06:34:46 localhost box.js[914679]: throw err;
Oct 27 06:34:46 localhost box.js[914679]: ^
Oct 27 06:34:46 localhost box.js[914679]: Error: Cannot find module 'async'
Oct 27 06:34:46 localhost box.js[914679]: Require stack:
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/src/database.js
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/src/addonconfigs.js
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/src/ldap.js
Oct 27 06:34:46 localhost box.js[914679]: - /home/yellowtent/box/box.js
Oct 27 06:34:46 localhost box.js[914679]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
Oct 27 06:34:46 localhost box.js[914679]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
Oct 27 06:34:46 localhost box.js[914679]: at Module.require (node:internal/modules/cjs/loader:1057:19)
Oct 27 06:34:46 localhost box.js[914679]: at require (node:internal/modules/cjs/helpers:103:18)
Oct 27 06:34:46 localhost box.js[914679]: at Object.<anonymous> (/home/yellowtent/box/src/database.js:16:13)
Oct 27 06:34:46 localhost box.js[914679]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
Oct 27 06:34:46 localhost box.js[914679]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
Oct 27 06:34:46 localhost box.js[914679]: at Module.load (node:internal/modules/cjs/loader:1033:32)
Oct 27 06:34:46 localhost box.js[914679]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Oct 27 06:34:46 localhost box.js[914679]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
Oct 27 06:34:46 localhost box.js[914679]: code: 'MODULE_NOT_FOUND',
Oct 27 06:34:46 localhost box.js[914679]: requireStack: [
Oct 27 06:34:46 localhost box.js[914679]: '/home/yellowtent/box/src/database.js',
Oct 27 06:34:46 localhost box.js[914679]: '/home/yellowtent/box/src/addonconfigs.js',
Oct 27 06:34:46 localhost box.js[914679]: '/home/yellowtent/box/src/ldap.js',
Oct 27 06:34:46 localhost box.js[914679]: '/home/yellowtent/box/box.js'
Oct 27 06:34:46 localhost box.js[914679]: ]
Oct 27 06:34:46 localhost box.js[914679]: }
When I go into node_moudles
now, async
is in there, so it's a bit surprising to me it is erroring out. Not quite sure why yet.