How can I solve this「Can't open perl script "/assets/prestart.pl": No such file or directory

Project ID: 4358cb63-ffcc-4ed0-8d93-a94e494345f2 deployment ID: fe64d2d I'm trying to deploy a Laravel application. Builder: Nixpacks Providers: Php Custom Build Command: npm run build && composer install --optimize-autoloader --no-dev && php artisan config:cache && php artisan migrate --force Custom Start Command: perl /assets/prestart.pl /assets/nginx.template.conf /nginx.conf && (php-fpm -y /assets/php-fpm.conf & nginx -c /nginx.conf & php artisan inertia:start-ssr) Build Logs is end 「Publish time: 11.75 seconds」ok, but Deploy Logs is Can't open perl script "/assets/prestart.pl": No such file or directory
Solution:
the php provider has changed and it no longer includes perl. please undo your custom command so you can copy down the new default command, then make your changes to the new command...
Jump to solution
8 Replies
Percy
Percy9mo ago
Project ID: 4358cb63-ffcc-4ed0-8d93-a94e494345f2
Solution
Brody
Brody9mo ago
the php provider has changed and it no longer includes perl. please undo your custom command so you can copy down the new default command, then make your changes to the new command
こーひーあーる
I will try. thanks! I removed Custom Start Command, now partially working. thank you. Another problem is that Laravel doesn't seem to be working with SSR (Twitter cards don't seem to be displayed. example : https://godotplayer.com/games/yozora_maker_4x). Is there any workaround?
Brody
Brody9mo ago
i assume something that you where running in your custom command fixed this before?
こーひーあーる
before, i include custom command php artisan inertia:start-ssr, It used to work as SSR. Now, i try 2 pattern. * Custom Start Command empty : Web application works, but does not display Twitter cards, etc. * Custom Start Command setting only php artisan inertia:start-ssr :
Deploy Logs displayed
Starting SSR server on port 13714...
Inertia SSR server started.
Starting SSR server on port 13714...
Inertia SSR server started.
, but Web application does works. (displayed Application failed to respond)
No description
Brody
Brody9mo ago
please see my original message
こーひーあーる
Sorry, I didn't understand English very wel. From the Build log, we could probably figure out the default start command. Thanks!
No description
Brody
Brody9mo ago
feel free to translate into your language! 🙂
Want results from more Discord servers?
Add your server