Files
felhom.eu/documentation/audits/upgrade-spike-2026-09-06/evidence/E3b/compose-final.log
T
admin a1a6c73fe1
gates / gates (push) Successful in 19s
SPIKE: an upgrade test that runs again — and a real defect in our own bookstack template
R-449. Until today one app upgrade out of 53 had ever been measured, by hand, and
the whole update arc was designed against that single data point.

C3 first: the negative control, whose TO image exits immediately, came back
failed. That is what makes the greens mean anything, and it cost 556s because a
negative is only honest if it waits out the full settle window.

Seven edges, three apps. All five real catalog upgrades kept the customer's data.

The finding that changes an assumption the arc was carrying: whether an upgrade
can be UNDONE is a property of the individual APP, not of upgrades. Docmost
refuses - 'corrupted migrations: previously executed migration
20260213T085259-notifications is missing' - and privatebin does not. That
reproduces the Nextcloud result on a second app by a DIFFERENT mechanism, so the
struck word 'rollback' now rests on two measurements instead of one.

The finding nobody was looking for, R-459: our own bookstack template moves
MariaDB across a major and sets no MARIADB_* env at all, so the engine logs that
the datadir upgrade it requires is being skipped, and serves anyway. The cause is
assigned rather than guessed - the app half alone produces no upgrade line, both
edges that move the engine produce it - which is exactly what decomposing E3 into
E3a and E3b was for. It also explains why E3's abort looked like it worked: the
datadir was never converted. Whether that ever breaks is NOT established, and the
row says so.

