When deploying my Laravel application, my supervisor queues randomly enter the fatal status and are down. Sometimes it happens on production pushes and sometimes it does not. I am not sure if what part of my deployment commands could be causing the issue but have a feeling it is something to do with the rsync command.
We deploy from codeship. I changed the user and ip for obvious reasons here. :) It almost feels like a permission issue but not sure. Thanks in advance for the help!
rsync -r --size-only --copy-links --exclude "public/.htaccess" --exclude "app/storage" ~/clone/ someuser@127.0.0.1:~/website
scp "public/htaccess.production" someuser@127.0.0.1:~/website/public/.htaccess
ssh someuser@127.0.0.1 "cd ~/website && /usr/local/bin/composer install"
ssh someuser@127.0.0.1 "php ~/website/artisan migrate --force"
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community