Known Issues

v2.1.1

Fix ACME — crash loop on startup if certificate renewal fails

If Let's Encrypt certificate renewal failed (rate-limit, network issue), the server crashed and systemd restarted it in a loop, exhausting the IP quota (10 attempts / 3h) and making the site unreachable. Root cause: the ./certs/ path was relative to the systemd WorkingDirectory — if that directory wasn't applied (missing daemon-reload), the cert on disk was not found, needs_renewal = true, and every restart attempted a new ACME certificate. Fixes: - Fallback to existing cert if obtain_certificate() fails (WARN instead of crash) - Added ACME_CERTS_DIR in .env for an absolute path independent of the systemd service Recommended value: ACME_CERTS_DIR=/absolute/path/to/certs

Manquant runique makemigrations

Bug 1 — decimal(10, 2) silently skips the entire entity file File: src/migration/utils/parser_builder.rs — DslField::parse Symptom: Any entity file containing decimal(10, 2) is silently ignored by runique makemigrations. No error is shown, the table is simply absent from the generated migrations. Cause: After reading decimal as an Ident, the (10, 2) remains in the token stream. The next field attempts to read ( as a field name → Err → syn::parse2 fails → parse_schema_from_source returns None → file skipped. Workaround: Use decimal without precision/scale in all model!{} definitions. Fix: In DslField::parse, after reading the decimal type, consume the (...) block if input.peek(syn::token::Paren).

Manquant runique makemigrations

Bug 2 — Generated extend!{} migrations use _manager instead of manager File: src/migration/utils/generators.rs — generate_alter_file (extend template) Symptom: The generated m{timestamp}_extend_{table}_table.rs file has _manager in the up and down function signatures, but the body uses manager → compile error E0425. Workaround: Manually rename _manager → manager in the generated file. Fix: Change _manager to manager in the generation template.

Manquant runique makemigrations

Bug 3 — Generated lib.rs does not respect topological (FK) order File: src/migration/utils/generators.rs — lib.rs generation Symptom: migrate up fails because junction tables (e.g. plat_allergene) are listed before the tables they reference (plats, allergenes). Workaround: Manually reorder the vec![] in lib.rs to respect FK dependencies: leaf tables first, junction/dependent tables last. Fix: The generator must perform a topological sort of migrations by FK dependencies before writing lib.rs.

Manquant runique makemigrations

Bug 4 — Generated FK constraints target the model name instead of the table_name File: src/migration/utils/generators.rs — create_foreign_key generation Symptom: migrate up fails with relation "plat" does not exist on the first migration that has a foreign key, because the FK targets "plat" instead of the actual table "plats". Cause: The generator uses snake_case(ModelName) as the FK target instead of reading the table_name declared in the meta block of the referenced model. Workaround: In every generated migration file, manually replace each .to(Alias::new("...")) singular name with the correct plural table_name. Fix: The generator must resolve the table_name from the target model's meta block when generating FK constraints.

v1.1.54

Manquant Admin view

The global search bar only returns results based on the `id` column and does not search by column name.