Seahub does not start after upgrade from 7.1.5 to 8.0.4

Hello Forum,

after upgrading from 7.1.5 to 8.04, the seahub service will not start.
Can anyone help me please :slight_smile: ?

System: Debian 10, MariaDB

seafile-server-latest/ start-fastcgi
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at ...
Traceback (most recent call last):
File "/opt/seafile/seafile-server-8.0.4/seahub/thirdpart/django/db/backends/mysql/", line 15, in <module>
import MySQLdb as Database
ModuleNotFoundError: No module named 'MySQLdb'


the following has solved my problem :slight_smile: :

sudo apt-get install python3-dev #<-- MISSING BINARY
sudo pip3 install future mysqlclient sqlalchemy==1.4.3
1 Like