SEAFILE_SERVER_LETSENCRYPT 设置为true ,启动出错

docker-compose up 结果
[root@seafileserver home]# docker-compose up
Creating seafile-mysql … donedone
Creating seafile … done
Creating seafile-mysql …
Creating seafile …
Attaching to seafile-memcached, seafile-mysql, seafile
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] mysqld (mysqld 10.1.41-MariaDB-1~bionic) starting as process 1 …
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Using mutexes to ref count buffer pool pages
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: The InnoDB memory heap is disabled
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Using Linux native AIO
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Using SSE crc32 instructions
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Initializing buffer pool, size = 256.0M
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Completed initialization of buffer pool
seafile | *** Running /etc/my_init.d/01_create_data_links.sh…
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Highest supported file format is Barracuda.
seafile | *** Running /etc/my_init.d/10_syslog-ng.init…
seafile | Sep 14 13:05:08 265377e785d3 syslog-ng[26]: syslog-ng starting up; version=‘3.13.2’
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: 128 rollback segment(s) are active.
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Waiting for purge to start
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.44-86.0 started; log sequence number 3275354
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] Plugin ‘FEEDBACK’ is disabled.
seafile-mysql | 2019-09-14 5:05:08 139885579073280 [Note] InnoDB: Dumping buffer pool(s) not yet started
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] Server socket created on IP: ‘::’.
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Warning] ‘proxies_priv’ entry ‘@% root@cf81a179f785’ ignored in --skip-name-resolve mode.
seafile-mysql | 2019-09-14 5:05:08 139886541412352 [Note] mysqld: ready for connections.
seafile-mysql | Version: ‘10.1.41-MariaDB-1~bionic’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 3306 mariadb.org binary distribution
seafile | *** Booting runit daemon…
seafile | *** Runit started as PID 35
seafile | *** Running /scripts/start.py…
seafile | Sep 14 13:05:09 265377e785d3 cron[40]: (CRON) INFO (pidfile fd = 3)
seafile | Sep 14 13:05:09 265377e785d3 cron[40]: (CRON) INFO (Running @reboot jobs)
seafile | [2019-09-14 13:05:09] Preparing for letsencrypt …
seafile | [2019-09-14 13:05:09] Starting letsencrypt verification
seafile | Already up to date.
seafile | Parsing account key…
seafile | Parsing CSR…
seafile | Found domains: yun.wxlx.com
seafile | Getting directory…
seafile | Directory found!
seafile | Registering account…
seafile | Already registered!
seafile | Creating new order…
seafile | Order created!
seafile | Verifying yun.wxlx.com
seafile | Traceback (most recent call last):
seafile | File “/shared/ssl/letsencrypt/acme_tiny.py”, line 198, in
seafile | main(sys.argv[1:])
seafile | File “/shared/ssl/letsencrypt/acme_tiny.py”, line 194, in main
seafile | signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
seafile | File “/shared/ssl/letsencrypt/acme_tiny.py”, line 143, in get_crt
seafile | raise ValueError(“Wrote file to {0}, but couldn’t download {1}: {2}”.format(wellknown_path, wellknown_url, e))
seafile | ValueError: Wrote file to /var/www/challenges/jHmlBXSxpckp8XppioY5HOpE9pp7WuzCWk9OthfE0pI, but couldn’t download http://yun.wxlx.com/.well-known/acme-challenge/jHmlBXSxpckp8XppioY5HOpE9pp7WuzCWk9OthfE0pI: Error:
seafile | Url: http://yun.wxlx.com/.well-known/acme-challenge/jHmlBXSxpckp8XppioY5HOpE9pp7WuzCWk9OthfE0pI
seafile | Data: None
seafile | Response Code: None
seafile | Response: <urlopen error [Errno 110] Connection timed out>
seafile | Traceback (most recent call last):
seafile | File “/scripts/start.py”, line 86, in
seafile | main()
seafile | File “/scripts/start.py”, line 51, in main
seafile | init_letsencrypt()
seafile | File “/scripts/bootstrap.py”, line 70, in init_letsencrypt
seafile | call(’/scripts/ssl.sh {0} {1}’.format(ssl_dir, domain))
seafile | File “/scripts/utils/init.py”, line 69, in call
seafile | return subprocess.check_call(*a, **kw)
seafile | File “/usr/lib/python2.7/subprocess.py”, line 190, in check_call
seafile | raise CalledProcessError(retcode, cmd)
seafile | subprocess.CalledProcessError: Command ‘/scripts/ssl.sh /shared/ssl yun.wxlxj com’ returned non-zero exit status 1
seafile | *** /scripts/start.py exited with status 1.
seafile | *** Shutting down runit daemon (PID 35)…
seafile | *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…
seafile | Sep 14 13:07:36 265377e785d3 syslog-ng[26]: syslog-ng shutting down; version=‘3.13.2’
seafile | *** Killing all processes…
seafile exited with code 1

你这服务器上使用letsencrypt有问题吧,可以在宿主机上尝试使用下let’s的证书,看能正常获取不能