Client Portal 404 error

Hi All -

I’ve had my install running for quite a while now, and all has been well. I honestly haven’t touched the install outside of running updates and using the software day in and day out. So I’m pretty confused as to why this is happening.
The web app is working as intended but the client portal doesn’t seem to be. I got a 404 error when visiting that page. I have checked that it is enabled. I haven’t had any problems with it prior, just seemed to happen all of a sudden.

I don’t see any logs being generated when the 404 page comes up. I can go to my /client/register and that page does indeed come up as expected. Also I have ran artisan optimize several tiems, rebooted and everything. I’m running it on my own server (ubuntu 20). Everything is updated, OS and InvoiceNinja app.

Anyone have any idea on where to look to figure out why this 404 error is coming up on the client portal login page? I am able to bring up the client’s portal from the Desktop app and navigate without issue. Just getting to that from the client side seems to be the issue.

Hi,

Has anything changed?

I suggest checking that the domain value is blank on Settings > Client Portal.

Thanks for responding. Yep that is blank. I actually ran the health check and I have a couple issues going on there. I have several items in the queue and events.php isn’t writable. I’m checking into those a moment. Let me work through that and then check the client portal again. I’m hoping once I fix the permissions issue, the queue will clear and everything will be good.

Stand by.

I wouldn’t think it’d be related but I could be wrong…

yeah you would be correct. I fixed the permissions issue but I can’t get the queue to clear fully. This is the error I get: Illuminate\Queue\TimeoutExceededException: App\Jobs\Util\VersionCheck has timed out. in /var/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/TimeoutExceededException.php:15

Anyway, not really relevant I don’t think. Still 404 error on the client portal login screen. Any other things to check?

Maybe this will help:

Thanks for that, but unfortunately, no luck. Not sure if this helps, but when I try to load the page, there is a pinkish background on the page that flashes for a brief second and then goes to the “404 — Not Found Check storage/logs for more details” page. Any other things to look at?

Me too.

Broken client login.

404 — Not Found
Check storage/logs for more details

Docker latest 5.10.59

P.D. client area works if is autemticathed before at browser, maybe cached

Same issues for us. Updated to current version now client portal login is broken/404-Not Found. Also, if previously logged in client portal works. No other changes other than update to current version.

I just did a new installation v5.10.59 and only the customer registration works, I also get a 404 error at the customer login. I have just registered with the forum to get help, or to search :wink:

If I use the link in the customer profile I get directly into the portal. But as a customer no chance to log in

Sounds like we might need to get a dev involved to look at this further now that a few others are having this problem as well.

I’ll do a test installation of an older version and see if the error also happens there

Feel free to create a discussion on GitHub to follow up.

It is clearly a version problem. It works with v5.10.54.

Thanks for that Doc! I’ll take hillel advice and open a discussion on Github to have that looked at.

I think I understand what may be happening here.

In Settings > Client Portal is the client portal URL you are attempting to reach populated?

image

I’ve added a fallback to catch when this field is blank. The issue leaving it blank is if you have multiple companies, then the correct one may not be displayed.


In my settings it is defined and always has been and we only have one company.

Hi,

Please try again with the latest release.

Yes, updating to .60 worked for me! Thanks for the insight all!

1 Like