It looks like you are missing the neutral/earth bridge on the inverter output (UPS)


Measured at the inverter UPS output in islanding mode (these are generally the readings you will see of the neutral/earth bridge is not fitted.)

L-N = 230 VAC
L-E =80 VAC
N-E = 125 VAC