Questions tagged [php-deployer]

A deployment tool written in PHP with support for popular frameworks out of the box.

Deployer Features

  • Fast : Deployer is packed with time-saving features and optimisations, best for performance and development.
  • Modular : Create your own deployment script based on our modular blocks called "recipes".
  • Clean code : Deployer has a very clean and well tested code. The repository is watched by many code quality tools, and every pull request is also checked by QA tools.
  • Rollbacks : If something is wrong, a simple rollback to the previous release is possible.
  • Atomic : deploys Prepare codebase, warm cache, do other stuff, and then deploy them with symlinks!
  • Parallel :tasks Deployer can run tasks in parallel, no other extension is required!
  • Consistency: Deployer keeps consistency between servers, even in parallel mode! If one task fails, subsequent tasks will not be executed on all servers.

Website

99 questions
0
votes
1 answer

Ignore packagist.org and specify path for one bundle

I modified a symfony 4 bundle to fix some bug. I now want to deploy my project through https://deployer.org/. So I added this bundle not ignored in the .gitignore so that the folder of the bundle with my modifications is available on my github…
SkroS2
  • 81
  • 1
  • 12
0
votes
1 answer

Deployer doesn't pick up cached binaries

Deployer: 6.4.6 OS: Ubuntu 18.04 LTS npm: 5.6.0 node: 8.11.4 Hello, when deploying with deployer my npm install takes 157s, but when I tried to recreate that step when ssh'ed (with the same user) it took 13~s when node_modules are in place, when…
Dr. House
  • 483
  • 7
  • 23
0
votes
1 answer

Am I missing something when deploying using bitbucket repo and composer deployer?

I am trying to deploy my WordPress site from local to staging. I'm able to deploy the files up to my hosting site but now I'm getting an error in Chrome when I'm trying to access my site http://staging.responsivhub.com/ After uploading my site to my…
0
votes
2 answers

htaccess rewrite http to https and remove subdirectory from url

Hi I am use Deployer to deploy a Craft CMS website. The site is symlinked to the directory called 'current'. I am using mod rewrite to remove the /current/public from the url in the document root like so: RewriteEngine On RewriteCond %{REQUEST_URI}…
Pedro
  • 1,148
  • 4
  • 16
  • 35
0
votes
2 answers

Laravel get 500 error after deploying with deployer to digital ocean

Can't figure this one out. I'm hosting my Laravel site on Digital Ocean. To deploy the site I user deployer from deployer.org and their Laravel Recipe. Havn´t really changed anything in their config but whan I deploy I can visit the startpage just…
Joel
  • 3,166
  • 5
  • 24
  • 29
0
votes
1 answer

How to execute a task on another host without changing the deploy host [Deployer]?

I want to write a script that connects to a 2nd host to execute commands there. with dep deploy stage it should executes task on host: live too It connects to host: live makes a db-dump and downloads is to the deploy-computer It connects to host:…
MonTea
  • 1,166
  • 1
  • 13
  • 30
0
votes
0 answers

Symfony4 + deploy project

I encounter an error when I try to deploy with php deployer. Here is the error that I meet: Extracting archive - Installing symfony/web-link (v4.1.4): Loading from cache Extracting archiveGenerating optimized autoload files …
Chris99391
  • 551
  • 1
  • 6
  • 18
0
votes
1 answer

Docker. Symlink INSIDE context not working

I've simplified setup for demonstration purposes, but I don't understand why this issue happens. What do I miss. Project folder content current -> releases/21 releases inside releases/21 project with docker-compose.yml is located. Here is the…
D.R.
  • 2,540
  • 3
  • 24
  • 49
0
votes
1 answer

deployer composer exception - how to debug?

I am using deployer to deploy my laravel application to an LEMP stack. The setup has successfully copied all the files to the server in the release folder, however the composer install always fails, with the error code of ... Extracting…
Adam Lambert
  • 1,311
  • 3
  • 24
  • 45
0
votes
1 answer

Why Deployer say storage:link failed when i start using public disk in Laravel?

i use php deployer tool (Deployer.org) for deploy my app on Laravel 5.5. When i start use public disk with symlynk storage -> storage/app/public, i have got error on deployng: In Client.php line 96: The command "/usr/bin/php…
Ilya Vo
  • 2,239
  • 3
  • 18
  • 31
0
votes
0 answers

Deployer laravel recipe and blade templating deploy issue

I am trying to setup deploy using Deployer with laravel recipe my deploy.php is without any customisations just with: require 'vendor/deployer/deployer/recipe/laravel.php' and host configuration. Unfortunately I have issue with templating. Every…
KavonSakul
  • 39
  • 2
0
votes
1 answer

Deployer php - Shared files does not work

I am trying to deploy a Wordpress web site using php deployer, but I have a problem with the wp-config.php file in the shared folder. When I deploy, this one is not shared and I am redirected in /wp-admin/setup-config.php. Did I forgot something…
Kevin
  • 4,823
  • 6
  • 36
  • 70
0
votes
1 answer

Differing PHP versions using ssh

I am trying to setup deployer php on a shared server. And having trouble running php remotely on the server. The server is running php 7.0.6 for normal http requests. And if I SSH in via terminal and run php -v on the remote server I get: # php…
Ryan
  • 414
  • 1
  • 6
  • 16
0
votes
1 answer

Using deployer in windows 10, There are no commands defined in the "C" namespace

got deployer set up in my user directory, so from that location I access deployer via this cmd: call vendor/bin/dep I have a deploy.php config file located in project directory. When I run the following cmd, the error follows: C:\Users\>call…
mcv
  • 1,380
  • 3
  • 16
  • 41
0
votes
1 answer

How can you check if there are migrations while running a deploy using deployer

I'm using Deployer to deploy my Symfony application to production. All is working fine, however, my deploy.php file has the command for database migrations: /** * Run a diff to generate migrations, */ task('database:diff', function ()…
John the Ripper
  • 2,389
  • 4
  • 35
  • 61