• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Resolved Mariadb upgrade 12.3 stuck

uniauto

Basic Pleskian
Server operating system version
Debian 12.15 and Debian 13
Plesk version and microupdate number
18.0.82 #4
Hi.

I have tried to update MariaDB to version 12.3 on a new server twice, and both times it has gotten stuck at:
Installing new version of config file /etc/mysql/mariadb.conf.d/50-server.cnf ...

The server is a Debian 12 system with Plesk, from OVH.
I have tried updating MariaDB from 10.11 to 12.3.
I have tried updating first to Debian 13, and then MariaDB from 11.8 to 12.3.

I cannot find any log file that would help me identify the problem. What can I do?
 
Found this in using journalctl:
Nov 25 21:52:03 mariadbd[6741]: 2026-11-25 21:52:03 0 [Note] Shutdown completed; log sequence number 19980233; transaction id 87735
Nov 25 21:52:03 mariadbd[6741]: 2026-11-25 21:52:03 0 [Note] /usr/sbin/mariadbd: Shutdown complete
Nov 25 21:52:03 systemd[1]: mariadb.service: Deactivated successfully.
Nov 25 21:52:03 systemd[1]: Stopped mariadb.service - MariaDB 11.8.9 database server.
Nov 25 21:52:03 systemd[1]: mariadb.service: Consumed 889ms CPU time, 141.4M memory peak.
Nov 25 21:52:03 systemd[1]: Starting mariadb.service - MariaDB 11.8.9 database server...
Nov 25 21:52:03 mariadb-server.postinst[6943]: mysql.user table already exists!
Nov 25 21:52:03 mariadb-server.postinst[6943]: Run mariadb-upgrade, not mariadb-install-db
Nov 25 21:52:03 kernel: kauditd_printk_skb: 102 callbacks suppressed
Nov 25 21:52:03 kernel: audit: type=1400 audit(1795643523.497:113): apparmor="STATUS" operation="profile_remove" info="profile does not exist" error=-2 profile>
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] Starting MariaDB 12.3.4-MariaDB-deb13 source revision e4549ea60c98a8743ed4743d7f92174d8a0005d9 ser>
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Number of transaction pools: 1
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Using io_uring
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Initialized memory pressure event listener
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Completed initialization of buffer pool
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: End of log at LSN=19980233
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Opened 3 undo tablespaces
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait .>
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: log sequence number 19980233; transaction id 87732
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] Plugin 'FEEDBACK' is disabled.
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] Plugin 'wsrep-provider' is disabled.
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Nov 25 21:52:03 mariadbd[6924]: 2026-11-25 21:52:03 0 [Note] InnoDB: Buffer pool(s) load completed at 261125 21:52:03
Nov 25 21:52:03 systemd[1]: Reload requested from client PID 6986 ('systemctl') (unit run-plesk-task-4453.service)...
Nov 25 21:52:03 systemd[1]: Reloading...
Nov 25 21:52:03 systemd-ssh-generator[7029]: Failed to query local AF_VSOCK CID: Cannot assign requested address
Nov 25 21:52:03 (sd-exec-[7016]: /usr/lib/systemd/system-generators/systemd-ssh-generator failed with exit status 1.
Nov 25 21:52:03 systemd-sysv-generator[7031]: SysV service '/etc/init.d/cloud-init' lacks a native systemd unit file, automatically generating a unit file for >
Nov 25 21:52:03 systemd-sysv-generator[7031]: Please update package to include a native systemd unit file.
Nov 25 21:52:03 systemd-sysv-generator[7031]: ⚠️ This compatibility logic is deprecated, expect removal soon. ⚠️
Nov 25 21:52:04 systemd[1]: mariadb.socket: Socket unit configuration has changed while unit has been running, no open socket file descriptor left. The socket >
Nov 25 21:52:04 systemd[1]: Reloading finished in 358 ms.
Nov 25 21:52:05 mariadbd[6924]: 2026-11-25 21:52:05 0 [Note] Using systemd activated socket host :: port 3306
Nov 25 21:52:05 mariadbd[6924]: 2026-11-25 21:52:05 0 [Note] Using systemd activated unix socket /run/mysqld/mysqld.sock
Nov 25 21:52:05 mariadbd[6924]: 2026-11-25 21:52:05 0 [Note] Using systemd activated unix socket @mariadb
Nov 25 21:52:05 mariadbd[6924]: 2026-11-25 21:52:05 0 [Note] mariadbd: Event Scheduler: Loaded 0 events

Tried to reboot but it say:
Operation inhibited by "APT" (PID 6509 "apt-get", user root), reason is "APT is installing or removing packages".
Please retry operation after closing inhibitors and logging out other users.
'systemd-inhibit' can be used to list active inhibitors.
Alternatively, ignore inhibitors and users with 'systemctl reboot -i'.

Finally used "reboot -f" and could enter Plesk, but the update progess is still going on / stuck.
After a minute the task ended with error:
  • Task is not responding: id=578, pid=5789, type=upgrade-database-server, clientRemoteAddr=..., current_stage=disableService, dbServerId=1, redirect=/cp/server/db/, releaseId=mariadb_12.3, runTaskUnderLogin=admin, withDump=

MariaDB versión is still shown as 11.8.9 for Debian 13.8.
But after a "plesk repair --mysql -n", MariaDB versión is shown as 12.3.4.

Can I trust that everything is fine?
 
Hi @uniauto,

please run only the steps below and post the output before changing anything.

learning_curve's answer above is the right pointer if the only remaining problem is the version shown in the Plesk GUI: the manual procedure in Plesk's KB article How to upgrade MariaDB on Plesk for Linux ends with a step that updates the version inside Plesk. My concern is a different one: the forced reboot ("reboot -f") happened while apt-get was still installing, so I would first make sure the package state is clean. That is my reading of your log, I cannot prove it.

1) Backup first (read-only, works while MariaDB is running). Check free disk space with "df -h /root" beforehand, and if your provider offers a snapshot, take one:
Code:
MYSQL_PWD="$(cat /etc/psa/.psa.shadow)" mysqldump -uadmin --all-databases --routines --triggers --single-transaction > /root/all-databases.sql

