Skip to content

Feat: add installation lifecycle tracking and improve local setup configuration - #466

Merged
nitin-iqudtek merged 5 commits into
developmentfrom
feature/dp/self-host-installations
Aug 5, 2026
Merged

Feat: add installation lifecycle tracking and improve local setup configuration#466
nitin-iqudtek merged 5 commits into
developmentfrom
feature/dp/self-host-installations

Conversation

@dhaval-p-iqud

Copy link
Copy Markdown
Collaborator

📝 What does this change do?

  • Added installation lifecycle tracking for local setup, including install, update, and uninstall events with version tracking.
  • Added support for tracking local setup users for better installation management and future lifecycle operations.
  • Updated the installation and uninstallation flow to keep tracking information in sync.
  • Improved local environment configuration by introducing DB_SSL support for PostgreSQL connections.
  • Refactored environment variable handling to provide clearer defaults and improve local setup compatibility.
  • Improved email service initialization so optional email configuration does not prevent the application from starting when email is not configured.
  • Enhanced logging and error handling for optional integrations.

🔗 Related Issue / Task


🧪 How was this tested?

  • [✅] Manually tested

Steps to Test:

  1. Install the Control Panel using the install.sh script on a clean server.
  2. Verify that the installation completes successfully, database migrations run, and the application starts normally.
  3. Verify installation tracking is created and version information is stored correctly.
  4. Verify uninstall updates the installation tracking state correctly.
  5. Verify the application starts successfully even when optional email configuration is not provided.
  6. Verify PostgreSQL connectivity works correctly with DB_SSL enabled and disabled.

⚠️ Impact / Risks

  • Any breaking changes? NA
  • Any performance impact? NA
  • Any migration required? YES

Note: new ENV variable "DB_SSL=true"

✅ Checklist

  • [✅] Code is self-reviewed
  • [✅] Follows project conventions
  • [✅] No unnecessary logs / debug code
  • [✅] Documentation updated (if needed)

nitin-iqudtek and others added 2 commits August 5, 2026 05:03
Feat: Added new service SearXNG as a template
…nd configuration improvements

- Added installation lifecycle tracking to install.sh, including event types and version management.
- Updated uninstall.sh to report uninstall events and clear tracking state.
- Introduced DB_SSL configuration for PostgreSQL connections across various scripts and environment files.
- Refactored environment variable handling for better clarity and defaults in .env files.
- Improved error handling and logging in email service for better service availability checks.
@dhaval-p-iqud dhaval-p-iqud self-assigned this Aug 5, 2026
@dhaval-p-iqud dhaval-p-iqud added the enhancement New feature or request label Aug 5, 2026
- Enhanced uninstall.sh to validate installation directory before removal and ensure safe operations.
- Updated Docker Compose commands to remove all associated resources during uninstallation.
- Simplified SSL configuration handling in various files by removing unnecessary environment variable dependencies.
- Added error messages for better clarity in email service and public installation processes.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Deploying console with  Cloudflare Pages  Cloudflare Pages

Latest commit: 64fc15f
Status: ✅  Deploy successful!
Preview URL: https://28f85c47.core-6vy.pages.dev
Branch Preview URL: https://feature-dp-self-host-install.core-6vy.pages.dev

View logs

@nitin-iqudtek
nitin-iqudtek added this pull request to the merge queue Aug 5, 2026
Merged via the queue into development with commit 8e4335d Aug 5, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants