Oops, a server error has occured "ImportError: No module named ldap"

are you update erpnext develop or production?
if you use erpnext production, before you update, switch-to-master first

frappe-bench$ bench switch-to-master
frappe-bench$ bench update

if, you get error again
try this.
frappe-bench$ bench remove-from-installed-apps ldap
frappe-bench$ bench migrate