SOLVED Fax Server Error 500 after updating from 4.2 to 4.4 (fix)

Hello,

After upgrading to 4.4 we could not send faxes. This is what I did to resolve the issue.
  1. Check /var/log/nginx/error.log for more information. In my case it showed a permission error for /var/lib/nginx/tmp.
  2. If permission error, check rights for the folder. It should be "freeswitch daemon" not "nginx nginx".
    1. [root@fusionpbx nginx]# ls -ld /var/lib/nginx/tmp/
      1. results: drwx------. 7 nginx nginx 73 Mar 6 04:27 /var/lib/nginx/tmp/
  3. Change permissions on folders:
    1. [root@fusionpbx nginx]# chown -Rf freeswitch:daemon /var/lib/nginx/
    2. [root@fusionpbx nginx]# chown -Rf freeswitch:daemon /var/lib/nginx/tmp
Hopefully this saves someone some time.