First time installaiton, Stuck on a command

Hello,

We are tyring to install bench, as per the instructions given on Installation.

But the installation is stuck on the following command

ff@frappe:~$ bench init frappe-bench
Setting Up Environment
$ python3 -m venv env
$ /home/ff/frappe-bench/env/bin/python -m pip install --quiet --upgrade pip
$ /home/ff/frappe-bench/env/bin/python -m pip install --quiet wheel
Getting frappe
$ git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --depth 1 --origin upstream
Cloning into ‘frappe’…
remote: Enumerating objects: 3247, done.
remote: Counting objects: 100% (3247/3247), done.
remote: Compressing objects: 100% (2812/2812), done.
remote: Total 3247 (delta 501), reused 1595 (delta 341), pack-reused 0 (from 0)
Receiving objects: 100% (3247/3247), 11.46 MiB | 24.40 MiB/s, done.
Resolving deltas: 100% (501/501), done.
Installing frappe
$ /home/ff/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/ff/frappe-bench/apps/frappe
$ yarn install --check-files
yarn install v1.22.22
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
[4/5] Linking dependencies…
warning " > @frappe/esbuild-plugin-postcss2@0.1.3" has unmet peer dependency “less@^4.x”.
warning " > @frappe/esbuild-plugin-postcss2@0.1.3" has unmet peer dependency “stylus@^0.x”.
warning " > @vue/component-compiler@4.2.4" has unmet peer dependency “vue-template-compiler@*”.
[5/5] Building fresh packages…
Done in 24.12s.
Found existing apps updating states…
$ sudo supervisorctl restart frappe:
frappe: started
$ bench build
Assets for Commit 1d0f15033a74bdbf99576dfbb4ae32d9fb57826e don’t exist
:heavy_check_mark: Application Assets Linked

yarn run v1.22.22
$ node esbuild --production --run-build-command
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config

if I abort, the bench installtion is incomplete.

not sure how to proceed

after aborting getting the error!!

Assets for Commit 1d0f15033a74bdbf99576dfbb4ae32d9fb57826e don’t exist
:heavy_check_mark: Application Assets Linked

yarn run v1.22.22
$ node esbuild --production --run-build-command
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
^C
Aborted!
ff@frappe:~$ bench init frappe-bench --frappe-branch version-15
ERROR: Bench instance already exists at frappe-bench
ff@frappe:~$ cd frappe-bench/
ff@frappe:~/frappe-bench$ bench start
ERROR: No process manager found
Traceback (most recent call last):
File “/home/ff/.local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/bench/cli.py”, line 132, in cli
bench_command()
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/bench/commands/utils.py”, line 22, in start
start(
File “/home/ff/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/bench/utils/system.py”, line 152, in start
raise Exception(“No process manager found”)
Exception: No process manager found
ff@frappe:~/frappe-bench$

Check the step:

I have followed these instructions’. All the commands are the same.
I am wondering why is it stuck and not moving forward.

Should I Abort? clean up everything…?

Yes … Follow the @karanigk step!

Followed all instructions

still stuck at the same place!!
Getting frappe
$ git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --branch version-15 --depth 1 --origin upstream
Cloning into ‘frappe’…
remote: Enumerating objects: 3316, done.
remote: Counting objects: 100% (3316/3316), done.
remote: Compressing objects: 100% (2990/2990), done.
remote: Total 3316 (delta 422), reused 1500 (delta 213), pack-reused 0 (from 0)
Receiving objects: 100% (3316/3316), 15.81 MiB | 12.14 MiB/s, done.
Resolving deltas: 100% (422/422), done.
Installing frappe
$ /home/ff/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/ff/frappe-bench/apps/frappe
$ yarn install --check-files
yarn install v1.22.22
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
[4/5] Linking dependencies…
warning " > @frappe/esbuild-plugin-postcss2@0.1.3" has unmet peer dependency “less@^4.x”.
warning " > @frappe/esbuild-plugin-postcss2@0.1.3" has unmet peer dependency “stylus@^0.x”.
warning " > @vue/component-compiler@4.2.4" has unmet peer dependency “vue-template-compiler@*”.
[5/5] Building fresh packages…
Done in 16.67s.
Found existing apps updating states…
$ sudo supervisorctl restart frappe:
frappe: stopped
frappe: started
$ bench build
Assets for Release v15.39.0 don’t exist
:heavy_check_mark: Application Assets Linked

yarn run v1.22.22
$ node esbuild --production --run-build-command

Thank you @madhusona ,

This looks like an amazing process that shortens the entire installation .
Unfortunatly its stuck at the same location I was earlier.

The project needs your help! Please consider supporting core-js:

https://opencollective.com/core-js
https://patreon.com/zloirock
[1/5] ⠠ vue-demi
[2/5] ⠠ esbuild
[1/5] ⠐ vue-demi
[2/5] ⠐ esbuild
Done in 68.89s.
Found existing apps updating states…
WARN: restart failed: Couldn’t find supervisorctl in PATH
$ bench build
Assets for Release v15.39.0 don’t exist
:heavy_check_mark: Application Assets Linked

yarn run v1.22.22
$ node esbuild --production --run-build-command
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config

made some headway, installed supervisorctl.

compiling translations for erpnext
$ sudo supervisorctl restart frappe:
frappe: ERROR (no such group)
frappe: ERROR (no such group)
WARN: restarting supervisor group frappe: failed. Use bench restart to retry.

Installing erpnext…
Updating DocTypes for erpnext : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
Updating Dashboard for erpnext
Would you like to continue with production install? (yes/no)
Response: no
Getting your site ready for development…
default → 18 (-> v18.20.4)
Current Site set to FQDN
Assets for Release v15.39.0 don’t exist
:heavy_check_mark: Application Assets Linked

yarn run v1.22.22
$ node esbuild --production --run-build-command
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config

Could this be the problem??

DONE Total Build Time: 3.142s

WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
Done in 5.12s.
Compiling translations for erpnext
$ sudo supervisorctl restart frappe:
frappe: ERROR (no such group)
frappe: ERROR (no such group)
WARN: restarting supervisor group frappe: failed. Use bench restart to retry.