I get an error when bench start

I get an error when run: bench start like this
03:44:21 system | web.1 started (pid=3005)
03:44:21 system | socketio.1 started (pid=3008)
03:44:21 system | watch.1 started (pid=3012)
03:44:21 system | schedule.1 started (pid=3014)
03:44:21 system | worker.1 started (pid=3019)
03:44:27 socketio.1 | node:events:495
03:44:27 socketio.1 | throw er; // Unhandled ‘error’ event
03:44:27 socketio.1 | ^
03:44:27 socketio.1 |
03:44:27 socketio.1 | Error: getaddrinfo ENOTFOUND redis-socketio
03:44:27 socketio.1 | at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26)
03:44:27 socketio.1 | Emitted ‘error’ event on RedisClient instance at:
03:44:27 socketio.1 | at RedisClient.on_error (/workspace/development/frappe-bench/apps/frappe/node_modules/redis/index.js:342:14)
03:44:27 socketio.1 | at Socket. (/workspace/development/frappe-bench/apps/frappe/node_modules/redis/index.js:223:14)
03:44:27 socketio.1 | at Socket.emit (node:events:517:28)
03:44:27 socketio.1 | at emitErrorNT (node:internal/streams/destroy:151:8)
03:44:27 socketio.1 | at emitErrorCloseNT (node:internal/streams/destroy:116:3)
03:44:27 socketio.1 | at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
03:44:27 socketio.1 | errno: -3007,
03:44:27 socketio.1 | code: ‘ENOTFOUND’,
03:44:27 socketio.1 | syscall: ‘getaddrinfo’,
03:44:27 socketio.1 | hostname: ‘redis-socketio’
03:44:27 socketio.1 | }
03:44:27 socketio.1 |
03:44:27 socketio.1 | Node.js v18.18.2
03:44:27 system | socketio.1 stopped (rc=1)
03:44:27 system | sending SIGTERM to web.1 (pid 3005)
03:44:27 system | sending SIGTERM to watch.1 (pid 3012)
03:44:27 system | sending SIGTERM to schedule.1 (pid 3014)
03:44:27 system | sending SIGTERM to worker.1 (pid 3019)
03:44:27 system | worker.1 stopped (rc=-15)
03:44:27 system | web.1 stopped (rc=-15)
03:44:27 system | schedule.1 stopped (rc=-15)
03:44:27 system | watch.1 stopped (rc=-15)

can help me, please

Hi,
if you didn’t investigate deeper … maybe a got first try ist to make sure that the configuration is up to date? Something like that:

bench setup supervisor
supervisorctl reread
supervisorctl update
supervisorctl stop all
supervisorctl start all

Best regards
schmutzfuss

i was try: bench setup supervisor, but i get error like this
ERROR: supervisorctl not found in PATH
Traceback (most recent call last):
File “/home/frappe/.local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/home/frappe/.bench/bench/cli.py”, line 132, in cli
bench_command()
File “/home/frappe/.local/lib/python3.11/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/.local/lib/python3.11/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “/home/frappe/.local/lib/python3.11/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/.local/lib/python3.11/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/.local/lib/python3.11/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/.local/lib/python3.11/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/.bench/bench/commands/setup.py”, line 76, in setup_supervisor
which(“supervisorctl”, raise_err=True)
File “/home/frappe/.bench/bench/utils/init.py”, line 168, in which
raise FileNotFoundError(f"{executable} not found in PATH")
FileNotFoundError: supervisorctl not found in PATH

what is wrong?

sudo apt update && sudo apt install supervisor fix for me, thanks