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

1.3.2远程管理无法部署compose #64

Closed
Silentely opened this issue Dec 1, 2024 · 1 comment
Closed

1.3.2远程管理无法部署compose #64

Silentely opened this issue Dec 1, 2024 · 1 comment

Comments

@Silentely
Copy link

Silentely commented Dec 1, 2024

当前使用的dpanel版本?
DPanel - 1.3.2 - lite

** 错误日志 **
前几个版本没问题,1.3.0能正常用着,配置和远程管理都没变过,升级到1.3.2后就不行了
e81acc7a4b17941481ed150c0c788eb0.jpeg

error during connect: Get "https://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Ddpanel-c-reader%22%3Atrue%7D%7D": http: server gave HTTP response to HTTPS client
2024-12-01T09:52:56.574379113Z [2024-12-01 17:52:56.573]	[DEBUG]	default	run command	{"docker-compose": ["-f", "/dpanel/compose/reader/docker-compose.yml", "-p", "dpanel-c-reader", "up", "-d", "reader"]}
2024-12-01T09:52:56.633309699Z [2024-12-01 17:52:56.633]	[ERROR]	default	compose	{"deploy copy error": "read /dev/ptmx: input/output error"}
2024-12-01T09:52:56.633360413Z [2024-12-01 17:52:56.633]	[DEBUG]	default	run command	{"docker-compose": ["ls", "--format", "json", "--all"]}
2024-12-01T09:52:56.675136473Z [2024-12-01 17:52:56.674]	[DEBUG]	default	docker-compose	{"!BADKEY": ["ls", "--format", "json", "--all"], "!BADKEY": "exit status 1"}
2024-12-01T09:52:56.691067288Z 协程数,17 
2024-12-01T09:52:56.741302182Z [2024-12-01 17:52:56.740]	[INFO]	default	runtime info	{"goroutine": 16, "client total": 1, "progress total": 0}
2024-12-01T09:52:56.830360545Z [2024-12-01 17:52:56.829]	[INFO]	default	runtime info	{"goroutine": 16, "client total": 1, "progress total": 0}

** 复现方式 **
切换环境后使用compose部署

@Silentely Silentely changed the title 新版远程管理无法部署compose 1.3.2远程管理无法部署compose Dec 1, 2024
@donknap
Copy link
Owner

donknap commented Dec 1, 2024

新版兼容了旧的 docker-compose 命令导致的。你可以可以先把这个旧命令删除掉,我后续修复一下

@donknap donknap closed this as completed in 20f7ef0 Dec 2, 2024
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

2 participants