Files
felhom.eu/documentation/audits/update-night-2026-09-21/apps/nextcloud-engine-mariadb/app-logs-after.txt
T
admin 9c69b3ff07
gates / gates (push) Successful in 27s
Update night: Phases 2-4 evidence — both engines, the unattended HOLD, and five new findings
Evidence off the machine at the end of the phases that produced it (R-320). Teardown follows.

PHASE 2 — the two database engines, through the REAL Update button:
- MariaDB 11.6 -> 12.3 on nextcloud: PROVEN, and pressed through the button for the first time.
  All four SPIKE-r459 observables: the datadir's own record moved 11.6.2 -> 12.3.3; the engine
  itself says "already upgraded ... no need to run mariadb-upgrade again"; the entrypoint says
  "Major version upgrade detected ... Check required!" and then STARTED and FINISHED it (not the
  `skipped due to $MARIADB_AUTO_UPGRADE` line R-459 feared); and the engine took its own
  pre-upgrade backup, 631 905 B. The seeded Nextcloud account read back.
- PostgreSQL 16 -> 17 on docmost: FAILED exactly as R-463 predicted and nobody had measured.
  5.1 s to held; the pin named 17 while nothing ran; the restore brought it back in 29.1 s.
  The engine's REFUSAL LINE was destroyed by failAndHold before any probe could read it, so it
  was REPRODUCED INDEPENDENTLY with a control on every step (R-320).

PHASE 3 — the bad days. B1 produced THE UNATTENDED HOLD, which this project has never had: the
caller pressed once with nobody watching, the app held after 312.9 s, and passes 2 and 3 pressed
nothing. B2 put the pin back on a pull failure in 1.0 s. B3 refused `busy` six times. B4 showed
there is NO single-flight — 5 of 5 updates ran at once and all ended honest. B5 cut the power in
`backing-up` and the box recovered itself and said so. B7 refused under the 2 GB floor. B9 found
R-458's risk narrower than the row states.

PHASE 4 — every badge on the box is TRUE, and the held app answers all four of Q4's questions.

FINDINGS, five new and three corrections to existing rows. The one that matters: R-618 is P1 —
two templates name a health probe the app does not answer, and because the guarded update waits
on that same probe, a SUCCESSFUL update ends by STOPPING a working app. Measured: tandoor served
HTTP 200 on the new version at four samples across five minutes and was then stopped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-21 22:13:57 +02:00

142 lines
14 KiB
Plaintext

