Hi Barolo, wanted to thank you again for your support, all works well now!
Just needed a fresh Ubuntu 22.04 install before applying your workaround (permissions were somehow messed up on previous install).
If anyone is interested, here the steps:
-
Install Ubuntu Server 22.04 LTS (incl. LAMP stack)
-
Install the database (e.g. MySQL) and create the ccnet, seafile & seahub databases
-
Install dependencies for Seafile 9.0.5 & Ubuntu Server 22.04:
sudo apt install python3 python3-{setuptools,pip} libmysqlclient-dev memcached libmemcached-dev libffi-dev -
Install Python modules for Seafile 9.0.5 & Ubuntu Server 22.04:
sudo pip3 install django==3.2.* Pillow pylibmc captcha jinja2 sqlalchemy==1.4.3 django-pylibmc django-simple-captcha python3-ldap mysqlclient pycryptodome==3.12.0 -
Download & install Seafile Server 9.0.5
-
Install the package
cffi 1.14.6in thethirdpartfolder, as suggested by Barolo:sudo pip3 install --force-reinstall --upgrade --target <SOMEPATH>/seafile-server-9.0.5/seahub/thirdpart cffi==1.14.6 -
Run the installation script:
./<SOMEPATH>/seafile-server-9.0.5/setup-seafile-mysql.sh -
Start Seafile Server & Seahub with
./seafile.shand./seahub.shscripts
Remark: if you install Seafile Server/Python modules as user and not as root, make sure to set the right directory permissions