Your git doesn’t seem happy.
I think you might need something along the lines of:
git reset --hard
sudo chown -R librenms:librenms /opt/librenms
Run ./daily.sh and ./validate.php
Or:
git init
git remote add origin https://github.com/librenms/librenms.git
git fetch
git reset --hard origin/master
git branch --set-upstream-to=origin/master master
Run ./daily.sh and ./validate.php
Not sure though, on my mobile but if you search these forums for “Whoops, looks like something went wrong” you can find fixes for that particular problem. but fixing git should help.