[Akaunting] - Fix reminders #305
Labels
No Label
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
fun_project
Goal 2024
help wanted
Howto
🤔️ Investigate
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
question
Ready
refined
Roundcube
searX
spam-protection
Staging Server
Themes
TOR
Urgent!
Website
windows
wontfix
xmpp
Yearly Report
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/Disroot-Project#305
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For some reason, I can't have reminders to be sent on test instance. I create an invoice, don't pay it, but I don't get an email to remind me to pay it, even though I enabled and set this in the test instance settings.
I have tried
artisan schedule:run
andartisan reminder:invoice
, but it doesn't mae any difference.I saw there is a new major version (3.0) released and quick glace at documentation shows the scheduled events are handled differently to 2.1 version. I have updated to latest 2.1 but 3.0 needs php8. I started a branch for php8 in host_vars but gonna hit the bed now. I will contirnue tomorrow, run update to latest ver of akaunting (its always tricky this one, as I had issues updating to minor now even) and will try to see what's up and how to fix it. Wish me luck. I will keep you posted.
Check Disroot-Ansible/akaunting#4 for php8
I think this is ready and tested on test instance. Looks to be working fine. The main problem (and I think this includes also reoccuring job not launching) is that akaunting works using UTC timezone and I as far as see the change would require change in the code. So when using CEST timezone on the OS level, when launching cronjob not at the time when scheduled jobs should be run, it will skip reminders and reoccuing.
Running the job at the same time as it should be run according to UTC, solves this problem seems like.
I haven't create ton of invoices so something for @antilopa and @meaz to check whether it works as expected.
@muppeth I did some tests, I can confirm than both recurring and reminders work on test instance.
@meaz great. I will apply the fix to the prod setting and update to latest akaunting then.
#306 should be fixing it.