➤ Executing task deploy:prepare [localhost] > echo $0 [localhost] < sh [localhost] > if [ ! -d /home/neeta/GIT/SAPI ]; then mkdir -p /home/neeta/GIT/SAPI; fi [localhost] > if [ ! -L /home/neeta/GIT/SAPI/current ] && [ -d /home/neeta/GIT/SAPI/current ]; then echo true; fi [localhost] > cd /home/neeta/GIT/SAPI && if [ ! -d .dep ]; then mkdir .dep; fi [localhost] > cd /home/neeta/GIT/SAPI && if [ ! -d releases ]; then mkdir releases; fi [localhost] > cd /home/neeta/GIT/SAPI && if [ ! -d shared ]; then mkdir shared; fi • done on [localhost] ✔ Ok [117ms] ➤ Executing task deploy:lock [localhost] > if [ -f /home/neeta/GIT/SAPI/.dep/deploy.lock ]; then echo 'true'; fi [localhost] > touch /home/neeta/GIT/SAPI/.dep/deploy.lock • done on [localhost] ✔ Ok [69ms] ➤ Executing task deploy:release [localhost] > cd /home/neeta/GIT/SAPI && (if [ -h release ]; then echo 'true'; fi) [localhost] > cd /home/neeta/GIT/SAPI && ([ -d releases ] && [ "$(ls -A releases)" ] && echo "true" || echo "false") [localhost] < false [localhost] > cd /home/neeta/GIT/SAPI && (if [ -d /home/neeta/GIT/SAPI/releases/1 ]; then echo 'true'; fi) [localhost] > cd /home/neeta/GIT/SAPI && (date +"%Y%m%d%H%M%S") [localhost] < 20201214153846 [localhost] > cd /home/neeta/GIT/SAPI && (echo '20201214153846,1' >> .dep/releases) [localhost] > cd /home/neeta/GIT/SAPI && (mkdir /home/neeta/GIT/SAPI/releases/1) [localhost] > cd /home/neeta/GIT/SAPI && (if [[ $(man ln 2>&1 || ln -h 2>&1 || ln --help 2>&1) =~ '--relative' ]]; then echo 'true'; fi) [localhost] < sh: 1: [[: not found [localhost] > cd /home/neeta/GIT/SAPI && (ln -nfs /home/neeta/GIT/SAPI/releases/1 /home/neeta/GIT/SAPI/release) • done on [localhost] ✔ Ok [1s 250ms] ➤ Executing task deploy:update_code [localhost] > which git [localhost] < /usr/bin/git [localhost] > /usr/bin/git version [localhost] < git version 2.7.4 [localhost] > if [ -h /home/neeta/GIT/SAPI/release ]; then echo 'true'; fi [localhost] < true [localhost] > readlink /home/neeta/GIT/SAPI/release [localhost] < /home/neeta/GIT/SAPI/releases/1 [localhost] > /usr/bin/git clone -b AU1.2 --recursive -q https://vivek_suryarao:vivek123@bitbucket.org/hfmobileappteam/hfmobapi.git /home/neeta/GIT/SAPI/releases/1 2>&1 • done on [localhost] ✔ Ok [20s 385ms] ➤ Executing task deploy:shared [localhost] > if [ -d /home/neeta/GIT/SAPI/shared/storage ]; then echo 'true'; fi [localhost] > mkdir -p /home/neeta/GIT/SAPI/shared/storage [localhost] > if [ -d $(echo /home/neeta/GIT/SAPI/releases/1/storage) ]; then echo 'true'; fi [localhost] < true [localhost] > cp -rv /home/neeta/GIT/SAPI/releases/1/storage /home/neeta/GIT/SAPI/shared/. [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/app' -> '/home/neeta/GIT/SAPI/shared/./storage/app' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/app/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/app/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/app/public' -> '/home/neeta/GIT/SAPI/shared/./storage/app/public' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/app/public/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/app/public/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework' -> '/home/neeta/GIT/SAPI/shared/./storage/framework' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/cache' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/cache' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/cache/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/cache/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/cache/data' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/cache/data' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/cache/data/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/cache/data/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/sessions' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/sessions' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/sessions/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/sessions/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/testing' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/testing' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/testing/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/testing/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/views' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/views' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/framework/views/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/framework/views/.gitignore' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/logs' -> '/home/neeta/GIT/SAPI/shared/./storage/logs' [localhost] < '/home/neeta/GIT/SAPI/releases/1/storage/logs/.gitignore' -> '/home/neeta/GIT/SAPI/shared/./storage/logs/.gitignore' [localhost] > rm -rf /home/neeta/GIT/SAPI/releases/1/storage [localhost] > mkdir -p `dirname /home/neeta/GIT/SAPI/releases/1/storage` [localhost] > ln -nfs /home/neeta/GIT/SAPI/shared/storage /home/neeta/GIT/SAPI/releases/1/storage [localhost] > if [ -d /home/neeta/GIT/SAPI/shared/storage ]; then echo 'true'; fi [localhost] < true [localhost] > rm -rf /home/neeta/GIT/SAPI/releases/1/storage [localhost] > mkdir -p `dirname /home/neeta/GIT/SAPI/releases/1/storage` [localhost] > ln -nfs /home/neeta/GIT/SAPI/shared/storage /home/neeta/GIT/SAPI/releases/1/storage [localhost] > if [ -d /home/neeta/GIT/SAPI/shared/bootstrap/cache ]; then echo 'true'; fi [localhost] > mkdir -p /home/neeta/GIT/SAPI/shared/bootstrap/cache [localhost] > if [ -d $(echo /home/neeta/GIT/SAPI/releases/1/bootstrap/cache) ]; then echo 'true'; fi [localhost] < true [localhost] > cp -rv /home/neeta/GIT/SAPI/releases/1/bootstrap/cache /home/neeta/GIT/SAPI/shared/bootstrap [localhost] < '/home/neeta/GIT/SAPI/releases/1/bootstrap/cache/.gitignore' -> '/home/neeta/GIT/SAPI/shared/bootstrap/cache/.gitignore' [localhost] > rm -rf /home/neeta/GIT/SAPI/releases/1/bootstrap/cache [localhost] > mkdir -p `dirname /home/neeta/GIT/SAPI/releases/1/bootstrap/cache` [localhost] > ln -nfs /home/neeta/GIT/SAPI/shared/bootstrap/cache /home/neeta/GIT/SAPI/releases/1/bootstrap/cache [localhost] > if [ -d /home/neeta/GIT/SAPI/shared/node_modules ]; then echo 'true'; fi [localhost] > mkdir -p /home/neeta/GIT/SAPI/shared/node_modules [localhost] > if [ -d $(echo /home/neeta/GIT/SAPI/releases/1/node_modules) ]; then echo 'true'; fi [localhost] > rm -rf /home/neeta/GIT/SAPI/releases/1/node_modules [localhost] > mkdir -p `dirname /home/neeta/GIT/SAPI/releases/1/node_modules` [localhost] > ln -nfs /home/neeta/GIT/SAPI/shared/node_modules /home/neeta/GIT/SAPI/releases/1/node_modules [localhost] > mkdir -p /home/neeta/GIT/SAPI/shared/. [localhost] > if [ -f /home/neeta/GIT/SAPI/shared/.env ]; then echo 'true'; fi [localhost] > if [ -f /home/neeta/GIT/SAPI/releases/1/.env ]; then echo 'true'; fi [localhost] > if [ -f $(echo /home/neeta/GIT/SAPI/releases/1/.env) ]; then rm -rf /home/neeta/GIT/SAPI/releases/1/.env; fi [localhost] > if [ ! -d $(echo /home/neeta/GIT/SAPI/releases/1/.) ]; then mkdir -p /home/neeta/GIT/SAPI/releases/1/.;fi [localhost] > touch /home/neeta/GIT/SAPI/shared/.env [localhost] > ln -nfs /home/neeta/GIT/SAPI/shared/.env /home/neeta/GIT/SAPI/releases/1/.env [localhost] > mkdir -p /home/neeta/GIT/SAPI/shared/. [localhost] > if [ -f /home/neeta/GIT/SAPI/shared/.env ]; then echo 'true'; fi [localhost] < true [localhost] > if [ -f $(echo /home/neeta/GIT/SAPI/releases/1/.env) ]; then rm -rf /home/neeta/GIT/SAPI/releases/1/.env; fi [localhost] > if [ ! -d $(echo /home/neeta/GIT/SAPI/releases/1/.) ]; then mkdir -p /home/neeta/GIT/SAPI/releases/1/.;fi [localhost] > touch /home/neeta/GIT/SAPI/shared/.env [localhost] > ln -nfs /home/neeta/GIT/SAPI/shared/.env /home/neeta/GIT/SAPI/releases/1/.env • done on [localhost] ✔ Ok [246ms] ➤ Executing task deploy:vendors [localhost] > if hash composer 2>/dev/null; then echo 'true'; fi [localhost] < true [localhost] > which composer [localhost] < /usr/local/bin/composer [localhost] > which php [localhost] < /usr/bin/php [localhost] > cd /home/neeta/GIT/SAPI/releases/1 && /usr/bin/php /usr/local/bin/composer install --verbose --prefer-dist --no-progress --no-interaction --no-dev --optimize-autoloader [localhost] < PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20190902/pdo_mysql (/usr/lib/php/20190902/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_mysql.so (/usr/lib/php/20190902/pdo_mysql.so: undefined symbol: pdo_parse_params)) in Unknown on line 0 [localhost] < Deprecation Notice: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in phar:///usr/local/bin/composer/src/Composer/Downloader/SvnDownloader.php:132 [localhost] < Stack trace: [localhost] < phar:///usr/local/bin/composer/vendor/composer/ClassLoader.php:322 [localhost] < phar:///usr/local/bin/composer/src/Composer/Factory.php:476 [localhost] < phar:///usr/local/bin/composer/src/Composer/Factory.php:357 [localhost] < phar:///usr/local/bin/composer/src/Composer/Factory.php:569 [localhost] < phar:///usr/local/bin/composer/src/Composer/Console/Application.php:314 [localhost] < phar:///usr/local/bin/composer/src/Composer/Console/Application.php:426 [localhost] < phar:///usr/local/bin/composer/src/Composer/Console/Application.php:131 [localhost] < phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:122 [localhost] < phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100 [localhost] < phar:///usr/local/bin/composer/bin/composer:54 [localhost] < /usr/local/bin/composer:24 [localhost] < Loading composer repositories with package information [localhost] < Installing dependencies from lock file [localhost] < [localhost] < [ErrorException] [localhost] < "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? [localhost] < Exception trace: [localhost] < () at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:286 [localhost] < Composer\Util\ErrorHandler::handle() at phar:///usr/local/bin/composer/vendor/composer/ClassLoader.php:444 [localhost] < include() at phar:///usr/local/bin/composer/vendor/composer/ClassLoader.php:444 [localhost] < Composer\Autoload\includeFile() at phar:///usr/local/bin/composer/vendor/composer/ClassLoader.php:322 [localhost] < Composer\Autoload\ClassLoader->loadClass() at n/a:n/a [localhost] < spl_autoload_call() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php:75 [localhost] < Composer\DependencyResolver\Solver->__construct() at phar:///usr/local/bin/composer/src/Composer/Installer.php:470 [localhost] < Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:223 [localhost] < Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:119 [localhost] < Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:267 [localhost] < Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:846 [localhost] < Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:191 [localhost] < Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:227 [localhost] < Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:122 [localhost] < Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100 [localhost] < Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:54 [localhost] < require() at /usr/local/bin/composer:24 [localhost] < install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []... ➤ Executing task deploy:failed • done on [localhost] ✔ Ok [1ms] ➤ Executing task deploy:unlock [localhost] > rm -f /home/neeta/GIT/SAPI/.dep/deploy.lock • done on [localhost] ✔ Ok [4ms]