From 99e2b44872dd61c3ada84bac127a87a4bd72d8db Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Thu, 29 Oct 2026 16:09:12 +0100 Subject: [PATCH] fix: deploy stops the game:events worker before migrating and seeding The old worker picked up a raid.planned event the seeder had just scheduled and gave up on the unknown type. Co-Authored-By: Claude Opus 5.5 (1M context) --- deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy.sh b/deploy.sh index 79eaff4..ceab813 100755 --- a/deploy.sh +++ b/deploy.sh @@ -43,6 +43,10 @@ fi "${APP[@]}" chown -R www-data:www-data storage bootstrap/cache +# The worker still runs the old code: stop it before the seeder schedules events it may +# not know yet (it gives up on an event after three failures). Restarted below. +"${APP[@]}" supervisorctl stop game-events || true + echo "==> Migrating..." "${APP[@]}" php artisan migrate --force "${APP[@]}" php artisan db:seed --force