deployer-php-action icon indicating copy to clipboard operation
deployer-php-action copied to clipboard

PHP Fatal error: require(): Failed opening required 'recipe/rsync.php'

Open tnaffh opened this issue 4 years ago • 5 comments

I am getting this error, has to do with the 0.3.0 update: Had to specify version 0.2.0 instead of @master for it to work

Run dep deploy production --tag= -vvv
PHP Warning:  require(recipe/rsync.php): failed to open stream: No such file or directory in /home/runner/work/repo/repo/deploy.php on line 6
PHP Fatal error:  require(): Failed opening required 'recipe/rsync.php' (include_path='/home/runner/.composer/vendor/deployer/deployer/bin/../../../deployer/deployer:.:/usr/share/php') in /home/runner/work/repo/repo/deploy.php on line 6
Error: Process completed with exit code 255.

tnaffh avatar Jan 20 '21 09:01 tnaffh

I reverted for the mean time. https://github.com/atymic/deployer-php-action/tree/0.3.1

I'll investigate tomorrow, but any help would be appreciated.

atymic avatar Jan 20 '21 10:01 atymic

Alright thanks for quick feedback.

tnaffh avatar Jan 20 '21 11:01 tnaffh

I had the same problem, specifying 0.3.1 as suggested fixed it

jorgeirun avatar Jan 20 '21 18:01 jorgeirun

Looks like only v7 beta has the recipes in it. I guess we need a conditional to check and determine, but the docs haven't been updated yet. @yuriystovbur Could you chime in here please?

atymic avatar Jan 23 '21 02:01 atymic

@atymic Sorry for my previous bad PR. I'll fix it and send to review

yuriystovbur avatar Jan 23 '21 17:01 yuriystovbur