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
Project ID:
38a04f85-8470-4aa5-8606-ed84d6c96949
You might find these helpful:
- Nixpacks build failed. Error No start command could be found. How can i fix that?
- Laravel app fails to launch when deploying with Nixpacks
- hi, I have trouble deploying my Laravel project, can anyone help out via streaming? thanks
⚠️ experimental feature
38a04f85-8470-4aa5-8606-ed84d6c96949
Any error logs. Need more info heree
@Finn - uses centos here are the captures
@Finn - uses centos
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
Have you tried listening on 0.0.0. like the message says
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