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

**URL:** <https://forum.mautic.org/t/how-to-transfer-mautic-5-to-another-server-failed-at-the-moment/34901>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 31, 2025, 3:19pm UTC](https://forum.mautic.org/t/how-to-transfer-mautic-5-to-another-server-failed-at-the-moment/34901 "2025-01-31T15:19:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [January 31, 2025, 3:19pm UTC](https://forum.mautic.org/t/how-to-transfer-mautic-5-to-another-server-failed-at-the-moment/34901/1 "2025-01-31T15:19:04Z")

</div>

**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?

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [January 31, 2025, 6:39pm UTC](https://forum.mautic.org/t/how-to-transfer-mautic-5-to-another-server-failed-at-the-moment/34901/2 "2025-01-31T18:39:44Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [February 1, 2025, 6:21am UTC](https://forum.mautic.org/t/how-to-transfer-mautic-5-to-another-server-failed-at-the-moment/34901/3 "2025-02-01T06:21:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![stefan-franz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stefan-franz/32/12758_2.png) [@stefan-franz](https://forum.mautic.org/u/stefan-franz)\
**Post date:** [February 11, 2025, 8:29am UTC](https://forum.mautic.org/t/how-to-transfer-mautic-5-to-another-server-failed-at-the-moment/34901/4 "2025-02-11T08:29:50Z")

</div>

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?
