Skip to content
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

exec /docker-cron-entrypoint.sh: no such file or directory #50

Open
arnaudluti opened this issue Feb 25, 2023 · 11 comments
Open

exec /docker-cron-entrypoint.sh: no such file or directory #50

arnaudluti opened this issue Feb 25, 2023 · 11 comments
Assignees

Comments

@arnaudluti
Copy link

Hello,
Eramba version 1.3.0. Following basic instructions to setup test environment on docker, the cron container crashes with this message.
Arnaud

@ilhammuhammadx
Copy link

I have same issue

@Harry-Drew-Uni
Copy link

Did you manage to find a work around?

@arnaudluti
Copy link
Author

Hi, no, i've tried to modify the dockerfile and/or the docker-compose with no success. I've finally installed Eramba with a previous release.

@Harry-Drew-Uni
Copy link

Thanks for that. Lets hope it get fixed soon

@elsombrante
Copy link
Member

Hello,

What Linux distribution you are using on the host machine?

@donserdal
Copy link

are you on the VMware appliance? Then its under /home/docker. The file is passthought to the container so you need.

@haithammog
Copy link

I have the same issue.

@mrtaxi
Copy link

mrtaxi commented May 20, 2024

this problem related to permissions on hosted mashine. Run command: chmod -R 755 /docker/

@mrtaxi
Copy link

mrtaxi commented May 23, 2024

git clone https://github.com/eramba/docker.git /docker/eramba/
chmod -R 755 /docker/eramba
chmod -R 755 /docker/eramba/mysql/conf.d
chmod -R 755 /docker/eramba/mysql/entrypoint
chmod 664 /docker/eramba/mysql/conf.d/custom.cnf
chmod 775 /docker/eramba/mysql/entrypoint/grant.sh

@tomisee
Copy link

tomisee commented Aug 7, 2024

This issue is occurring as of 07/08/2024.

reproduction steps:

  • git clone https://github.com/eramba/docker.git
  • cd docker
  • docker compose -f docker-compose.simple-install.yml up -d
  • When reading the logs docker-cron-entrypoint.sh file/folder does not exist

@doughjoe77
Copy link

Hi, I'm running Docker Desktop on Windows 11 (shouldn't matter at all in the world of Docker), but I resolved the issue on my side with some tweaks, had to modify the "docker-compose.simple-install.yml" for the "cron" section to look like this:

  cron:
    container_name: cron
    image: ghcr.io/eramba/eramba:latest
    command: ["cron", "-f"]
    #entrypoint: ["./docker-cron-entrypoint.sh"]
    entrypoint: ["../eramba/docker/docker-cron-entrypoint.sh"]

The problem is that the docker-cron-entrypoint.sh is not in the same directory as the startup directory for the container, the extra period takes you out of the "html" directory and lets you point at the file.

after you do that, you need to start community edition like this so the .env file is applied:

docker compose -f docker-compose.simple-install.yml --env-file .env up -d

the web site comes up on https://localhost:8443, I can log in but the dashboard just says loading and never shows any data. I looked in the "error.log" and say this entry here, it appears there may be a bad GROUP BY in a SQL Query?

Request URL: /limitless_theme/js/plugins/editors/summernote/summernote.min.js.map
Client IP: 172.27.0.1
2024-10-01 19:55:05 error: [PDOException] SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #15 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'docker.AdvancedFilterUserSettings.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /var/www/eramba/app/upgrade/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php on line 39
Stack Trace:

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

No branches or pull requests

10 participants