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

setup fails to create tasks directory and blocks worker from working on tasks #89

Closed
carlin-q-scott opened this issue Feb 1, 2023 · 2 comments

Comments

@carlin-q-scott
Copy link
Contributor

When I run docker-compose up in the dockerhub directory for this repo, it creates two folders, data1 and data2. The worker then attempts to create log files in data2/tasks, but that directory doesn't exist, so the worker fails to run the task. Simply creating the tasks directory solves the issue.

The setup script should run mkdir on that directory so that the worker can write its logs.

@marcinguy
Copy link
Owner

@carlin-q-scott Idea is good. I create those dirs in start.sh script. There is some logic not to setup the system on next run, only on initial. If you know how to make it altogether, feel free to PR. P.S Somehow the directories are created under root in Linux when running Docker as a normal user. This needs to be also taken into consideration (reading them, removing needs super user rights)

@marcinguy
Copy link
Owner

@carlin-q-scott Fixed

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

2 participants