Duplicate Recurring Invoices
-
Hello,
I'm having an issue with recurring invoices being created in duplicate.
This has happened multiple times across multiple clients, even resulting in duplicate charges to clients with Auto Bill enabled.
I've found someone else with a similar issue and it looks like some poor documentation from Invoice Ninja could have resulted in the crons being configured in a way that creates this error.
Here is the similar issue:
https://forum.invoiceninja.com/t/recurring-invoices-duplicating/13009/4The fix offered in this thread is to edit the crons.
Since I cannot edit the default crons that Cloudron creates, can someone check if this is the issue? If not, what are some other possible causes?
Additionally, in the Cloudron docs it says the cron logs are located at /app/data/storage/logs/cron.log. but that file doesn't exist for me.
-
I also have encountered this issue, to the point I've disabled auto billing bc I couldn't find any other way to make it stop.
-
Yes, a very serious issue with what appears to be an overly simple fix. Hopefully the Cloudron team can fix promptly. @girish
-
Yes I have. It is empty.
-
@Dave-Swift Is this InvoiceNinja 5 or the old one Invoice Ninja 4? The link/solution you posted to is for InvoiceNinja 4 (which is totally different from Invoice Ninja 5).
-
-
Iām running the latest version on Cloudron. Sorry this app is fairly new to me.
-
@Dave-Swift Ah ok. So basically, sometime back we had an app with the app store id
com.invoiceninja.cloudronapp
. This is Invoice Ninja 4 . Later, the Invoice Ninja team published Invoice Ninja 5. These two versions are totally different and incompatible.When the new version v5 came out, we hid the old version and published it with a new app store id
com.invoiceninja.cloudronapp2
. If you go to the Updates section of the app, is this the id you see i.ecom.invoiceninja.cloudronapp2
?The solution you posted earlier (https://forum.invoiceninja.com/t/recurring-invoices-duplicating/13009/4) is for v4 app and not v5 app (atleast, as far as i can tell , despite it being posted in v5 thread!). I know confusing...
-
I understand! I'm running com.invoiceninja.cloudronapp2@1.11.18
I apologize I didn't realize the post I linked to was for a different version.
-
I personally don't trust InvoiceNinja yet, I'm using it but I've configured my own emails instead of any client email so I can always double check whatever will be sent , I follow the "trust but verify" mindset for too critical procedures like billing, especially because I'm too new to InvoiceNinja . I have indeed some invoices sent in double or with bugs in formatting and data. I have to say not only the docs of InvoiceNinja are not clear, their whole UI is confusing for me.
-
No solution to this? InvoiceNinja just broken for recurring invoices? Is that the conclusion?
-
They told me to check crons. I can't see any, so I'm not sure what to do.
Also, I mentioned above in the Cloudron docs it says the cron logs are located at /app/data/storage/logs/cron.log. but that file doesn't exist for me.
-
Hm, the package does not actually use cron as such but two long-lived processes working the schedule and queue: https://git.cloudron.io/cloudron/invoiceninja-next-app/-/tree/master/supervisor?ref_type=heads
Are both up and running in your failing instance?
-
Yes, they're running.
-
@Dave-Swift looks like the docs are quite obsolete. I am cleaning them up now.
-
@Dave-Swift I think I have found the issue. Looks like we active the internal cron and the package also has a cron of it's own. Getting fixed.
-
@Dave-Swift Can you please try with package 1.12.0 ?
-
Unfortunately the double billing is still occurring.