InvoiceNinja cron not enabled
-
@telos-one I guess this then is related to the other cron topic.
Generally the jobs are run, but at the moment the UI still shows a warning for some time.If you want to manually make sure all pending tasks are run, you can open a webterminal into the app and run the following to process the current tasks:
php /app/code/artisan queue:work --sleep=3 --tries=3 --max-time=3600
-
@nebulon said in InvoiceNinja cron not enabled:
php /app/code/artisan queue:work --sleep=3 --tries=3 --max-time=3600
I ran that code via the terminal and it didn't give a response. I had to exit out of the command.
I didn't see any change in the dashboard status (red triangle) or have any success with another migration attempt.
I am still unclear wether I am supposed to add a line to cron, or if I am just supposed to wait until the error goes away and try migrating again.
EDIT*. - For clarity, this is the error we are getting when we try to migrate from our v4 install: "Cross account migration is not allowed. Please read more about it here:"
-
@telos-one to clarify, the Cloudron package does not even run the cron daemon, so there is no cron to put a line in. Looking at the documentation now again, I am also not sure what the relation between the queues and the worker is.
Looking at https://github.com/invoiceninja/dockerfiles/blob/master/examples/v5/supervisor/supervisord.conf it seems we might need another artisan daemon to handle the scheduler.
I will prepare an update for the package to test this.
-
I updated and with the default 512MB of memory I got 5 OOM emails overnight for it. Bumped to 1GB of ram to see if it helps. Might need a bump in default RAM.