Docker安装v13,mysql无法启动

容器seafile-mysql详情页中的日志:

2025/07/18 10:54:50 stderr 2025-07-18 2:54:50 0 [ERROR] Aborting
2025/07/18 10:54:50 stderr 2025-07-18 2:54:50 0 [ERROR] DDL_LOG: Failed to create ddl log file: ./ddl_recovery.log
2025/07/18 10:54:50 stderr 2025-07-18 2:54:50 0 [ERROR] mariadbd: Can’t create/write to file ‘./ddl_recovery.log’ (Errcode: 13 Permission denied)
2025/07/18 10:54:50 stderr 2025-07-18 2:54:50 0 [Warning] Can’t create test file ‘/var/lib/mysql/f15a28005828.lower-test’ (Errcode: 13 Permission denied)

权限问题,将数据和数据库文件夹的权限修改为755,可以正常启动了。参见在群晖中用Docker部署Seafile专业版 - 《技术笔记》 - 极客文档