Flow Server
The Flow server is a background process that runs the chats, and one server handles every site on a bench. You only need this page if you run your own bench.
Creating a site starts the server, but nothing brings it back after a crash or a reboot. In production, run it under Supervisor.
Commands
| Command | What it does |
|---|---|
bench flow-server status |
Shows whether the server is running and which sites it serves. |
bench flow-server start |
Starts the server. |
bench flow-server stop |
Stops the server. |
bench flow-server restart |
Restarts the server. Run it after you update Frappe. |
The log is at logs/flow-server.log in the bench folder.
Run under Supervisor
You only need this on a self-hosted bench. On Frappe Cloud, the Flow server is managed for you.
- Add
"flow_server_manager": "supervisor"tocommon_site_config.json. - Add a Supervisor program that runs
bench flow-server servewithautorestart=true, then reload Supervisor.
From then on, Supervisor starts and stops the server.
Last updated 4 hours ago
Was this helpful?