Self-hosted on shared hosting: URL for new user activation not found

Hi,
I am using Invoice Ninja on a shared hosting and everything ist working great. But recently I tried to add a new Backend User (Not a Client). When i do that the email ist sent correctly, but the linked URL in the format domain.com/user/activate/ returns a 404 not found. Any advice? Thanks in advance for all tips!

I just tried on my test instance and did not have any problems.
If you are creating another user for your instance, it should be example.com/user/confirm/long_string_of_random_characters if you are using the desktop app or Flutter UI. If you are using the React version, then it will be example.com/user/confirm/long_string_of random_characters?react=true.

Is there anything in your laravel.log?

What version of InvoiceNinja are you using?

Edit: I also just tested from the desktop app and it worked fine as well.

Hi,
I looked through the setup instructions on Free Source Available Invoicing, Expenses & Time-Tracking | Invoice Ninja and found this:

If you see a 404 webserver error and use sub.domain.com make sure to point the path for the subdomain towards the /public folder from the extracted invoiceninja.tar file, for example: /domains/domain.com/public_html/invoices2/public/

Indeed I am running InvoiceNinja on a subdomain and this solved the issue (for anyone who runs into a similar problem).

2 Likes

Thanks for sharing, we appreciate it.