Upgrading to bookworm

Hello, I have been running hestia on my server since 3 years and I am still on an up to date bullseye debian. I was wondering if anyone could give me a guide on how to update the system and hestia to bookworm. I have backups of the system but I want to make sure nothing goes wrong.
This would be the upgrade commands I would run:

sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo apt update
sudo apt full-upgrade

cat /etc/apt/sources.list

deb http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main
deb http://ftp.debian.org/debian bookworm-backports main contrib non-free

After running the full debian update should I be editing or fixing anything else?
Thank you

echo "$(head /dev/urandom | tr -dc "A-Za-z0-9" | head -c16)" > /etc/exim4/srs.conf
chown root:Debian-exim /etc/exim4/srs.conf
chmod 640 /etc/exim4/srs.conf

what about the sources.list of mariadb? do i keep it in the bullseye branch? the bookworm one gives errors:
E: The repository ‘mirror - MvA bookworm Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Repository ‘Debian bookworm’ changed its ‘non-free component’ value from ‘non-free’ to ‘non-free non-free-firmware’
N: More information about this can be found online in the Release notes at: Chapter 5. Issues to be aware of for bookworm

All sources.list.d files need to be updated :slight_smile:

but it says that the mariadb repository doesnt have a Release file

Remove the madiadb file it will not take from Debian source

At first my mail server was not working after the system upgrade but after the commands you suggested the mail server is back working again.
Could you confirm me the mariadb version please for bookworm 12

mariadb --version    
mariadb  Ver 15.1 Distrib 10.11.3-MariaDB, for debian-linux-gnu (x86_64) using  EditLine wrapper

Thank you very much for the help!

10.11 looks fine