seafile安装完成后启动不成功

各位大佬,麻烦帮忙看看怎么解决
软硬件情况:J1900
群晖中安装docker,docker拉取ubuntu20.04,通过非docker方式部署seafile pro9.0.7

以下是启动报错:
root@706c586fa328:/apps/seafile/seafile-pro-server-9.0.7# ./seafile.sh start

** Message: 01:32:57.241: seafile-controller.c(1023): loading seafdav config from /apps/seafile/conf/seafdav.conf

2022-08-30 01:32:57 …/common/seaf-utils.c(409): Use database Mysql
2022-08-30 01:32:57 http-server.c(237): fileserver: worker_threads = 10
2022-08-30 01:32:57 http-server.c(250): fileserver: backlog = 32
2022-08-30 01:32:57 http-server.c(265): fileserver: fixed_block_size = 8388608
2022-08-30 01:32:57 http-server.c(277): fileserver: skip_block_hash = 0
2022-08-30 01:32:57 http-server.c(292): fileserver: web_token_expire_time = 3600
2022-08-30 01:32:57 http-server.c(307): fileserver: max_indexing_threads = 1
2022-08-30 01:32:57 http-server.c(322): fileserver: max_index_processing_threads= 3
2022-08-30 01:32:57 http-server.c(344): fileserver: cluster_shared_temp_file_mode = 600
2022-08-30 01:32:57 http-server.c(422): fileserver: enable_async_indexing = 0
2022-08-30 01:32:57 http-server.c(434): fileserver: async_indexing_threshold = 700
2022-08-30 01:32:57 http-server.c(446): fileserver: fs_id_list_request_timeout = 300
2022-08-30 01:32:57 http-server.c(459): fileserver: max_sync_file_count = 100000
2022-08-30 01:32:57 http-server.c(474): fileserver: put_head_commit_request_timeout = 10
2022-08-30 01:32:57 …/common/license.c(709): License file /apps/seafile/seafile-license.txt does not exist, allow at most 3 trial users
License file /apps/seafile/seafile-license.txt does not exist, allow at most 3 trial users
2022-08-30 01:32:57 …/common/seaf-db.c(739): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
2022-08-30 01:32:57 …/common/user-mgr.c(97): Failed to get user number from DB.
2022-08-30 01:32:57 seafile-session.c(422): Failed to init user manager.
failed to run “seaf-server -t” [65280]
root@706c586fa328:/apps/seafile/seafile-pro-server-9.0.7#

1 个赞

看起来是连接不上数据库吧

哦哦,谢谢大佬,解决了

大佬,打扰您一下,我在按照https://cloud.seafile.com/published/seafile-manual-cn/deploy_pro/office_documents_preview.md这篇文章开启office的办法,
执行docker-composes up命令时,下载到一半500M左右突然就报错了:ERROR: failed to register layer: Failed to create btrfs snapshot: inappropriate ioctl for device

这个咋解决呀,不会是被墙了吧

这个怎么解决的?我也遇到同样的问题:…/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open sh
ared object file: No such file or directory

…/common/seaf-db.c(867): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open sh
ared object file: No such file or directory
您这个问题是怎么解决的?

caching_sha2_password是不支持的,可以将用户的密码校验规则修改为mysql_native_password