Skip to content

docs: rewrite self-host Installation page - #208

Closed
shalomleib wants to merge 32 commits into
invoiceninja:v5-reworkfrom
shalomleib:cursor/user-guide-batch17
Closed

shalomleib wants to merge 32 commits into
invoiceninja:v5-reworkfrom
shalomleib:cursor/user-guide-batch17

Conversation

@shalomleib

Copy link
Copy Markdown
Collaborator

This PR rewrites the Self Host Installation page so it is easier to skim and friendlier to read. The page now has a task-style title, a one-line intro, question headings, numbered steps, a meta description and alt text. Commands, env keys, PHP extensions, Docker steps and mail or webhook behavior were checked against the public Invoice Ninja source on the v5-stable branch (15ea35e) and the official dockerfiles repository (debian branch 84cc592, octane branch 723fe7b) on 24 November 2026, and anything outdated was corrected (listed below). Self-host pages cannot be checked in the hosted app.

This builds on #192 through #206, and should be stacked on cursor/user-guide-batch16 at 12e5e11, so until those PRs are merged this PR also shows their changes.

Original heading slugs are kept as explicit ids, including {#choose-your-install-path}, {#server-requirements}, {#linux-server-configs}, {#manual}, {#after-installation}, {#shared-hosting}, {#server-requirements-1}, {#mail-configuration}, {#default-mailer-env}, {#individual-mail-configurations-per-company-env} and {#mail-webhooks-delivery-bounce--complaint-tracking}. A Markdown heading with {#cron-configuration-1} is added so the existing Troubleshooting link to the scheduler cron resolves. scripts/check-search.cjs does not assert heading titles on this page, so that script does not need a change.

The Invoice Ninja source is described as source-available under the Elastic License (ELv2).

Corrections against the self-host source

  1. PHP must be 8.2 or later (8.3, 8.4 and 8.5 are also supported), matching composer.json. The old page listed PHP 8.2 only. The setup wizard's health check still compares against 8.1 in SystemHealth.php, which is behind the Composer requirement.
  2. The old server-requirements list treated ctype, imagick, soap, tokenizer, gmp, mysqli, FPM and saxon as a single hard requirement list. The setup wizard checks gd, curl, zip, openssl, mbstring, xml, bcmath and iconv. Composer also requires dom, json, libxml and simplexml. Imagick, soap, intl, gmp, PHP-FPM and saxon are recommended extras, not all hard checks.
  3. On shared hosting, the old page listed proc_open, exec, open_basedir and fpassthru as required PHP functions. open_basedir is a PHP setting that should be empty, not a function. The app health check reports exec and open_basedir only. proc_open and fpassthru are not checked in the current source, so they are not restated as installer requirements.
  4. The official Docker path is the debian branch of invoiceninja/dockerfiles (the default, recommended image, currently PHP 8.5, with Saxon HE, Supervisor running schedule:work and queue:work, volumes app_storage and app_public, and database host mysql). The Octane image is still published. The old card listed both images but did not say Debian is the default branch or that the official Compose stack already runs cron and the queue worker.
  5. Manual and shared-hosting installs should download invoiceninja.tar from GitHub releases, not the generic source-code archives. A git clone does not include the React admin UI, so the release tarball or INmanage is the better production path.
  6. QUEUE_CONNECTION defaults to sync. A background worker needs a driver such as database or redis. When the driver is database and INTERNAL_QUEUE_ENABLED is left at its default of true (and the app is not in Docker), the scheduler itself starts a short-lived queue:work process. Set INTERNAL_QUEUE_ENABLED=false when Supervisor already runs the worker.
  7. The per-company .env mail override reads {id}_MAIL_HOST, _PORT, _USERNAME, _PASSWORD, and optionally _FROM_ADDRESS and _FROM_NAME. The old example also listed {id}_MAIL_ENCRYPTION, which the current override code does not read. Example company names were removed.
  8. The Self Host Troubleshooting page links to #cron-configuration-1, which was not a heading on Installation, so that inbound link was broken. This PR adds a Markdown heading with {#cron-configuration-1} for the scheduler cron. Exchange rates are updated daily at 23:30 in the app timezone (default UTC) when OPENEXCHANGE_APP_ID is set.

cursoragent and others added 30 commits November 23, 2026 07:19
…lity

Replace the four guides with task-style pages checked against the live app, and point existing links and search fixtures at the renamed headings.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Vendors have archive and delete only. Invoice actions now include Reverse, Run Template, and Download E-Invoice when they apply. CSV import still maps columns, without a saved-template step.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
…for readability

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
…for readability

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
… for readability

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
… readability

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
The payments guide still anchors refunds at #refunds. The heading and passage titles are now "How do I refund a payment?".

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
…or readability

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
DocuNinja works only inside Invoice Ninja today. Signing is optional, and a required invoice signature comes before the payment page.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Ticking it applies the design to existing records. Leaving it unticked applies the design only to records created from then on.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Set a tax-exempt product on the product or in Tax Settings. The email-record schedule steps no longer say the invoice starts blank.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
The invoice, quote, credit and purchase order definition heading keeps the slug the table links already use.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
cursoragent and others added 2 commits November 24, 2026 10:38
…te Labeling pages

Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Invoice Ninja <shalom@invoiceninja.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants