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

postgres support: raintale-celery.service missing EnvironmentFile=/etc/raintale.conf #46

Open
ato opened this issue Nov 16, 2021 · 2 comments
Assignees

Comments

@ato
Copy link

ato commented Nov 16, 2021

After enabling postgres support according to the documentation jobs get stuck with status "Waiting" and raintale-celery service logs the following error:

Nov 16 07:52:32 localhost.localdomain celery[71877]: psycopg2.OperationalError: FATAL: password authentication failed for user "raintale"

Fixed by adding this line to [Service] section in /etc/systemd/system/raintale-celery.service:

EnvironmentFile=/etc/raintale.conf

and then restarting with:

sudo systemctl daemon-reload
sudo systemctl restart raintale-celery
@shawnmjones
Copy link
Member

Very nice! I left it out because it was not needed for SQLite, but that totally makes sense for postgres installs. I'll include this fix. Thank you.

@shawnmjones shawnmjones self-assigned this Nov 17, 2021
shawnmjones added a commit to oduwsdl/hypercane that referenced this issue Nov 23, 2021
@shawnmjones
Copy link
Member

I am removing this from the project as part of the IIPC 2021 Grant project closeout. It still needs to be reviewed by a third party.

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