This morning my invoice ninja installation was automatically updated to 3.9 (at 08:00 with a cronjob).
Al 10:55, I have a cronjob running for checking the recurring invoices. I have set yearly recurring invoices at the following dates (dd-mm-YYYY):
01-03-2018
01-01-2018
20-04-2018
01-03-2018
01-01-2018
01-03-2018
30-04-2018
Al those invoice are send today, at 13-11-2017 to my customers. There is also one monthly invoice, this one has not been send today.
My administration is now pretty f*cked up and my customers received invoices they should not receive.
Why are these invoices send today? Has it something todo with the update?
In this release we added a four month frequency which required shifting the frequency ids. Since the app wasn’t used the cache wasn’t cleared so the app thought the invoices should be sent every 6 months.
You should be able to prevent this from happening in the future by using the updated version of the script which will loads /update to complete the upgrade.
I hate auto updates, much prefer manually doing it when all my open invoices and other critical items have been cleared. Is there a way to make sure we don’t have these issues without the auto update script? I assumed calling the /update page worked out all these update requirements no?