-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Scheduled emails not working on self-install of Monica (no cron in container) #5084
Comments
Ok strange but installing and running cron did not solve the issue. Still didn't receive a test email for a reminder. I got |
Hi. Also have a look at some of the comments in #4178, to see if related... |
Hey @cstrat and @zeezhao, today I reinstalled Monica with Supervisor in a new container but I'm also still running into this issue (see for more information monicahq/docker#48) |
Ok now that My issue can be summarised as me not understanding what docker was doing. FYI this is my
In the directory You will notice I am not using the In my setup, I now have a directory with my docker-compose file, the setup dir and my mounted volumes. So backing this up is quite simple, I just rsync the whole dir and I should be able to restore by just copying the whole folder. |
This issue has been automatically locked since there |
I've installed Monica via
docker-compose
.Largely following the guide on docker-hub for the Apache version: https://hub.docker.com/_/monica
Things that appeared to be missing from that guide are the fact email config needs to be included in the app environment block in docker-compose. I did read the linked section on docker-compose, but I was't sure how downloading the example
.env
file would integrate with the docker setup. (https://github.com/monicahq/docker/tree/master/.examples)Now my issue with scheduled emails not working is because cron is missing from the container.
The docker-compose example doesn't include any information on this.
It looks like
crontab
itself is setup correctly - just cron is not installed.So I've manually installed cron inside the container (and had to manually start the service), but that manual step will need to be done each time I rebuild the container.
What is best practice here?
This is probably a very easy thing to do if I had a better understanding on how docker is supposed to be setup.
I'd be happy to help contribute to update the guide - but I don't know the most correct answer myself.
The text was updated successfully, but these errors were encountered: