Debian Upgrade Bookworm To Trixie

From MK Wiki EN
Revision as of 19:35, 13 March 2026 by MkWikiEnSysOp (talk | contribs) (+nginx SSL)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article contains all problems that I encountered when upgrading Debian from 12/Bookworm to 13/Trixie.

Web Application Using PHP and MariaDB

After upgrade, PHP would not work any more. Installation of package libapache2-mod-php8.4 was required. Then the MariaDB (formerly MySQL) database could not be accessed which could be solved by installing php8.4-mysql.

apt -y install libapache2-mod-php8.4 php8.4-mysql

nginx SSL

nginx -t might print an error message like this one:

unknown directive "ssl" in /etc/nginx/sites-enabled/site:linenr

It's easy to fix: Run

nano /etc/nginx/sites-enabled/site:linenr

Usually in this line you find

listen 443;

Add "ssl" to it:

listen 443 ssl;

Later in the file remove the line

ssl on;

Credits