Frappe Bench missing?

I am pretty new to ERPNEXT, so I need a lot of help.

I run ERPNEXT on proxmox on a debian server.

I would like to install the newest patches and updates and according to what I found in the internet the following command should help:

root@erpnext:/home/frappe/.local/share/uv/tools/frappe-bench# bench update
-bash: bench: command not found

It seems, however, that frappe-bench is not installed on my server:

root@erpnext:/home/frappe/.local/share/uv/tools/frappe-bench# pip3 show frappe-bench
WARNING: Package(s) not found: frappe-bench

Can anyone help me with an installation guido how to install frappe-bench?

Thanks for you help

Hi there, I don’t know anything about proxmox, but if frappe-bench is not found did you try installing it?

pip3 install frappe-bench

Hi @pinderbitzin and welcome to the community

Try this quick install script. Another user used it on promox and was happy with it

Best of luck

Hi @pinderbitzin welcome! Before installing anything again, I’d check the existing installation.

The path in your screenshot suggests Bench was installed through uv for the frappe user. You’re currently using root, whose command search path may not include that user’s executables.

Also, pip3 show frappe-bench reporting “Package(s) not found” doesn’t prove Bench is missing: uv installs tools in separate Python environments, so the system’s pip3 may not see them.

First, switch to the Frappe account and check:

`
su - frappe
command -v bench
bench --version

`

If it still says “command not found,” try the usual executable location directly:

First check the bench location with

which bench
/home/frappe/.local/bin/bench --version

If that works, the issue is your PATH. For the current shell:

export PATH=“$HOME/.local/bin:$PATH”
bench --version

if uv is available, uv tool update-shell can configure the tool directory in your shell startup files. Log out and back in afterward.

One other distinction: the directory containing the Bench tool is different from your ERPNext bench directory. Run site-management commands from the directory containing apps, sites, and env—often:

cd /home/frappe/frappe-bench
bench version

That location is an example; use your actual installation directory. In my openion, likely diagnosis from their posted paths.

Before installing anything, I’d check how ERPNext was originally deployed. If it’s running through Docker or a container setup, Bench might not be available directly on the host, and installing it separately could cause confusion.

Are you running the official Frappe Docker setup or a traditional Bench installation inside Debian? That would help narrow down the right update process.

First of all thank you very much for welcoming me on the forum. I am sure I will have other questions and being welcome helps a lot. Thank you also for all you replies, very appreciated.

@Sahil You were right! I had to change the user. Then I chose the path /opt/frappe-bench and the updates worked pefecty. Now my system is updated.