Skip to content

[Bug] cmd.Start() failed with 'exec: "bash": executable file not found in $PATH' #12257

@fengluo2

Description

@fengluo2

Contact Information

No response

1Panel Version

2.1.5

Problem Description

快照恢复失败,原来是Ubuntu,换成了AlmaLinux系统,有关系吗?

2026/03/20 15:28:14 开始写入 1Panel 基本信息
2026/03/20 15:28:14 复制文件/目录 /usr/local/bin/1pctl 成功
2026/03/20 15:28:14 复制文件/目录 /usr/local/bin/1panel-core 成功
2026/03/20 15:28:14 复制文件/目录 /etc/systemd/system/1panel-core.service 成功
2026/03/20 15:28:14 复制文件/目录 /usr/local/bin/1panel-agent 成功
2026/03/20 15:28:14 复制文件/目录 /etc/systemd/system 失败 cmd.Start() failed with 'exec: "bash": executable file not found in $PATH'
2026/03/20 15:28:14 复制文件/目录 /etc/systemd/system/1panel-agent.service 失败 cmd.Start() failed with 'exec: "bash": executable file not found in $PATH'
2026/03/20 15:28:14 恢复基础数据及文件 失败: cmd.Start() failed with 'exec: "bash": executable file not found in $PATH'

Steps to Reproduce

生成快照并切换系统恢复快照

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions