Skip to content

fix: resolve cron execution and optimize MySQL for system health requirements#98

Open
Salem-Al-Zuhairi wants to merge 2 commits intoeramba:1.xfrom
Salem-Al-Zuhairi:fix/contribution-updates
Open

fix: resolve cron execution and optimize MySQL for system health requirements#98
Salem-Al-Zuhairi wants to merge 2 commits intoeramba:1.xfrom
Salem-Al-Zuhairi:fix/contribution-updates

Conversation

@Salem-Al-Zuhairi
Copy link
Copy Markdown

Description

This Pull Request addresses critical issues identified in the Eramba System Health check and improves the stability of the Docker deployment.

Key Changes:

  1. Cron Container Fix:
    • Adjusted the entrypoint for the cron service to use /bin/sh. This resolves startup failures where the script execution might be blocked or the path not correctly interpreted.
    Screenshot 2026-04-20 174842
  2. MySQL Optimization:
    • Increased max_allowed_packet to 128M to meet Eramba's system requirements (resolves "NOT OK" status).
    • Increased innodb_lock_wait_timeout to 200 to prevent database locks during complex operations.
    • Added several configuration flags (--sql_mode, --innodb_strict_mode, etc.) to align the containerized MySQL with the recommended settings for Eramba System Health.
Screenshot 2026-04-20 174736
  1. Environment Setup:
    • Updated the default configuration to ensure a smoother "Simple Install" experience for new users.

How to test?

  1. Deploy using docker-compose.simple-install.yml.
  2. Access Eramba and check the System Health dashboard.
  3. Verify that MySQL Allowed Packet, InnoDB Lock Timeout, and the Worker status are now showing as OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant