ERPNEXT 14 | Bitnami AMI | HRMS app crashes ERP

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


 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)
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>
  File "/opt/bitnami/erpnext/bench/bench/", line 127, in cli
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/", line 1055, in main
    rv = self.invoke(ctx)
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/bitnami/erpnext/venv/lib/python3.10/site-packages/click/", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/opt/bitnami/erpnext/bench/bench/commands/", line 41, in restart
    Bench(".").reload(web, supervisor, systemd)
  File "/opt/bitnami/erpnext/bench/bench/utils/", line 126, in wrapper_fn
    return fn(*args, **kwargs)
  File "/opt/bitnami/erpnext/bench/bench/", line 151, in reload
    restart_supervisor_processes(, web_workers=web, _raise=_raise)
  File "/opt/bitnami/erpnext/bench/bench/utils/", line 321, in restart_supervisor_processes
    failure ="{sudo}supervisorctl restart {group}", _raise=_raise)
  File "/opt/bitnami/erpnext/bench/bench/", line 48, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
  File "/opt/bitnami/erpnext/bench/bench/utils/", line 158, in exec_cmd
    raise CommandFailedError from subprocess.CalledProcessError(return_code, cmd)