Skip to content

[Bug]: Firefly installation failed #5847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anandbhaskaran opened this issue May 18, 2025 · 1 comment
Open

[Bug]: Firefly installation failed #5847

anandbhaskaran opened this issue May 18, 2025 · 1 comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 💤 Waiting for feedback Issues awaiting a response from the author.

Comments

@anandbhaskaran
Copy link

Error Message and Logs

Docker file: templates/compose/firefly.yaml
Failing container: Cron
Error:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "/entrypoint.sh": permission denied: unknown

Solution

cron:
  image: alpine
  command: ["/bin/sh", "-c", "chmod +x /entrypoint.sh && /entrypoint.sh"]
  volumes:
    - type: bind
      source: ./entrypoint.sh
      target: /entrypoint.sh
      content: |
        #!/bin/sh
        # Substitute the environment variable into the cron command
        CRON_COMMAND="0 3 * ** wget -qO- http://firefly:8080/api/v1/cron/${STATIC_CRON_TOKEN}"
        # Add the cron command to the crontab
        echo "$CRON_COMMAND" | crontab -
        # Start the cron daemon in the foreground with logging to stdout
        crond -f -L /dev/stdout
  environment:
    - STATIC_CRON_TOKEN=$SERVICE_BASE64_CRONTOKEN

Steps to Reproduce

Example Repository URL

No response

Coolify Version

v4.0.0-beta.418

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

No response

Additional Information

The proposed fix solved the issue

@anandbhaskaran anandbhaskaran added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels May 18, 2025
@peaklabs-dev peaklabs-dev added 💤 Waiting for feedback Issues awaiting a response from the author. and removed 🔍 Triage Issues that need assessment and prioritization. labels May 23, 2025
@peaklabs-dev
Copy link
Member

The template works fine for me.

  1. Are you using a sudo user for Coolify or running it with root as it looks like a permission issue?
  2. Your cron 0 3 * ** is also wrong, as this is not a valid syntax, it is missing a space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 💤 Waiting for feedback Issues awaiting a response from the author.
Projects
None yet
Development

No branches or pull requests

2 participants