MoRan23 / GZCTF-Auto

GZCTF的一键部署脚本,目前支持单 docker 和 docker+k3s 部署。
https://blog.moran233.xyz
GNU Affero General Public License v3.0
34 stars 6 forks source link

WSL2部署失败 #5

Closed SeimoDev closed 1 month ago

SeimoDev commented 1 month ago

Ubuntu 22.04系统 错误日志:

Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable ufw
Failed to disable unit: Unit file iptables.service does not exist.
mkdir: cannot create directory ‘GZCTF’: File exists
未解析域名, 跳过caddy配置...
empty compose file
GZCTF 启动失败.
MoRan23 commented 1 month ago

Ubuntu 22.04系统 错误日志:

Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable ufw
Failed to disable unit: Unit file iptables.service does not exist.
mkdir: cannot create directory ‘GZCTF’: File exists
未解析域名, 跳过caddy配置...
empty compose file
GZCTF 启动失败.

看看文件结构

SeimoDev commented 1 month ago
.
├── GZCTF
│   ├── appsettings.json
│   └── docker-compose.yaml
└── install.sh

1 directory, 3 files
MoRan23 commented 1 month ago

. ├── GZCTF │   ├── appsettings.json │   └── docker-compose.yaml └── install.sh

1 directory, 3 files

先都删掉,重新下一下脚本然后允许,给我一个完整的日志,可以截图

SeimoDev commented 1 month ago

解决了,在42-49行都添加--no-check-certificate参数即可