Recurnix docs

Docs › Releases › 1.24 › Release notes

Recurnix 1.24 release notes

Released 2026-07-31. Recurnix 2.11 is newer.

Recurnix sells to people running shared hosting. That is the whole premise. Most of them have no SSH - which is why this session has spent weeks deploying through a browser tab.

A customer who bought Recurnix, unzipped it and pointed a domain at it got a 500.

How it surfaced

Not from a bug report. From building the production tree for my.recurnix.com, which happened to be the clean host task #142 had been waiting on since it was filed. The first request to it failed.

unzip, point a domain, load the page          500
cp .env.example .env                          500
php artisan key:generate                      dies too

Two causes, one line apart

->brandName((string) Setting::get('company', 'name', 'Recurnix'))   // evaluated NOW
->brandLogo(fn () => Setting::get('branding', 'logo_url') ?: null)  // closure, lazy

brandName() ran a settings query while the panel was being defined - on every request to every route, including the installer, which is exactly when there is no database to query. The line below it had the answer.

Fixing it restored the CLI: key:generate went from fatal to "Application key set successfully". But the browser still 500d, and the log named the second cause with no application code in the trace at all:

SQL: select * from `sessions` where `id` = ...

The shipped .env.example set every driver to database. A fresh copy needed a database to store the session that renders the page that asks for the database.

The third thing: it still needed a shell

With both fixed, /install returned 200 - after php artisan key:generate. For the market this product is built for, that is not a fix.

App\Support\FirstBoot runs from bootstrap/app.php before the environment loads: if .env is missing it copies the template, and if APP_KEY is blank it writes one. Nothing more. It is framework-free because at that point there is no framework yet.

Two guards matter more than the feature:

  • it returns immediately if storage/installed.lock exists, so a live install is never touched - everything below that line writes to the file holding the database password
  • it only ever fills a blank key. Rotating a live one makes every encrypted column and every active session permanently unreadable

Measured, on a tree with no .env, no lock and no database

/install        200          <- the wizard, on the very first request
/               302 -> /install
/portal/login   302 -> /install

.env                created
APP_KEY             written
key across requests stable

⚠ The test that cried wolf

The first version of the guard swept every provider for eager settings reads and failed on four call sites - all four correct. Two sit inside a try/catch whose own comment says IT MUST NEVER THROW; one is inside a closure opened three lines earlier; one is inside adminPath(), which catches Throwable and falls back. A line scan cannot see an enclosing try or a closure that started further up.

A test that reports safe code as broken gets deleted by whoever hits it next, so it was replaced with the one property that actually regressed and can be stated exactly: brandName() is given a closure.

234 committed tests, 719 assertions.


Last modified: 16 November 2026 · This page documents Recurnix, self-hosted billing and automation. Ask a question.