GEOIP is installed but IP is reported as unknown

My GeoIP has stopped working after years just after enabling php7 and opcache, although i cannot see any link.
GeoIP Lite is installed, all ticks are green. Piwik reports, ISP and ORG unknown and returns the IP only.

Any idea where to start?