I get this error in the traceback:
Traceback (most recent call last):
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/app.py", line 54, in application
init_request(request)
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/app.py", line 126, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/auth.py", line 51, in __init__
frappe.local.login_manager = LoginManager()
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/auth.py", line 105, in __init__
if self.login()==False: return
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/auth.py", line 137, in login
self.post_login()
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/auth.py", line 144, in post_login
self.make_session()
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/auth.py", line 193, in make_session
frappe.local.session_obj = Session(user=self.user, resume=resume,
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/sessions.py", line 198, in __init__
self.start()
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/sessions.py", line 219, in start
"session_country": get_geo_ip_country(frappe.local.request_ip) if frappe.local.request_ip else None,
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/sessions.py", line 419, in get_geo_ip_country
match = get_geo_from_ip(ip_addr)
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/sessions.py", line 407, in get_geo_from_ip
reader = f.reader()
File "/home/frappe-user/frappe-bench/env/lib64/python3.8/site-packages/geolite2.py", line 66, in reader
rv = self._open_packaged_database()
File "/home/frappe-user/frappe-bench/env/lib64/python3.8/site-packages/geolite2.py", line 58, in _open_packaged_database
return maxminddb.open_database(self.filename)
File "/home/frappe-user/frappe-bench/env/lib64/python3.8/site-packages/maxminddb/__init__.py", line 46, in open_database
return maxminddb.reader.Reader(database, mode)
File "/home/frappe-user/frappe-bench/env/lib64/python3.8/site-packages/maxminddb/reader.py", line 81, in __init__
raise InvalidDatabaseError(
maxminddb.errors.InvalidDatabaseError: Error opening database file (/home/frappe-user/frappe-bench/env/lib64/python3.8/site-packages/_maxminddb_geolite2/GeoLite2-City.mmdb). Is this a valid MaxMind DB file?