Files
felhom.eu/documentation/audits/r459-spike-2026-09-06/evidence/E3b/compose-final.log
T
admin d6837d98ee
gates / gates (push) Successful in 20s
SPIKE R-459: the skipped MariaDB conversion is stable, and the trade it implied does not exist
Outcome A, qualified. Not B and not C.

It does not degrade: 5 of 5 restarts of 12.3 on an 11.6 datadir, readback passed
every time, mariadb_upgrade_info unchanged, the entrypoint line never escalated
past [Note]. It also never heals - the engine answers 'Major version upgrade
detected from 11.6.2-MariaDB to 12.3.3-MariaDB. Check required!' on every start
and will forever.

The trade R-459 was expected to produce is not real. Converting properly SUCCEEDS
across the multi-major jump, takes 7 seconds, backs up the system database
unasked - and putting 11.6 back afterwards STILL starts and serves the data. So
the operator is being handed a cheap correction, not a choice between a correct
engine and a reversible one.

The exit-code polarity was measured rather than read: 0 means the upgrade IS
needed, 1 means it is not. Assuming either the flag name or the polarity would
have inverted the headline. And run without credentials the same command returns
a confident-looking FATAL ERROR that is an auth failure.

R-464: after converting and going back, the entrypoint prints 'MariaDB upgrade
not required' on a state the same engine calls an unsupported downgrade. The
obvious cheap instrument for R-459 would have been to grep for that line, and it
would have reported fine for the broken case.

R-463: the PostgreSQL analogue, deliberately NOT measured here. 11 templates, 8
on postgres:16-alpine, register grep for pg_upgrade returns zero. The two engines
fail in OPPOSITE directions - MariaDB skips quietly, Postgres refuses to start -
so that one cannot hide; it presents as eight apps down at once.

No template changed. Teardown all three layers, hub checked rather than asserted,
local-lvm 30.53 percent before and after.
2026-09-06 17:42:19 +02:00

184 lines
17 KiB
Plaintext

