# Mautic inaccessible - site is offline

**URL:** <https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208>\
**Category:** Product Support\
**Created:** [June 2, 2023, 12:15am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208 "2023-06-02T00:15:35Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 2, 2023, 12:15am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/1 "2023-06-02T00:15:35Z")

</div>

**Your software**  
My Mautic version is: 4.4.9  
My PHP version is: 8.0  
My Database type and version is: MySQL Version 8.0.33

**Your problem**  
My problem is:  
Mautic is inaccessible with the error message on “The site is currently offline due to encountering an error.” after transferring Mautic cpanel from old server to new Cloudlinux 8 server (using Cpanel’s TransferTool) then upgrade to version 4.4.9 via command line

These errors are showing in the log:  
mautic.ERROR: INTEGRATION ERROR: APP - code does not have a value

Steps I have tried to fix the problem:

- Clear cache in var/cache
- run command line in terminal to clear cache
- view in new incognitio mode
- delete cookies

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 2, 2023, 4:14am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/2 "2023-06-02T04:14:43Z")

</div>

Hi, do you have extra plugins installed?

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 2, 2023, 6:49am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/3 "2023-06-02T06:49:30Z")

</div>

Hi @joeyk there is no extra plugins installed since May 2022, the following plugins were installed on May 2022:  
Cronfig  
Grapes JSBuilder  
Mautic Recaptcha  
Mautic Tag Manager

I noticed after upgrade via command line to 4.4.9 those plugins folders above seem not affected by the update whereas the other plugin folders shows “last updated yesterday”.

I hope this makes sense.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 2, 2023, 8:28am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/4 "2023-06-02T08:28:21Z")

</div>

Hm, we need more logs I think

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [June 2, 2023, 9:31am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/5 "2023-06-02T09:31:27Z")

</div>

I would also advise to pack things in tar and transfer via scp instead of using third party tools.

Also if possible use dedicated server as oppose to shared hosting.

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 5, 2023, 1:25am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/6 "2023-06-05T01:25:39Z")

</div>

Hi Matic @mzagmajster ,  
Thank you so much for your response and advice.  
We actually use dedicated VPS server with CloudLinux 8 (new server)

1. The problem with the manual zipping and transfer upload then modify the config setting is that the database file size is pretty huge (~5GB, probably due to size of tables mautic\_email\_stats, mautic\_page\_hits) affecting transfer time and likelihood of importing failure in database system.

2. One of reasons I use CPanel’s TransferTool is because we have multiple add-on domains that we need to update DNS instantly for all domains for websites hosted in that cpanel account - with the time being in the factor into consideration.

Hi Joey @joeyk here is the log below for your reference.  
`[2023-06-05 00:00:48] mautic.ERROR: INTEGRATION ERROR: Vtiger - code does not have a value`  
I assume the Vtiger plugin for Mautic doesn’t support MySQL8 or PHP8 which caused the error?

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 5, 2023, 6:14am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/7 "2023-06-05T06:14:58Z")

</div>

Test it: Disable the Vtiger plugin (remove it from the plugins folder and clear cache).

re 1.) 5GB should be no issue with a VPS, if its sized to run Mautic  
re 2.) You still could use another transfer as suggested. We also use Plesk but transfer with SCP standard protocol.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [June 5, 2023, 6:49am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/8 "2023-06-05T06:49:23Z")

</div>

Hi,

1. If you create an archive that should reduce the size and time to transfer. Database of size 5 GB is not that big. I think you should be fine. Backup entire source & database (I would suggest using mysqldump from the CLI, but if you have a gui option it should also work).

2. I do not know this tool in details but looks like @dirk_s offered some insight into that. Also you do not have to change the DNS until you setup everything on the new server. I imagine you can change the DNS via the interface and if you first setup everything in regards to source code and database, you will have hardly any down time.

Also the suggestion about Vtiger plugin from @dirk_s is worth checking out.

Regards, M.

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 5, 2023, 6:56am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/9 "2023-06-05T06:56:42Z")

</div>

Hi @dirk_s , I tried to remove Vtiger plugin and cleared cache, the issue still persists.  
Is it possible to import SQL manually and update path in Mautic config, would it be guaranteed to run as normally?  
I will see if I can use WinSCP to upload Mautic files and dump database file then run MySQL command line to import it provided if there is enough free space left in new server.

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 5, 2023, 6:57am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/10 "2023-06-05T06:57:11Z")

</div>

@mzagmajster thank you for your suggestion, I am working in local environment using host file to be safe just in the case.

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 6, 2023, 12:27am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/11 "2023-06-06T00:27:49Z")

</div>

Hi @dirk_s, just checking if you mean SCP is a WinSCP? We don’t have Plesk but only cloudlinux

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 6, 2023, 6:31am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/12 "2023-06-06T06:31:55Z")

</div>

Hi @duplexcleaning that was a comparison. Plesk is also a control panel on top of a linux server. However, I would also not use the built in file manager. But even with plesk I can use standard file transfer protocols, like ftp and scp. That was suggested earlier in the thread to use a standard file transfer instead of proprietary services provided by those control panels.

Also CPanel allows this: [Using SCP – cPanel](https://support.cpanel.net/hc/en-us/articles/360053352453-Using-SCP)

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 7, 2023, 5:11am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/13 "2023-06-07T05:11:19Z")

</div>

Hi @dirk_s , thank you for that,  
I was able to use shell access to run the scp command to copy the folder to the remote server,  
However, there seems to be a disadvantage of using SCP, that is, the likelihood of getting a timeout prevented the process to resume or continue once the connection is re-established (for example, screen timeout, away for lunch, etc)

Would zip folder then scp to copy that zip file be recommended?

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 7, 2023, 8:53am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/14 "2023-06-07T08:53:13Z")

</div>

If you use SCP, you can also use SSH. Much better than FTP.  
So you upload the zipped file, and then use the command line via SSH to unzip the file.

---

<div class="post-metadata">

**Author:** ![sfahrenkrog1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sfahrenkrog1/32/4583_2.png) [@sfahrenkrog1](https://forum.mautic.org/u/sfahrenkrog1)\
**Post date:** [June 7, 2023, 2:49pm UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/15 "2023-06-07T14:49:53Z")

</div>

Hey duplexleaning

I would recommend: install a blank mautic 4.4.9 to the new server and when this works then copy the old database copy the other assets (media folder, form upload folder, themes …etc)

Greetings  
Sebastian

---

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [June 19, 2023, 6:29am UTC](https://forum.mautic.org/t/mautic-inaccessible-site-is-offline/28208/16 "2023-06-19T06:29:44Z")

</div>

thanks @sfahrenkrog1 , I will try that.

@dirk_s Interestingly there had been two occurrences where I used SCP to copy Mautic Zipped (tar file) and import databases in two different cpanel accounts.

A Mautic instance hosted in one cpanel account working in different domain name other than the original, whereas the Mautic instance hosted in another cpanel account that uses the same original domain address but in new server didn’t work well.
