I am having a problem with running bench update on my production server.
Just to clarify absolutely nothing has been changed in the core files or anything else to be honest. The exact same setup since every other time we run bench update.
Now I am running bench update and at the end the ERPNext site is just showing that an update in currentlyin progress.
On the ssh part I get at the end of the bench update command
_mysql_exceptions.OperationalError: (2006, ‘Mysql Server has gone away’)
Restarted Mysql with sudo and tried the bench update again. The outcome is always the same and the site is not accessible now!
programs under frappe folder but will not change your data.
So if you have made any changes in the programs under frappe folder or
erpnext folder you will lose those changes, but not the database, the
database will not change.
But I think your problem is in Mysql (MariaDB) not in frappe.