cloudron-syslog.service Failed
-
Another question... any easy way to figure out which version of Cloudron you had installed. I have figured out what the error is, and it might be resolved by a npm install... but it might not as well... so I figured I'd just get another Cloudron running and copy over some of the missing files.
-
@michaelpope said in cloudron-syslog.service Failed:
Another question... any easy way to figure out which version of Cloudron you had installed
The file
/home/yellowtent/box/VERSION
has it. -
Can you check the output of
journalctl -u cloudron-syslog
? -
@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 theyellowtent/box
folder, so I just recently rannpm install
, which should have reinstalled all of thenode_modules
inside ofyellowtent/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. -
This looks like something seriously wrong with
/home/yellowtent/box
(the cloudron source code). It's likenpm install
was never done or something. Might be best to reinstall from scratch (I know you have ben reporting various disk issues, maybe something got messed up). -
Hey all, reinstalled and then did a restore to fix things. Had a few trouble with restore, but was able to work them out. Also wrote a quick rsync command to take the emails from lost+found and restore them to their proper directories, so no emails lost :).
-
-