docker方式安装后无法启动,请帮忙分析一下。


#1

先说一句,在下小白一枚,遇到问题,恳请高手指教。谢谢!!
克隆帮助文档后整出来的安装命令如下:
docker login docker.seadrive.top
docker run -d --name seafilepro
-e SEAFILE_SERVER_LETSENCRYPT=true
-e SEAFILE_SERVER_HOSTNAME=p.XXXX.com
-v /mnt/user/Seafile-pro/seafile-data:/shared
-p 8002:80
-p 443:443
-e SEAFILE_ADMIN_EMAIL=XXXX@XXXX.com
-e SEAFILE_ADMIN_PASSWORD=XXXXXXXXXXXX
docker.seadrive.top/seafileltd/seafile-pro-mc:latest

结果docker无法启动,日志如下:

e is 65537 (0x010001)
Can’t load ./.rnd into RNG
22557652292032:error:2406F079:random number generator:RAND_load_file:Cannot open file:…/crypto/rand/randfile.c:88:Filename=./.rnd
Parsing account key…
Parsing CSR…
Found domains: p.XXXXX.com
Getting directory…
Directory found!
Registering account…
Registered!
Creating new order…
Order created!
Verifying p.XXXXX.com
Traceback (most recent call last):
File “/shared/ssl/letsencrypt/acme_tiny.py”, line 198, in <module>
main(sys.argv[1:])
File “/shared/ssl/letsencrypt/acme_tiny.py”, line 194, in main
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)
File “/shared/ssl/letsencrypt/acme_tiny.py”, line 143, in get_crt
raise ValueError(“Wrote file to {0}, but couldn’t download {1}: {2}”.format(wellknown_path, wellknown_url, e))
ValueError: Wrote file to /var/www/challenges/z1ZXzaaU1frLzFyZrWl6qYFwtoOG09BhL6MMmy6buCE, but couldn’t download http://p.XXXXX.com/.well-known/acme-challenge/z1ZXzaaU1frLzFyZrWl6qYFwtoOG09BhL6MMmy6buCE: Error:
Url: http://p.XXXXX.com/.well-known/acme-challenge/z1ZXzaaU1frLzFyZrWl6qYFwtoOG09BhL6MMmy6buCE
Data: None
Response Code: None
Response: <urlopen error [Errno 111] Connection refused>
Traceback (most recent call last):


#2

SEAFILE_SERVER_LETSENCRYPT =true

默认会搜索相应路径是否具有对应文件名的ssl证书和私钥,没有就会调用acme通过80端口自动检验访问域名申请免费证书