Erpnext Bench start don't work

Here Erpnex .13 on wls2

This is the log:
~/frappe-bench$ 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)
16:57:36 system           | redis_queue.1 started (pid=373)
16:57:36 system           | redis_socketio.1 started (pid=371)
/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)
16:57:36 system           | redis_cache.1 started (pid=372)
16:57:36 system           | watch.1 started (pid=384)
16:57:36 system           | socketio.1 started (pid=376)
/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)
16:57:36 system           | web.1 started (pid=374)
16:57:36 system           | worker_long.1 started (pid=392)
16:57:36 system           | worker_short.1 started (pid=390)
16:57:36 worker_long.1    | /bin/sh: 1: cannot create logs/worker.log: Permission denied
16:57:36 worker_short.1   | /bin/sh: 1: cannot create logs/worker.log: Permission denied
16:57:36 system           | worker_long.1 stopped (rc=2)
16:57:36 system           | worker_short.1 stopped (rc=2)
16:57:36 system           | worker_default.1 started (pid=397)
16:57:36 worker_default.1 | /bin/sh: 1: cannot create logs/worker.log: Permission denied
16:57:36 system           | worker_default.1 stopped (rc=2)
16:57:36 system           | schedule.1 started (pid=394)
16:57:36 system           | sending SIGTERM to redis_cache.1 (pid 372)
16:57:36 system           | sending SIGTERM to redis_socketio.1 (pid 371)
16:57:36 system           | sending SIGTERM to redis_queue.1 (pid 373)
16:57:36 system           | sending SIGTERM to web.1 (pid 374)
16:57:36 system           | sending SIGTERM to socketio.1 (pid 376)
16:57:36 system           | sending SIGTERM to watch.1 (pid 384)
16:57:36 system           | sending SIGTERM to schedule.1 (pid 394)
16:57:36 system           | redis_socketio.1 stopped (rc=-15)
16:57:36 system           | redis_cache.1 stopped (rc=-15)
16:57:36 system           | redis_queue.1 stopped (rc=-15)
16:57:36 system           | schedule.1 stopped (rc=-15)
16:57:36 system           | socketio.1 stopped (rc=-15)
16:57:36 system           | web.1 stopped (rc=-15)
16:57:36 system           | watch.1 stopped (rc=-15)

Any suggestion?

resolved removing logs.

Please, Can you elaborate?

I’ve forced deleting the “worker” logs in frappe-bench/logs/ , those are in write-protected mode.
This help for the first start.
I had encountered other problems with maria-db. Really actually I’ve gived up with erpnext. Too many problems, and i don’t want something unstable as erp of my startup.

1 Like