InvoiceNinja cron not enabled
-
In Invoice Ninja 5 (beta) the cronjobs are not enabled. How can I do this?
-
We've moved the package for v5 to use laravel queues instead of crontab. Maybe there is some other reason having to use cron?
-
Mhm... in the lower left corner there is a warning and when viewing it it says "The crons need to be enabled"
-
This should be gone if you update to the latest version.
-
I thought that when installing it from the App-store it always comes in the newest version. But apart from that after updating it, the error is persisting.
-
@nebulon I updated and still encounter the issue. I’ll try a fresh install and report back
-
@paraviccini Depends on when you installed the app from the App Store. In this case, it looks like the Cloudron team pushed a new update 3 hours ago about the time @nebulon mentioned the latest version, so I have a feeling that's what he meant to say that they pushed a fix already for this just a few hours ago now.
I was about to install Invoice Ninja 5 today and start the migration process so I'll try to update if I run into the same issue too.
-
I can confirm a fresh deployment also has the cron-related error. This is using v5.1.41-C45, which comes on app package
com.invoiceninja.cloudronapp2@0.6.1
.I'm sure this has already been viewed but including it for quick reference: https://invoiceninja.github.io/docs/self-host-troubleshooting/#cron-not-running-queue-not-running
-
I can also see the warning on fresh installs, however after adding a client and sending an invoice, eventually it goes away.
Thing is the actual tasks it refers to are running and get handled by the laravel queue which is active as described in https://laravel.com/docs/8.x/queues#supervisor-configurationAlso hitting the "Refresh Data" shows the tasks being run in the logs, however that notification is not immediately dismissed.
-
@nebulon Okay thanks for clarifying. So it sounds like an upstream UI bug then in Invoice Ninja and once we start using it it should take care of itself. Sounds good.