2) Check the package and service state (also read-only):
Code:
dpkg --audit
dpkg -l | grep -i mariadb
mariadb --version
systemctl status mariadb --no-pager
plesk db -e "SELECT id, host, port, type, server_version FROM DatabaseServers;"

The last line shows which version Plesk has stored. I have seen it in a user post in another thread, not in the documentation.

Please post the output of step 2 (nothing else needed). Depending on the result there are different follow-ups:
  • If dpkg --audit is clean, the packages show 12.3.4 and the service is active, the upgrade itself is most likely fine, and the remaining steps are the ones from the KB article (mariadb-upgrade, then updating the version inside Plesk).
  • If dpkg --audit lists packages or a package is not in state "ii", the configuration has to be finished first, and I would rather do that based on your actual output than guess.
Please do not reboot while apt or dpkg is running, and if you run further commands over SSH, use screen or tmux so a dropped connection cannot interrupt them.

Regards
Tessa
 
Hi @tessa67 , Thanks for replying.
The update process wasn't progressing, even though I waited, so I saw no other option but to force a restart.
The commands you ran provided useful information for determining whether everything was okay or not. And it seems that some things are wrong.
# dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
mariadb-server-compat MySQL compatibility links to mariadb-server binaries/scr

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
mariadb-server MariaDB database server binaries

