bench start fail for new setup on completely new server…
i setup a development environment on a fresh server by the easy install ansible script…
and everything was setup smooth but on bench start
i get the following error and bench stops.
1:14:12 watch.1 | events.js:160
11:14:12 watch.1 | throw er; // Unhandled ‘error’ event
11:14:12 watch.1 | ^
11:14:12 watch.1 |
11:14:12 watch.1 | Error: watch /home/global/frappe-bench/apps/erpnext/erpnext/accounts/doctype/asset/depreciation.py ENOSPC
11:14:12 watch.1 | at exports._errnoException (util.js:1020:11)
11:14:12 watch.1 | at FSWatcher.start (fs.js:1451:19)
11:14:12 watch.1 | at Object.fs.watch (fs.js:1478:11)
11:14:12 watch.1 | at createFsWatchInstance (/home/global/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:37:15)
11:14:12 watch.1 | at setFsWatchListener (/home/global/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:80:15)
11:14:12 watch.1 | at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/global/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:228:14)
11:14:12 watch.1 | at FSWatcher.NodeFsHandler._handleFile (/home/global/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:255:21)
11:14:12 watch.1 | at FSWatcher. (/home/global/frappe-bench/node_modules/chokidar/lib/nodefs-handler.js:473:21)
11:14:12 watch.1 | at FSReqWrap.oncomplete (fs.js:123:15)
11:14:12 system | watch.1 stopped (rc=0)
11:14:12 system | sending SIGTERM to redis_socketio.1 (pid 9988)
11:14:12 system | sending SIGTERM to worker_long.1 (pid 9997)
11:14:12 system | sending SIGTERM to redis_queue.1 (pid 9993)
11:14:12 system | sending SIGTERM to web.1 (pid 9996)
11:14:12 system | sending SIGTERM to schedule.1 (pid 10006)
11:14:12 system | sending SIGTERM to worker_default.1 (pid 10009)
11:14:12 system | sending SIGTERM to socketio.1 (pid 10025)
11:14:12 system | sending SIGTERM to redis_cache.1 (pid 10008)
11:14:12 system | sending SIGTERM to worker_short.1 (pid 10011)
11:14:12 worker_default.1 | 11:14:12 Warm shut down requested
11:14:12 worker_default.1 | Traceback (most recent call last):
11:14:12 worker_default.1 | File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
11:14:12 system | socketio.1 stopped (rc=-15)
11:14:12 worker_default.1 | “main”, fname, loader, pkg_name)
11:14:12 worker_default.1 | File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
11:14:12 worker_default.1 | exec code in run_globals
11:14:12 worker_default.1 | File “/home/global/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 94, in
11:14:12 worker_default.1 | main()
11:14:12 worker_default.1 | File “/home/global/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
11:14:12 worker_default.1 | click.Group(commands=commands)(prog_name=‘bench’)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
11:14:12 worker_default.1 | return self.main(*args, **kwargs)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
11:14:12 worker_default.1 | rv = self.invoke(ctx)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
11:14:12 worker_default.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
11:14:12 worker_default.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
11:14:12 worker_default.1 | return ctx.invoke(self.callback, **ctx.params)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
11:14:12 worker_default.1 | return callback(*args, **kwargs)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/apps/frappe/frappe/commands/scheduler.py”, line 157, in start_worker
11:14:12 worker_default.1 | start_worker(queue)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 139, in start_worker
11:14:12 worker_default.1 | Worker(queues, name=get_worker_name(queue)).work()
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 485, in work
11:14:12 worker_long.1 | 11:14:12 Warm shut down requested
11:14:12 redis_queue.1 | [9999 | signal handler] (1510485252) Received SIGTERM, scheduling shutdown…
11:14:12 redis_queue.1 | [9999] 12 Nov 11:14:12.353 # User requested shutdown…
11:14:12 redis_queue.1 | [9999] 12 Nov 11:14:12.353 # Redis is now ready to exit, bye bye…
11:14:12 system | redis_queue.1 stopped (rc=-15)
11:14:12 worker_default.1 | self.register_death()
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py”, line 284, in register_death
11:14:12 worker_default.1 | p.execute()
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/redis/client.py”, line 2894, in execute
11:14:12 worker_default.1 | return execute(conn, stack, raise_on_error)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/redis/client.py”, line 2749, in _execute_transaction
11:14:12 worker_default.1 | connection.send_packed_command(all_cmds)
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/redis/connection.py”, line 585, in send_packed_command
11:14:12 worker_default.1 | self.connect()
11:14:12 worker_default.1 | File “/home/global/frappe-bench/env/local/lib/python2.7/site-packages/redis/connection.py”, line 489, in connect
11:14:12 worker_default.1 | raise ConnectionError(self._error_message(e))
11:14:12 worker_default.1 | redis.exceptions.ConnectionError: Error 111 connecting to localhost:11000. Connection refused.
11:14:12 worker_short.1 | 11:14:12 Warm shut down requested
11:14:12 redis_socketio.1 | [9998 | signal handler] (1510485252) Received SIGTERM, scheduling shutdown…
11:14:12 redis_socketio.1 | [9998] 12 Nov 11:14:12.354 # User requested shutdown…
11:14:12 redis_socketio.1 | [9998] 12 Nov 11:14:12.354 # Redis is now ready to exit, bye bye…
11:14:12 system | redis_socketio.1 stopped (rc=-15)
11:14:12 system | schedule.1 stopped (rc=-15)
11:14:12 redis_cache.1 | [10014 | signal handler] (1510485252) Received SIGTERM, scheduling shutdown…
11:14:12 redis_cache.1 | [10014] 12 Nov 11:14:12.387 # User requested shutdown…
11:14:12 redis_cache.1 | [10014] 12 Nov 11:14:12.387 # Redis is now ready to exit, bye bye…
11:14:12 system | redis_cache.1 stopped (rc=-15)
11:14:12 system | worker_default.1 stopped (rc=-15)
11:14:12 system | worker_long.1 stopped (rc=-15)
11:14:12 system | worker_short.1 stopped (rc=-15)
11:14:12 system | web.1 stopped (rc=-15)
i haven’t done anything on it .
whats the reason and how can i solve it.
Thanks