I’m leaving this guide up as legacy reference material, and I’ve posted an updated guide, which also includes a note about manually configuring the .env file’s SQL DB name and credentials to bypass a web setup issue where the initial web setup does not update the .env before attempting to run laravel. It also uses the Ubuntu main repository’s php and php-fpm packages now instead of 3rd party repos and explicit php8.3 packages, since 8.3 or greater is now default on Ubuntu 24.04 LTS. As well as installation for the tar package instead of the old zip package. And I’ve updated the order to configure NGINX after installing all the Invoice Ninja files, not that it broke anything before, but this may be a more robust, or secure sequence anyways.
Relevent updates to this guide were added for tar package, and manually updating .env file with db name and credentials to force webgui setup to pass successfully.
Feel free to pin the new guide instead.