Statistics not working

In the admin page, statistic just show a Error popup with no message, no data is displayed.
Server version pro 10.0.11, Ubuntu 22.04 with mysql
seafile.log produces:

 [ERROR] django.request:224 log_response Internal Server                                                                                                                       Error: /api/v2.1/admin/statistics/file-operations/
Traceback (most recent call last):
  File "/home/seafile/.local/lib/python3.10/site-packages/sqlalchemy/engine/base                                                                                                                      .py", line 1705, in _execute_context
  File "/home/seafile/.local/lib/python3.10/site-packages/sqlalchemy/engine/defa                                                                                                            ", line 681, in do_execute
    cursor.execute(statement, parameters)
sqlite3.OperationalError: no such function: convert_tz

Not sure how to resolve this one. Any help is appreciated!