Solved Invoice Ninja 5 (beta)
-
Found this today, which may be helpful to some before we switch over to v5: https://youtu.be/NgwCxIMry54
-
Any updates on a package for v5?
-
@telos-one according to their readme, 5 is still beta, we will update the package once it is stable and hopefully there will some solid migration possible as well.
-
Hi, I'm one of the developers of Invoice Ninja. Really cool to see all of the interest in v5, we've been working on it for a while now and are extremely excited to release it!
We actually just reached out to Clourdon to discuss getting the package ready for our stable release in a few weeks, they shared this thread with us.
If you have any questions about the new version I'm happy to answer them. Also, any feedback on the new version would be very much appreciated!
-
@hillel369 thanks! hopefully, we can get a unstable version of v5 for people to test out in the coming week or two already.
-
@hillel369 Hey, great to see another app developer here and I'm certain you're very welcome! Hope you're enjoying Cloudron too
Great work on v6 too! I think I posted or emailed this a while back but a "compact mode" for the UI, similar to GMail. Guessing the UI framework might already have an option for that it is is in common?
-
Just got an email from IN declaring v5 stable. It looks awesome.
-
Indeed and we are working with them to get a v5 package out. There is one pending issue for the moment which is fixed in the next upstream release. Once that is done, we will release it to the library as a separate app since there is no automatic migration path.
-
@nebulon THANK YOU! Really looking forward to the v5 release!
-
I have published a v5 package now (this is a separate entry in the app listing) as unstable. Would be great to get some feedback on this.
As the unstable tag indicates, this is not yet ready for production. Also the data migration has to be done manually as there is no automated way to perform this for now.
The migration process is outlined at https://invoiceninja.github.io/docs/migration/
-
@nebulon One think I notice is this error. Seems like theres an issue with the cron? WOnderful job packaging this by the way! I love the look of v5. Looks like it was made in the last decade
-
My guess: missing symlink to /app/data
Same with Documents/Files -
[0.2.0]
- Update to InvoiceNinja 5.1.25
-
[0.3.0]
- Add REST API tests
- Fix logo and company documents upload
Still not sure how to fix the cron job warning, the cronjobs as such run every minute.
-
@nebulon Odd... so its more so an issue of Invoice Ninja not being aware that they are running?
-
@atrilahiji I think so yes, will create an upstream bug report once I have more info.
In the meantime there is another bug with login form submission, I've created an issue at https://github.com/invoiceninja/invoiceninja/issues/5148
-
[0.4.0]
- Update InvoiceNinja to 5.1.26
-
[0.5.0]
- Update InvoiceNinja to 5.1.27
-
[0.5.1]
- Fixup artisan cronjobs
This will fix the cron warning. Root cause were some php features which were disabled by default in the ubuntu php.ini but were required by artisan.
Are there any further outstanding issues anyone has detected?
-
latest update -
500: Internal Server Error
Quotes -> View PDF / EMail quoteSame for Invoices.
From the log:
[2021-03-18 16:38:53] production.ERROR: The file "/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf" does not exist {"exception":"[object] (Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException(code: 0): The file \"/app/data/public-storage/w5ydmyvt3smecevxmv4ahznnxdpdpk4rpqsbfreldfpzdgjk8nlcsoyikm85newy/WUFzx8BMMlNLapGCed7k1p4MtLipFTpsrTHHOV1i/quotes/0001.pdf\" does not exist at /app/code/vendor/symfony/http-foundation/File/File.php:36) [stacktrace]
And yes: it's true. There is no /quotes/* in the public-storage folder. No idea why!
-
Thanks for trying out the beta!
For the cron issue can you confirm that the crons are running? It can help to manually run the cron from the command line removing the parts after >
cd /path-to-your-project && php artisan schedule:run
https://invoiceninja.github.io/docs/self-host-installation/#cron-configuration-1
For the PDF error which renderer are you using Chrome or PhantomJS? I'd be curious to know if changing between them helps.
-
@luckow if you click "Daten Aktualisieren" then the warning on the bottom left should go away. I am checking why it doesn't do this withouth. The artisan jobs should be triggered every minute.
-
@luckow I can confirm the issue as well. I also tried to create the whole subfolder tree just to try out, but it does not fix it. Also I can't make out any permissions issue, so I think the pdf generation fails first, then triggering the 500 error, since the expected result pdf does not exist.
Unfortunately I am not able so far to find further logs for the pdf generation.
@hillel369 we do use phantomjs-2.1.1-linux-x86_64 here. Not actually sure how to switch to chrome
-
[0.5.2]
- Update InvoiceNinja to 5.1.30
-
fyi: The update to the latest version ended in
Mar 22 10:02:25 ==> Startup Mar 22 10:02:25 ==> Create php.ini Mar 22 10:02:25 ==> Update env file for database and email configs Mar 22 10:02:25 ==> Run db migration Mar 22 10:02:26 Mar 22 10:02:26 In routes-v7.php line 12335: Mar 22 10:02:26 Mar 22 10:02:26 syntax error, unexpected end of file, expecting ')'
Installing a new copy of the app works.
-
@luckow hm I can't reproduce the issue you are seeing
-
@nebulon Hi, there's info here about changing PDF renderers
https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues
If you need more help feel free to email us at contact@invoiceninja.com
-
@hillel369 ah I see, so I guess the phantomjs installed within the app is not even used anymore then with v5. I had no clue about the cloud service.
I will see how the configuration needs to be tweaked. Thanks for the pointer!
-
[0.5.3]
- Update InvoiceNinja to 5.1.31
- Fix snappdf usage
So pdf rendering should work fine now.
I've also added a lot more API tests, however for some reason they behave quite inconsitently when the user has never logged into the webinterface. Since the flutter UI is quite hard or remote control via selenium, I am not sure how to further automate this though. -
[0.5.4]
- Update InvoiceNinja to 5.1.32
-
[0.5.5]
- Update InvoiceNinja to 5.1.34
-
[0.5.6]
- Update screenshots
-
[0.5.7]
- Update InvoiceNinja to 5.1.37
- Use laravel queues instead of crontab to improve performance
- Fix email sending
- Set minimum memory limit to 512MB
-
I will lock this thread, further updates are now posted in the main news topic of this section.