The following packages have been triggered, but the trigger processing
has not yet been done. Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
libc-bin GNU C Library: Binaries
man-db tools for reading manual pages
# dpkg -l | grep -i mariadb
ii libmariadb3:amd64 1:12.3.4+maria~deb13 amd64 MariaDB database client library
ii mariadb-client 1:12.3.4+maria~deb13 amd64 MariaDB database client binaries
ii mariadb-client-compat 1:12.3.4+maria~deb13 all MySQL compatibility links to mariadb-client binaries/scripts.
ii mariadb-client-core 1:12.3.4+maria~deb13 amd64 MariaDB database core client binaries
ii mariadb-common 1:12.3.4+maria~deb13 all MariaDB database common files (e.g. /etc/mysql/mariadb.conf.d/)
iF mariadb-server 1:12.3.4+maria~deb13 amd64 MariaDB database server binaries
iU mariadb-server-compat 1:12.3.4+maria~deb13 all MySQL compatibility links to mariadb-server binaries/scripts.
ii mariadb-server-core 1:12.3.4+maria~deb13 amd64 MariaDB database core server files
ii mysql-common 1:12.3.4+maria~deb13 all MariaDB client common configuration files package (e.g. /etc/mysql/my.cnf)
ii plesk-libmariadbclient-3.4 3.4.9-v.debian.13+p18.0.82.4+t261119.0511 amd64 Mariadb client library.
# mariadb --version
mariadb from 12.3.4-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
# systemctl status mariadb --no-pager
● mariadb.service - MariaDB 12.3.4 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: active (running) since Thu 2026-11-26 15:45:53 CET; 3min 14s ago
Invocation: 99f23b4eccd54a64a769f8d89876b674
Docs: man:mariadbd(8)
https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/systemd
Process: 1567 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
Main PID: 689 (mariadbd)
Status: "Taking your SQL requests now..."
Tasks: 16 (limit: 61234)
Memory: 196.7M (peak: 200.3M)
CPU: 3.370s
CGroup: /system.slice/mariadb.service
└─689 /usr/sbin/mariadbd

Nov 26 15:45:52 vps.domain.es mariadbd[689]: 2026-11-26 15:45:52 0 [Note] Recovering after a crash using tc.log
Nov 26 15:45:52 vps.domain.es mariadbd[689]: 2026-11-26 15:45:52 0 [Note] Starting table crash recovery...
Nov 26 15:45:52 vps.domain.es mariadbd[689]: 2026-11-26 15:45:52 0 [Note] Crash table recovery finished.
Nov 26 15:45:52 vps.domain.es mariadbd[689]: 2026-11-26 15:45:52 0 [Note] InnoDB: Buffer pool(s) load completed at 261126 15:45:52
Nov 26 15:45:53 vps.domain.es mariadbd[689]: 2026-11-26 15:45:53 0 [Note] Server socket created on IP: '127.0.0.1', port: '3306'.
Nov 26 15:45:53 vps.domain.es mariadbd[689]: 2026-11-26 15:45:53 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
Nov 26 15:45:53 vps.domain.es mariadbd[689]: 2026-11-26 15:45:53 0 [Note] /usr/sbin/mariadbd: ready for connections.
Nov 26 15:45:53 vps.domain.es mariadbd[689]: Version: '12.3.4-MariaDB-deb13' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
Nov 26 15:45:53 vps.domain.es systemd[1]: Started mariadb.service - MariaDB 12.3.4 database server.
Nov 26 15:45:53 vps.domain.es /etc/mysql/debian-start[1584]: Upgrading MariaDB tables if necessary.
# plesk db -e "SELECT id, host, port, type, server_version FROM DatabaseServers;"
id host port type server_version
1 localhost 3306 mysql 11.8.9

In any case, I restored a copy of the server several times and tested various things before performing the update.
I saw in the KB article you linked that it is recommended to disable Watchdog when updating MariaDB via the command line. I uninstalled Watchdog and updated MariaDB using the Plesk interface, and this time everything went well.

So, the problem is solved, thanks for replying.
 
I think that Watchdog should be disabled by the Plesk installer anytime the installer/updater or the Plesk database upgrade procedure is run!
 
Back
Top