Files
CanbiZ (MickLesk) a339c08bca InvoiceNinja: preserve and Re-download snappdf Chromium (#15956)
* Re-download snappdf Chromium after Invoice Ninja updates

update_script() redeploys /opt/invoiceninja via CLEAN_INSTALL, which
wipes vendor/beganovich/snappdf/versions. That path isn't covered by
create_backup/restore_backup, so the Chromium binary snappdf needs for
PDF generation was missing after every update, breaking PDFs (#15942).
Re-run the same "vendor/bin/snappdf download" step the install script
already does, right after the backup is restored.

* Back up snappdf's Chromium download to avoid re-fetching on every update

vendor/bin/snappdf download is idempotent: it exits immediately without
downloading if versions/revision.txt already exists, and PDF generation
doesn't check that version against the installed snappdf package - it
just uses whatever's in versions/. So the cached Chromium build survives
just fine across an update via the existing backup/restore mechanism.
Add vendor/beganovich/snappdf/versions to create_backup/restore_backup;
keep the snappdf download call only as a safety net for when the backup
doesn't have it yet (e.g. the first update after this fix ships).

* Remove explanatory comment
2026-07-22 08:18:21 +02:00
..
2026-07-17 14:30:55 +02:00
2026-06-13 18:43:15 +02:00
2026-06-13 18:43:15 +02:00
2026-07-16 18:01:44 +10:00
2026-06-13 18:43:15 +02:00
2026-06-13 18:43:15 +02:00
2026-06-14 14:32:06 +02:00
2026-06-14 14:32:06 +02:00
2026-06-14 14:32:06 +02:00
2026-06-14 14:32:06 +02:00
2026-06-27 21:07:03 +02:00
2026-06-23 18:20:47 +02:00
2026-07-13 14:58:23 +02:00
2026-06-14 14:32:06 +02:00
2026-07-07 22:45:52 +02:00
2026-07-20 11:55:01 +02:00
2026-07-14 14:16:10 +02:00
2026-07-05 22:28:00 +02:00
2026-07-16 17:30:38 +10:00
2026-07-17 14:30:55 +02:00
2026-06-17 10:12:39 +02:00
2026-07-13 17:39:10 +02:00
2026-07-11 20:00:36 +02:00
2026-07-15 20:55:10 +10:00
2026-07-17 09:00:32 +02:00
2026-07-17 14:30:27 +02:00
2026-07-13 11:05:11 +02:00
2026-07-16 09:01:53 +02:00
2026-07-10 10:57:27 +02:00
2026-07-16 18:02:13 +10:00
2026-07-14 14:15:32 +02:00