Hi Community,
- I tried installing ERPNext referring Installation
2.Installation was successful but all tries to “bench start” result in the following error:
REQUESTING HELP to FIX this
21:25:49 system | redis_socketio.1 started (pid=10882)
21:25:49 redis_socketio.1 | 10886:C 24 Mar 2020 21:25:49.409 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
21:25:49 redis_socketio.1 | 10886:C 24 Mar 2020 21:25:49.409 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=10886, just started
21:25:49 redis_socketio.1 | 10886:C 24 Mar 2020 21:25:49.410 # Configuration loaded
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.411 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.411 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.411 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.412 * Running mode=standalone, port=12000.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.412 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.412 # Server initialized
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.412 # 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.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.412 # 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.
21:25:49 redis_socketio.1 | 10886:M 24 Mar 2020 21:25:49.412 * Ready to accept connections
21:25:49 system | watch.1 started (pid=10892)
21:25:49 system | redis_queue.1 started (pid=10891)
21:25:49 redis_queue.1 | 10894:C 24 Mar 2020 21:25:49.423 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
21:25:49 redis_queue.1 | 10894:C 24 Mar 2020 21:25:49.423 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=10894, just started
21:25:49 redis_queue.1 | 10894:C 24 Mar 2020 21:25:49.423 # Configuration loaded
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.428 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.428 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.428 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.428 * Running mode=standalone, port=11000.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.429 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.429 # Server initialized
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.429 # 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.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.429 # 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.
21:25:49 redis_queue.1 | 10894:M 24 Mar 2020 21:25:49.429 * Ready to accept connections
21:25:49 system | web.1 started (pid=10908)
21:25:49 system | worker_default.1 started (pid=10893)
21:25:49 system | worker_long.1 started (pid=10898)
21:25:49 system | schedule.1 started (pid=10902)
21:25:49 system | socketio.1 started (pid=10909)
21:25:49 system | worker_short.1 started (pid=10918)
21:25:49 system | redis_cache.1 started (pid=10915)
21:25:49 redis_cache.1 | 10922:C 24 Mar 2020 21:25:49.559 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
21:25:49 redis_cache.1 | 10922:C 24 Mar 2020 21:25:49.559 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=10922, just started
21:25:49 redis_cache.1 | 10922:C 24 Mar 2020 21:25:49.559 # Configuration loaded
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.560 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.560 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.560 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.561 * Running mode=standalone, port=13000.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.561 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.561 # Server initialized
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.561 # 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.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.561 # 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.
21:25:49 redis_cache.1 | 10922:M 24 Mar 2020 21:25:49.561 * Ready to accept connections
21:25:55 socketio.1 | listening on *: 9000
21:26:03 web.1 | * Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
21:26:03 web.1 | * Restarting with inotify reloader
21:26:04 watch.1 | yarn run v1.22.4
21:26:04 watch.1 | $ node rollup/watch.js
21:26:05 web.1 | * Debugger is active!
21:26:05 web.1 | * Debugger PIN: 303-908-627
21:26:23 watch.1 |
21:26:23 watch.1 | Rollup Watcher Started
Watching…
21:26:27 watch.1 | Error in: undefined
21:26:27 watch.1 | Error: watch /home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/public/less/variables.less ENOSPC
21:27:03 schedule.1 | Traceback (most recent call last):
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 45, in enqueue_events_for_all_sites
21:27:03 schedule.1 | enqueue_events_for_site(site=site)
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 71, in enqueue_events_for_site
21:27:03 schedule.1 | log_and_raise()
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 59, in enqueue_events_for_site
21:27:03 schedule.1 | if is_scheduler_inactive():
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 92, in is_scheduler_inactive
21:27:03 schedule.1 | if is_scheduler_disabled():
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 101, in is_scheduler_disabled
21:27:03 schedule.1 | return not frappe.utils.cint(frappe.db.get_single_value(“System Settings”, “enable_scheduler”))
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/database/database.py”, line 553, in get_single_value
21:27:03 schedule.1 | tabSingles
where doctype
=%s and field
=%s"“”, (doctype, fieldname))
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/apps/frappe/frappe/database/database.py”, line 156, in sql
21:27:03 schedule.1 | self._cursor.execute(query, values)
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/cursors.py”, line 170, in execute
21:27:03 schedule.1 | result = self._query(query)
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/cursors.py”, line 328, in _query
21:27:03 schedule.1 | conn.query(q)
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/connections.py”, line 517, in query
21:27:03 schedule.1 | self._affected_rows = self._read_query_result(unbuffered=unbuffered)
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/connections.py”, line 732, in _read_query_result
21:27:03 schedule.1 | result.read()
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/connections.py”, line 1075, in read
21:27:03 schedule.1 | first_packet = self.connection._read_packet()
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/connections.py”, line 684, in _read_packet
21:27:03 schedule.1 | packet.check_error()
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/protocol.py”, line 220, in check_error
21:27:03 schedule.1 | err.raise_mysql_exception(self._data)
21:27:03 schedule.1 | File “/home/rajat/sts/frappe-bench/frappe-bench/frappe-bench/env/lib/python3.6/site-packages/pymysql/err.py”, line 109, in raise_mysql_exception
21:27:03 schedule.1 | raise errorclass(errno, errval)
21:27:03 schedule.1 | pymysql.err.ProgrammingError: (1146, “Table ‘_1bd3e0294da19198.tabSingles’ doesn’t exist”)
21:27:03 schedule.1 |