Skip to content

Conversation

@yanniksuess
Copy link

Fix workspace inactive days validation error

Initialize both WORKSPACE_INACTIVE_DAYS_BEFORE_DELETION (21) and WORKSPACE_INACTIVE_DAYS_BEFORE_NOTIFICATION (7) to prevent validation error requiring notification days to be less than deletion days.

Changes

  • WORKSPACE_INACTIVE_DAYS_BEFORE_DELETION = 21
  • WORKSPACE_INACTIVE_DAYS_BEFORE_NOTIFICATION = 7

Issues

  • To prevent validation error on startup

Fix workspace inactive days validation error

Initialize both WORKSPACE_INACTIVE_DAYS_BEFORE_DELETION (21) and WORKSPACE_INACTIVE_DAYS_BEFORE_NOTIFICATION (7) to prevent validation error requiring notification days to be less than deletion days.
Copy link
Member

@ShadowArcanist ShadowArcanist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please implement the suggested changes and rewrite the PR title to specify the service name to avoid confusion (you can check other service related PRs for an inspiration)

@ShadowArcanist ShadowArcanist added ⚙️ Service Issues requesting or PRs adding/fixing service templates. 💤 Waiting for changes PRs awaiting changes from the author. labels Oct 24, 2025
@github-actions
Copy link
Contributor

Hi @yanniksuess! 👋

It appears to us that you are either adding a new service or making changes to an existing one.
We kindly ask you to also review and update the Coolify Documentation to include this new service or it's new configuration needs.
This will help ensure that our documentation remains accurate and up-to-date for all users.

Coolify Docs Repository: https://github.com/coollabsio/coolify-docs
How to Contribute a new Service to the Docs: https://coolify.io/docs/get-started/contribute/service#adding-a-new-service-template-to-the-coolify-documentation

- Added storage for image and other uploads
- Added worker for maintenance
- Added health check retries for the worker
@yanniksuess
Copy link
Author

Fix image upload 404 errors by adding persistent storage and worker service

Changes:

  • Added volume mount
    twenty-local-storage:/app/packages/twenty-server/.local-storage to
    persist uploaded files across container restarts
  • Added worker service for background job processing (email, webhooks, cron
    jobs)
  • Worker has all environment variables from main service +
    DISABLE_DB_MIGRATIONS and DISABLE_CRON_JOBS_REGISTRATION
  • Increased healthcheck retries from 15 to 60 to allow more startup time
  • Worker depends on twenty service health check
  • Upgraded to Postgres 16 (Since version v0.43.0)

This fixes the 404 errors when uploading images - files are now saved to a
persistent Docker volume instead of ephemeral container storage.

@yanniksuess yanniksuess changed the title Set workspace inactive days for notifications and deletion Add persistent storage, worker service, postgres update, and workspace inactive days configuration Oct 26, 2025
@yanniksuess yanniksuess changed the title Add persistent storage, worker service, postgres update, and workspace inactive days configuration Coolify: Added persistent storage, worker service, postgres update, and workspace inactive days configuration Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ Service Issues requesting or PRs adding/fixing service templates. 💤 Waiting for changes PRs awaiting changes from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants