Error on bench restart command

Hello everyone,

I am getting the error mentioned in the below image when running the bench restart command.

1 Like

The problem may be related to running the commands as root. Try logging in as the bench user and running the command. Refer to the Create a new user – (bench user) section of Karani’s how-to.

@smino, same result with other user results mnetioned in below image

please post the output put of: groups && id

@smino, How can I get the output of groups and id?

Open a terminal and type: groups && id.

@smino , output of groups && id

image

Output of that command from a working setup. Note there is a supervisor group , and the frappe user is a member:

frappe@erpnext:~/frappe-bench$ groups && id
frappe adm cdrom sudo dip plugdev lxd supervisor
uid=1000(frappe) gid=1000(frappe) groups=1000(frappe),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd),1001(supervisor)

Review the installation steps as they relate to supervisor. Make sure supervisor is installed and try: bench setup supervisor