Kate
11/06/2025, 10:05 AMMarvin
11/06/2025, 10:05 AMMarvin
11/06/2025, 10:18 AM--no-services, those consumers don’t run, so automations will not fire.
- Workers do not evaluate automations; they only execute runs after the server creates them.
What to do instead:
- Start the server normally so services run: prefect server start (no --no-services)
- If you’re self-hosting and customizing services, ensure the triggers service is enabled (defaults to on).
Helpful links:
- Event-driven automations (concepts)
- prefect server start (CLI)
- Triggers services (API)
- Settings reference
Are you on Prefect Cloud or running a self-hosted Server? If self-hosted, I can help you confirm the right services are enabled.Kate
11/06/2025, 10:28 AMuvicorn --factory prefect.server.api.server:create_appMarvin
11/06/2025, 10:28 AMMarvin
11/06/2025, 10:29 AMprefect server start
- Avoid --no-services — that disables Automations.
- Docs: prefect server (CLI)
Option B: Keep using uvicorn for the API, and start services separately
- Keep your API:
uvicorn --factory prefect.server.api.server:create_app
- Start services in a sidecar/background process:
prefect server services start --background
- Verify they’re running:
prefect server services ls
Notes:
- The triggers services (reactive/proactive) must be enabled (they are by default). If you customize settings, ensure triggers remain on; see Settings reference.
- Workers do not evaluate automations; they only execute runs once the server triggers them.
Helpful links:
- Event-driven automations (concepts)
- Server CLI (start/services)
- Triggers services API
If you want, share how you’re deploying (systemd, Docker, Kubernetes) and I can suggest a sane process layout to run uvicorn + services together.Kate
11/06/2025, 10:41 AMMarvin
11/06/2025, 10:41 AMMarvin
11/06/2025, 10:43 AMprefect server services start --background
- Verify:
prefect server services ls
When you might want Redis:
- If you run multiple API/service processes across hosts or need higher-throughput/shared messaging, you can add the Redis integration and point the event bus to Redis. Otherwise, you can skip it.
Links:
- Self-hosted server overview
- Server CLI (services)
- Prefect Redis integration
Are you planning to run multiple API/service replicas, or just a single instance? I can suggest a concrete setup based on that.