Questions tagged [laravel-envoy]

Laravel Envoy provides a clean, minimal syntax for defining common tasks you run on your remote servers. Using a Blade style syntax, you can easily setup tasks for deployment, Artisan commands, and more.

Laravel Envoy is a tool for executing common tasks you run on your remote servers. Using Blade style syntax, you can easily setup tasks for deployment, Artisan commands, and more. Currently, Envoy only supports the Mac and Linux operating systems. However, Windows support is achievable using WSL2.

72 questions
0
votes
0 answers

Envoy Laravel "EOF-LARAVEL-ENVOY: command not found" error

I'm trying to do deploy Laravel application with using Envoy, but I get error: [deployer@xxxx]: Cloning into '/var/www/xxxx/releases/20171214110823'... [deployer@xxxx]: bash: line 5: EOF-LARAVEL-ENVOY: command not found [✗] This task did not…
Garen_eye
  • 33
  • 2
0
votes
1 answer

Running envoy task from controller

I wrote an Envoy task which I was running from the terminal. Now I made a view in my App to run it by pressing a button. The problem is that before envoy was being ran by my user but now its being run with the nginx user which hasn't Envoy installed…
Alan
  • 2,559
  • 4
  • 32
  • 53
0
votes
1 answer

Envoy and Mysql

I'm making a SSH Task with Envoy and Laravel, the problem is that when I make something like @task('truncate', ['on' => 'remote']) echo 'Truncating table...' mysql --help @endtask It outputs mysql: command not found And yes... I have…
Alan
  • 2,559
  • 4
  • 32
  • 53
0
votes
2 answers

Environment variables with Laravel and Envoy

I'm developing a deployment script which makes some extra tasks. Those tasks require some sensitive passwords so I thought about Laravel .env variables to avoid hardcoding them. Is it possible to use my declared .env variables within Envoy tasks?
Alan
  • 2,559
  • 4
  • 32
  • 53
0
votes
1 answer

issue with composer when deploying using Envoyer

I'm having trouble deploying my laravel app using envoyer, the error accuer in installing composer dependencies, here it is: Generating autoload files Illuminate\Foundation\ComposerScripts::postInstall php artisan optimize [RuntimeException] …
SS2015
  • 5
  • 3
0
votes
1 answer

Is phplint compatible with composer's autoloader?

I'm just getting back into PHP and trying to do things the correct way from the beginning. So I've installed PHPLint 2.1_20151116 and I cannot seem to get it to work with composer's autoload. Is it possible? For example I am trying to add a test…
Rob
  • 3,687
  • 2
  • 32
  • 40
0
votes
2 answers

Private Github Repositories with Envoy

Anybody has any problems deploying with Laravel's envoy when using private Github repos? When manually cloning my repo from the production server, the ssh key seems to be accessible but when using Envoy, I always get a "Permission denied (publickey)…
jaggy
  • 822
  • 1
  • 10
  • 20
0
votes
1 answer

"stdin is not a terminal" when run Laravel Envoy tasks

One month later, all commands works great, but now... When I try run envoy run deploy @servers([ 'mt' => 'user@xxxx.xxxx.xxxx' ]) @task('deploy', ['on' => 'mt']) cd /var/www/html/xxx.xxxxxx.xxxx git pull origin dev composer…
Patrick Maciel
  • 4,874
  • 8
  • 40
  • 80
0
votes
2 answers

Laravel "envoy run" command not working with ssh key

I am running following command in a laravel project folder and getting following error. rakib$ envoy run list --env=production [ubuntu@54.187.123.4]: Permission denied (publickey). But I can successfully ssh using following command: ssh -i…
Rakib
  • 23
  • 1
  • 6
0
votes
2 answers

Laravel Envoy Error: Was not Expected at This Time

I have tried to use Laravel Envoy, but when I run envoy run deploy I get the following error message: [x.x.x.x]: << was not expected at this time. Envoy.blade.php @servers(['web' => 'x.x.x.x']) @task('deploy', ['on' => 'web']) ls @endtask My…
Miguel Borges
  • 7,549
  • 8
  • 39
  • 57
-1
votes
1 answer

how to remove PHP version error on deployment

I am using Xampp for local development, and I am working on the Laravel application. Everything works fine on the local server, but I am unable to deploy it. I am getting this error: Problem 1 - Installation request for symfony/css-selector…
Harris Khan
  • 247
  • 2
  • 3
  • 9
-1
votes
1 answer

How from my envoy script to write app version to database?

With laravel 5.8 envoy command I deploy my changes and I need from my envoy script to write app version to database For this I created console command , which is located in app/Console/Commands/envoyWriteAppVersion.php file, but I did not find how…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
1 2 3 4
5