i am newbie to erpnext, using Ubuntu 20.04.1 LTS
i could not found the main problem with installation i am running bench start
command and this is the output i am getting.
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
18:06:26 system | redis_cache.1 started (pid=109888)
18:06:26 system | redis_socketio.1 started (pid=109890)
18:06:26 redis_cache.1 | 109891:C 15 Sep 2020 18:06:26.648 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
18:06:26 redis_cache.1 | 109891:C 15 Sep 2020 18:06:26.648 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=109891, just started
18:06:26 redis_cache.1 | 109891:C 15 Sep 2020 18:06:26.648 # Configuration loaded
18:06:26 redis_socketio.1 | 109895:C 15 Sep 2020 18:06:26.648 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
18:06:26 redis_socketio.1 | 109895:C 15 Sep 2020 18:06:26.648 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=109895, just started
18:06:26 redis_socketio.1 | 109895:C 15 Sep 2020 18:06:26.648 # Configuration loaded
18:06:26 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:26.649 * Increased maximum number of open files to 10032 (it was originally set to 1024).
18:06:26 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:26.649 * Running mode=standalone, port=12000.
18:06:26 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:26.649 # Server initialized
18:06:26 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:26.649 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
18:06:26 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:26.649 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
18:06:26 redis_cache.1 | 109891:M 15 Sep 2020 18:06:26.648 * Increased maximum number of open files to 10032 (it was originally set to 1024).
18:06:26 redis_cache.1 | 109891:M 15 Sep 2020 18:06:26.649 * Running mode=standalone, port=13000.
18:06:26 redis_cache.1 | 109891:M 15 Sep 2020 18:06:26.649 # Server initialized
18:06:26 redis_cache.1 | 109891:M 15 Sep 2020 18:06:26.649 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
18:06:26 redis_cache.1 | 109891:M 15 Sep 2020 18:06:26.649 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
18:06:26 redis_cache.1 | 109891:M 15 Sep 2020 18:06:26.649 * Ready to accept connections
18:06:26 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:26.649 * Ready to accept connections
/usr/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn’t supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, ‘rb’, bufsize)
18:06:26 system | redis_queue.1 started (pid=109894)
18:06:26 redis_queue.1 | 109899:C 15 Sep 2020 18:06:26.650 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
18:06:26 redis_queue.1 | 109899:C 15 Sep 2020 18:06:26.650 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=109899, just started
18:06:26 redis_queue.1 | 109899:C 15 Sep 2020 18:06:26.650 # Configuration loaded
18:06:26 redis_queue.1 | 109899:M 15 Sep 2020 18:06:26.650 * Increased maximum number of open files to 10032 (it was originally set to 1024).
18:06:26 system | watch.1 started (pid=109902)
18:06:26 redis_queue.1 | 109899:M 15 Sep 2020 18:06:26.651 * Running mode=standalone, port=11000.
18:06:26 redis_queue.1 | 109899:M 15 Sep 2020 18:06:26.651 # Server initialized
18:06:26 redis_queue.1 | 109899:M 15 Sep 2020 18:06:26.651 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
18:06:26 redis_queue.1 | 109899:M 15 Sep 2020 18:06:26.651 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
18:06:26 redis_queue.1 | 109899:M 15 Sep 2020 18:06:26.651 * Ready to accept connections
18:06:26 system | worker_short.1 started (pid=109914)
18:06:26 system | web.1 started (pid=109915)
18:06:26 system | worker_long.1 started (pid=109922)
18:06:26 system | worker_default.1 started (pid=109923)
18:06:26 system | socketio.1 started (pid=109905)
18:06:26 system | schedule.1 started (pid=109904)
18:06:26 socketio.1 | listening on *: 9000
18:06:27 schedule.1 | WARN: bench is installed in editable mode!
18:06:27 schedule.1 |
18:06:27 schedule.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
18:06:27 schedule.1 |
18:06:27 watch.1 | WARN: bench is installed in editable mode!
18:06:27 watch.1 |
18:06:27 watch.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
18:06:27 watch.1 |
18:06:27 web.1 | WARN: bench is installed in editable mode!
18:06:27 web.1 |
18:06:27 web.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
18:06:27 web.1 |
18:06:28 web.1 | Traceback (most recent call last):
18:06:28 web.1 | File “/usr/lib/python3.8/runpy.py”, line 193, in _run_module_as_main
18:06:28 web.1 | return _run_code(code, main_globals, None,
18:06:28 web.1 | File “/usr/lib/python3.8/runpy.py”, line 86, in _run_code
18:06:28 web.1 | exec(code, run_globals)
18:06:28 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 99, in
18:06:28 web.1 | main()
18:06:28 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
18:06:28 web.1 | click.Group(commands=commands)(prog_name=‘bench’)
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 764, in call
18:06:28 web.1 | return self.main(*args, **kwargs)
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 717, in main
18:06:28 web.1 | rv = self.invoke(ctx)
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
18:06:28 web.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
18:06:28 web.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 956, in invoke
18:06:28 web.1 | return ctx.invoke(self.callback, **ctx.params)
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/core.py”, line 555, in invoke
18:06:28 web.1 | return callback(*args, **kwargs)
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/click/decorators.py”, line 17, in new_func
18:06:28 web.1 | return f(get_current_context(), *args, **kwargs)
18:06:28 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/init.py”, line 26, in _func
18:06:28 web.1 | ret = f(frappe._dict(ctx.obj), *args, **kwargs)
18:06:28 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 570, in serve
18:06:28 web.1 | frappe.app.serve(port=port, profile=profile, no_reload=no_reload, no_threading=no_threading, site=site, sites_path=‘.’)
18:06:28 web.1 | File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 255, in serve
18:06:28 web.1 | run_simple(‘0.0.0.0’, int(port), application,
18:06:28 web.1 | File “/home/frappe/frappe-bench/env/lib/python3.8/site-packages/werkzeug/serving.py”, line 990, in run_simple
18:06:28 web.1 | s.bind(server_address)
18:06:28 web.1 | OSError: [Errno 98] Address already in use
18:06:28 system | web.1 stopped (rc=1)
18:06:28 system | sending SIGTERM to redis_cache.1 (pid 109888)
18:06:28 system | sending SIGTERM to redis_socketio.1 (pid 109890)
18:06:28 system | sending SIGTERM to redis_queue.1 (pid 109894)
18:06:28 system | sending SIGTERM to socketio.1 (pid 109905)
18:06:28 system | sending SIGTERM to watch.1 (pid 109902)
18:06:28 system | sending SIGTERM to schedule.1 (pid 109904)
18:06:28 system | sending SIGTERM to worker_short.1 (pid 109914)
18:06:28 system | sending SIGTERM to worker_long.1 (pid 109922)
18:06:28 system | sending SIGTERM to worker_default.1 (pid 109923)
18:06:28 redis_cache.1 | 109891:signal-handler (1600175188) Received SIGTERM scheduling shutdown…
18:06:28 redis_queue.1 | 109899:signal-handler (1600175188) Received SIGTERM scheduling shutdown…
18:06:28 system | worker_default.1 stopped (rc=-15)
18:06:28 redis_socketio.1 | 109895:signal-handler (1600175188) Received SIGTERM scheduling shutdown…
18:06:28 system | worker_long.1 stopped (rc=-15)
18:06:28 system | worker_short.1 stopped (rc=-15)
18:06:28 system | watch.1 stopped (rc=-15)
18:06:28 system | socketio.1 stopped (rc=-15)
18:06:28 system | schedule.1 stopped (rc=-15)
18:06:28 redis_cache.1 | 109891:M 15 Sep 2020 18:06:28.152 # User requested shutdown…
18:06:28 redis_cache.1 | 109891:M 15 Sep 2020 18:06:28.152 * Removing the pid file.
18:06:28 redis_cache.1 | 109891:M 15 Sep 2020 18:06:28.152 # Redis is now ready to exit, bye bye…
18:06:28 redis_queue.1 | 109899:M 15 Sep 2020 18:06:28.152 # User requested shutdown…
18:06:28 redis_queue.1 | 109899:M 15 Sep 2020 18:06:28.153 * Removing the pid file.
18:06:28 redis_queue.1 | 109899:M 15 Sep 2020 18:06:28.153 # Redis is now ready to exit, bye bye…
18:06:28 system | redis_cache.1 stopped (rc=-15)
18:06:28 system | redis_queue.1 stopped (rc=-15)
18:06:28 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:28.156 # User requested shutdown…
18:06:28 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:28.156 * Removing the pid file.
18:06:28 redis_socketio.1 | 109895:M 15 Sep 2020 18:06:28.156 # Redis is now ready to exit, bye bye…
18:06:28 system | redis_socketio.1 stopped (rc=-15)
can anyone tell me what is the issue with this.