Troubleshooting and best practices - davidgb8246/RapidRollout GitHub Wiki
π Troubleshooting and Best Practices
This section outlines common pitfalls, necessary configurations, and best practices to ensure smooth operation with RapidRollout.
π Project Creation Rules
-
A repository URL can only be used once per user.
- If you attempt to create another project with the same URL, the system will reject it.
- If you need to update the project, use the Edit function from the My Projects page instead of creating a new one.
π Webhook Requirement
RapidRollout relies entirely on GitHub webhooks to function. Your project will not deploy unless this is properly configured.
-
After creating a project, you must:
-
Copy the secret token provided in the final step.
-
Set up a GitHub webhook with:
- Payload URL from RapidRollout.
- Content-Type:
application/json
- Events: β Send me everything
- Secret: Paste the secret token provided.
-
-
Without the webhook:
- Initial setup will not complete (awaiting the
ping
event). - Pushes will not trigger deployments.
- Initial setup will not complete (awaiting the
β‘οΈ Refer to Setting Up Repository Webhooks for detailed instructions.
π Private Files Must Be Set Before Pushes
Before pushing any code changes, make sure all necessary private files are configured, such as:
.env
files- Secrets
- Configuration files (
.json
,.yaml
, etc.) - Deployment workflow scripts (e.g., after-start bash files)
β οΈ If your app depends on private files and theyβre not properly configured:
- Deployments will fail or result in a non-functional application.
- Your containers or services may crash due to missing environment variables or configs.
π‘ Best Practices
- β Always test your configuration with a manual resave or rebuild before pushing code.
- β Make sure your After Start Scripts do not rely on interactive input and handle failures gracefully.
- β Keep your private SSH key safe and regenerate it if compromised.
- β Use descriptive filenames and folder structures when managing private files to avoid confusion.
- β
Use deployment logs and
addDeploymentStatusMessage
endpoint to debug scripts and issues.
Still having trouble? Visit the My Projects β Edit view to check deployment logs and status messages for clues.