Comments on How to Install Invoice Ninja on CentOS 7
In this tutorial, I will show you how to install and configure Invoice Ninja on a CentOS 7 server. I will use Nginx as the web server and MariaDB as the Database system. Invoice Ninja is free and open source web-based software for invoicing, payments, time tracking and much more.
5 Comment(s)
Comments
I had problems sending email over SMTP. Solved it by:
Check if httpd_can_sendmail is on , run this getsebool httpd_can_sendmail
When you get: httpd_can_sendmail --> off , run setsebool -P httpd_can_sendmail 1
When you get: httpd_can_sendmail --> on that's fine move on step 2.
Check also if httpd_can_network_connect is on, run getsebool httpd_can_network_connect
When you get httpd_can_network_connect --> off run setsebool -P httpd_can_network_connect 1
I am geting 502 Bad Gateway right afte the first reboot. The install went fine, no errors, InvNinja was working good. I decided to reboot, and I now I get 502 Bad Geteway. Server is CentOS 7 with NGinx
I had the same issue. I fixed it by change the following.
old listen = /var/run/php/php-fpm.sock
new listen = /var/run/php-fpm/php-fpm.sock
old fastcgi_pass unix:/var/run/php/php-fpm.sock;
new fastcgi_pass unix:/var/run/php-fpmphp-fpm.sock;
Thanks for the useful and enlighten post. This work just as they way you explain.
I had no issue at all in setting up the invoiceninja with these step.
Thanks a bunch
Where can I get proper instructions for setting up Let's Encrypt for this setup?