Well, are you running the ERPNext server with:
bench start
…command on the server? Because I encountered the same error moments ago and realised that the bench server for ERPNext must be running to successful execute…
bench update --patch
which is what your output refers to.
Hope that’s what it is.