How to transfer Mautic 5 to another server - failed at the moment

Your software
My Mautic version is: 5.2.2.
My PHP version is: 8.3
My Database type and version is:10.11

Hello, i tried to to move Mautic 5.2.2. from Ubuntu 22.04 to a new fresh installed Ubuntu 24.04 server. But at the new server mautic isn’t reachable an i need your help for a solution:
(I new test installation i made, is reachable, so the error must be in the database or in a config of the restored mautic, rights problems or whatelse)

I copied the full mautic directory to the new server in that way, that i zipped it at the old server, transfered over ssh to my office, uploaded to the new server over ssh and entziped it.
I imported the database.

My first thought ist, that the database import was not successful. Some questions:

  1. I created a new database for mautic in that way.
    mysql -u root
    CREATE DATABASE mautic DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
    CREATE USER ‘mautic’@‘localhost’ IDENTIFIED BY ‘databasepassword’;
    GRANT ALL PRIVILEGES ON mautic.* TO ‘mautic’@‘localhost’;
    FLUSH PRIVILEGES;

and inported my backup of the database in that way:
mysql -u root -p mautic < mautic-database-20250131-113938.sql

Password was asked at import: i took the root password of the server.

Was my restore action right or was there an error?

What can i do to find the issue?

I think my database backup and the restore is the issue:

Mautic Database:
Database name: mautic
Database user: mautic
Database password: databasepassword

How have i exactly backup this database at the source machine? (what commands etc - i’m here a beginner)

On the target machine:
How do i have exactly create a database (what commands etc).
And how is the correctly import of the backup?

What files in Mautic do i have to check and what entries are here to adjust?

Additional Info: The source machine has Maridb 10.6 and the target machine hast mariadb 10.11.

I believe its the database dump and export process that makes the problem.

I found the problem and the solution:

I had done the test without ssl certificate. A fresh installation can be called without ssl certificate (possibly with browser warning) with http://…
This does not work with a finished Mautic installation. Only https://…is working.

Solution: SSL certificate created and it worked.

Does anyone know which setting within Mautic is responsible for the fact that it can only be accessed with https but not with http?