Also opened: R-460 (bookstack's file half cannot be seeded headlessly), R-461
(target-selection.md names a venue that does not exist and fences a VM that is
gone), R-462 (the widening, costed with this run's real numbers - and the cost is
dominated by fixtures, which do not amortise).

Teardown all three layers, hub checked rather than asserted. local-lvm read 30.50
percent before and after. The capability map was deliberately NOT edited: this
measured apps, not the product.
2026-09-06 11:48:57 +02:00

184 lines
16 KiB
Plaintext

bookstack-db | 2026-09-06 11:41:44+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.6.2+maria~ubu2404 started.
bookstack-db | 2026-09-06 11:41:44+02:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
bookstack-db | 2026-09-06 11:41:44+02:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
bookstack-db | 2026-09-06 11:41:44+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.6.2+maria~ubu2404 started.
bookstack-db | 2026-09-06 11:41:44+02:00 [Note] [Entrypoint]: MariaDB upgrade not required
bookstack-db | 2026-09-06 11:41:44 0 [Note] Starting MariaDB 11.6.2-MariaDB-ubu2404 source revision d8dad8c3b54cd09fefce7bc3b9749f427eed9709 server_uid uxGayY7vyRLNrkVhQBGWZMg7sws= as process 1
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Compressed tables use zlib 1.3
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Number of transaction pools: 1
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
bookstack-db | 2026-09-06 11:41:44 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 0
bookstack | [migrations] started
bookstack-db | 2026-09-06 11:41:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
bookstack | [migrations] 01-nginx-site-confs-default: executing...
bookstack | [migrations] 01-nginx-site-confs-default: succeeded
bookstack | [migrations] 02-default-location: executing...
bookstack | [migrations] 02-default-location: succeeded
bookstack | [migrations] done
bookstack | ───────────────────────────────────────
bookstack |
bookstack | ██╗ ███████╗██╗ ██████╗
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Completed initialization of buffer pool
bookstack | ██║ ██╔════╝██║██╔═══██╗
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: End of log at LSN=2003287
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Opened 3 undo tablespaces
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: log sequence number 2003287; transaction id 2873
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
bookstack-db | 2026-09-06 11:41:44 0 [Note] Plugin 'FEEDBACK' is disabled.
bookstack-db | 2026-09-06 11:41:44 0 [Note] Plugin 'wsrep-provider' is disabled.
bookstack-db | 2026-09-06 11:41:44 0 [Note] InnoDB: Buffer pool(s) load completed at 260906 11:41:44
bookstack-db | 2026-09-06 11:41:48 0 [Note] Server socket created on IP: '0.0.0.0'.
bookstack-db | 2026-09-06 11:41:48 0 [Note] Server socket created on IP: '::'.
bookstack-db | 2026-09-06 11:41:48 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
bookstack-db | 2026-09-06 11:41:48 0 [Note] mariadbd: ready for connections.
bookstack-db | Version: '11.6.2-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
bookstack | ██║ ███████╗██║██║ ██║
bookstack | ██║ ╚════██║██║██║ ██║
bookstack | ███████╗███████║██║╚██████╔╝
bookstack | ╚══════╝╚══════╝╚═╝ ╚═════╝
bookstack |
bookstack | Brought to you by linuxserver.io
bookstack | ───────────────────────────────────────
bookstack |
bookstack | To support the app dev(s) visit:
bookstack | Bookstack: https://www.bookstackapp.com/donate/
bookstack |
bookstack | To support LSIO projects visit:
bookstack | https://www.linuxserver.io/donate/
bookstack |
bookstack | ───────────────────────────────────────
bookstack | GID/UID
bookstack | ───────────────────────────────────────
bookstack |
bookstack | User UID: 1000
bookstack | User GID: 1000
bookstack | ───────────────────────────────────────
bookstack | Linuxserver.io version: v26.05.2-ls276
bookstack | Build-date: 2026-07-27T19:41:43+00:00
bookstack | ───────────────────────────────────────
bookstack |
bookstack | Setting resolver to 127.0.0.11
bookstack | Setting worker_processes to 4
bookstack | generating self-signed keys in /config/keys, you can replace these with your own keys if required
bookstack | .+.........+.......+.....+.+...+..............+++++++++++++++++++++++++++++++++++++++*....+++++++++++++++++++++++++++++++++++++++*.+..+.........+....+.....+....+...............+..+...+.+.....+.+......++++++
bookstack | ....+........+...+......+.+..+.+......+.....+......+....+........+.......+...+............+.....+......+...+.+.....+......+....+...........+...+.........+++++++++++++++++++++++++++++++++++++++*............+......+...+.....+......+.....................+.+........+....+.....+.......+.....+.........+.......+.....+....+..............+.+........+...+...+.+.....+.+..+.+...........+++++++++++++++++++++++++++++++++++++++*......+.+.....+.+...+..+.............+..+......+............+..................+.......+......+......+.....+....+.....+......+...+.+.....+.......+........+.+......+............+..+......+....+...+.....++++++
bookstack | -----
bookstack | Waiting for DB to be available
bookstack |
bookstack | INFO Preparing database.
bookstack |
bookstack | Creating migration table ...................................... 23.30ms DONE
bookstack |
bookstack | INFO Running migrations.
bookstack |
bookstack | 2014_10_12_000000_create_users_table ......................... 281.93ms DONE
bookstack | 2014_10_12_100000_create_password_resets_table ................ 67.95ms DONE
bookstack | 2015_07_12_114933_create_books_table .......................... 14.59ms DONE
bookstack | 2015_07_12_190027_create_pages_table .......................... 15.32ms DONE
bookstack | 2015_07_13_172121_create_images_table ......................... 13.99ms DONE
bookstack | 2015_07_27_172342_create_chapters_table ....................... 15.34ms DONE
bookstack | 2015_08_08_200447_add_users_to_entities ...................... 156.25ms DONE
bookstack | 2015_08_09_093534_create_page_revisions_table ................. 17.70ms DONE
bookstack | 2015_08_16_142133_create_activities_table ..................... 11.81ms DONE
bookstack | 2015_08_29_105422_add_roles_and_permissions .................. 325.57ms DONE
bookstack | 2015_08_30_125859_create_settings_table ....................... 12.58ms DONE
bookstack | 2015_08_31_175240_add_search_indexes ........................... 0.07ms DONE
bookstack | 2015_09_04_165821_create_social_accounts_table ................ 62.88ms DONE
bookstack | 2015_09_05_164707_add_email_confirmation_table ................ 79.14ms DONE
bookstack | 2015_11_21_145609_create_views_table .......................... 14.90ms DONE
bookstack | 2015_11_26_221857_add_entity_indexes ......................... 498.52ms DONE
bookstack | 2015_12_05_145049_fulltext_weighting ........................... 0.06ms DONE
bookstack | 2015_12_07_195238_add_image_upload_types ...................... 75.75ms DONE
bookstack | 2015_12_09_195748_add_user_avatars ............................ 19.55ms DONE
bookstack | 2016_01_11_210908_add_external_auth_to_users .................. 48.29ms DONE
bookstack | 2016_02_25_184030_add_slug_to_revisions ....................... 89.51ms DONE
bookstack | 2016_02_27_120329_update_permissions_and_roles ............... 168.57ms DONE
bookstack | 2016_02_28_084200_add_entity_access_controls ................. 268.80ms DONE
bookstack | 2016_03_09_203143_add_page_revision_types ..................... 42.57ms DONE
bookstack | 2016_03_13_082138_add_page_drafts ............................. 46.34ms DONE
bookstack | 2016_03_25_123157_add_markdown_support ........................ 37.35ms DONE
bookstack | 2016_04_09_100730_add_view_permissions_to_roles ............... 40.82ms DONE
bookstack | 2016_04_20_192649_create_joint_permissions_table ............. 302.48ms DONE
bookstack | 2016_05_06_185215_create_tags_table .......................... 112.20ms DONE
bookstack | 2016_07_07_181521_add_summary_to_page_revisions ............... 18.62ms DONE
bookstack | 2016_09_29_101449_remove_hidden_roles ......................... 74.62ms DONE
bookstack | 2016_10_09_142037_create_attachments_table .................... 66.52ms DONE
bookstack | 2017_01_21_163556_create_cache_table .......................... 41.57ms DONE
bookstack | 2017_01_21_163602_create_sessions_table ....................... 41.62ms DONE
bookstack | 2017_03_19_091553_create_search_index_table .................. 117.01ms DONE
bookstack | 2017_04_20_185112_add_revision_counts ......................... 64.95ms DONE
bookstack | 2017_07_02_152834_update_db_encoding_to_ut8mb4 ................. 0.07ms DONE
bookstack | 2017_08_01_130541_create_comments_table ....................... 86.73ms DONE
bookstack | 2017_08_29_102650_add_cover_image_display ..................... 21.13ms DONE
bookstack | 2018_07_15_173514_add_role_external_auth_id ................... 47.09ms DONE
bookstack | 2018_08_04_115700_create_bookshelves_table ................... 389.10ms DONE
bookstack | 2019_07_07_112515_add_template_support ........................ 48.36ms DONE
bookstack | 2019_08_17_140214_add_user_invites_table ...................... 60.98ms DONE
bookstack | 2019_12_29_120917_add_api_auth ................................ 90.78ms DONE
bookstack | 2020_08_04_111754_drop_joint_permissions_id .................. 109.84ms DONE
bookstack | 2020_08_04_131052_remove_role_name_field ...................... 18.62ms DONE
bookstack | 2020_09_19_094251_add_activity_indexes ........................ 49.30ms DONE
bookstack | 2020_09_27_210059_add_entity_soft_deletes ..................... 76.98ms DONE
bookstack | 2020_09_27_210528_create_deletions_table ...................... 92.18ms DONE
bookstack | 2020_11_07_232321_simplify_activities_table .................. 142.78ms DONE
bookstack | 2020_12_30_173528_add_owned_by_field_to_entities ............. 194.15ms DONE
bookstack | 2021_01_30_225441_add_settings_type_column .................... 17.75ms DONE
bookstack | 2021_03_08_215138_add_user_slug ............................... 51.19ms DONE
bookstack | 2021_05_15_173110_create_favourites_table ..................... 63.43ms DONE
bookstack | 2021_06_30_173111_create_mfa_values_table ..................... 64.09ms DONE
bookstack | 2021_07_03_085038_add_mfa_enforced_to_roles_table ............. 19.99ms DONE
bookstack | 2021_08_28_161743_add_export_role_permission ................... 4.67ms DONE
bookstack | 2021_09_26_044614_add_activities_ip_column .................... 20.63ms DONE
bookstack | 2021_11_26_070438_add_index_for_user_ip ....................... 27.19ms DONE
bookstack | 2021_12_07_111343_create_webhooks_table ...................... 126.26ms DONE
bookstack | 2021_12_13_152024_create_jobs_table ........................... 38.51ms DONE
bookstack | 2021_12_13_152120_create_failed_jobs_table .................... 38.97ms DONE
bookstack | 2022_01_03_154041_add_webhooks_timeout_error_columns .......... 73.69ms DONE
bookstack | 2022_04_17_101741_add_editor_change_field_and_permission ...... 24.94ms DONE
bookstack | 2022_04_25_140741_update_polymorphic_types .................... 15.16ms DONE
bookstack | 2022_07_16_170051_drop_joint_permission_type ................. 124.17ms DONE
bookstack | 2022_08_17_092941_create_references_table .................... 113.15ms DONE
bookstack | 2022_09_02_082910_fix_shelf_cover_image_types .................. 0.58ms DONE
bookstack | 2022_10_07_091406_flatten_entity_permissions_table ............ 88.86ms DONE
bookstack | 2022_10_08_104202_drop_entity_restricted_field ................ 93.09ms DONE
bookstack | 2023_01_24_104625_refactor_joint_permissions_storage ......... 142.44ms DONE
bookstack | 2023_01_28_141230_copy_color_settings_for_dark_mode ............ 0.99ms DONE
bookstack | 2023_02_20_093655_increase_attachments_path_length ............ 34.31ms DONE
bookstack | 2023_02_23_200227_add_updated_at_index_to_pages ............... 23.23ms DONE
bookstack | 2023_06_10_071823_remove_guest_user_secondary_roles ............ 1.81ms DONE
bookstack | 2023_06_25_181952_remove_bookshelf_create_entity_permissions ... 0.05ms DONE
bookstack | 2023_07_25_124945_add_receive_notifications_role_permissions ... 5.72ms DONE
bookstack | 2023_07_31_104430_create_watches_table ........................ 89.06ms DONE
bookstack | 2023_08_21_174248_increase_cache_size ......................... 28.33ms DONE
bookstack | 2023_12_02_104541_add_default_template_to_books ............... 23.82ms DONE
bookstack | 2023_12_17_140913_add_description_html_to_entities ............ 69.53ms DONE
bookstack | 2024_01_01_104542_add_default_template_to_chapters ............ 23.27ms DONE
bookstack | 2024_02_04_141358_add_views_updated_index ..................... 25.53ms DONE
bookstack | 2024_05_04_154409_rename_activity_relation_columns ............ 37.53ms DONE
bookstack | 2024_09_29_140340_ensure_editor_value_set ...................... 2.15ms DONE
bookstack | 2024_10_29_114420_add_import_role_permission ................... 6.62ms DONE
bookstack | 2024_11_02_160700_create_imports_table ........................ 38.10ms DONE
bookstack | 2024_11_27_171039_add_instance_id_setting ..................... 12.05ms DONE
bookstack | 2025_01_29_180933_create_sort_rules_table ..................... 15.04ms DONE
bookstack | 2025_02_05_150842_add_sort_rule_id_to_books ................... 22.84ms DONE
bookstack | 2025_04_18_215145_add_content_refs_and_archived_to_comments ... 64.90ms DONE
bookstack | 2025_09_02_111542_remove_unused_columns ....................... 65.37ms DONE
bookstack | 2025_09_15_132850_create_entities_table ...................... 264.90ms DONE
bookstack | 2025_09_15_134701_migrate_entity_data .......................... 9.04ms DONE
bookstack | 2025_09_15_134751_update_entity_relation_columns ............. 829.81ms DONE
bookstack | 2025_09_15_134813_drop_old_entity_tables ...................... 51.53ms DONE
bookstack | 2025_10_18_163331_clean_user_id_references ................... 470.16ms DONE
bookstack | 2025_10_22_134507_update_comments_relation_field_names ........ 38.65ms DONE
bookstack | 2025_11_23_161812_create_slug_history_table .................. 116.91ms DONE
bookstack | 2025_12_15_140219_create_mention_history_table ................ 65.12ms DONE
bookstack | 2025_12_19_103417_add_views_viewable_type_index ............... 23.60ms DONE
bookstack | 2026_04_19_141616_add_revision_view_all_permission ............. 7.79ms DONE
bookstack |
bookstack | [custom-init] No custom files found, skipping...
bookstack | [ls.io-init] done.