Is Digital ocean , ubuntu the correct platform to host Frappe

@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.

Thank you @michelle

@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?

@Yash_Gandhi could you please DM me? I’ll help you get started with Frappe Cloud.

1 Like

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!!!

1 Like

@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

1 Like

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 :wink:

2 Likes

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.

2 Likes

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.

Hi @arunmathaisk , I am aware its not a recommended to use remote server as dev machine, I am doing it because, we have been trying to install bench on local machine using WSL and Docker but have not been able to.

This is the 3rd option we are tyring to get a bench up and running.

Where are you stucked on wsl/docker?

Hi @avc
On WSL, We were able to get a bench up and running but We were not able to access the site from the host windows machine.
the website was not opening

On Docker, We are still navigating the the whole architecture, We have installed GIT, Installed Docker Desktop and Docker Compose, For the instructions at

We didnt know how to proceed, as bench was not showing…

Arun was kind enough to point us to the follwiing link,

we are trying to navigate through this

I have finally been able to get the bench started,
on Digital Ocean,

But not able to access the website from my Machine.

Ideally http://143.198.174.28:8000/ should give us access right?

I created a new site, and Was able to access the webpage.
But there is no povistion to create users? or set up the company etc…

I just aware of the default users.

Thank you all for the help,
I am able to access my development bech on digital ocean , where I and my colleague will start learning.

1 Like