This might explain your problem Row size too large - update error
On a separate note: No need to run ERPNext as root; apparently that defeats Linux security and invites problems with ERPNext too security - Why is it bad to log in as root? - Ask Ubuntu