during the installation following the procedure
computingforgeeks.com/how-to-install-eàrpnext-erp-system-on-ubuntu/
at the step bench start
i had an error 404 at 0.0.0.0:8000
how to fixed it ?
if i go ahead with the command : $ sudo bench setup production erpnext
i got the error : sudo: bench : commande introuvable (command not found)
how to fix it ?
the detail below of the result of the command :
bench start
erpnext@erpfr-VirtualBox:/srv/bench/erpnext/sites/ECERPNext.com$
bench start
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)
/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)
14:15:43 system | redis_cache.1 started (pid=9735)
14:15:43 redis_cache.1 | 9738:C 30 Apr 2021 14:15:43.085 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14:15:43 redis_cache.1 | 9738:C 30 Apr 2021 14:15:43.085 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=9738, just started
14:15:43 redis_cache.1 | 9738:C 30 Apr 2021 14:15:43.085 # Configuration loaded
14:15:43 redis_cache.1 | 9738:M 30 Apr 2021 14:15:43.087 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:15:43 redis_cache.1 | 9738:M 30 Apr 2021 14:15:43.088 * Running mode=standalone, port=13000.
14:15:43 redis_cache.1 | 9738:M 30 Apr 2021 14:15:43.088 # Server initialized
14:15:43 redis_cache.1 | 9738:M 30 Apr 2021 14:15:43.088 # 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.
14:15:43 redis_cache.1 | 9738:M 30 Apr 2021 14:15:43.088 # 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.
14:15:43 redis_cache.1 | 9738:M 30 Apr 2021 14:15:43.088 * Ready to accept connections
14:15:43 system | redis_socketio.1 started (pid=9734)
14:15:43 redis_socketio.1 | 9749:C 30 Apr 2021 14:15:43.108 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14:15:43 redis_socketio.1 | 9749:C 30 Apr 2021 14:15:43.108 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=9749, just started
14:15:43 redis_socketio.1 | 9749:C 30 Apr 2021 14:15:43.108 # Configuration loaded
14:15:43 system | redis_queue.1 started (pid=9736)
14:15:43 redis_queue.1 | 9739:C 30 Apr 2021 14:15:43.079 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14:15:43 redis_queue.1 | 9739:C 30 Apr 2021 14:15:43.079 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=9739, just started
14:15:43 redis_queue.1 | 9739:C 30 Apr 2021 14:15:43.079 # Configuration loaded
14:15:43 redis_queue.1 | 9739:M 30 Apr 2021 14:15:43.090 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:15:43 redis_queue.1 | 9739:M 30 Apr 2021 14:15:43.091 * Running mode=standalone, port=11000.
14:15:43 redis_queue.1 | 9739:M 30 Apr 2021 14:15:43.091 # Server initialized
14:15:43 redis_queue.1 | 9739:M 30 Apr 2021 14:15:43.091 # 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.
14:15:43 redis_queue.1 | 9739:M 30 Apr 2021 14:15:43.091 # 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.
14:15:43 redis_queue.1 | 9739:M 30 Apr 2021 14:15:43.092 * Ready to accept connections
14:15:43 system | web.1 started (pid=9737)
14:15:43 redis_socketio.1 | 9749:M 30 Apr 2021 14:15:43.122 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:15:43 redis_socketio.1 | 9749:M 30 Apr 2021 14:15:43.123 * Running mode=standalone, port=12000.
/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)
14:15:43 redis_socketio.1 | 9749:M 30 Apr 2021 14:15:43.123 # Server initialized
14:15:43 redis_socketio.1 | 9749:M 30 Apr 2021 14:15:43.123 # 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.
14:15:43 redis_socketio.1 | 9749:M 30 Apr 2021 14:15:43.123 # 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.
14:15:43 redis_socketio.1 | 9749:M 30 Apr 2021 14:15:43.123 * Ready to accept connections
14:15:43 system | socketio.1 started (pid=9743)
14:15:43 system | schedule.1 started (pid=9766)
14:15:43 system | watch.1 started (pid=9765)
14:15:43 system | worker_short.1 started (pid=9767)
14:15:43 system | worker_long.1 started (pid=9768)
14:15:43 system | worker_default.1 started (pid=9777)
14:15:46 web.1 | WARN: bench is installed in editable mode!
14:15:46 web.1 |
14:15:46 web.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
14:15:46 web.1 |
14:15:46 schedule.1 | WARN: bench is installed in editable mode!
14:15:46 schedule.1 |
14:15:46 schedule.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
14:15:46 schedule.1 |
14:15:46 watch.1 | WARN: bench is installed in editable mode!
14:15:46 watch.1 |
14:15:46 watch.1 | This is not the recommended mode of installation for production. Instead, install the package from PyPI with: pip install frappe-bench
14:15:46 watch.1 |
14:15:48 socketio.1 | listening on *: 9000
14:15:51 web.1 | * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
14:15:51 web.1 | * Restarting with inotify reloader
14:15:51 watch.1 | yarn run v1.22.10
14:15:51 watch.1 | $ node rollup/watch.js
14:15:53 web.1 | * Debugger is active!
14:15:53 web.1 | * Debugger PIN: 120-371-297
14:15:58 watch.1 |
14:15:58 watch.1 | Rollup Watcher Started
14:15:58 watch.1 |
14:15:58 watch.1 | Watching…
14:16:09 watch.1 | Rebuilding frappe-web-b4.css
14:16:12 watch.1 | Rebuilding frappe-chat-web.css
14:16:12 watch.1 | Rebuilding chat.js
14:16:21 watch.1 | Rebuilding frappe-recorder.min.js
14:16:36 watch.1 | Rebuilding checkout.min.js
14:16:36 watch.1 | Rebuilding frappe-web.min.js
14:16:49 watch.1 | Rebuilding bootstrap-4-web.min.js
14:16:54 watch.1 | Rebuilding control.min.js
14:17:25 watch.1 | Rebuilding dialog.min.js
14:17:37 watch.1 | Rebuilding desk.min.css
14:17:38 watch.1 | Rebuilding frappe-rtl.css
14:17:40 watch.1 | Rebuilding printview.css
14:17:40 watch.1 | Rebuilding desk.min.js
14:18:20 watch.1 | Rebuilding form.min.js
14:18:49 watch.1 | Rebuilding list.min.js
14:18:54 watch.1 | Rebuilding report.min.css
14:18:54 watch.1 | Rebuilding report.min.js
14:19:01 watch.1 | Rebuilding web_form.min.js
14:19:01 watch.1 | Rebuilding web_form.css
14:19:02 watch.1 | Rebuilding email.css
14:19:02 watch.1 | Rebuilding barcode_scanner.min.js
14:19:11 watch.1 | Rebuilding user_profile_controller.min.js
14:19:12 watch.1 | Rebuilding login.css
14:19:12 watch.1 | Rebuilding data_import_tools.min.js
14:19:46 web.1 | 127.0.0.1 - - [30/Apr/2021 14:19:46] “GET / HTTP/1.1” 404 -
14:19:47 web.1 | 127.0.0.1 - - [30/Apr/2021 14:19:47] “GET /favicon.ico HTTP/1.1” 404 -
14:20:00 web.1 | 127.0.0.1 - - [30/Apr/2021 14:20:00] “GET / HTTP/1.1” 404 -
14:20:00 web.1 | 127.0.0.1 - - [30/Apr/2021 14:20:00] “GET /favicon.ico HTTP/1.1” 404 -
14:21:30 web.1 | 127.0.0.1 - - [30/Apr/2021 14:21:30] “GET / HTTP/1.1” 404 -
14:21:30 web.1 | 127.0.0.1 - - [30/Apr/2021 14:21:30] “GET /favicon.ico HTTP/1.1” 404 -
14:27:06 web.1 | 127.0.0.1 - - [30/Apr/2021 14:27:06] “GET / HTTP/1.1” 404 -
14:27:07 web.1 | 127.0.0.1 - - [30/Apr/2021 14:27:07] “GET /favicon.ico HTTP/1.1” 404 -