Seadrive availability for Debian 12 bookworm

Hello,

Is it planned to get seadrive available for debian 12 bookworm?

Regards

Maximilien

Yes we’ll add support for it.

1 Like

Would be great!

Do you have an ETA for that? I’ve been putting off installing Debian 12 because SeaDrive isn’t available yet…

We’ll add it next week.

1 Like

Thank you!

While I’m here… what about Seadrive Client for Debian 12?

I just managed to install Seafile-10.0.1 on my Debian 12 Bookworm. Here are my notes (# = root user prompt, $ = seafile user prompt).

The installation path is /opt/seafile/.

  1. Add system packages. Because of this bug https://github.com/PyMySQL/mysqlclient/discussions/624 you might need libmariadb-dev-compat (fall back to mysql_config with older mysqlclient):
    # apt install gcc libmariadb-dev-compat python3-lxml python3-sqlalchemy python3-pymysql python3-dev
    
  2. Add system user:
    # adduser --system --group --home /opt/seafile --disabled-password seafile
    
  3. Install or upgrade seafile-10.0.x in /opt/seafile/ as per the official guide. Be sure to operate as the seafile user:
    # sudo -u seafile bash
    $ cd && pwd
    /opt/seafile
    [### you may also want to check file `/opt/seafile/seafile-server-latest/seahub/requirements.txt`  ###]
    $ pip install --user --break-system-packages django==3.2.* gunicorn==20.1.* \
        Pillow==9.5.0 pylibmc captcha jinja2 sqlalchemy==1.4.3 django-pylibmc \
        django-simple-captcha python3-ldap mysqlclient==2.1.* pycryptodome==3.12.0 lxml
    
  4. Optionally, install my custom systemd’s unit scripts:
    # cat /etc/systemd/system/seafile.service
    [Unit]
    Description=Seafile daemon
    After=network.target
    Requires=mysql.service
    
    [Service]
    Type=forking
    ExecStart=/opt/seafile/seafile-server-latest/seafile.sh start
    ExecStop=/opt/seafile/seafile-server-latest/seafile.sh stop
    LimitNOFILE=infinity
    User=seafile
    Group=seafile
    
    [Install]
    WantedBy=multi-user.target
    EOT
    
    # cat /etc/systemd/system/seahub.service
    [Unit]
    Description=Seafile hub
    After=network.target seafile.service
    Requires=seafile.service
    
    [Service]
    Type=forking
    ExecStart=/opt/seafile/seafile-server-latest/seahub.sh start
    ExecStop=/opt/seafile/seafile-server-latest/seahub.sh stop
    User=seafile
    Group=seafile
    
    [Install]
    WantedBy=multi-user.target
    
  5. Run it (will also start seafile)
    # systemctl daemon-reload
    # systemctl start seahub.service
    

Support for Debian 12 has been added to the official repos.