![]() YOU MUST USE "" IN ALL OF THE FIELDS OTHERWISE INVOICE NINJA WILL BREAKĬhange MAIL_MAILER="log" to MAIL_MAILER="smtp" <<< Most important Note if you already have invoices created before the above changes the logos will not appear on them and you will have to recreate them to pull down the logo from the correct location.Īlso checking the Server Health Check this should now have removed all the warnings apart from SnapPDF if you have not installed and enabled it in the. The field above "Domain URL" must read the same without /client/login so in this case would be " " and save changes by clicking the green Save button (top right)Īfter this PDF generation should work this can be tested by creating an invoice and clicking View PDF, this also fixes the logo not displaying and if you wish to use the client portal that should also now load correctly. Now going back into the application clicking on "Settings" then "Client Portal" the "Login URL" now displays for example " " Runuser -l www-data -s /bin/bash -c "php /var/www/invoiceninja/artisan optimize" Now execute the commands provided by Jeremy QUEUE_CONNECTION=database (do not use "" on this one) env file change the QUEUE_CONNECTION=sync to We will address the queue not running as well while we are here.Īs already been tested by Jeremy the Cronjob works its just the queue is not enabled in invoice ninja so still in the. If you are using SSL (https) such as " " then the APP_URL=" and the REQUIRE_HTTPS="true" will remain as is OOTB Notice the above examples or NOT using SSL (https) this is perfectly fine but if you are not using SSL (https) you MUST also change REQUIRE_HTTPS="true" to REQUIRE_HTTPS="false" I'm sure you get the idea but just to conclude a domain as well APP_URL=" " Or if accessing from the internet after you have forwarded you port 80 to your local machine you will use your external IP Address such as APP_URL=" " If you are accessing the appliance locally then this must be changed to the Local IP address of the appliance, such as APP_URL=" " must be changed to however/wherever you will access invoice ninja from for example. The most important variable to change is this ![]() env file changes that must be made for the appliance to operate correctly If you are using a domain you dont have to use SSL (https) you can use (http) but you must make the appliance accessible from the internet by forwarding ports on your router and also configuring your domains DNS to point to you IP (if just using IP it must be the external address) env file variables PDF_GENERATOR=hosted_ninja must be changed to PDF_GENERATOR=snappdf (do not use "") To enable and use SnapPDF after it is installed you need to edit the. ![]() OOTB it uses an external service for this, Jeremy did post how to do this but currently i can not find the post to add it in. env file must be edited for this to happen and also SnapPDF must be installed to enable local PDF generation. Invoice Ninja will work Locally on a local IP address without any SSL but the. This solves the issue of PHP size in the "System Health Check" These 2 MUST have the same domain entered be it an actual domain address or a local IP address, they must be the same.Ĭlicking on "Settings" then "Email Settings" does not allow the entry of any SMTP details and filling out the fields available solves nothing, also turning on the option for "Attach PDF" it does not attach or send an email for that matter.įixes and resolutions for me that worked.įirst off Jeremys fix for the PHP size to 512mb worked * php size too small should be 512mb at leastĪttempts to fix but does not solve the issuesĬlicking on "Settings" then Client Portal and adding in your URL under Domain URL solves nothing as the "Login URL" is System healthcheck by clicking the bold i (information) in the bottom left corner and going to healthcheck displays issues todo with When creating and invoice or quote click on the "View PDF" button at the top of the screen does not work and constantly tries to load with a spinning circleĬlient portal does not open and loads http:/ I have started a new post as the other one was a bit messy.Ĭompany logo will upload but will not display This will be a long post but i will try and include everything with detail not only for other users but also for the devs of the appliance in hope it may catch a future update. First of all i would like to apologize for my post yeasterday, reading back on your fixes Jeremy I realized that what i put could come across as a bit abrupt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |