ERPNEXT 14 | Bitnami AMI | HRMS app crashes ERP

Hello
I have setup ERPNEXT 14 using ERPNext Public AMIs

I then connected using ssh and used the following commands

cd /opt/bitnami/erpnext/frappe-bench/sites/erpnext
bench get-app hrms
bench --site erpnext install-app hrms

The only error i received during the process is:
WARN: restart failed: Couldn't find supervisorctl in PATH

The app is now crashed - unable it to access it on the ip

Please help

Here is the terminal log

update 1:
installed supervisor
sudo apt-get -y install supervisor

restarted

 sudo -A systemctl restart supervisor

Still internal error showing and unable to access app via ip

update 2:
Bench restart throws error

bitnami@ip-172-31-4-29:/opt/bitnami/erpnext/frappe-bench/sites/erpnext$ bench restart
$ sudo supervisorctl restart frappe:
frappe: ERROR (no such group)
frappe: ERROR (no such group)
ERROR: 
subprocess.CalledProcessError: Command 'sudo supervisorctl restart frappe:' returned non-zero exit status 2.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/bitnami/erpnext/bin/bench", line 8, in <module>
    sys.exit(cli())
  File "/opt/bitnami/erpnext/bench/bench/cli.py", line 127, in cli
    bench_command()
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/bitnami/erpnext/bench/bench/commands/utils.py", line 41, in restart
    Bench(".").reload(web, supervisor, systemd)
  File "/opt/bitnami/erpnext/bench/bench/utils/render.py", line 126, in wrapper_fn
    return fn(*args, **kwargs)
  File "/opt/bitnami/erpnext/bench/bench/bench.py", line 151, in reload
    restart_supervisor_processes(bench_path=self.name, web_workers=web, _raise=_raise)
  File "/opt/bitnami/erpnext/bench/bench/utils/bench.py", line 321, in restart_supervisor_processes
    failure = bench.run(f"{sudo}supervisorctl restart {group}", _raise=_raise)
  File "/opt/bitnami/erpnext/bench/bench/bench.py", line 48, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
  File "/opt/bitnami/erpnext/bench/bench/utils/__init__.py", line 158, in exec_cmd
    raise CommandFailedError from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError