I have been trying for the past 3 days for installaiton of a frappe bench, wondering if Digital Ocean Ubuntu Droplet is the correct platform?
@Yash_Gandhi U can use frappe cloud as a priority to easy setup if u switch and setup in digital ocean then it is also best for deploy your frappe - site u can use this installation process then u can step-up easily
Please Check This.
Thank you @Meet . I am a new partner. My teammate has gone through the certification for framework, but we have yet not been able to install bench. We have tried windows pc wsl and Digital ocean Droplet.
I have tried the link you have shared , and There is another thread, where i have mentioned that I keep getting stuck at one locaiton, the code just hangs… no errors…
Hi @Yash_Gandhi:
Should work. Check this, recently some redis connection issue has been managed.
Anyway … where are you stucked on WSL installation?
I am a new partner. My colleague enrolled for the certification.
hence we are trying to use bench on ubuntu
Hello @avc , thank you for pointing out there is a change.
I saw the link, understood there is some change in the rediss schema,
but how to execute this command?
On WSL, the installaiton is complete the bench is started, not able to open a site
@Yash_Gandhi as a partner, Frappe Cloud would be the right platform for you. Do feel free to contact your partner manager in case you need help with this.
@michelle , it take a lot of time and effort to get a response from the manager.
I had already written to him yesterday, hence I am trying out other avenues to understand what should i be doing?
I’m linking some resources here too.
https://frappecloud.com/docs/benches/create-new
Frappe Cloud documentation: Introduction
Thank you @michelle . I was able to setup a new bench on FC and proceed .
THis helps a lot. I really appreciate your time and help
on a side note, I was just trying to setup a bench on a standalone machine ( cloud/ own) as a part of the certificaiton process. ( Frappe Framework)
I will try on other platforms and see how it goes, Digital ocean was tough!!!
@Yash_Gandhi Great! Please share your experience with us so we can all learn. It will help us improve the user experience on Frappe Cloud too.
Hi @michelle , I did start a bench on FC. But we were informed that it is only for production and not for Development!
I need to figureout how to get it started on Digital Ocean
Hi @Yash_Gandhi
I am not sure what you intend to convey, so I am gonna lay out all the possibilities.
Regarding any confusion, please do not hesitate to reach out to me via e-mail at arun@frappe.io
So if you need a local development setup i.e. on your laptop to develop frappe apps, refer to this link Installation .This should get you up and running with a frappe dev setup (FYI: which works great on WSL)
Also, if you find the above local setup difficult to setup, you can use the frappe docker repo GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext instead. (FYI: which also works great on WSL or Docker Desktop, the only thing is you need docker installed “obvious” )
Note: Frappe Cloud does not have a development server/bench “yet”. All benches are for production use cases.
If your intention is to get a frappe app running as a production service/site eg ERPNext for your organization but self-hosted any cloud provider should be just fine be that DO, HETZNER, etc…, refer to
frappe_docker/pwd.yml at main · frappe/frappe_docker · GitHub and frappe_docker/docs/custom-apps.md at main · frappe/frappe_docker · GitHub
for custom apps.
Here is a YouTube video to help you with the same https://www.youtube.com/watch?v=xOgdMcGW56U.
If you want a more saner experience, just use Frappe Cloud
Thank you @arunmathaisk . This is very elaborate and detailed.
I am a new partner, and new to the frappe ecosystem. My colleague attended the Frappe Framework certification course. The basic requirement was to have a working bench.
Primarily We have been trying to get that up and running.
We didnt know that CLoud will give us Production and Own Machines will give us Dev environments.
Its clear now.
We have been successfully able to get the bench started on WSL, thanks to the help from the community. Still not able to access the site that is created.
I will go over the articals that you have mentioned, if required will reach out to you.
Thank you for the help.
Hello @arunmathaisk ,
The bench installed successfully on Digital ocean,
but not able to start bench as its expecting a process maanger
DONE Total Build Time: 1:19.608 (m:ss.mmm)
Done in 83.83s.
Compiling translations for frappe
MO file created at /home/frappe/project/bench/sites/assets/locale/ar/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/es/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/sv/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/fa/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/fr/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/tr/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/bs/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/eo/LC_MESSAGES/frappe.mo
MO file created at /home/frappe/project/bench/sites/assets/locale/de/LC_MESSAGES/frappe.mo
SUCCESS: Bench bench initialized
frappe@frappe:~/project$ cd bench/
frappe@frappe:~/project/bench$ cd …
frappe@frappe:~/project$ ls
bench
frappe@frappe:~/project$ cd bench/
frappe@frappe:~/project/bench$ ls
Procfile apps config env logs patches.txt sites
frappe@frappe:~/project/bench$ cd …
frappe@frappe:~/project$ ls
bench
frappe@frappe:~/project$ cd bench/
frappe@frappe:~/project/bench$ bench start
ERROR: No process manager found
Traceback (most recent call last):
File “/home/frappe/.local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/home/frappe/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/bench/cli.py”, line 132, in cli
bench_command()
File “/home/frappe/.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/frappe/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “/home/frappe/.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/frappe/.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/frappe/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/frappe/.local/share/pipx/venvs/frappe-bench/lib/python3.12/site-packages/bench/commands/utils.py”, line 22, in start
start(
File “/home/frappe/.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
frappe@frappe:~/project/bench$
Could you please share all the installation steps you perrformed?
pipx seems to be the issue here. path conflicts.
$BENCH_DIR/env is what should be in use
install frappe-bench with it --break-system-packages
Also not recommended to use a remote server as your dev machine while just getting started. Use a VM on local machine or install Linux on laptop.
Frankly, just use frappe_docker it will just work.