[GH-ISSUE #10327] BookStack helper falsely reports MariaDB 12.2.1 on Debian 12/13 and continues after GPG failure #2225

Closed
opened 2026-02-26 12:51:43 +03:00 by kerem · 6 comments
Owner

Originally created by @LaurenceBarnes on GitHub (Dec 25, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10327

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

BookStack

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/bookstack.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-1-pve)

📝 Provide a clear and concise description of the issue.

The BookStack helper script attempts to upgrade MariaDB to 12.2.1 on both Debian 12 and Debian 13.

This is incorrect:

  • Debian 12 ships MariaDB 10.11
  • Debian 13 ships MariaDB 11.8
  • MariaDB 12.x is not provided by Debian and requires the upstream MariaDB repository

During execution, the script:

  • is stuck on Upgrade MariaDB from 10.11.14 to 12.2.1 or Upgrade MariaDB from 11.8.3 to 12.2.1 and will not continue until I press "enter",
  • fails to import the MariaDB upstream GPG key,
  • does not abort on this failure,
  • installs Debian’s MariaDB version instead (10.11 or 11.8),
  • prints a false success message claiming Setup MariaDB 12.2.1,
  • then continues with BookStack deployment and migrations.

On Debian 12 this can break BookStack upgrades.
On Debian 13 it may appear to work by coincidence, but MariaDB 12 is still not installed.

🔄 Steps to reproduce the issue.

  1. Create a BookStack LXC using the helper script
  2. Run the BookStack helper upgrade on Debian 12 or 13
  3. Observe MariaDB upgrade step
  4. Check installed MariaDB version after script completes

Paste the full error output (if available).

Debian 12 (second attempt after I skipped the first one)

Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:4 https://packages.sury.org/php bookworm InRelease               
Fetched 55.4 kB in 1s (109 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gawk is already the newest version (1:5.2.1-2).
rsync is already the newest version (3.2.7-1+deb12u2).
socat is already the newest version (1.7.4.4-2).
libdbi-perl is already the newest version (1.643-4).
pv is already the newest version (1.6.20-1).
The following packages were automatically installed and are no longer required:
  galera-4 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libencode-locale-perl libfcgi-bin libfcgi-perl libfcgi0ldbl libhtml-parser-perl
  libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl liblzo2-2 libncurses6
  libregexp-ipv6-perl libsnappy1v5 libterm-readkey-perl libtimedate-perl liburi-perl liburing2 mysql-common
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/dev/fd/63: line 1243: gpg: command not found
curl: (23) Failure writing output to destination
  ✖️   Failed to import GPG key for mariadb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libdbd-mariadb-perl libmariadb3 mariadb-client-core mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma
  mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server-core
Suggested packages:
  mailx mariadb-test netcat-openbsd
The following NEW packages will be installed:
  libdbd-mariadb-perl libmariadb3 mariadb-client mariadb-client-core mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4
  mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server mariadb-server-core
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.8 MB/15.9 MB of archives.
After this operation, 185 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 mariadb-common all 1:10.11.14-0+deb12u2 [26.3 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 libmariadb3 amd64 1:10.11.14-0+deb12u2 [182 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 mariadb-client-core amd64 1:10.11.14-0+deb12u2 [894 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 mariadb-client amd64 1:10.11.14-0+deb12u2 [3,030 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 mariadb-server-core amd64 1:10.11.14-0+deb12u2 [7,597 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 mariadb-server amd64 1:10.11.14-0+deb12u2 [3,964 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-bzip2 amd64 1:10.11.14-0+deb12u2 [26.7 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lz4 amd64 1:10.11.14-0+deb12u2 [26.7 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzma amd64 1:10.11.14-0+deb12u2 [26.7 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzo amd64 1:10.11.14-0+deb12u2 [26.6 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-snappy amd64 1:10.11.14-0+deb12u2 [26.7 kB]
Fetched 15.8 MB in 2s (6,688 kB/s)                      
Preconfiguring packages ...
Selecting previously unselected package mariadb-common.
(Reading database ... 22801 files and directories currently installed.)
Preparing to unpack .../mariadb-common_1%3a10.11.14-0+deb12u2_all.deb ...
Unpacking mariadb-common (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package libmariadb3:amd64.
Preparing to unpack .../libmariadb3_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking libmariadb3:amd64 (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-client-core.
Preparing to unpack .../mariadb-client-core_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-client-core (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-client.
Preparing to unpack .../mariadb-client_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-client (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-server-core.
Preparing to unpack .../mariadb-server-core_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-server-core (1:10.11.14-0+deb12u2) ...
Setting up mariadb-common (1:10.11.14-0+deb12u2) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mariadb-server.
(Reading database ... 23045 files and directories currently installed.)
Preparing to unpack .../0-mariadb-server_1%3a10.11.14-0+deb12u2_amd64.deb ...
/var/lib/mysql: found previous version 10.11
Unpacking mariadb-server (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package libdbd-mariadb-perl.
Preparing to unpack .../1-libdbd-mariadb-perl_1.22-1+b1_amd64.deb ...
Unpacking libdbd-mariadb-perl (1.22-1+b1) ...
Selecting previously unselected package mariadb-plugin-provider-bzip2.
Preparing to unpack .../2-mariadb-plugin-provider-bzip2_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-plugin-provider-bzip2 (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-plugin-provider-lz4.
Preparing to unpack .../3-mariadb-plugin-provider-lz4_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-plugin-provider-lz4 (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-plugin-provider-lzma.
Preparing to unpack .../4-mariadb-plugin-provider-lzma_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-plugin-provider-lzma (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-plugin-provider-lzo.
Preparing to unpack .../5-mariadb-plugin-provider-lzo_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-plugin-provider-lzo (1:10.11.14-0+deb12u2) ...
Selecting previously unselected package mariadb-plugin-provider-snappy.
Preparing to unpack .../6-mariadb-plugin-provider-snappy_1%3a10.11.14-0+deb12u2_amd64.deb ...
Unpacking mariadb-plugin-provider-snappy (1:10.11.14-0+deb12u2) ...
Setting up libmariadb3:amd64 (1:10.11.14-0+deb12u2) ...
Setting up mariadb-server-core (1:10.11.14-0+deb12u2) ...
Setting up mariadb-client-core (1:10.11.14-0+deb12u2) ...
Setting up libdbd-mariadb-perl (1.22-1+b1) ...
Setting up mariadb-client (1:10.11.14-0+deb12u2) ...
Setting up mariadb-server (1:10.11.14-0+deb12u2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
Setting up mariadb-plugin-provider-bzip2 (1:10.11.14-0+deb12u2) ...
Setting up mariadb-plugin-provider-lzma (1:10.11.14-0+deb12u2) ...
Setting up mariadb-plugin-provider-lzo (1:10.11.14-0+deb12u2) ...
Setting up mariadb-plugin-provider-lz4 (1:10.11.14-0+deb12u2) ...
Setting up mariadb-plugin-provider-snappy (1:10.11.14-0+deb12u2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for mariadb-server (1:10.11.14-0+deb12u2) ...
  ✔️   Setup MariaDB 12.2.1
  ✔️   No update available: bookstack (25.12)

Debian 12 after rollback and holding the MariaDB packages

Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB]
Hit:2 http://deb.debian.org/debian bookworm InRelease
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:4 https://packages.sury.org/php bookworm InRelease
Fetched 103 kB in 0s (216 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gawk is already the newest version (1:5.2.1-2).
gawk set to manually installed.
rsync is already the newest version (3.2.7-1+deb12u2).
rsync set to manually installed.
socat is already the newest version (1.7.4.4-2).
socat set to manually installed.
libdbi-perl is already the newest version (1.643-4).
libdbi-perl set to manually installed.
pv is already the newest version (1.6.20-1).
pv set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/dev/fd/63: line 1243: gpg: command not found
curl: (23) Failure writing output to destination
  ✖️   Failed to import GPG key for mariadb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mariadb-server is already the newest version (1:10.11.14-0+deb12u2).
mariadb-client is already the newest version (1:10.11.14-0+deb12u2).
mariadb-client set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  ✔️   Setup MariaDB 12.2.1
  ✔️   Update available: bookstack 25.11.6 → 25.12
  ✔️   Services Stopped
  ✔️   Backup finished
  ✔️   Deployed: bookstack (25.12)
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                    
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease            
Get:4 https://packages.sury.org/php bookworm InRelease [6,133 B]         
Get:5 https://packages.sury.org/php bookworm/main amd64 Packages [280 kB]
Fetched 286 kB in 1s (508 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease                    
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease            
Hit:4 https://packages.sury.org/php bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... DonePHP 8.3 module
Building dependency tree... Done
Reading state information... Done
apache2 is already the newest version (2.4.65-1~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libapache2-mod-php8.3 is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Doneages
Building dependency tree... Done
Reading state information... Done
Note, selecting 'php8.3-mysql' instead of 'php8.3-mysqli'
php8.3 is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-bcmath is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-cli is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-curl is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-gd is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-intl is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-mbstring is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-opcache is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-readline is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-xml is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-zip is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-ldap is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-tidy is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-bz2 is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-mysql is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
php8.3-fpm is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering dependency mpm_prefork for php8.3:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.3:
Module php8.3 already enabled
Synchronizing state of php8.3-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable php8.3-fpm
  ✔️   Setup PHP 8.3
  ⏳   Update Composer 2.9.2You are already using the latest available Composer version 2.9.2 (stable channel).
  ✔️   Update Composer 2.9.2
  ✔️   Backup restored
  ⏳   Configuring BookStack> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');"
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 110 installs, 0 updates, 0 removals
  - Downloading intervention/image (3.11.6)
  - Downloading phpseclib/phpseclib (3.0.48)
  - Downloading tijsverkoyen/css-to-inline-styles (v2.4.0)
  - Downloading ramsey/uuid (4.9.2)
  - Downloading nette/utils (v4.1.1)
  - Downloading laravel/framework (v12.44.0)
  - Downloading psy/psysh (v0.12.18)
  - Downloading aws/aws-sdk-php (3.369.2)
  - Downloading pragmarx/google2fa (v9.0.0)
  - Installing aws/aws-crt-php (v1.2.7): Extracting archive
  - Installing dasprid/enum (1.0.7): Extracting archive
  - Installing bacon/bacon-qr-code (v3.0.3): Extracting archive
  - Installing doctrine/inflector (2.1.0): Extracting archive
  - Installing doctrine/lexer (3.0.1): Extracting archive
  - Installing masterminds/html5 (2.10.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
  - Installing sabberworm/php-css-parser (v8.9.0): Extracting archive
  - Installing dompdf/php-svg-lib (1.0.0): Extracting archive
  - Installing dompdf/php-font-lib (1.0.1): Extracting archive
  - Installing dompdf/dompdf (v3.1.4): Extracting archive
  - Installing dragonmantank/cron-expression (v3.6.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing symfony/http-foundation (v7.4.1): Extracting archive
  - Installing fruitcake/php-cors (v1.4.0): Extracting archive
  - Installing guzzlehttp/promises (2.3.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.33.0): Extracting archive
  - Installing guzzlehttp/uri-template (v1.0.5): Extracting archive
  - Installing intervention/gif (4.2.2): Extracting archive
  - Installing intervention/image (3.11.6): Extracting archive
  - Installing symfony/process (v7.4.0): Extracting archive
  - Installing psr/log (3.0.2): Extracting archive
  - Installing knplabs/knp-snappy (v1.5.1): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
  - Installing symfony/string (v7.4.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.1): Extracting archive
  - Installing symfony/console (v7.4.1): Extracting archive
  - Installing laravel/prompts (v0.3.8): Extracting archive
  - Installing laravel/serializable-closure (v2.0.7): Extracting archive
  - Installing paragonie/random_compat (v9.99.100): Extracting archive
  - Installing paragonie/constant_time_encoding (v3.1.3): Extracting archive
  - Installing phpseclib/phpseclib (3.0.48): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing psr/http-factory (1.1.0): Extracting archive
  - Installing guzzlehttp/psr7 (2.8.0): Extracting archive
  - Installing psr/http-client (1.0.3): Extracting archive
  - Installing guzzlehttp/guzzle (7.10.0): Extracting archive
  - Installing league/oauth1-client (v1.11.0): Extracting archive
  - Installing voku/portable-ascii (2.0.3): Extracting archive
  - Installing phpoption/phpoption (1.9.4): Extracting archive
  - Installing graham-campbell/result-type (v1.1.3): Extracting archive
  - Installing vlucas/phpdotenv (v5.6.2): Extracting archive
  - Installing symfony/css-selector (v7.4.0): Extracting archive
  - Installing tijsverkoyen/css-to-inline-styles (v2.4.0): Extracting archive
  - Installing symfony/var-dumper (v7.4.0): Extracting archive
  - Installing symfony/polyfill-uuid (v1.33.0): Extracting archive
  - Installing symfony/uid (v7.4.0): Extracting archive
  - Installing symfony/routing (v7.4.0): Extracting archive
  - Installing symfony/polyfill-php85 (v1.33.0): Extracting archive
  - Installing symfony/polyfill-php84 (v1.33.0): Extracting archive
  - Installing symfony/polyfill-php83 (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.33.0): Extracting archive
  - Installing symfony/mime (v7.4.0): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive
  - Installing symfony/event-dispatcher (v7.4.0): Extracting archive
  - Installing egulias/email-validator (4.0.4): Extracting archive
  - Installing symfony/mailer (v7.4.0): Extracting archive
  - Installing symfony/error-handler (v7.4.0): Extracting archive
  - Installing symfony/http-kernel (v7.4.2): Extracting archive
  - Installing symfony/finder (v7.4.0): Extracting archive
  - Installing ramsey/collection (2.1.1): Extracting archive
  - Installing brick/math (0.14.1): Extracting archive
  - Installing ramsey/uuid (4.9.2): Extracting archive
  - Installing psr/simple-cache (3.0.0): Extracting archive
  - Installing nunomaduro/termwind (v2.3.3): Extracting archive
  - Installing symfony/translation-contracts (v3.6.1): Extracting archive
  - Installing symfony/translation (v7.4.0): Extracting archive
  - Installing psr/clock (1.0.0): Extracting archive
  - Installing symfony/clock (v7.4.0): Extracting archive
  - Installing carbonphp/carbon-doctrine-types (3.2.0): Extracting archive
  - Installing nesbot/carbon (3.11.0): Extracting archive
  - Installing monolog/monolog (3.9.0): Extracting archive
  - Installing league/uri-interfaces (7.7.0): Extracting archive
  - Installing league/uri (7.7.0): Extracting archive
  - Installing league/mime-type-detection (1.16.0): Extracting archive
  - Installing league/flysystem-local (3.30.2): Extracting archive
  - Installing league/flysystem (3.30.2): Extracting archive
  - Installing nette/utils (v4.1.1): Extracting archive
  - Installing nette/schema (v1.3.3): Extracting archive
  - Installing dflydev/dot-access-data (v3.0.3): Extracting archive
  - Installing league/config (v1.2.0): Extracting archive
  - Installing league/commonmark (2.8.0): Extracting archive
  - Installing laravel/framework (v12.44.0): Extracting archive
  - Installing firebase/php-jwt (v6.11.1): Extracting archive
  - Installing laravel/socialite (v5.24.0): Extracting archive
  - Installing nikic/php-parser (v5.7.0): Extracting archive
  - Installing psy/psysh (v0.12.18): Extracting archive
  - Installing laravel/tinker (v2.10.2): Extracting archive
  - Installing symfony/filesystem (v7.4.0): Extracting archive
  - Installing mtdowling/jmespath.php (2.8.0): Extracting archive
  - Installing aws/aws-sdk-php (3.369.2): Extracting archive
  - Installing league/flysystem-aws-s3-v3 (3.30.1): Extracting archive
  - Installing league/html-to-markdown (5.1.1): Extracting archive
  - Installing league/oauth2-client (2.9.0): Extracting archive
  - Installing robrichards/xmlseclibs (3.1.4): Extracting archive
  - Installing onelogin/php-saml (4.3.1): Extracting archive
  - Installing pragmarx/google2fa (v9.0.0): Extracting archive
  - Installing predis/predis (v3.3.0): Extracting archive
  - Installing socialiteproviders/manager (v4.8.1): Extracting archive
  - Installing socialiteproviders/discord (4.2.0): Extracting archive
  - Installing socialiteproviders/gitlab (4.1.0): Extracting archive
  - Installing socialiteproviders/microsoft-azure (5.2.0): Extracting archive
  - Installing socialiteproviders/okta (4.5.0): Extracting archive
  - Installing socialiteproviders/twitch (5.4.0): Extracting archive
  - Installing ssddanbrown/htmldiff (v2.0.0): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.  

  laravel/socialite ........................................................................................................................... DONE
  laravel/tinker .............................................................................................................................. DONE
  nesbot/carbon ............................................................................................................................... DONE
  nunomaduro/termwind ......................................................................................................................... DONE
  socialiteproviders/manager .................................................................................................................. DONE

61 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan cache:clear

   INFO  Application cache cleared successfully.  

> @php artisan view:clear

   INFO  Compiled views cleared successfully.  


In Connection.php line 826:
                                                                                                                                                               
  SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select exists (select 1 from information_schema.tables where table_schema = schem  
  a() and table_name = 'migrations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED')) as `exists`)                                                         
                                                                                                                                                               

In Connector.php line 66:
                                                    
  SQLSTATE[HY000] [2002] No such file or directory  
                                                    

  ✖️   in line 56: exit code 1 (General error / Operation not permitted): while executing command  php artisan migrate --force

Debian 13 after upgrade and another rollback

Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease                      
Hit:3 http://deb.debian.org/debian trixie-updates InRelease              
Hit:4 https://packages.sury.org/php trixie InRelease                     
All packages are up to date.    
gawk is already the newest version (1:5.2.1-2+b1).
gawk set to manually installed.
rsync is already the newest version (3.4.1+ds1-5).
rsync set to manually installed.
socat is already the newest version (1.8.0.3-1).
socat set to manually installed.
libdbi-perl is already the newest version (1.647-1).
libdbi-perl set to manually installed.
pv is already the newest version (1.9.31-1).
pv set to manually installed.
The following packages were automatically installed and are no longer required:
  galera-4                 libencode-locale-perl  libhtml-parser-perl    libhttp-message-perl        liblzo2-2            libsnappy1v5          liburing2
  libcgi-fast-perl         libfcgi-bin            libhtml-tagset-perl    libio-compress-brotli-perl  libncurses6          libterm-readkey-perl  mysql-common
  libcgi-pm-perl           libfcgi-perl           libhtml-template-perl  libio-html-perl             libpcre2-posix3      libtimedate-perl
  libconfig-inifiles-perl  libfcgi0t64            libhttp-date-perl      liblwp-mediatypes-perl      libregexp-ipv6-perl  liburi-perl
Use 'apt autoremove' to remove them.

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
/dev/fd/63: line 1243: gpg: command not found
curl: (23) Failure writing output to destination, passed 6575 returned 0
  ✖️   Failed to import GPG key for mariadb
Installing:                     
  mariadb-client  mariadb-server

Installing dependencies:
  libdbd-mariadb-perl  mariadb-client-core  mariadb-plugin-provider-bzip2  mariadb-plugin-provider-lzma  mariadb-plugin-provider-snappy
  libmariadb3          mariadb-common       mariadb-plugin-provider-lz4    mariadb-plugin-provider-lzo   mariadb-server-core

Suggested packages:
  mailx  mariadb-test  netcat-openbsd

Summary:
  Upgrading: 0, Installing: 12, Removing: 0, Not Upgrading: 0
  Download size: 16.4 MB
  Space needed: 188 MB / 3,306 MB available

Get:1 http://deb.debian.org/debian trixie/main amd64 mariadb-common all 1:11.8.3-0+deb13u1 [28.8 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libmariadb3 amd64 1:11.8.3-0+deb13u1 [187 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 mariadb-client-core amd64 1:11.8.3-0+deb13u1 [919 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 mariadb-client amd64 1:11.8.3-0+deb13u1 [3,160 kB]
Get:5 http://deb.debian.org/debian trixie/main amd64 mariadb-server-core amd64 1:11.8.3-0+deb13u1 [7,919 kB]
Get:6 http://deb.debian.org/debian trixie/main amd64 mariadb-server amd64 1:11.8.3-0+deb13u1 [3,901 kB]
Get:7 http://deb.debian.org/debian trixie/main amd64 libdbd-mariadb-perl amd64 1.22-1+b4 [93.6 kB]
Get:8 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-bzip2 amd64 1:11.8.3-0+deb13u1 [29.3 kB]
Get:9 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-lz4 amd64 1:11.8.3-0+deb13u1 [29.2 kB]
Get:10 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-lzma amd64 1:11.8.3-0+deb13u1 [29.2 kB]
Get:11 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-lzo amd64 1:11.8.3-0+deb13u1 [29.2 kB]
Get:12 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-snappy amd64 1:11.8.3-0+deb13u1 [29.2 kB]
Fetched 16.4 MB in 2s (6,860 kB/s)                         
Preconfiguring packages ...
Selecting previously unselected package mariadb-common.
(Reading database ... 26016 files and directories currently installed.)
Preparing to unpack .../mariadb-common_1%3a11.8.3-0+deb13u1_all.deb ...
Unpacking mariadb-common (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package libmariadb3:amd64.
Preparing to unpack .../libmariadb3_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking libmariadb3:amd64 (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-client-core.
Preparing to unpack .../mariadb-client-core_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-client-core (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-client.
Preparing to unpack .../mariadb-client_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-client (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-server-core.
Preparing to unpack .../mariadb-server-core_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-server-core (1:11.8.3-0+deb13u1) ...
Setting up mariadb-common (1:11.8.3-0+deb13u1) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mariadb-server.
(Reading database ... 26232 files and directories currently installed.)
Preparing to unpack .../0-mariadb-server_1%3a11.8.3-0+deb13u1_amd64.deb ...
/var/lib/mysql: found previous version 11.8
Unpacking mariadb-server (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package libdbd-mariadb-perl.
Preparing to unpack .../1-libdbd-mariadb-perl_1.22-1+b4_amd64.deb ...
Unpacking libdbd-mariadb-perl (1.22-1+b4) ...
Selecting previously unselected package mariadb-plugin-provider-bzip2.
Preparing to unpack .../2-mariadb-plugin-provider-bzip2_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-plugin-provider-bzip2 (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-plugin-provider-lz4.
Preparing to unpack .../3-mariadb-plugin-provider-lz4_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-plugin-provider-lz4 (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-plugin-provider-lzma.
Preparing to unpack .../4-mariadb-plugin-provider-lzma_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-plugin-provider-lzma (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-plugin-provider-lzo.
Preparing to unpack .../5-mariadb-plugin-provider-lzo_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-plugin-provider-lzo (1:11.8.3-0+deb13u1) ...
Selecting previously unselected package mariadb-plugin-provider-snappy.
Preparing to unpack .../6-mariadb-plugin-provider-snappy_1%3a11.8.3-0+deb13u1_amd64.deb ...
Unpacking mariadb-plugin-provider-snappy (1:11.8.3-0+deb13u1) ...
Setting up libmariadb3:amd64 (1:11.8.3-0+deb13u1) ...
Setting up mariadb-server-core (1:11.8.3-0+deb13u1) ...
Setting up mariadb-plugin-provider-lz4 (1:11.8.3-0+deb13u1) ...
Setting up mariadb-plugin-provider-snappy (1:11.8.3-0+deb13u1) ...
Setting up mariadb-client-core (1:11.8.3-0+deb13u1) ...
Setting up libdbd-mariadb-perl (1.22-1+b4) ...
Setting up mariadb-plugin-provider-bzip2 (1:11.8.3-0+deb13u1) ...
Setting up mariadb-plugin-provider-lzma (1:11.8.3-0+deb13u1) ...
Setting up mariadb-plugin-provider-lzo (1:11.8.3-0+deb13u1) ...
Setting up mariadb-client (1:11.8.3-0+deb13u1) ...
Setting up mariadb-server (1:11.8.3-0+deb13u1) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/mariadb.service' → '/usr/lib/systemd/system/mariadb.service'.
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.41-12) ...
  ✔️   Setup MariaDB 12.2.1
  ✔️   Update available: bookstack 25.11.6 → 25.12
  ✔️   Services Stopped
  ✔️   Backup finished
  ✔️   Deployed: bookstack (25.12)
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://security.debian.org trixie-security InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
All packages are up to date.    
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease                      
Hit:3 http://deb.debian.org/debian trixie-updates InRelease              
Get:4 https://packages.sury.org/php trixie InRelease [6,126 B]
Get:5 https://packages.sury.org/php trixie/main amd64 Packages [275 kB]
Fetched 281 kB in 0s (859 kB/s)
All packages are up to date.    
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://security.debian.org trixie-security InRelease               
Hit:3 http://deb.debian.org/debian trixie-updates InRelease              
Hit:4 https://packages.sury.org/php trixie InRelease
All packages are up to date.    
Note, selecting 'php8.3-mysql' instead of 'php8.3-mysqli'
php8.3 is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-bcmath is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-cli is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-curl is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-gd is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-intl is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-mbstring is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-opcache is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-readline is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-xml is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-zip is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-ldap is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-tidy is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-bz2 is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-mysql is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
php8.3-fpm is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering dependency mpm_prefork for php8.3:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.3:
Module php8.3 already enabled
Synchronizing state of php8.3-fpm.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable php8.3-fpm
  ✔️   Setup PHP 8.3
  ⏳   Update Composer 2.9.2You are already using the latest available Composer version 2.9.2 (stable channel).
  ✔️   Update Composer 2.9.2
  ✔️   Backup restored
  ⏳   Configuring BookStack> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');"
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 110 installs, 0 updates, 0 removals
  - Downloading aws/aws-crt-php (v1.2.7)
  - Downloading doctrine/lexer (3.0.1)
  - Downloading dompdf/php-svg-lib (1.0.0)
  - Downloading dompdf/php-font-lib (1.0.1)
  - Downloading intervention/gif (4.2.2)
  - Downloading intervention/image (3.11.6)
  - Downloading psr/log (3.0.2)
  - Downloading knplabs/knp-snappy (v1.5.1)
  - Downloading symfony/polyfill-intl-normalizer (v1.33.0)
  - Downloading symfony/polyfill-ctype (v1.33.0)
  - Downloading psr/container (2.0.2)
  - Downloading paragonie/random_compat (v9.99.100)
  - Downloading phpseclib/phpseclib (3.0.48)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-message (2.0)
  - Downloading psr/http-factory (1.1.0)
  - Downloading psr/http-client (1.0.3)
  - Downloading league/oauth1-client (v1.11.0)
  - Downloading voku/portable-ascii (2.0.3)
  - Downloading graham-campbell/result-type (v1.1.3)
  - Downloading tijsverkoyen/css-to-inline-styles (v2.4.0)
  - Downloading symfony/polyfill-uuid (v1.33.0)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading egulias/email-validator (4.0.4)
  - Downloading ramsey/collection (2.1.1)
  - Downloading ramsey/uuid (4.9.2)
  - Downloading psr/simple-cache (3.0.0)
  - Downloading psr/clock (1.0.0)
  - Downloading carbonphp/carbon-doctrine-types (3.2.0)
  - Downloading monolog/monolog (3.9.0)
  - Downloading league/mime-type-detection (1.16.0)
  - Downloading nette/utils (v4.1.1)
  - Downloading dflydev/dot-access-data (v3.0.3)
  - Downloading league/config (v1.2.0)
  - Downloading laravel/framework (v12.44.0)
  - Downloading psy/psysh (v0.12.18)
  - Downloading mtdowling/jmespath.php (2.8.0)
  - Downloading aws/aws-sdk-php (3.369.2)
  - Downloading league/html-to-markdown (5.1.1)
  - Downloading pragmarx/google2fa (v9.0.0)
  - Downloading socialiteproviders/manager (v4.8.1)
  - Downloading socialiteproviders/discord (4.2.0)
  - Downloading socialiteproviders/gitlab (4.1.0)
  - Downloading socialiteproviders/microsoft-azure (5.2.0)
  - Downloading socialiteproviders/twitch (5.4.0)
  - Installing aws/aws-crt-php (v1.2.7): Extracting archive
  - Installing dasprid/enum (1.0.7): Extracting archive
  - Installing bacon/bacon-qr-code (v3.0.3): Extracting archive
  - Installing doctrine/inflector (2.1.0): Extracting archive
  - Installing doctrine/lexer (3.0.1): Extracting archive
  - Installing masterminds/html5 (2.10.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
  - Installing sabberworm/php-css-parser (v8.9.0): Extracting archive
  - Installing dompdf/php-svg-lib (1.0.0): Extracting archive
  - Installing dompdf/php-font-lib (1.0.1): Extracting archive
  - Installing dompdf/dompdf (v3.1.4): Extracting archive
  - Installing dragonmantank/cron-expression (v3.6.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing symfony/http-foundation (v7.4.1): Extracting archive
  - Installing fruitcake/php-cors (v1.4.0): Extracting archive
  - Installing guzzlehttp/promises (2.3.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.33.0): Extracting archive
  - Installing guzzlehttp/uri-template (v1.0.5): Extracting archive
  - Installing intervention/gif (4.2.2): Extracting archive
  - Installing intervention/image (3.11.6): Extracting archive
  - Installing symfony/process (v7.4.0): Extracting archive
  - Installing psr/log (3.0.2): Extracting archive
  - Installing knplabs/knp-snappy (v1.5.1): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
  - Installing symfony/string (v7.4.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.1): Extracting archive
  - Installing symfony/console (v7.4.1): Extracting archive
  - Installing laravel/prompts (v0.3.8): Extracting archive
  - Installing laravel/serializable-closure (v2.0.7): Extracting archive
  - Installing paragonie/random_compat (v9.99.100): Extracting archive
  - Installing paragonie/constant_time_encoding (v3.1.3): Extracting archive
  - Installing phpseclib/phpseclib (3.0.48): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing psr/http-factory (1.1.0): Extracting archive
  - Installing guzzlehttp/psr7 (2.8.0): Extracting archive
  - Installing psr/http-client (1.0.3): Extracting archive
  - Installing guzzlehttp/guzzle (7.10.0): Extracting archive
  - Installing league/oauth1-client (v1.11.0): Extracting archive
  - Installing voku/portable-ascii (2.0.3): Extracting archive
  - Installing phpoption/phpoption (1.9.4): Extracting archive
  - Installing graham-campbell/result-type (v1.1.3): Extracting archive
  - Installing vlucas/phpdotenv (v5.6.2): Extracting archive
  - Installing symfony/css-selector (v7.4.0): Extracting archive
  - Installing tijsverkoyen/css-to-inline-styles (v2.4.0): Extracting archive
  - Installing symfony/var-dumper (v7.4.0): Extracting archive
  - Installing symfony/polyfill-uuid (v1.33.0): Extracting archive
  - Installing symfony/uid (v7.4.0): Extracting archive
  - Installing symfony/routing (v7.4.0): Extracting archive
  - Installing symfony/polyfill-php85 (v1.33.0): Extracting archive
  - Installing symfony/polyfill-php84 (v1.33.0): Extracting archive
  - Installing symfony/polyfill-php83 (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.33.0): Extracting archive
  - Installing symfony/mime (v7.4.0): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive
  - Installing symfony/event-dispatcher (v7.4.0): Extracting archive
  - Installing egulias/email-validator (4.0.4): Extracting archive
  - Installing symfony/mailer (v7.4.0): Extracting archive
  - Installing symfony/error-handler (v7.4.0): Extracting archive
  - Installing symfony/http-kernel (v7.4.2): Extracting archive
  - Installing symfony/finder (v7.4.0): Extracting archive
  - Installing ramsey/collection (2.1.1): Extracting archive
  - Installing brick/math (0.14.1): Extracting archive
  - Installing ramsey/uuid (4.9.2): Extracting archive
  - Installing psr/simple-cache (3.0.0): Extracting archive
  - Installing nunomaduro/termwind (v2.3.3): Extracting archive
  - Installing symfony/translation-contracts (v3.6.1): Extracting archive
  - Installing symfony/translation (v7.4.0): Extracting archive
  - Installing psr/clock (1.0.0): Extracting archive
  - Installing symfony/clock (v7.4.0): Extracting archive
  - Installing carbonphp/carbon-doctrine-types (3.2.0): Extracting archive
  - Installing nesbot/carbon (3.11.0): Extracting archive
  - Installing monolog/monolog (3.9.0): Extracting archive
  - Installing league/uri-interfaces (7.7.0): Extracting archive
  - Installing league/uri (7.7.0): Extracting archive
  - Installing league/mime-type-detection (1.16.0): Extracting archive
  - Installing league/flysystem-local (3.30.2): Extracting archive
  - Installing league/flysystem (3.30.2): Extracting archive
  - Installing nette/utils (v4.1.1): Extracting archive
  - Installing nette/schema (v1.3.3): Extracting archive
  - Installing dflydev/dot-access-data (v3.0.3): Extracting archive
  - Installing league/config (v1.2.0): Extracting archive
  - Installing league/commonmark (2.8.0): Extracting archive
  - Installing laravel/framework (v12.44.0): Extracting archive
  - Installing firebase/php-jwt (v6.11.1): Extracting archive
  - Installing laravel/socialite (v5.24.0): Extracting archive
  - Installing nikic/php-parser (v5.7.0): Extracting archive
  - Installing psy/psysh (v0.12.18): Extracting archive
  - Installing laravel/tinker (v2.10.2): Extracting archive
  - Installing symfony/filesystem (v7.4.0): Extracting archive
  - Installing mtdowling/jmespath.php (2.8.0): Extracting archive
  - Installing aws/aws-sdk-php (3.369.2): Extracting archive
  - Installing league/flysystem-aws-s3-v3 (3.30.1): Extracting archive
  - Installing league/html-to-markdown (5.1.1): Extracting archive
  - Installing league/oauth2-client (2.9.0): Extracting archive
  - Installing robrichards/xmlseclibs (3.1.4): Extracting archive
  - Installing onelogin/php-saml (4.3.1): Extracting archive
  - Installing pragmarx/google2fa (v9.0.0): Extracting archive
  - Installing predis/predis (v3.3.0): Extracting archive
  - Installing socialiteproviders/manager (v4.8.1): Extracting archive
  - Installing socialiteproviders/discord (4.2.0): Extracting archive
  - Installing socialiteproviders/gitlab (4.1.0): Extracting archive
  - Installing socialiteproviders/microsoft-azure (5.2.0): Extracting archive
  - Installing socialiteproviders/okta (4.5.0): Extracting archive
  - Installing socialiteproviders/twitch (5.4.0): Extracting archive
  - Installing ssddanbrown/htmldiff (v2.0.0): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.  

  laravel/socialite ........................................................................................................................... DONE
  laravel/tinker .............................................................................................................................. DONE
  nesbot/carbon ............................................................................................................................... DONE
  nunomaduro/termwind ......................................................................................................................... DONE
  socialiteproviders/manager .................................................................................................................. DONE

61 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan cache:clear

   INFO  Application cache cleared successfully.  

> @php artisan view:clear

   INFO  Compiled views cleared successfully.  


   INFO  Running migrations.  

  2025_11_23_161812_create_slug_history_table ......................................................................................... 35.50ms DONE
  2025_12_15_140219_create_mention_history_table ...................................................................................... 14.72ms DONE
  2025_12_19_103417_add_views_viewable_type_index ...................................................................................... 6.29ms DONE

  ✔️   Configured BookStack
  ✔️   Started Apache2
  ✔️   Updated successfully!

🖼️ Additional context (optional).

This did not happen the last time I ran the script to upgrade to https://github.com/BookStackApp/BookStack/releases/tag/v25.11.6, so it was a change after that, maybe https://github.com/community-scripts/ProxmoxVE/pull/10034 ?

Originally created by @LaurenceBarnes on GitHub (Dec 25, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10327 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? BookStack ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/bookstack.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-1-pve) ### 📝 Provide a clear and concise description of the issue. The BookStack helper script attempts to upgrade MariaDB to 12.2.1 on both Debian 12 and Debian 13. This is incorrect: - Debian 12 ships MariaDB 10.11 - Debian 13 ships MariaDB 11.8 - MariaDB 12.x is not provided by Debian and requires the upstream MariaDB repository During execution, the script: - is stuck on ⏳ Upgrade MariaDB from 10.11.14 to 12.2.1 or ⏳ Upgrade MariaDB from 11.8.3 to 12.2.1 and will not continue until I press "enter", - fails to import the MariaDB upstream GPG key, - does not abort on this failure, - installs Debian’s MariaDB version instead (10.11 or 11.8), - prints a false success message claiming Setup MariaDB 12.2.1, - then continues with BookStack deployment and migrations. On Debian 12 this can break BookStack upgrades. On Debian 13 it may appear to work by coincidence, but MariaDB 12 is still not installed. ### 🔄 Steps to reproduce the issue. 1. Create a BookStack LXC using the helper script 2. Run the BookStack helper upgrade on Debian 12 or 13 3. Observe MariaDB upgrade step 4. Check installed MariaDB version after script completes ### ❌ Paste the full error output (if available). Debian 12 (second attempt after I skipped the first one) ``` Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org bookworm-security InRelease Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Hit:4 https://packages.sury.org/php bookworm InRelease Fetched 55.4 kB in 1s (109 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done gawk is already the newest version (1:5.2.1-2). rsync is already the newest version (3.2.7-1+deb12u2). socat is already the newest version (1.7.4.4-2). libdbi-perl is already the newest version (1.643-4). pv is already the newest version (1.6.20-1). The following packages were automatically installed and are no longer required: galera-4 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libencode-locale-perl libfcgi-bin libfcgi-perl libfcgi0ldbl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl liblzo2-2 libncurses6 libregexp-ipv6-perl libsnappy1v5 libterm-readkey-perl libtimedate-perl liburi-perl liburing2 mysql-common Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. /dev/fd/63: line 1243: gpg: command not found curl: (23) Failure writing output to destination ✖️ Failed to import GPG key for mariadb Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libdbd-mariadb-perl libmariadb3 mariadb-client-core mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server-core Suggested packages: mailx mariadb-test netcat-openbsd The following NEW packages will be installed: libdbd-mariadb-perl libmariadb3 mariadb-client mariadb-client-core mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server mariadb-server-core 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 15.8 MB/15.9 MB of archives. After this operation, 185 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 mariadb-common all 1:10.11.14-0+deb12u2 [26.3 kB] Get:2 http://deb.debian.org/debian bookworm/main amd64 libmariadb3 amd64 1:10.11.14-0+deb12u2 [182 kB] Get:3 http://deb.debian.org/debian bookworm/main amd64 mariadb-client-core amd64 1:10.11.14-0+deb12u2 [894 kB] Get:4 http://deb.debian.org/debian bookworm/main amd64 mariadb-client amd64 1:10.11.14-0+deb12u2 [3,030 kB] Get:5 http://deb.debian.org/debian bookworm/main amd64 mariadb-server-core amd64 1:10.11.14-0+deb12u2 [7,597 kB] Get:6 http://deb.debian.org/debian bookworm/main amd64 mariadb-server amd64 1:10.11.14-0+deb12u2 [3,964 kB] Get:7 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-bzip2 amd64 1:10.11.14-0+deb12u2 [26.7 kB] Get:8 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lz4 amd64 1:10.11.14-0+deb12u2 [26.7 kB] Get:9 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzma amd64 1:10.11.14-0+deb12u2 [26.7 kB] Get:10 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzo amd64 1:10.11.14-0+deb12u2 [26.6 kB] Get:11 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-snappy amd64 1:10.11.14-0+deb12u2 [26.7 kB] Fetched 15.8 MB in 2s (6,688 kB/s) Preconfiguring packages ... Selecting previously unselected package mariadb-common. (Reading database ... 22801 files and directories currently installed.) Preparing to unpack .../mariadb-common_1%3a10.11.14-0+deb12u2_all.deb ... Unpacking mariadb-common (1:10.11.14-0+deb12u2) ... Selecting previously unselected package libmariadb3:amd64. Preparing to unpack .../libmariadb3_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking libmariadb3:amd64 (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-client-core. Preparing to unpack .../mariadb-client-core_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-client-core (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-client. Preparing to unpack .../mariadb-client_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-client (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-server-core. Preparing to unpack .../mariadb-server-core_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-server-core (1:10.11.14-0+deb12u2) ... Setting up mariadb-common (1:10.11.14-0+deb12u2) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mariadb-server. (Reading database ... 23045 files and directories currently installed.) Preparing to unpack .../0-mariadb-server_1%3a10.11.14-0+deb12u2_amd64.deb ... /var/lib/mysql: found previous version 10.11 Unpacking mariadb-server (1:10.11.14-0+deb12u2) ... Selecting previously unselected package libdbd-mariadb-perl. Preparing to unpack .../1-libdbd-mariadb-perl_1.22-1+b1_amd64.deb ... Unpacking libdbd-mariadb-perl (1.22-1+b1) ... Selecting previously unselected package mariadb-plugin-provider-bzip2. Preparing to unpack .../2-mariadb-plugin-provider-bzip2_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-bzip2 (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-plugin-provider-lz4. Preparing to unpack .../3-mariadb-plugin-provider-lz4_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-lz4 (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-plugin-provider-lzma. Preparing to unpack .../4-mariadb-plugin-provider-lzma_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-lzma (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-plugin-provider-lzo. Preparing to unpack .../5-mariadb-plugin-provider-lzo_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-lzo (1:10.11.14-0+deb12u2) ... Selecting previously unselected package mariadb-plugin-provider-snappy. Preparing to unpack .../6-mariadb-plugin-provider-snappy_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-snappy (1:10.11.14-0+deb12u2) ... Setting up libmariadb3:amd64 (1:10.11.14-0+deb12u2) ... Setting up mariadb-server-core (1:10.11.14-0+deb12u2) ... Setting up mariadb-client-core (1:10.11.14-0+deb12u2) ... Setting up libdbd-mariadb-perl (1.22-1+b1) ... Setting up mariadb-client (1:10.11.14-0+deb12u2) ... Setting up mariadb-server (1:10.11.14-0+deb12u2) ... Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service. Setting up mariadb-plugin-provider-bzip2 (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-lzma (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-lzo (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-lz4 (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-snappy (1:10.11.14-0+deb12u2) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+deb12u13) ... Processing triggers for mariadb-server (1:10.11.14-0+deb12u2) ... ✔️ Setup MariaDB 12.2.1 ✔️ No update available: bookstack (25.12) ``` Debian 12 after rollback and holding the MariaDB packages ``` Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB] Hit:2 http://deb.debian.org/debian bookworm InRelease Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Hit:4 https://packages.sury.org/php bookworm InRelease Fetched 103 kB in 0s (216 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done gawk is already the newest version (1:5.2.1-2). gawk set to manually installed. rsync is already the newest version (3.2.7-1+deb12u2). rsync set to manually installed. socat is already the newest version (1.7.4.4-2). socat set to manually installed. libdbi-perl is already the newest version (1.643-4). libdbi-perl set to manually installed. pv is already the newest version (1.6.20-1). pv set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. /dev/fd/63: line 1243: gpg: command not found curl: (23) Failure writing output to destination ✖️ Failed to import GPG key for mariadb Reading package lists... Done Building dependency tree... Done Reading state information... Done mariadb-server is already the newest version (1:10.11.14-0+deb12u2). mariadb-client is already the newest version (1:10.11.14-0+deb12u2). mariadb-client set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ✔️ Setup MariaDB 12.2.1 ✔️ Update available: bookstack 25.11.6 → 25.12 ✔️ Services Stopped ✔️ Backup finished ✔️ Deployed: bookstack (25.12) Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Get:4 https://packages.sury.org/php bookworm InRelease [6,133 B] Get:5 https://packages.sury.org/php bookworm/main amd64 Packages [280 kB] Fetched 286 kB in 1s (508 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://packages.sury.org/php bookworm InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... DonePHP 8.3 module Building dependency tree... Done Reading state information... Done apache2 is already the newest version (2.4.65-1~deb12u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done libapache2-mod-php8.3 is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Doneages Building dependency tree... Done Reading state information... Done Note, selecting 'php8.3-mysql' instead of 'php8.3-mysqli' php8.3 is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-bcmath is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-cli is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-curl is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-gd is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-intl is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-mbstring is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-opcache is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-readline is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-xml is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-zip is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-ldap is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-tidy is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-bz2 is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-mysql is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). php8.3-fpm is already the newest version (8.3.29-1+0~20251218.74+debian12~1.gbp4d5a0d). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering dependency mpm_prefork for php8.3: Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering conflict php5 for php8.3: Module php8.3 already enabled Synchronizing state of php8.3-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable php8.3-fpm ✔️ Setup PHP 8.3 ⏳ Update Composer 2.9.2You are already using the latest available Composer version 2.9.2 (stable channel). ✔️ Update Composer 2.9.2 ✔️ Backup restored ⏳ Configuring BookStack> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');" Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 110 installs, 0 updates, 0 removals - Downloading intervention/image (3.11.6) - Downloading phpseclib/phpseclib (3.0.48) - Downloading tijsverkoyen/css-to-inline-styles (v2.4.0) - Downloading ramsey/uuid (4.9.2) - Downloading nette/utils (v4.1.1) - Downloading laravel/framework (v12.44.0) - Downloading psy/psysh (v0.12.18) - Downloading aws/aws-sdk-php (3.369.2) - Downloading pragmarx/google2fa (v9.0.0) - Installing aws/aws-crt-php (v1.2.7): Extracting archive - Installing dasprid/enum (1.0.7): Extracting archive - Installing bacon/bacon-qr-code (v3.0.3): Extracting archive - Installing doctrine/inflector (2.1.0): Extracting archive - Installing doctrine/lexer (3.0.1): Extracting archive - Installing masterminds/html5 (2.10.0): Extracting archive - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive - Installing sabberworm/php-css-parser (v8.9.0): Extracting archive - Installing dompdf/php-svg-lib (1.0.0): Extracting archive - Installing dompdf/php-font-lib (1.0.1): Extracting archive - Installing dompdf/dompdf (v3.1.4): Extracting archive - Installing dragonmantank/cron-expression (v3.6.0): Extracting archive - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive - Installing symfony/http-foundation (v7.4.1): Extracting archive - Installing fruitcake/php-cors (v1.4.0): Extracting archive - Installing guzzlehttp/promises (2.3.0): Extracting archive - Installing symfony/polyfill-php80 (v1.33.0): Extracting archive - Installing guzzlehttp/uri-template (v1.0.5): Extracting archive - Installing intervention/gif (4.2.2): Extracting archive - Installing intervention/image (3.11.6): Extracting archive - Installing symfony/process (v7.4.0): Extracting archive - Installing psr/log (3.0.2): Extracting archive - Installing knplabs/knp-snappy (v1.5.1): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive - Installing symfony/string (v7.4.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.6.1): Extracting archive - Installing symfony/console (v7.4.1): Extracting archive - Installing laravel/prompts (v0.3.8): Extracting archive - Installing laravel/serializable-closure (v2.0.7): Extracting archive - Installing paragonie/random_compat (v9.99.100): Extracting archive - Installing paragonie/constant_time_encoding (v3.1.3): Extracting archive - Installing phpseclib/phpseclib (3.0.48): Extracting archive - Installing ralouphie/getallheaders (3.0.3): Extracting archive - Installing psr/http-message (2.0): Extracting archive - Installing psr/http-factory (1.1.0): Extracting archive - Installing guzzlehttp/psr7 (2.8.0): Extracting archive - Installing psr/http-client (1.0.3): Extracting archive - Installing guzzlehttp/guzzle (7.10.0): Extracting archive - Installing league/oauth1-client (v1.11.0): Extracting archive - Installing voku/portable-ascii (2.0.3): Extracting archive - Installing phpoption/phpoption (1.9.4): Extracting archive - Installing graham-campbell/result-type (v1.1.3): Extracting archive - Installing vlucas/phpdotenv (v5.6.2): Extracting archive - Installing symfony/css-selector (v7.4.0): Extracting archive - Installing tijsverkoyen/css-to-inline-styles (v2.4.0): Extracting archive - Installing symfony/var-dumper (v7.4.0): Extracting archive - Installing symfony/polyfill-uuid (v1.33.0): Extracting archive - Installing symfony/uid (v7.4.0): Extracting archive - Installing symfony/routing (v7.4.0): Extracting archive - Installing symfony/polyfill-php85 (v1.33.0): Extracting archive - Installing symfony/polyfill-php84 (v1.33.0): Extracting archive - Installing symfony/polyfill-php83 (v1.33.0): Extracting archive - Installing symfony/polyfill-intl-idn (v1.33.0): Extracting archive - Installing symfony/mime (v7.4.0): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive - Installing symfony/event-dispatcher (v7.4.0): Extracting archive - Installing egulias/email-validator (4.0.4): Extracting archive - Installing symfony/mailer (v7.4.0): Extracting archive - Installing symfony/error-handler (v7.4.0): Extracting archive - Installing symfony/http-kernel (v7.4.2): Extracting archive - Installing symfony/finder (v7.4.0): Extracting archive - Installing ramsey/collection (2.1.1): Extracting archive - Installing brick/math (0.14.1): Extracting archive - Installing ramsey/uuid (4.9.2): Extracting archive - Installing psr/simple-cache (3.0.0): Extracting archive - Installing nunomaduro/termwind (v2.3.3): Extracting archive - Installing symfony/translation-contracts (v3.6.1): Extracting archive - Installing symfony/translation (v7.4.0): Extracting archive - Installing psr/clock (1.0.0): Extracting archive - Installing symfony/clock (v7.4.0): Extracting archive - Installing carbonphp/carbon-doctrine-types (3.2.0): Extracting archive - Installing nesbot/carbon (3.11.0): Extracting archive - Installing monolog/monolog (3.9.0): Extracting archive - Installing league/uri-interfaces (7.7.0): Extracting archive - Installing league/uri (7.7.0): Extracting archive - Installing league/mime-type-detection (1.16.0): Extracting archive - Installing league/flysystem-local (3.30.2): Extracting archive - Installing league/flysystem (3.30.2): Extracting archive - Installing nette/utils (v4.1.1): Extracting archive - Installing nette/schema (v1.3.3): Extracting archive - Installing dflydev/dot-access-data (v3.0.3): Extracting archive - Installing league/config (v1.2.0): Extracting archive - Installing league/commonmark (2.8.0): Extracting archive - Installing laravel/framework (v12.44.0): Extracting archive - Installing firebase/php-jwt (v6.11.1): Extracting archive - Installing laravel/socialite (v5.24.0): Extracting archive - Installing nikic/php-parser (v5.7.0): Extracting archive - Installing psy/psysh (v0.12.18): Extracting archive - Installing laravel/tinker (v2.10.2): Extracting archive - Installing symfony/filesystem (v7.4.0): Extracting archive - Installing mtdowling/jmespath.php (2.8.0): Extracting archive - Installing aws/aws-sdk-php (3.369.2): Extracting archive - Installing league/flysystem-aws-s3-v3 (3.30.1): Extracting archive - Installing league/html-to-markdown (5.1.1): Extracting archive - Installing league/oauth2-client (2.9.0): Extracting archive - Installing robrichards/xmlseclibs (3.1.4): Extracting archive - Installing onelogin/php-saml (4.3.1): Extracting archive - Installing pragmarx/google2fa (v9.0.0): Extracting archive - Installing predis/predis (v3.3.0): Extracting archive - Installing socialiteproviders/manager (v4.8.1): Extracting archive - Installing socialiteproviders/discord (4.2.0): Extracting archive - Installing socialiteproviders/gitlab (4.1.0): Extracting archive - Installing socialiteproviders/microsoft-azure (5.2.0): Extracting archive - Installing socialiteproviders/okta (4.5.0): Extracting archive - Installing socialiteproviders/twitch (5.4.0): Extracting archive - Installing ssddanbrown/htmldiff (v2.0.0): Extracting archive Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi INFO Discovering packages. laravel/socialite ........................................................................................................................... DONE laravel/tinker .............................................................................................................................. DONE nesbot/carbon ............................................................................................................................... DONE nunomaduro/termwind ......................................................................................................................... DONE socialiteproviders/manager .................................................................................................................. DONE 61 packages you are using are looking for funding. Use the `composer fund` command to find out more! > @php artisan cache:clear INFO Application cache cleared successfully. > @php artisan view:clear INFO Compiled views cleared successfully. In Connection.php line 826: SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select exists (select 1 from information_schema.tables where table_schema = schem a() and table_name = 'migrations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED')) as `exists`) In Connector.php line 66: SQLSTATE[HY000] [2002] No such file or directory ✖️ in line 56: exit code 1 (General error / Operation not permitted): while executing command php artisan migrate --force ``` Debian 13 after upgrade and another rollback ``` Hit:1 http://security.debian.org trixie-security InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 https://packages.sury.org/php trixie InRelease All packages are up to date. gawk is already the newest version (1:5.2.1-2+b1). gawk set to manually installed. rsync is already the newest version (3.4.1+ds1-5). rsync set to manually installed. socat is already the newest version (1.8.0.3-1). socat set to manually installed. libdbi-perl is already the newest version (1.647-1). libdbi-perl set to manually installed. pv is already the newest version (1.9.31-1). pv set to manually installed. The following packages were automatically installed and are no longer required: galera-4 libencode-locale-perl libhtml-parser-perl libhttp-message-perl liblzo2-2 libsnappy1v5 liburing2 libcgi-fast-perl libfcgi-bin libhtml-tagset-perl libio-compress-brotli-perl libncurses6 libterm-readkey-perl mysql-common libcgi-pm-perl libfcgi-perl libhtml-template-perl libio-html-perl libpcre2-posix3 libtimedate-perl libconfig-inifiles-perl libfcgi0t64 libhttp-date-perl liblwp-mediatypes-perl libregexp-ipv6-perl liburi-perl Use 'apt autoremove' to remove them. Summary: Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 /dev/fd/63: line 1243: gpg: command not found curl: (23) Failure writing output to destination, passed 6575 returned 0 ✖️ Failed to import GPG key for mariadb Installing: mariadb-client mariadb-server Installing dependencies: libdbd-mariadb-perl mariadb-client-core mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lzma mariadb-plugin-provider-snappy libmariadb3 mariadb-common mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzo mariadb-server-core Suggested packages: mailx mariadb-test netcat-openbsd Summary: Upgrading: 0, Installing: 12, Removing: 0, Not Upgrading: 0 Download size: 16.4 MB Space needed: 188 MB / 3,306 MB available Get:1 http://deb.debian.org/debian trixie/main amd64 mariadb-common all 1:11.8.3-0+deb13u1 [28.8 kB] Get:2 http://deb.debian.org/debian trixie/main amd64 libmariadb3 amd64 1:11.8.3-0+deb13u1 [187 kB] Get:3 http://deb.debian.org/debian trixie/main amd64 mariadb-client-core amd64 1:11.8.3-0+deb13u1 [919 kB] Get:4 http://deb.debian.org/debian trixie/main amd64 mariadb-client amd64 1:11.8.3-0+deb13u1 [3,160 kB] Get:5 http://deb.debian.org/debian trixie/main amd64 mariadb-server-core amd64 1:11.8.3-0+deb13u1 [7,919 kB] Get:6 http://deb.debian.org/debian trixie/main amd64 mariadb-server amd64 1:11.8.3-0+deb13u1 [3,901 kB] Get:7 http://deb.debian.org/debian trixie/main amd64 libdbd-mariadb-perl amd64 1.22-1+b4 [93.6 kB] Get:8 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-bzip2 amd64 1:11.8.3-0+deb13u1 [29.3 kB] Get:9 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-lz4 amd64 1:11.8.3-0+deb13u1 [29.2 kB] Get:10 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-lzma amd64 1:11.8.3-0+deb13u1 [29.2 kB] Get:11 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-lzo amd64 1:11.8.3-0+deb13u1 [29.2 kB] Get:12 http://deb.debian.org/debian trixie/main amd64 mariadb-plugin-provider-snappy amd64 1:11.8.3-0+deb13u1 [29.2 kB] Fetched 16.4 MB in 2s (6,860 kB/s) Preconfiguring packages ... Selecting previously unselected package mariadb-common. (Reading database ... 26016 files and directories currently installed.) Preparing to unpack .../mariadb-common_1%3a11.8.3-0+deb13u1_all.deb ... Unpacking mariadb-common (1:11.8.3-0+deb13u1) ... Selecting previously unselected package libmariadb3:amd64. Preparing to unpack .../libmariadb3_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking libmariadb3:amd64 (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-client-core. Preparing to unpack .../mariadb-client-core_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-client-core (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-client. Preparing to unpack .../mariadb-client_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-client (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-server-core. Preparing to unpack .../mariadb-server-core_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-server-core (1:11.8.3-0+deb13u1) ... Setting up mariadb-common (1:11.8.3-0+deb13u1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mariadb-server. (Reading database ... 26232 files and directories currently installed.) Preparing to unpack .../0-mariadb-server_1%3a11.8.3-0+deb13u1_amd64.deb ... /var/lib/mysql: found previous version 11.8 Unpacking mariadb-server (1:11.8.3-0+deb13u1) ... Selecting previously unselected package libdbd-mariadb-perl. Preparing to unpack .../1-libdbd-mariadb-perl_1.22-1+b4_amd64.deb ... Unpacking libdbd-mariadb-perl (1.22-1+b4) ... Selecting previously unselected package mariadb-plugin-provider-bzip2. Preparing to unpack .../2-mariadb-plugin-provider-bzip2_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-plugin-provider-bzip2 (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-plugin-provider-lz4. Preparing to unpack .../3-mariadb-plugin-provider-lz4_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-plugin-provider-lz4 (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-plugin-provider-lzma. Preparing to unpack .../4-mariadb-plugin-provider-lzma_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-plugin-provider-lzma (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-plugin-provider-lzo. Preparing to unpack .../5-mariadb-plugin-provider-lzo_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-plugin-provider-lzo (1:11.8.3-0+deb13u1) ... Selecting previously unselected package mariadb-plugin-provider-snappy. Preparing to unpack .../6-mariadb-plugin-provider-snappy_1%3a11.8.3-0+deb13u1_amd64.deb ... Unpacking mariadb-plugin-provider-snappy (1:11.8.3-0+deb13u1) ... Setting up libmariadb3:amd64 (1:11.8.3-0+deb13u1) ... Setting up mariadb-server-core (1:11.8.3-0+deb13u1) ... Setting up mariadb-plugin-provider-lz4 (1:11.8.3-0+deb13u1) ... Setting up mariadb-plugin-provider-snappy (1:11.8.3-0+deb13u1) ... Setting up mariadb-client-core (1:11.8.3-0+deb13u1) ... Setting up libdbd-mariadb-perl (1.22-1+b4) ... Setting up mariadb-plugin-provider-bzip2 (1:11.8.3-0+deb13u1) ... Setting up mariadb-plugin-provider-lzma (1:11.8.3-0+deb13u1) ... Setting up mariadb-plugin-provider-lzo (1:11.8.3-0+deb13u1) ... Setting up mariadb-client (1:11.8.3-0+deb13u1) ... Setting up mariadb-server (1:11.8.3-0+deb13u1) ... Created symlink '/etc/systemd/system/multi-user.target.wants/mariadb.service' → '/usr/lib/systemd/system/mariadb.service'. Processing triggers for man-db (2.13.1-1) ... Processing triggers for libc-bin (2.41-12) ... ✔️ Setup MariaDB 12.2.1 ✔️ Update available: bookstack 25.11.6 → 25.12 ✔️ Services Stopped ✔️ Backup finished ✔️ Deployed: bookstack (25.12) Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://security.debian.org trixie-security InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease All packages are up to date. Hit:1 http://security.debian.org trixie-security InRelease Hit:2 http://deb.debian.org/debian trixie InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Get:4 https://packages.sury.org/php trixie InRelease [6,126 B] Get:5 https://packages.sury.org/php trixie/main amd64 Packages [275 kB] Fetched 281 kB in 0s (859 kB/s) All packages are up to date. Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://security.debian.org trixie-security InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 https://packages.sury.org/php trixie InRelease All packages are up to date. Note, selecting 'php8.3-mysql' instead of 'php8.3-mysqli' php8.3 is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-bcmath is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-cli is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-curl is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-gd is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-intl is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-mbstring is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-opcache is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-readline is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-xml is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-zip is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-ldap is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-tidy is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-bz2 is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-mysql is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). php8.3-fpm is already the newest version (8.3.29-1+0~20251218.74+debian13~1.gbp4d5a0d). Summary: Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering dependency mpm_prefork for php8.3: Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering conflict php5 for php8.3: Module php8.3 already enabled Synchronizing state of php8.3-fpm.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. Executing: /usr/lib/systemd/systemd-sysv-install enable php8.3-fpm ✔️ Setup PHP 8.3 ⏳ Update Composer 2.9.2You are already using the latest available Composer version 2.9.2 (stable channel). ✔️ Update Composer 2.9.2 ✔️ Backup restored ⏳ Configuring BookStack> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');" Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 110 installs, 0 updates, 0 removals - Downloading aws/aws-crt-php (v1.2.7) - Downloading doctrine/lexer (3.0.1) - Downloading dompdf/php-svg-lib (1.0.0) - Downloading dompdf/php-font-lib (1.0.1) - Downloading intervention/gif (4.2.2) - Downloading intervention/image (3.11.6) - Downloading psr/log (3.0.2) - Downloading knplabs/knp-snappy (v1.5.1) - Downloading symfony/polyfill-intl-normalizer (v1.33.0) - Downloading symfony/polyfill-ctype (v1.33.0) - Downloading psr/container (2.0.2) - Downloading paragonie/random_compat (v9.99.100) - Downloading phpseclib/phpseclib (3.0.48) - Downloading ralouphie/getallheaders (3.0.3) - Downloading psr/http-message (2.0) - Downloading psr/http-factory (1.1.0) - Downloading psr/http-client (1.0.3) - Downloading league/oauth1-client (v1.11.0) - Downloading voku/portable-ascii (2.0.3) - Downloading graham-campbell/result-type (v1.1.3) - Downloading tijsverkoyen/css-to-inline-styles (v2.4.0) - Downloading symfony/polyfill-uuid (v1.33.0) - Downloading psr/event-dispatcher (1.0.0) - Downloading egulias/email-validator (4.0.4) - Downloading ramsey/collection (2.1.1) - Downloading ramsey/uuid (4.9.2) - Downloading psr/simple-cache (3.0.0) - Downloading psr/clock (1.0.0) - Downloading carbonphp/carbon-doctrine-types (3.2.0) - Downloading monolog/monolog (3.9.0) - Downloading league/mime-type-detection (1.16.0) - Downloading nette/utils (v4.1.1) - Downloading dflydev/dot-access-data (v3.0.3) - Downloading league/config (v1.2.0) - Downloading laravel/framework (v12.44.0) - Downloading psy/psysh (v0.12.18) - Downloading mtdowling/jmespath.php (2.8.0) - Downloading aws/aws-sdk-php (3.369.2) - Downloading league/html-to-markdown (5.1.1) - Downloading pragmarx/google2fa (v9.0.0) - Downloading socialiteproviders/manager (v4.8.1) - Downloading socialiteproviders/discord (4.2.0) - Downloading socialiteproviders/gitlab (4.1.0) - Downloading socialiteproviders/microsoft-azure (5.2.0) - Downloading socialiteproviders/twitch (5.4.0) - Installing aws/aws-crt-php (v1.2.7): Extracting archive - Installing dasprid/enum (1.0.7): Extracting archive - Installing bacon/bacon-qr-code (v3.0.3): Extracting archive - Installing doctrine/inflector (2.1.0): Extracting archive - Installing doctrine/lexer (3.0.1): Extracting archive - Installing masterminds/html5 (2.10.0): Extracting archive - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive - Installing sabberworm/php-css-parser (v8.9.0): Extracting archive - Installing dompdf/php-svg-lib (1.0.0): Extracting archive - Installing dompdf/php-font-lib (1.0.1): Extracting archive - Installing dompdf/dompdf (v3.1.4): Extracting archive - Installing dragonmantank/cron-expression (v3.6.0): Extracting archive - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive - Installing symfony/http-foundation (v7.4.1): Extracting archive - Installing fruitcake/php-cors (v1.4.0): Extracting archive - Installing guzzlehttp/promises (2.3.0): Extracting archive - Installing symfony/polyfill-php80 (v1.33.0): Extracting archive - Installing guzzlehttp/uri-template (v1.0.5): Extracting archive - Installing intervention/gif (4.2.2): Extracting archive - Installing intervention/image (3.11.6): Extracting archive - Installing symfony/process (v7.4.0): Extracting archive - Installing psr/log (3.0.2): Extracting archive - Installing knplabs/knp-snappy (v1.5.1): Extracting archive - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive - Installing symfony/string (v7.4.0): Extracting archive - Installing psr/container (2.0.2): Extracting archive - Installing symfony/service-contracts (v3.6.1): Extracting archive - Installing symfony/console (v7.4.1): Extracting archive - Installing laravel/prompts (v0.3.8): Extracting archive - Installing laravel/serializable-closure (v2.0.7): Extracting archive - Installing paragonie/random_compat (v9.99.100): Extracting archive - Installing paragonie/constant_time_encoding (v3.1.3): Extracting archive - Installing phpseclib/phpseclib (3.0.48): Extracting archive - Installing ralouphie/getallheaders (3.0.3): Extracting archive - Installing psr/http-message (2.0): Extracting archive - Installing psr/http-factory (1.1.0): Extracting archive - Installing guzzlehttp/psr7 (2.8.0): Extracting archive - Installing psr/http-client (1.0.3): Extracting archive - Installing guzzlehttp/guzzle (7.10.0): Extracting archive - Installing league/oauth1-client (v1.11.0): Extracting archive - Installing voku/portable-ascii (2.0.3): Extracting archive - Installing phpoption/phpoption (1.9.4): Extracting archive - Installing graham-campbell/result-type (v1.1.3): Extracting archive - Installing vlucas/phpdotenv (v5.6.2): Extracting archive - Installing symfony/css-selector (v7.4.0): Extracting archive - Installing tijsverkoyen/css-to-inline-styles (v2.4.0): Extracting archive - Installing symfony/var-dumper (v7.4.0): Extracting archive - Installing symfony/polyfill-uuid (v1.33.0): Extracting archive - Installing symfony/uid (v7.4.0): Extracting archive - Installing symfony/routing (v7.4.0): Extracting archive - Installing symfony/polyfill-php85 (v1.33.0): Extracting archive - Installing symfony/polyfill-php84 (v1.33.0): Extracting archive - Installing symfony/polyfill-php83 (v1.33.0): Extracting archive - Installing symfony/polyfill-intl-idn (v1.33.0): Extracting archive - Installing symfony/mime (v7.4.0): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive - Installing symfony/event-dispatcher (v7.4.0): Extracting archive - Installing egulias/email-validator (4.0.4): Extracting archive - Installing symfony/mailer (v7.4.0): Extracting archive - Installing symfony/error-handler (v7.4.0): Extracting archive - Installing symfony/http-kernel (v7.4.2): Extracting archive - Installing symfony/finder (v7.4.0): Extracting archive - Installing ramsey/collection (2.1.1): Extracting archive - Installing brick/math (0.14.1): Extracting archive - Installing ramsey/uuid (4.9.2): Extracting archive - Installing psr/simple-cache (3.0.0): Extracting archive - Installing nunomaduro/termwind (v2.3.3): Extracting archive - Installing symfony/translation-contracts (v3.6.1): Extracting archive - Installing symfony/translation (v7.4.0): Extracting archive - Installing psr/clock (1.0.0): Extracting archive - Installing symfony/clock (v7.4.0): Extracting archive - Installing carbonphp/carbon-doctrine-types (3.2.0): Extracting archive - Installing nesbot/carbon (3.11.0): Extracting archive - Installing monolog/monolog (3.9.0): Extracting archive - Installing league/uri-interfaces (7.7.0): Extracting archive - Installing league/uri (7.7.0): Extracting archive - Installing league/mime-type-detection (1.16.0): Extracting archive - Installing league/flysystem-local (3.30.2): Extracting archive - Installing league/flysystem (3.30.2): Extracting archive - Installing nette/utils (v4.1.1): Extracting archive - Installing nette/schema (v1.3.3): Extracting archive - Installing dflydev/dot-access-data (v3.0.3): Extracting archive - Installing league/config (v1.2.0): Extracting archive - Installing league/commonmark (2.8.0): Extracting archive - Installing laravel/framework (v12.44.0): Extracting archive - Installing firebase/php-jwt (v6.11.1): Extracting archive - Installing laravel/socialite (v5.24.0): Extracting archive - Installing nikic/php-parser (v5.7.0): Extracting archive - Installing psy/psysh (v0.12.18): Extracting archive - Installing laravel/tinker (v2.10.2): Extracting archive - Installing symfony/filesystem (v7.4.0): Extracting archive - Installing mtdowling/jmespath.php (2.8.0): Extracting archive - Installing aws/aws-sdk-php (3.369.2): Extracting archive - Installing league/flysystem-aws-s3-v3 (3.30.1): Extracting archive - Installing league/html-to-markdown (5.1.1): Extracting archive - Installing league/oauth2-client (2.9.0): Extracting archive - Installing robrichards/xmlseclibs (3.1.4): Extracting archive - Installing onelogin/php-saml (4.3.1): Extracting archive - Installing pragmarx/google2fa (v9.0.0): Extracting archive - Installing predis/predis (v3.3.0): Extracting archive - Installing socialiteproviders/manager (v4.8.1): Extracting archive - Installing socialiteproviders/discord (4.2.0): Extracting archive - Installing socialiteproviders/gitlab (4.1.0): Extracting archive - Installing socialiteproviders/microsoft-azure (5.2.0): Extracting archive - Installing socialiteproviders/okta (4.5.0): Extracting archive - Installing socialiteproviders/twitch (5.4.0): Extracting archive - Installing ssddanbrown/htmldiff (v2.0.0): Extracting archive Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi INFO Discovering packages. laravel/socialite ........................................................................................................................... DONE laravel/tinker .............................................................................................................................. DONE nesbot/carbon ............................................................................................................................... DONE nunomaduro/termwind ......................................................................................................................... DONE socialiteproviders/manager .................................................................................................................. DONE 61 packages you are using are looking for funding. Use the `composer fund` command to find out more! > @php artisan cache:clear INFO Application cache cleared successfully. > @php artisan view:clear INFO Compiled views cleared successfully. INFO Running migrations. 2025_11_23_161812_create_slug_history_table ......................................................................................... 35.50ms DONE 2025_12_15_140219_create_mention_history_table ...................................................................................... 14.72ms DONE 2025_12_19_103417_add_views_viewable_type_index ...................................................................................... 6.29ms DONE ✔️ Configured BookStack ✔️ Started Apache2 ✔️ Updated successfully! ``` ### 🖼️ Additional context (optional). This did not happen the last time I ran the script to upgrade to https://github.com/BookStackApp/BookStack/releases/tag/v25.11.6, so it was a change after that, maybe https://github.com/community-scripts/ProxmoxVE/pull/10034 ?
kerem 2026-02-26 12:51:43 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Dec 25, 2025):

Its simply to old. Ultimately, we are not responsible for the system; the version is simply massively outdated. In other words, mariadb has not been updated for a long time. And we have Upgraded Boomstack since some months to 13.

<!-- gh-comment-id:3691641906 --> @MickLesk commented on GitHub (Dec 25, 2025): Its simply to old. Ultimately, we are not responsible for the system; the version is simply massively outdated. In other words, mariadb has not been updated for a long time. And we have Upgraded Boomstack since some months to 13.
Author
Owner

@LaurenceBarnes commented on GitHub (Dec 25, 2025):

this also affects Debian 13. Debian 12 is still a supported OS; Debian 13 also does not ship MariaDB 12. This is an error in the script.

and if it is supposed to upgrade to MariaDB 12.x, then it should at least do it correctly. There was no issue before recent changes.

<!-- gh-comment-id:3691643948 --> @LaurenceBarnes commented on GitHub (Dec 25, 2025): this also affects Debian 13. Debian 12 is still a supported OS; Debian 13 also does not ship MariaDB 12. This is an error in the script. and if it is supposed to upgrade to MariaDB 12.x, then it should at least do it correctly. There was no issue before recent changes.
Author
Owner

@MickLesk commented on GitHub (Dec 25, 2025):

No, we Always Install from MariaDB source the latest official MariaDB. Take a look in Tools.func

By the way, your container is so old, it doesnt have gpg installed, thats the issue

Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
/dev/fd/63: line 1243: gpg: command not found
curl: (23) Failure writing output to destination, passed 6575 returned 0
✖️ Failed to import GPG key for mariadb
Installing:

<!-- gh-comment-id:3691644833 --> @MickLesk commented on GitHub (Dec 25, 2025): No, we Always Install from MariaDB source the latest official MariaDB. Take a look in Tools.func By the way, your container is so old, it doesnt have gpg installed, thats the issue Summary: Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0 /dev/fd/63: line 1243: **gpg: command not** found curl: (23) Failure writing output to destination, passed 6575 returned 0 ✖️ Failed to import GPG key for mariadb Installing:
Author
Owner

@LaurenceBarnes commented on GitHub (Dec 25, 2025):

I understand your point, but this container was created and exclusively maintained using this script, including all prior updates.

Until recent changes, the script never attempted to upgrade MariaDB beyond the distro-provided version, and BookStack upgrades worked reliably.

Two factual points:

Debian 12 and Debian 13 do not ship MariaDB 12.x. Debian 13 currently ships MariaDB 11.8. This is verifiable via the Debian archive.

In my logs, the MariaDB GPG import fails, yet the script continues and prints
✔️ Setup MariaDB 12.2.1, even though only Debian MariaDB (10.11 / 11.8) is installed.

The issue is therefore not OS age, but that the script:

  • continues after a failed GPG import,
  • installs distro MariaDB instead of upstream,
  • and still reports MariaDB 12.2.1 as successfully installed.

If MariaDB 12.x is required/intended, the script should either:

  • ensure prerequisites like gpg are installed before proceeding, or
  • abort with a clear error instead of reporting success.

This behavior is new and did not occur with earlier versions of the script.

<!-- gh-comment-id:3691649380 --> @LaurenceBarnes commented on GitHub (Dec 25, 2025): I understand your point, but this container was created and exclusively maintained using this script, including all prior updates. Until recent changes, the script never attempted to upgrade MariaDB beyond the distro-provided version, and BookStack upgrades worked reliably. Two factual points: Debian 12 and Debian 13 do not ship MariaDB 12.x. Debian 13 currently ships MariaDB 11.8. This is verifiable via the Debian archive. In my logs, the MariaDB GPG import fails, yet the script continues and prints `✔️ Setup MariaDB 12.2.1`, even though only Debian MariaDB (10.11 / 11.8) is installed. The issue is therefore not OS age, but that the script: - continues after a failed GPG import, - installs distro MariaDB instead of upstream, - and still reports MariaDB 12.2.1 as successfully installed. If MariaDB 12.x is required/intended, the script should either: - ensure prerequisites like gpg are installed before proceeding, or - abort with a clear error instead of reporting success. This behavior is new and did not occur with earlier versions of the script.
Author
Owner

@MickLesk commented on GitHub (Dec 25, 2025):

It only fails because gpg is missing. We Install from MariaDB source not from Debian Repo

<!-- gh-comment-id:3691660652 --> @MickLesk commented on GitHub (Dec 25, 2025): It only fails because gpg is missing. We Install from MariaDB source not from Debian Repo
Author
Owner

@LaurenceBarnes commented on GitHub (Dec 26, 2025):

Understood. Then we are aligned on the root cause: the MariaDB upstream setup fails when gpg is missing.

The remaining issue is that the script:

  • does not ensure gpg is present before attempting the MariaDB repo setup,
  • does not abort when that setup fails,
  • proceeds with Debian MariaDB instead,
  • and still reports ✔️ Setup MariaDB 12.2.1.

Since this container was created and maintained via the script, and this behavior did not occur in earlier versions, this looks like an error-handling regression rather than a user-side issue.

If you prefer, I am happy to raise a separate issue specifically about missing prerequisites / fail-fast behavior around the MariaDB setup.

<!-- gh-comment-id:3693287125 --> @LaurenceBarnes commented on GitHub (Dec 26, 2025): Understood. Then we are aligned on the root cause: the MariaDB upstream setup fails when gpg is missing. The remaining issue is that the script: - does not ensure gpg is present before attempting the MariaDB repo setup, - does not abort when that setup fails, - proceeds with Debian MariaDB instead, - and still reports `✔️ Setup MariaDB 12.2.1`. Since this container was created and maintained via the script, and this behavior did not occur in earlier versions, this looks like an error-handling regression rather than a user-side issue. If you prefer, I am happy to raise a separate issue specifically about missing prerequisites / fail-fast behavior around the MariaDB setup.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2225
No description provided.