Apologies the error i posted was not the one in intended to post it was a error about overview users table.
i got it fixed used a old db backup restored that ran the postinstall.sh and it worked again lost a few months of data though. so now implementing a weekly backup solution.
Thank you guys.