WARN: Command not being executed in bench directory
This says it all. Execute all bench commands such as update, build, etc. from the frappe-bench directory.
You are running this currently from the user’s directory. Check first where the frappe-bench directory is. Run ls to list all files and directories from the current one.