bookstack-db | 2026-09-06 17:37:16+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.6.2+maria~ubu2404 started.
bookstack-db | 2026-09-06 17:37:16+02:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
bookstack-db | 2026-09-06 17:37:16+02:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
bookstack-db | 2026-09-06 17:37:16+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.6.2+maria~ubu2404 started.
bookstack-db | 2026-09-06 17:37:16+02:00 [Note] [Entrypoint]: MariaDB upgrade not required
bookstack-db | 2026-09-06 17:37:16 0 [Note] Starting MariaDB 11.6.2-MariaDB-ubu2404 source revision d8dad8c3b54cd09fefce7bc3b9749f427eed9709 server_uid FyHOQ8V7FXEQJqVEM22Wze9eRrU= as process 1
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Compressed tables use zlib 1.3
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Number of transaction pools: 1
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
bookstack-db | 2026-09-06 17:37:16 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 0
bookstack-db | 2026-09-06 17:37:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Completed initialization of buffer pool
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: End of log at LSN=1982099
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Opened 3 undo tablespaces
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: log sequence number 1982099; transaction id 2873
bookstack-db | 2026-09-06 17:37:16 0 [Note] Plugin 'FEEDBACK' is disabled.
bookstack-db | 2026-09-06 17:37:16 0 [Note] Plugin 'wsrep-provider' is disabled.
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
bookstack-db | 2026-09-06 17:37:16 0 [Note] InnoDB: Buffer pool(s) load completed at 260906 17:37:16
bookstack-db | 2026-09-06 17:37:18 0 [Note] Server socket created on IP: '0.0.0.0'.
bookstack-db | 2026-09-06 17:37:18 0 [Note] Server socket created on IP: '::'.
bookstack-db | 2026-09-06 17:37:18 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
bookstack-db | 2026-09-06 17:37:18 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 | [migrations] started
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 | ██║ ██╔════╝██║██╔═══██╗
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 ...................................... 25.42ms DONE
bookstack |
bookstack | INFO Running migrations.
bookstack |
bookstack | 2014_10_12_000000_create_users_table ......................... 280.39ms DONE
bookstack | 2014_10_12_100000_create_password_resets_table ................ 64.19ms DONE
bookstack | 2015_07_12_114933_create_books_table .......................... 12.71ms DONE
bookstack | 2015_07_12_190027_create_pages_table .......................... 17.69ms DONE
bookstack | 2015_07_13_172121_create_images_table ......................... 11.70ms DONE
bookstack | 2015_07_27_172342_create_chapters_table ....................... 13.83ms DONE
bookstack | 2015_08_08_200447_add_users_to_entities ...................... 153.83ms DONE
bookstack | 2015_08_09_093534_create_page_revisions_table ................. 11.95ms DONE
bookstack | 2015_08_16_142133_create_activities_table ..................... 15.73ms DONE
bookstack | 2015_08_29_105422_add_roles_and_permissions .................. 323.96ms DONE
bookstack | 2015_08_30_125859_create_settings_table ....................... 13.48ms DONE
bookstack | 2015_08_31_175240_add_search_indexes ........................... 0.06ms DONE
bookstack | 2015_09_04_165821_create_social_accounts_table ................ 64.04ms DONE
bookstack | 2015_09_05_164707_add_email_confirmation_table ................ 82.50ms DONE
bookstack | 2015_11_21_145609_create_views_table .......................... 13.13ms DONE
bookstack | 2015_11_26_221857_add_entity_indexes ......................... 491.19ms DONE
bookstack | 2015_12_05_145049_fulltext_weighting ........................... 0.06ms DONE
bookstack | 2015_12_07_195238_add_image_upload_types ...................... 75.31ms DONE
bookstack | 2015_12_09_195748_add_user_avatars ............................ 18.17ms DONE
bookstack | 2016_01_11_210908_add_external_auth_to_users .................. 47.72ms DONE
bookstack | 2016_02_25_184030_add_slug_to_revisions ....................... 85.17ms DONE
bookstack | 2016_02_27_120329_update_permissions_and_roles ............... 148.77ms DONE
bookstack | 2016_02_28_084200_add_entity_access_controls ................. 255.74ms DONE
bookstack | 2016_03_09_203143_add_page_revision_types ..................... 47.57ms DONE
bookstack | 2016_03_13_082138_add_page_drafts ............................. 45.80ms DONE
bookstack | 2016_03_25_123157_add_markdown_support ........................ 39.14ms DONE
bookstack | 2016_04_09_100730_add_view_permissions_to_roles ............... 50.37ms DONE
bookstack | 2016_04_20_192649_create_joint_permissions_table ............. 320.85ms DONE
bookstack | 2016_05_06_185215_create_tags_table .......................... 113.47ms DONE
bookstack | 2016_07_07_181521_add_summary_to_page_revisions ............... 17.12ms DONE
bookstack | 2016_09_29_101449_remove_hidden_roles ......................... 72.95ms DONE
bookstack | 2016_10_09_142037_create_attachments_table .................... 63.02ms DONE
bookstack | 2017_01_21_163556_create_cache_table .......................... 40.20ms DONE
bookstack | 2017_01_21_163602_create_sessions_table ....................... 38.07ms DONE
bookstack | 2017_03_19_091553_create_search_index_table .................. 117.69ms DONE
bookstack | 2017_04_20_185112_add_revision_counts ......................... 66.06ms DONE
bookstack | 2017_07_02_152834_update_db_encoding_to_ut8mb4 ................. 0.06ms DONE
bookstack | 2017_08_01_130541_create_comments_table ....................... 86.12ms DONE
bookstack | 2017_08_29_102650_add_cover_image_display ..................... 17.54ms DONE
bookstack | 2018_07_15_173514_add_role_external_auth_id ................... 47.20ms DONE
bookstack | 2018_08_04_115700_create_bookshelves_table ................... 379.44ms DONE
bookstack | 2019_07_07_112515_add_template_support ........................ 47.05ms DONE
bookstack | 2019_08_17_140214_add_user_invites_table ...................... 63.85ms DONE
bookstack | 2019_12_29_120917_add_api_auth ................................ 91.08ms DONE
bookstack | 2020_08_04_111754_drop_joint_permissions_id .................. 104.12ms DONE
bookstack | 2020_08_04_131052_remove_role_name_field ...................... 20.76ms DONE
bookstack | 2020_09_19_094251_add_activity_indexes ........................ 49.10ms DONE
bookstack | 2020_09_27_210059_add_entity_soft_deletes ..................... 73.95ms DONE
bookstack | 2020_09_27_210528_create_deletions_table ...................... 92.77ms DONE
bookstack | 2020_11_07_232321_simplify_activities_table .................. 146.96ms DONE
bookstack | 2020_12_30_173528_add_owned_by_field_to_entities ............. 200.03ms DONE
bookstack | 2021_01_30_225441_add_settings_type_column .................... 19.24ms DONE
bookstack | 2021_03_08_215138_add_user_slug ............................... 51.30ms DONE
bookstack | 2021_05_15_173110_create_favourites_table ..................... 59.92ms DONE
bookstack | 2021_06_30_173111_create_mfa_values_table ..................... 62.17ms DONE
bookstack | 2021_07_03_085038_add_mfa_enforced_to_roles_table ............. 17.63ms DONE
bookstack | 2021_08_28_161743_add_export_role_permission ................... 4.86ms DONE
bookstack | 2021_09_26_044614_add_activities_ip_column .................... 21.38ms DONE
bookstack | 2021_11_26_070438_add_index_for_user_ip ....................... 21.51ms DONE
bookstack | 2021_12_07_111343_create_webhooks_table ...................... 127.35ms DONE
bookstack | 2021_12_13_152024_create_jobs_table ........................... 36.78ms DONE
bookstack | 2021_12_13_152120_create_failed_jobs_table .................... 34.12ms DONE
bookstack | 2022_01_03_154041_add_webhooks_timeout_error_columns .......... 76.41ms DONE
bookstack | 2022_04_17_101741_add_editor_change_field_and_permission ...... 23.15ms DONE
bookstack | 2022_04_25_140741_update_polymorphic_types .................... 16.51ms DONE
bookstack | 2022_07_16_170051_drop_joint_permission_type ................. 126.61ms DONE
bookstack | 2022_08_17_092941_create_references_table .................... 114.98ms DONE
bookstack | 2022_09_02_082910_fix_shelf_cover_image_types .................. 0.70ms DONE
bookstack | 2022_10_07_091406_flatten_entity_permissions_table ............ 90.15ms DONE
bookstack | 2022_10_08_104202_drop_entity_restricted_field ................ 96.76ms DONE
bookstack | 2023_01_24_104625_refactor_joint_permissions_storage ......... 145.33ms DONE
bookstack | 2023_01_28_141230_copy_color_settings_for_dark_mode ............ 1.22ms DONE
bookstack | 2023_02_20_093655_increase_attachments_path_length ............ 37.29ms DONE
bookstack | 2023_02_23_200227_add_updated_at_index_to_pages ............... 27.58ms DONE
bookstack | 2023_06_10_071823_remove_guest_user_secondary_roles ............ 2.17ms DONE
bookstack | 2023_06_25_181952_remove_bookshelf_create_entity_permissions ... 0.05ms DONE
bookstack | 2023_07_25_124945_add_receive_notifications_role_permissions ... 4.51ms DONE
bookstack | 2023_07_31_104430_create_watches_table ........................ 86.52ms DONE
bookstack | 2023_08_21_174248_increase_cache_size ......................... 29.32ms DONE
bookstack | 2023_12_02_104541_add_default_template_to_books ............... 20.96ms DONE
bookstack | 2023_12_17_140913_add_description_html_to_entities ............ 69.67ms DONE
bookstack | 2024_01_01_104542_add_default_template_to_chapters ............ 21.06ms DONE
bookstack | 2024_02_04_141358_add_views_updated_index ..................... 28.41ms DONE
bookstack | 2024_05_04_154409_rename_activity_relation_columns ............ 35.58ms DONE
bookstack | 2024_09_29_140340_ensure_editor_value_set ...................... 2.62ms DONE
bookstack | 2024_10_29_114420_add_import_role_permission ................... 5.04ms DONE
bookstack | 2024_11_02_160700_create_imports_table ........................ 38.06ms DONE
bookstack | 2024_11_27_171039_add_instance_id_setting ..................... 10.79ms DONE
bookstack | 2025_01_29_180933_create_sort_rules_table ..................... 17.14ms DONE
bookstack | 2025_02_05_150842_add_sort_rule_id_to_books ................... 19.84ms DONE
bookstack | 2025_04_18_215145_add_content_refs_and_archived_to_comments ... 61.97ms DONE
bookstack | 2025_09_02_111542_remove_unused_columns ....................... 68.23ms DONE
bookstack | 2025_09_15_132850_create_entities_table ...................... 261.38ms DONE
bookstack | 2025_09_15_134701_migrate_entity_data ......................... 10.32ms DONE
bookstack | 2025_09_15_134751_update_entity_relation_columns ............. 823.66ms DONE
bookstack | 2025_09_15_134813_drop_old_entity_tables ...................... 47.79ms DONE
bookstack | 2025_10_18_163331_clean_user_id_references ................... 444.39ms DONE
bookstack | 2025_10_22_134507_update_comments_relation_field_names ........ 34.40ms DONE
bookstack | 2025_11_23_161812_create_slug_history_table .................. 117.46ms DONE
bookstack | 2025_12_15_140219_create_mention_history_table ................ 62.55ms DONE
bookstack | 2025_12_19_103417_add_views_viewable_type_index ............... 22.64ms DONE
bookstack | 2026_04_19_141616_add_revision_view_all_permission ............ 10.97ms DONE
bookstack |
bookstack | [custom-init] No custom files found, skipping...
bookstack | [ls.io-init] done.