After I updated to Invoice Ninja v4.5.16 (self hosted) my clients receive email with new invoice and when they click on button VIEW INVOICE, the page is not opening after 2-minutes they get ERROR 503 - Service Unavailable!
Error Log shows
[Tue Nov 12 20:51:36.206660 2019] [proxy_fcgi:error] [pid 24803] (70007)The timeout specified has expired: [client XX.XXX.123.232:65059] AH01075: Error dispatching request to : (polling)
Any ideas how to troubleshoot the issue?
Thanks in advance.
Is this your first time upgrading the app? Is it possible you made manual changes to the htaccess or other files when first installing which were overwritten by the upgrade.
STEP 4 > make file executable > chmod +x ninja-update
STEP 5 > run script > ./ninja-update
STEP 6 > copy all files from “public” folder and paste it to root “/” folder
STEP 7 > open and modify INDEX.PHP file > nano /var/www/clients/client1/web1/web/billing/index.php
replace
require DIR.’/…/bootstrap/autoload.php’;
to
require DIR.’/bootstrap/autoload.php’;
replace
$app = require_once DIR.’/…/bootstrap/app.php’;
to
$app = require_once DIR.’/bootstrap/app.php’;
What I’ve noticed, If I’m logged in to invoiceninja and go to the clients email (i have a copy) and click on VIEW INVOICE, link opens. If i logout, I get error: ERROR 503 – Service Unavailable – The timeout specified has expired.
If I enter payment and client gets confirmation email about payment (with link) link does work. Any other suggestion why initial LINK within email does not work. Could this be server or app related issue?
Sorry, I’m not sure. As mentioned earlier you shouldn’t need to make any code changes to get the app running, you may want to try setting up a clean install.