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-07-15 21:36:13 +02:00
2026-07-11 20:07:05 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-17 21:04:31 +02:00
2026-07-19 13:21:14 +02:00
2026-07-08 21:04:13 +10:00
2026-07-06 21:15:04 +02:00
2026-07-16 18:01:44 +10:00
2026-07-14 21:58:22 +10:00
2026-07-19 19:16:44 +10:00
2026-07-06 21:15:04 +02:00
2026-07-17 21:02:47 +02:00
2026-07-06 21:15:04 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-13 14:58:23 +02:00
2026-07-17 21:13:19 +02:00
2026-07-10 10:53:04 +02:00
2026-07-17 11:59:05 +02:00
2026-07-06 21:15:04 +02:00
2026-07-06 21:15:04 +02:00
2026-07-06 21:15:04 +02:00
2026-07-14 22:01:16 +10:00
2026-07-10 10:53:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-07 22:45:52 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-20 11:55:01 +02:00
2026-07-14 14:16:10 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-16 17:30:38 +10:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-17 14:30:55 +02:00
2026-07-22 08:18:21 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-06 21:15:04 +02:00
2026-07-13 17:39:10 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-11 20:00:36 +02:00
2026-07-06 21:15:04 +02:00
2026-07-14 22:01:40 +10:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-17 12:52:57 +02:00
2026-07-22 08:18:01 +02:00
2026-07-06 21:15:04 +02:00
2026-07-15 20:55:10 +10:00
2026-07-16 18:01:24 +10:00
2026-07-20 11:43:34 +02:00
2026-07-17 09:00:32 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-17 14:30:27 +02:00
2026-07-21 12:52:18 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-06 21:15:04 +02:00
2026-07-10 20:47:58 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-13 11:05:11 +02:00
2026-07-20 14:39:29 +02:00
2026-07-06 20:18:45 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-17 14:29:59 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-16 09:01:53 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-10 10:57:27 +02:00
2026-07-21 12:52:51 +02:00
2026-07-16 18:02:13 +10:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-19 14:02:56 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 21:15:04 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 01:20:54 +10:00
2026-07-21 12:52:51 +02:00
2026-07-20 10:29:05 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-06 23:28:48 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00
2026-07-14 14:15:32 +02:00
2026-07-21 12:52:51 +02:00
2026-07-21 12:52:51 +02:00