Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep: unrecognized option: P #5116

Open
Ada19960111 opened this issue Apr 26, 2024 · 14 comments
Open

grep: unrecognized option: P #5116

Ada19960111 opened this issue Apr 26, 2024 · 14 comments

Comments

@Ada19960111
Copy link

Ada19960111 commented Apr 26, 2024

Steps to reproduce

在群晖1621+上按照官方文档部署docker容器,然后使用定时脚本激活docker容器来申请证书
Debug log

[Fri Apr 26 07:37:46 UTC 2024] The domain 'xxx' seems to have a ECC cert already, lets use ecc cert.
[Fri Apr 26 07:37:46 UTC 2024] Logging into localhost:10000...
grep: unrecognized option: P
BusyBox v1.35.0 (2022-11-19 10:13:10 UTC) multi-call binary.

Usage: grep [-HhnlLoqvsrRiwFE] [-m N] [-A|B|C N] { PATTERN | -e PATTERN... | -f FILE... } [FILE]...

Search for PATTERN in FILEs (or stdin)

	-H	Add 'filename:' prefix
	-h	Do not add 'filename:' prefix
	-n	Add 'line_no:' prefix
	-l	Show only names of files that match
	-L	Show only names of files that don't match
	-c	Show only count of matching lines
	-o	Show only the matching part of line
	-q	Quiet. Return 0 if PATTERN is found, 1 otherwise
	-v	Select non-matching lines
	-s	Suppress open and read errors
	-r	Recurse
	-R	Recurse and dereference symlinks
	-i	Ignore case
	-w	Match whole words only
	-x	Match whole lines only
	-F	PATTERN is a literal (not regexp)
	-E	PATTERN is an extended regexp
	-m N	Match up to N times per file
	-A N	Print N lines of trailing context
	-B N	Print N lines of leading context
	-C N	Same as '-A N -B N'
	-e PTRN	Pattern to match
	-f FILE	Read pattern from file
[Fri Apr 26 07:37:46 UTC 2024] Unable to authenticate to http://localhost:10000, you may report the full log to the community.
[Fri Apr 26 07:37:46 UTC 2024] Error deploy for domain:xxx
[Fri Apr 26 07:37:46 UTC 2024] Deploy error.
Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@Ada19960111
Copy link
Author

已在发生错误后重新拉去镜像,并进入容器upgrade,问题依旧

@scruel
Copy link
Contributor

scruel commented Apr 26, 2024

dup as #5105

@xdj86
Copy link

xdj86 commented Apr 28, 2024

docker需要拉取 dev标签 不是latest

@Ada19960111
Copy link
Author

我使用了dev标签,但是进去看还是master分支

@xdj86
Copy link

xdj86 commented Apr 29, 2024

把原来的镜像删除后再拉取,重新创建容器

@Nothend
Copy link

Nothend commented Apr 29, 2024

把原来的镜像删除后再拉取,重新创建容器
删除容器,重新拉dev,问题依旧

@Nothend
Copy link

Nothend commented Apr 29, 2024

并且这个提示也很奇怪 “The domain 'xxx.xxx.com' seems to have a ECC cert already, lets use ecc cert.”证书明明生成成功了

@Ada19960111
Copy link
Author

我目前发现了如何更新其他分支,进入容器内部,使用命令 acme.sh --upgrade -b dev 完成更新到dev分支,目前已经工作正常

@Ada19960111
Copy link
Author

他日志其实是部署到群晖上时出的问题,所以申请证书部分是没有问题的,同时,发现问题之后,大家不要多次重试,什么都不改重试是不行的,容易超出签发限制被冷却,我是起了两个容器,一个master一个dev,等master更新了,再切回来就行

@Ada19960111
Copy link
Author

不管怎么说,还是很感谢作者以及其他贡献者,让证书签发变得简单方便很多,点赞点赞

@Nothend
Copy link

Nothend commented Apr 30, 2024

他日志其实是部署到群晖上时出的问题,所以申请证书部分是没有问题的,同时,发现问题之后,大家不要多次重试,什么都不改重试是不行的,容易超出签发限制被冷却,我是起了两个容器,一个master一个dev,等master更新了,再切回来就行

确实如此。我被冷却了好几次。现在发现签发证书是没问题。就是部署的时候出错。等冷却到了我再试试

@Neilpang
Copy link
Member

master 应该已经更新了.

@Nothend
Copy link

Nothend commented May 1, 2024

报告:最新latest已经正常运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants