Update broke database

after running ./daily.sh I am getting an error when trying to login to librenms.

Error connecting to database

SQLSTATE[HY000] [2002] No such file or directory

Below is logs/librenms.log

https://p.libren.ms/view/24936bf1

Below is logs/daily.log

https://p.libren.ms/view/3300d1c9

Update stopped the mariadb service. restarting the service has resolved.