Seahub doesn't start after Debian Upgrade Buster to Bullseye

Hey guys,
after upgrading debian to bullseye on my raspberrypi 4 I can’t start seahub anymore:

ImportError: cannot import name ‘_mysql’ from partially initialized module ‘MySQLdb’ (most likely due to a circular import) (/home/seafile/seafile-server-8.0.7/seahub/thirdpart/MySQLdb/init.py)

Any Idea what to do?

Same problem here. Seahub doesn’t start after upgrade to bullseye.

I had the same issue and solved it by removing the folder “MySQLdb” located in /seafile-server-latest/seahub/thirdpart. Then I also had to do the same for the “PIL” folder from the same location.

1 Like

Thx. That worked for me.