Build seems to work but then... doesn't

My build seems to work. It gets through everything then gets to a stage where it outputs this for several minutes:

Jun 29 11:35:11 PM  2022-06-29 22:35:11,943 INFO exited: laravel-notification_00 (exit status 1; not expected)
Jun 29 11:35:11 PM  2022-06-29 22:35:11,943 INFO exited: laravel-queue_02 (exit status 1; not expected)
Jun 29 11:35:12 PM  2022-06-29 22:35:12,243 INFO spawned: 'laravel-notification_00' with pid 74
Jun 29 11:35:12 PM  2022-06-29 22:35:12,245 INFO spawned: 'laravel-queue_02' with pid 75
Jun 29 11:35:13 PM  2022-06-29 22:35:13,742 INFO success: laravel-notification_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Jun 29 11:35:13 PM  2022-06-29 22:35:13,742 INFO success: laravel-queue_02 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Jun 29 11:35:15 PM  2022-06-29 22:35:15,145 INFO exited: laravel-queue_01 (exit status 1; not expected)
Jun 29 11:35:15 PM  2022-06-29 22:35:15,649 INFO spawned: 'laravel-queue_01' with pid 76
Jun 29 11:35:15 PM  2022-06-29 22:35:15,747 INFO exited: laravel-queue_04 (exit status 1; not expected)
Jun 29 11:35:15 PM  2022-06-29 22:35:15,946 INFO spawned: 'laravel-queue_04' with pid 77
Jun 29 11:35:16 PM  2022-06-29 22:35:16,443 INFO success: laravel-queue_01 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Jun 29 11:35:16 PM  2022-06-29 22:35:16,943 INFO success: laravel-queue_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Jun 29 11:35:18 PM  2022-06-29 22:35:18,143 INFO exited: laravel-queue_00 (exit status 1; not expected)
Jun 29 11:35:18 PM  2022-06-29 22:35:18,544 INFO spawned: 'laravel-queue_00' with pid 78
Jun 29 11:35:19 PM  2022-06-29 22:35:19,346 INFO exited: laravel-schedule_00 (exit status 1; not expected)
Jun 29 11:35:19 PM  2022-06-29 22:35:19,544 INFO spawned: 'laravel-schedule_00' with pid 79
Jun 29 11:35:19 PM  2022-06-29 22:35:19,545 INFO success: laravel-queue_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

it just spews out that for like 10 mins and then the build says it failed with no error or reason.

any ideas?

Hi @Songbox,

I see some errors in the deploy logs for your service (click on the events tab and click into the latest deploy). One looks to be related to a database connection - you might need to set up your database and database connection details for your service. There’s another error which resulted in the build exiting

error: failed to solve: process "/bin/sh -c composer update" did not complete successfully: exit code: 1
and one above it that points to a more specific process:
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

There’s a related thread here which provides some suggestions for debugging the error: https://stackoverflow.com/questions/46986001/script-php-artisan-packagediscover-handling-the-post-autoload-dump-event-retur

I would also recommend checking our Laravel guide to make sure you’ve updated the config as necessary: https://render.com/docs/deploy-php-laravel-docker

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.