artisan queue

Hi, I want to run php artisan queue:work -v in a Laravel app after deploy im using NIXPACKS_START_CMD variable but deploy don’t works well when it is present
11 Replies
Percy
Percy2y ago
Project ID: 38a04f85-8470-4aa5-8606-ed84d6c96949
renatoalvarez
renatoalvarezOP2y ago
38a04f85-8470-4aa5-8606-ed84d6c96949
Finn
Finn2y ago
Any error logs. Need more info heree
renatoalvarez
renatoalvarezOP2y ago
@Finn - uses centos here are the captures
renatoalvarez
renatoalvarezOP2y ago
renatoalvarez
renatoalvarezOP2y ago
renatoalvarez
renatoalvarezOP2y ago
@Finn - uses centos
renatoalvarez
renatoalvarezOP2y ago
I tried this: NIXPACKS_START_CMD=([ -e /app/storage ] && chmod -R ugo+w /app/storage); perl /assets/transform-config.pl /assets/nginx.template.conf /nginx.conf && echo "Server starting on port $PORT" && (php-fpm -y /assets/php-fpm.conf & nginx -c /nginx.conf) && (php artisan queue:work) Without sucess
Finn
Finn2y ago
Have you tried listening on 0.0.0. like the message says
Adam
Adam2y ago
it looks like your start command is correct, the issue is that your app is listening on an incorrect port. Set an environment variable called PORT to 8080 and ensure that your app is listening on that same port
Want results from more Discord servers?
Add your server