abiosoft / abiosoft/caddy-git

Cloning private repo fails

Đang mở
#89 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
206
Fork
42
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

`sudo systemctl status caddy.service -l` produces the following error:

`May 08 06:55:02 app-1 systemd[1]: Started Caddy HTTP/2 web server.`
`May 08 06:55:02 app-1 caddy[23804]: Activating privacy features... done.`
`May 08 06:55:02 app-1 caddy[23804]: 2018/05/08 06:55:02 cannot git clone into /var/www, directory not empty`
`May 08 06:55:02 app-1 systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE`
`May 08 06:55:02 app-1 systemd[1]: caddy.service: Unit entered failed state.`
`May 08 06:55:02 app-1 systemd[1]: caddy.service: Failed with result 'exit-code'.
`

The /var/www directory is completely empty, but every time I start caddy, it adds a ".ssh" directory to it. Any ideas?

Caddy file is:

`git {
repo https://github.com/username/repo.git
branch master
key /ssh/id_rsa
hook /servicePush password
}
`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.