Everything posted by Mihai
-
Help with InvoiceNinja docker?
@Zidichy In my experience I was not able to fully turn off https in invoiceninja successfully, regardless of much I tried. Even if you only serve HTTP, somehow invoiceninja frontend will send some connections over HTTPS making it fail. But maybe there's a setting I didn't find yet, so if you find a way, please teach me how. Regardless, it's not wise to turn off encryption, especially for sensitive data like this even if you're in some internal network. For this reason, I recommend importing the self generated SSL certificate in your browser as a trusted certificate, and it should fix your problem. I recommend giving v5 a try since you have a new install, mentioned in this comment. However, this too will come with the same SSL issues if you're not using SWAG or anything like that to get a LetsEncrypt certificate which is trusted by your browser. I will create a separate support thread for v5 this week as soon as I have enough free time.
-
Help with InvoiceNinja docker?
@razor950 thanks for pointing that out, I wasn't aware of it! I just updated it.
-
Help with InvoiceNinja docker?
@Benjamin Picard yes, it's beta-ish. I will create another post for it, but did not have time. @newillusions helped me test it so far, and only the export doesn't work from v5, but there is a fix for that which I didn't have time yet to include into the Docker image yet. I will later tonight. For now it's not official in UnRAID, so to install it you have to add this url in Docker -> (Scroll down) -> Template Repositories and click Save: https://github.com/kiwimato/invoiceninja_v5 After that you should be able to click "ADD CONTAINER" and then select "invoiceninjav5" from the templates, and the rest should be pretty similar how to setup v4. You can find more info, including on how to migrate here: https://github.com/kiwimato/invoiceninja_v5/blob/master/UnRAID.md#upgrade-from-v4-to-v5 One thing worth mentioning for which I didn't find a solution yet, is that you HAVE to import the self signed certificate in your browser if you don't somehow use LetsEncrypt to have proper certificates. For some reason even if I acknowledged the SSL error in the browser, some requests simply failed due to the bad cert. I think it was Chrome, so it might work in other browsers. Also disabling SSL with `REQUIRE_HTTPS=false` didn't seem to work for me, but if you find a way, please let me know so we can update the documentation Feel free to PM if you have any questions or issues
-
Help with InvoiceNinja docker?
@newillusions I'm running v4.5.37. Unfortunately anojht/invoiceninja repository only has 4.x version so for v5 I think we'd have to create a whole different Docker image since anojht doesn't have issues enabled for the repository unfortunately After a quick Google search I realized that upgrading involves creating a whole new install, and using the migration tool. I'd be willing to create a different repo for this, would you have time to help me test? @IronBeardKnight sorry for being late to the party, but in case it's still relevant: what error did you get when trying to disable GEN_SSL?
-
Help with InvoiceNinja docker?
hey guys, so just an update on this one: I raised a PR for the original anojht/invoiceninja image, so now it should work on the SSL port, it generates SSL certificates automatically. Feel free to let me know if there are any issues @coolbeams if you want, you can switch back to the original image, should also work. Cheers!
-
Help with InvoiceNinja docker?
Sounds like a Laravel issue. Can you DM me the container logs? There's a button on the Log column (right) in the "Docker" view in Unraid.
-
Help with InvoiceNinja docker?
@cyberspectrecan you tell me exactly what behavior you get? or any errors? Otherwise it will be hard for me to fix it. Note: you will have to connect via https and port 8443 port for this to work.
-
Help with InvoiceNinja docker?
I'm kind of late to the party, but to me it seems the main issue is the lack of ssl certificate on port 443 and it seems lately invoiceninja enforces https. I got it working by generating a self signed certificate. I didn't have time to create another Unraid app, but until then if anyone wants to try it out: Hit Edit on the container and change Repository field to this: maihai/invoiceninja and then hit Apply. EDIT: The way this works is that it generates a SSL certificate on the first container run which is self signed. Of course don't forget to import this certificate in your browser otherwise you will be at risk of MITM. If you're paranoid like me, you can find the code here: https://github.com/mihai-cindea/invoiceninja Feel free to tell me if you have any issues or requests. I also want to add the possibility of feeding custom certificates and generate the certificate CN based on the APP_URL. Currently this is a PoC.