Closed baycak closed 6 years ago
It's opcache. Restart server. Or https://deployer.org/recipes/cachetool
Hi anton,
Thanks for response btw,
I would like to implement cachetool recipe, but I can't require it on deploy.php
PHP Warning: require_once(recipe/cachetool.php): failed to open stream: No such file or directory in /home/bayucakra20/Labs/projects/bc-workforce/deploy.php on line 5
PHP Fatal error: require_once(): Failed opening required 'recipe/cachetool.php' (include_path='phar:///usr/local/bin/dep/bin/../:.:/usr/share/php') in /home/bayucakra20/Labs/projects/bc-workforce/deploy.php on line 5
Use full path
Hi anton,
How to use sudo while run opcache? I've got permission denied while run cachetool:clear:opcache
[Deployer\Exception\RuntimeException]
The command "cd /var/www/cms/releases/22 && (/usr/bin/php cachetool.phar opcache:reset )" failed.
Exit Code: 1 (General error)
Host Name: client.tes.com
================
PHP Warning: fsockopen(): unable to connect to unix:///var/run/php/php7.1-fpm.sock:-1 (Permission denied) in phar:///var/www/cms/releases/22/cachetool.phar/vendor/a
doy/fastcgi-client/src/Adoy/FastCGI/Client.php on line 255
[RuntimeException]
FastCGI error: Unable to connect to FastCGI application: Permission denied
(/var/run/php/php7.1-fpm.sock)
[Exception]
Unable to connect to FastCGI application: Permission denied
opcache:reset
Take a look at sudores
Description
Hello,
I have a unique issue right here. After deploy laravel webapp, deployment is successful with current symlink folder already on latest release. Then I visit webapp that I deploy before, but there is no update, after I check it, it still on old release.
Let me know, why this is happen.
P.S. old release on 14 and latest release on 18
Steps to reproduce
dep deploy
Content of
deploy.php
Output log