nextcloud | => Configuring PHP session handler...
nextcloud | ==> Using Redis as PHP session handler...
nextcloud | => Searching for hook scripts (*.sh) to run, located in the folder "/docker-entrypoint-hooks.d/before-starting"
nextcloud | ==> Skipped: the "before-starting" folder is empty (or does not exist)
nextcloud | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.4. Set the 'ServerName' directive globally to suppress this message
nextcloud | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.4. Set the 'ServerName' directive globally to suppress this message
nextcloud | [Mon Sep 21 21:38:55.360982 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.68 (Debian) PHP/8.5.8 configured -- resuming normal operations
nextcloud-db | 2026-09-21 21:40:20+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.3.3+maria~ubu2404 started.
nextcloud | [Mon Sep 21 21:38:55.361025 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
nextcloud | 127.0.0.1 - - [21/Sep/2026:21:39:00 +0200] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1"
nextcloud | 172.18.0.7 - - [21/Sep/2026:21:39:03 +0200] "GET /status.php HTTP/1.1" 200 1063 "-" "Go-http-client/1.1"
nextcloud | 127.0.0.1 - - [21/Sep/2026:21:39:30 +0200] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1"
nextcloud | 127.0.0.1 - - [21/Sep/2026:21:40:00 +0200] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1"
nextcloud | 127.0.0.1 - - [21/Sep/2026:21:40:30 +0200] "GET /status.php HTTP/1.1" 500 376 "-" "curl/8.14.1"
nextcloud | 172.18.0.7 - - [21/Sep/2026:21:40:36 +0200] "GET /status.php HTTP/1.1" 200 1063 "-" "Go-http-client/1.1"
nextcloud | 192.168.0.180 - - [21/Sep/2026:21:40:40 +0200] "GET /status.php HTTP/1.1" 200 1063 "-" "curl/8.14.1"
nextcloud-redis | 1:C 21 Sep 2026 21:38:49.342 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
nextcloud-redis | 1:C 21 Sep 2026 21:38:49.342 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
nextcloud-redis | 1:C 21 Sep 2026 21:38:49.342 * Redis version=7.4.11, bits=64, commit=00000000, modified=0, pid=1, just started
nextcloud-redis | 1:C 21 Sep 2026 21:38:49.342 * Configuration loaded
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.342 * Increased maximum number of open files to 10032 (it was originally set to 1024).
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.342 * monotonic clock: POSIX clock_gettime
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.344 * Running mode=standalone, port=6379.
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.344 * Server initialized
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * Reading RDB base file on AOF loading...
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * Loading RDB produced by version 7.4.11
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * RDB age 96 seconds
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * RDB memory usage when created 0.90 Mb
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * RDB is base AOF
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * Done loading RDB, keys loaded: 0, keys expired: 0.
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * DB loaded from incr file appendonly.aof.1.incr.aof: 0.000 seconds
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * DB loaded from append only file: 0.000 seconds
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * Opening AOF incr file appendonly.aof.1.incr.aof on server start
nextcloud-db | 2026-09-21 21:40:20+02:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
nextcloud-db | 2026-09-21 21:40:20+02:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
nextcloud-db | 2026-09-21 21:40:20+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.3.3+maria~ubu2404 started.
nextcloud-db | 2026-09-21 21:40:21+02:00 [Note] [Entrypoint]: Starting temporary server
nextcloud-redis | 1:M 21 Sep 2026 21:38:49.345 * Ready to accept connections tcp
nextcloud-db | 2026-09-21 21:40:21+02:00 [Note] [Entrypoint]: Waiting for server startup
nextcloud-db | 2026-09-21 21:40:21 0 [Note] Starting MariaDB 12.3.3-MariaDB-ubu2404 source revision 83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e server_uid 14CtiqEo7W/9wCYATc914eYJJhE= as process 56
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Compressed tables use zlib 1.3
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Number of transaction pools: 1
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
nextcloud-db | 2026-09-21 21:40:21 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
nextcloud-db | create_uring failed: falling back to libaio
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Using Linux native AIO
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Completed initialization of buffer pool
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: End of log at LSN=2186147
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Opened 3 undo tablespaces
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
nextcloud-db | 2026-09-21 21:40:21 0 [Note] InnoDB: log sequence number 2186147; transaction id 2981
nextcloud-db | 2026-09-21 21:40:21 0 [Note] Plugin 'FEEDBACK' is disabled.
nextcloud-db | 2026-09-21 21:40:21 0 [Note] Plugin 'wsrep-provider' is disabled.
nextcloud-db | 2026-09-21 21:40:22 0 [Note] Replication not automatically started: --skip-slave-start was specified
nextcloud-db | 2026-09-21 21:40:22 0 [Note] mariadbd: ready for connections.
nextcloud-db | Version: '12.3.3-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
nextcloud-db | 2026-09-21 21:40:23+02:00 [Note] [Entrypoint]: Temporary server started.
nextcloud-db | 2026-09-21 21:40:23+02:00 [Note] [Entrypoint]: Backing up system database to system_mysql_backup_11.6.2-MariaDB.sql.zst
nextcloud-db | 2026-09-21 21:40:23+02:00 [Note] [Entrypoint]: Backing up complete
nextcloud-db | 2026-09-21 21:40:23+02:00 [Note] [Entrypoint]: Starting mariadb-upgrade
nextcloud-db | The --upgrade-system-tables option was used, user tables won't be touched.
nextcloud-db | Major version upgrade detected from 11.6.2-MariaDB to 12.3.3-MariaDB. Check required!
nextcloud-db | Phase 1/8: Checking and upgrading mysql database
nextcloud-db | Processing databases
nextcloud-db | mysql
nextcloud-db | mysql.column_stats OK
nextcloud-db | mysql.columns_priv OK
nextcloud-db | mysql.db OK
nextcloud-db | mysql.event OK
nextcloud-db | mysql.func OK
nextcloud-db | mysql.global_priv OK
nextcloud-db | mysql.gtid_slave_pos OK
nextcloud-db | mysql.help_category OK
nextcloud-db | mysql.help_keyword OK
nextcloud-db | mysql.help_relation OK
nextcloud-db | mysql.help_topic OK
nextcloud-db | mysql.index_stats OK
nextcloud-db | mysql.innodb_index_stats OK
nextcloud-db | mysql.innodb_table_stats OK
nextcloud-db | mysql.plugin OK
nextcloud-db | mysql.proc OK
nextcloud-db | mysql.procs_priv OK
nextcloud-db | mysql.proxies_priv OK
nextcloud-db | mysql.roles_mapping OK
nextcloud-db | mysql.servers OK
nextcloud-db | mysql.table_stats OK
nextcloud-db | mysql.tables_priv OK
nextcloud-db | mysql.time_zone OK
nextcloud-db | mysql.time_zone_leap_second OK
nextcloud-db | mysql.time_zone_name OK
nextcloud-db | mysql.time_zone_transition OK
nextcloud-db | mysql.time_zone_transition_type OK
nextcloud-db | mysql.transaction_registry OK
nextcloud-db | Phase 2/8: Installing used storage engines... Skipped
nextcloud-db | Phase 3/8: Running 'mysql_fix_privilege_tables'
nextcloud-db | Phase 4/8: Fixing views... Skipped
nextcloud-db | Phase 5/8: Fixing table and database names ... Skipped
nextcloud-db | Phase 6/8: Checking and upgrading tables... Skipped
nextcloud-db | Phase 7/8: uninstalling plugins
nextcloud-db | Phase 8/8: Running 'FLUSH PRIVILEGES'
nextcloud-db | OK
nextcloud-db | 2026-09-21 21:40:29+02:00 [Note] [Entrypoint]: Finished mariadb-upgrade
nextcloud-db | 2026-09-21 21:40:29+02:00 [Note] [Entrypoint]: Stopping temporary server
nextcloud-db | 2026-09-21 21:40:29 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
nextcloud-db | 2026-09-21 21:40:29 0 [Note] InnoDB: FTS optimize thread exiting.
nextcloud-db | 2026-09-21 21:40:29 0 [Note] InnoDB: Starting shutdown...
nextcloud-db | 2026-09-21 21:40:29 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
nextcloud-db | 2026-09-21 21:40:29 0 [Note] Shutdown completed; log sequence number 2186147; transaction id 2985
nextcloud-db | 2026-09-21 21:40:30 0 [Note] mariadbd: Shutdown complete
nextcloud-db | 2026-09-21 21:40:30+02:00 [Note] [Entrypoint]: Temporary server stopped
nextcloud-db | 2026-09-21 21:40:30 0 [Note] Starting MariaDB 12.3.3-MariaDB-ubu2404 source revision 83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e server_uid 14CtiqEo7W/9wCYATc914eYJJhE= as process 1
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Compressed tables use zlib 1.3
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Number of transaction pools: 1
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
nextcloud-db | 2026-09-21 21:40:30 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
nextcloud-db | create_uring failed: falling back to libaio
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Using Linux native AIO
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Completed initialization of buffer pool
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: End of log at LSN=2186147
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Opened 3 undo tablespaces
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: log sequence number 2186147; transaction id 2981
nextcloud-db | 2026-09-21 21:40:30 0 [Note] Plugin 'FEEDBACK' is disabled.
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
nextcloud-db | 2026-09-21 21:40:30 0 [Note] Plugin 'wsrep-provider' is disabled.
nextcloud-db | 2026-09-21 21:40:30 0 [Note] InnoDB: Buffer pool(s) load completed at 260921 21:40:30
nextcloud-db | 2026-09-21 21:40:33 0 [Note] Server socket created on IP: '0.0.0.0', port: '3306'.
nextcloud-db | 2026-09-21 21:40:33 0 [Note] Server socket created on IP: '::', port: '3306'.
nextcloud-db | 2026-09-21 21:40:33 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
nextcloud-db | 2026-09-21 21:40:33 0 [Note] mariadbd: ready for connections.
nextcloud-db | Version: '12.3.3-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
nextcloud-db | 2026-09-21 21:40:39 6 [Warning] Access denied for user 'root'@'localhost' (using password: NO)