Questions tagged [envoyer.io]

Envoyer is a zero downtime PHP deployment service.

Envoyer is a zero downtime PHP deployment service.

39 questions
9
votes
1 answer

Uploading Specific Vendor files with Laravel's Envoyer

I'm trying to upload only specific vendor files to my server using Laravel Forge. The reason is because I've edited the code in some of my dependencies, whats happening now is that certain features of my site are breaking because when I push from…
Luna
  • 537
  • 1
  • 12
  • 26
5
votes
1 answer

Envoyer Deployment with custom artisan command fails

I have a problem deploying my project with envoyer which executes an artisan-command I created. The command gets all my users, performs another artisan command ($this->call('command')) and performs it actions by iterating through all the users. The…
Slatyoo
  • 130
  • 15
4
votes
1 answer

Symlink uploads folder in Laravel Envoyer via deploy script

I have a laravel project deployed to AWS. Recently I gave a thought about using Envoyer for zero downtime deployment. My project has an uploads directory where user uploads are added by code. Of course that's not added in git. So when envoyer…
Abhishek
  • 3,900
  • 21
  • 42
4
votes
2 answers

Uncaught ReflectionException: Class hash does not exist in envoyer deploy

I'm deploying using envoyer as usual. The one caveat is that during my local host development (and while i was switching git branches).. I faced this error: [ReflectionException] Class App\Http\Controllers\Admin\BatchUpdateStoresController does not…
abbood
  • 23,101
  • 16
  • 132
  • 246
4
votes
1 answer

Envoyer deployment hooks - command not found

I use envoyer.io for deploying my apps. Recently I removed compiled css/js files from my git repo. Instead I want to compile them on production server. I tired to add a couple of deployment hooks after composer install. But without any success,…
Victor
  • 5,073
  • 15
  • 68
  • 120
3
votes
1 answer

Laravel deployment via Envoyer to Cpanel

I have a VPS running WHM and Cpanel. I have multiple domains hosted there. Say one of them is example.com What I am intending to do is have two versions of the application. Production: example.com > /public_html/ Development: staging.example.com >…
prakashchhetri
  • 1,806
  • 4
  • 36
  • 61
3
votes
1 answer

Laravel / Envoyer production error - Class view does not exist

I recently created a new production deployment for a new Laravel-based system. Initially, I had a few permissions issues with the storage folder that I resolved pretty easily. Once I resolved those, I had the app running correctly, but upon my next…
hcexile
  • 446
  • 7
  • 22
2
votes
2 answers

Reuse a develop branch after merge

Git newbie here! Here's the scenario: app built in Laravel + Envoyer for deploying. So I have a master / develop branches, the first one deploying to site.com and the other one to dev.site.com I've developed a new feature on develop branch and…
user50694
  • 31
  • 4
2
votes
3 answers

Composer install doesn't actually install library

Problem This is a weird one. I simply added this to my composer.json file: "maatwebsite/excel": "~2.1.0" Yet when I run composer install, that library doesn't get installed: composer show | grep excel returns nothing. And so every time I run my…
abbood
  • 23,101
  • 16
  • 132
  • 246
2
votes
0 answers

Why is Forge queue using the deprecated queue:listen command?

Background We have historically had trouble with deploying during operational hours (our setup: we have two EC2 instances behind a load balancer, which each instance having it's own beanstalkd queue. Each instance is configured using forge, and we…
abbood
  • 23,101
  • 16
  • 132
  • 246
2
votes
1 answer

Laravel scheduler command never runs a 2nd time

I've configured scheduler to run once every minute to execute two commands: $schedule->command('amazon:read-sqs') ->everyMinute() ->runInBackground() ->withoutOverlapping() ->sendOutputTo(storage_path('logs/cmd/amazon_read_sqs.log'),…
eComEvo
  • 11,669
  • 26
  • 89
  • 145
2
votes
2 answers

Forge deployment clears .env file

Ok, i'm not sure i've got this figured out quite right yet. Everywhere i look, everyone says not to include your .env file in your repo. This makes sense. What I don't understand is how i'm meant to add the .env to a deployed site. I'm building a…
eurobob
  • 221
  • 1
  • 4
  • 18
1
vote
0 answers

Laravel 8 - Envoyer & Homestead Deployment Issues

So I am using Laravel Homestead for my local development. I opted to install it per-project rather than globally so that all of my Homestead configuration files would be tracked in my git repository. To keep my repository clean, I opted to place the…
DevenDoes
  • 11
  • 2
1
vote
0 answers

File changes are not reflecting after deployment through Envoyer

I am using Envoyer, and when I deployed my project to a live server using Envoyer, the changes did not occur. But when I restart the PHP server from Forge, it worked. Is there any command I used in the hook that auto-restart the PHP server? I am…
1
vote
2 answers

env file keeps deleting after deploying with Envoyer

I'm using Laravel 5.4, Envoyer and Forge. Every time I deploy master branch on Envoyer, my .env file gets deleted. It has no content. What should I do? Is it maybe my configuration faulty?
Miha Vidakovic
  • 393
  • 1
  • 4
  • 13
1
2 3