Fresh seahub 11.0.2 install, seahub failed to start

found how to solve the issue, since as I have read the OSS does not have the Events recording, commenting out the SeafEventsSession recording fixes the issue. No idea why this is not covered?

diff --git a/opt/seafile/seafile-server-11.0.3/seahub/seahub/handlers.py b/opt/seafile/seafile-server-11.0.2/seahub/seahub/handlers.py
index 5317b0c..20a5d2c 100644
--- a/opt/seafile/seafile-server-11.0.3/seahub/seahub/handlers.py
+++ b/opt/seafile/seafile-server-11.0.2/seahub/seahub/handlers.py
@@ -41,10 +41,10 @@ try:
             'org_id': org_id,
         }

-        #from .utils import SeafEventsSession
-        #session = SeafEventsSession()
-        #seafevents_api.save_user_activity(session, record)
-        #session.close()
+        from .utils import SeafEventsSession
+        session = SeafEventsSession()
+        seafevents_api.save_user_activity(session, record)
+        session.close()

         LIBRARY_TEMPLATES = getattr(settings, 'LIBRARY_TEMPLATES', {})
         library_template = kwargs['library_template']
@@ -90,10 +90,10 @@ try:
             'org_id': org_id if org_id and org_id > 0 else -1,
         }

-        #from .utils import SeafEventsSession
-        #session = SeafEventsSession()
-        #seafevents_api.save_user_activity(session, record)
-        #session.close()
+        from .utils import SeafEventsSession
+        session = SeafEventsSession()
+        seafevents_api.save_user_activity(session, record)
+        session.close()

     def clean_up_repo_trash_cb(sender, **kwargs):
         """When a repo trash is deleted, the operator will be recorded.
@@ -127,10 +127,10 @@ try:
             'org_id': org_id,
         }

-        #from .utils import SeafEventsSession
-        #session = SeafEventsSession()
-        #seafevents_api.save_user_activity(session, record)
-        #session.close()
+        from .utils import SeafEventsSession
+        session = SeafEventsSession()
+        seafevents_api.save_user_activity(session, record)
+        session.close()