When i start bench using "bench start" command it will stop automatically with "events.js:141 throw er; // Unhandled 'error' event " error

Hello All,

i am new on erpnext.
I have one issue :confused:
when i start bench using “bench start” command my instance is automatically stop.
below is the Trace back.
Before start the bench i update bench setup using “bench update” command from frappe-bench directory.
can anyone help me to fix this issue ? :

15:41:42 watch.1 | events.js:141
15:41:42 watch.1 | throw er; // Unhandled ‘error’ event
15:41:42 watch.1 | ^
15:41:42 watch.1 |
15:41:42 watch.1 | Error: watch /home/serpentcs/ErpNext/frappe-bench/apps/erpnext/erpnext/public/js/schools/student_button.html ENOSPC
15:41:42 watch.1 | at exports._errnoException (util.js:870:11)
15:41:42 watch.1 | at FSWatcher.start (fs.js:1234:19)
15:41:42 watch.1 | at Object.fs.watch (fs.js:1262:11)
15:41:42 watch.1 | at createFsWatchInstance (/home/serpentcs/ErpNext/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:37:15)
15:41:42 watch.1 | at setFsWatchListener (/home/serpentcs/ErpNext/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:80:15)
15:41:42 watch.1 | at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/serpentcs/ErpNext/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:228:14)
15:41:42 watch.1 | at FSWatcher.NodeFsHandler._handleFile (/home/serpentcs/ErpNext/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:255:21)
15:41:42 watch.1 | at FSWatcher. (/home/serpentcs/ErpNext/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:473:21)
15:41:42 watch.1 | at FSReqWrap.oncomplete (fs.js:82:15)
15:41:42 system | watch.1 stopped (rc=0)
15:41:42 system | sending SIGTERM to redis_socketio.1 (pid 22034)

Looks like disk space problem.

2 Likes

@netchampfaris
Thanks for replying to me.
i just restart the system and free temp directory by stop unwanted services.
now its working.
Thank you :slight_smile:

1 Like