Install locales before PostgreSQL on fresh Debian 13 LXCs

If PostgreSQL is installed before locale-gen on a fresh Debian 13 LXC, the default cluster uses SQL_ASCII/C encoding. Databases created in that cluster inherit this encoding. Install locales and generate en_US.UTF-8 BEFORE installing PostgreSQL, or recreate databases with explicit UTF-8 encoding.

PostgreSQL picks up the system locale at cluster initialization time. On a fresh Debian 13 LXC, no locales are generated (advisory `debian13-missing-tools`). If you install PostgreSQL first, `initdb` defaults to SQL_ASCII/C. Databases created afterward inherit this.\n\nFix: Either install `locales` and run `locale-gen en_US.UTF-8` before `apt install postgresql`, or recreate the database with explicit encoding:\n```sql\nCREATE DATABASE mydb OWNER myuser ENCODING 'UTF8' LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US.UTF-8' TEMPLATE template0;\n```\n\nDiscovered during n8n deployment (2026-04-09).
Affected entities:CT 111 — n8n