Describe the bug
I have set up a few different "Stay in Touch" reminders which all should have triggered (I've been using Monica for about a month now and all my reminders are <1 month). Only one has been triggered however.
Which version are you using:
A server you maintain yourself
www-data@monica:~/monica$ git status
HEAD detached at v2.19.1
I'm not using docker or anything. If you need to know the version of anything else, please ask :)
Additional context
I don't think there's an issue with the emailing, I can send myself test emails fine, and one of the reminders to stay in touch did come through just fine.
One of the logs showing what I think could be related to the issues: https://pastebin.com/7VE0K1NX
I don't understand why I would be getting a database connection issue though, all the rest of the application works fine. Perhaps something to do with the php/cron/mysql environment not working? My cron job is also below. When I run the command in the shell, I don't get any errors.
I was able to check the crons table myself manually using the username and password from the .env file.
I note I've only just added the /var/www/monica/storage/logs/cron part, the logs I've got thus far look like below (with lots more of the "fatal" errors)
fatal: not a git repository (or any of the parent directories): .git
No scheduled commands are ready to run.
fatal: not a git repository (or any of the parent directories): .git
Running scheduled command: '/usr/bin/php7.3' 'artisan' send:reminders > '/dev/null' 2>&1
Running scheduled command: '/usr/bin/php7.3' 'artisan' send:stay_in_touch > '/dev/null' 2>&1
fatal: not a git repository (or any of the parent directories): .git
No scheduled commands are ready to run.
Any help would be greatly appreciated. I'm moderately comfortable with Linux and programming, so if you wanted me to run any commands or try some thing, I'll try my best. I'm keep to get this sorted. Happy to chuck £10 Monica's way if I can sort this out :) (although I can't see any way to donate. Perhaps I'll just sign up for a month or something)
Describe the bug I have set up a few different "Stay in Touch" reminders which all should have triggered (I've been using Monica for about a month now and all my reminders are <1 month). Only one has been triggered however.
Which version are you using:
I'm not using docker or anything. If you need to know the version of anything else, please ask :)
Additional context I don't think there's an issue with the emailing, I can send myself test emails fine, and one of the reminders to stay in touch did come through just fine.
One of the logs showing what I think could be related to the issues: https://pastebin.com/7VE0K1NX I don't understand why I would be getting a database connection issue though, all the rest of the application works fine. Perhaps something to do with the php/cron/mysql environment not working? My cron job is also below. When I run the command in the shell, I don't get any errors.
I was able to check the crons table myself manually using the username and password from the
.env
file.I note I've only just added the
/var/www/monica/storage/logs/cron
part, the logs I've got thus far look like below (with lots more of the "fatal" errors)Any help would be greatly appreciated. I'm moderately comfortable with Linux and programming, so if you wanted me to run any commands or try some thing, I'll try my best. I'm keep to get this sorted. Happy to chuck £10 Monica's way if I can sort this out :) (although I can't see any way to donate. Perhaps I'll just sign up for a month or something)