DjangoBannerStats is still running on python2 which is obsolete.
Note the 'pgehres' database this uses has not been fully converted to utf8mb4, and should probably be done that the same time as we deploy the python3 port. That is task T277484. Also there's the cleanup of bad country and language values T198639.