Provision: file_get_contents(./Caddyfile): Failed to open stream: No such file or directory #3821
Replies: 3 comments 1 reply
-
I got the same error. I resolved the error by creating a |
Beta Was this translation helpful? Give feedback.
-
This PR solves this error: #3837 Until the next release, you could clone the master branch of this repo and run the following command in there: php -d phar.readonly=0 bin/build -v7.4.2-fix
This will generate a deployer.phar file. Copy that to your projects root folder and run the following command in your projects root folder: php deployer.phar provision
|
Beta Was this translation helpful? Give feedback.
-
ran into the same issue on v7.4.0 and was able to fix this by manually copying the content of the file https://github.com/deployphp/deployer/blob/master/recipe/provision/Caddyfile into another Caddyfile in the root of my project. hope this helps others out 🤗 |
Beta Was this translation helpful? Give feedback.
-
I'm trying to provision a clean server in Hetzner Cloud (CCX13 - dedicated 2 vCPU 8GB RAM) with the Laravel recipe. I got an error; I tried several times with different PHP versions and removed and created the server.
The error is the following:
The
deploy.yaml
file:Beta Was this translation helpful? Give feedback.
All reactions