清理 Session 表:
cd <install-path>/seafile-server-latest./seahub.sh clearsessions
cd <install-path>/seafile-server-latest
./seahub.sh clearsessions
要清理文件活动表,登录到 MySQL/MariaDB,然后使用以下命令:
use seahub_db;DELETE FROM Event WHERE to_days(now()) - to_days(timestamp) > 90;
use seahub_db;
DELETE FROM Event WHERE to_days(now()) - to_days(timestamp) > 90;