ref,
Hello here you have to give the sudo user you created for frappe ex. sudo bench setup production [USER]