# Fresh Mautic 4.4.0 via SSH and Composer - problem with installation

**URL:** https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656
**Category:** Mautic 4 Install/Upgrade Support
**Created:** [July 1, 2022, 7:53pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656 "2022-07-01T19:53:40Z")
**Posts on this page:** 19
**Page:** 2

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [July 12, 2022, 3:34pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/21 "2022-07-12T15:34:33Z")

</div>

> [@techbill](#):
>
> php bin/console cache:clear

Still the same:  
 ![obraz](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8a7543ed997cb8fbcc437bef6f55573e578305c5.png)

Do you perhaps know what the problem is?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [July 12, 2022, 3:46pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/22 "2022-07-12T15:46:20Z")

</div>

It’s a permission problem. You will probably need to talk to your host provider about this one. You can just manually clear the cache folder yourself if your Mautic is not loading property after update.

Just go inside the cache folder and delete everything in it.

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [July 12, 2022, 3:52pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/23 "2022-07-12T15:52:18Z")

</div>

Can you type me the right path to cache folder?

I can see only this:

 ![obraz](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/bcac6d7d19dbab57d2226a7e264a4138f4c1a703.png)

If it is correct do you mean deleting ip\_data, prod and language.ist.txt ?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [July 12, 2022, 4:06pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/24 "2022-07-12T16:06:07Z")

</div>

yes …

![Screen Shot 2022-07-12 at 11.05.01 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8a72ba61a135ea264ce70b258fb605d52220272e.jpeg)

then …

![Screen Shot 2022-07-12 at 11.05.15 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a6fe5100533b8571f8e117022a29098bf81f1980.jpeg)

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [July 12, 2022, 5:12pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/25 "2022-07-12T17:12:25Z")

</div>

![obraz](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d65279fb250fa25ae892ba07f005f8fab54ad1d8.png)

Can you please tell me if the cache was cleared? And what this red notice is meaning?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [July 12, 2022, 5:19pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/26 "2022-07-12T17:19:03Z")

</div>

I don’t know what it mean.

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [July 12, 2022, 5:24pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/27 "2022-07-12T17:24:50Z")

</div>

I also ended up with this log info:

[2022-07-12 19:18:45] mautic.EMERGENCY: Failed to clear Mautic cache. {“adapter”:“FilesystemTagAwareAdapter”} {“hostname”:“[555677.cloudwaysapps.com](http://555677.cloudwaysapps.com)”,“pid”:3720}  
[2022-07-12 19:18:45] mautic.NOTICE: Exception: Failed to clear FilesystemTagAwareAdapter (uncaught exception) at /home/555677.cloudwaysapps.com/hjgfecmjsc/public\_html/app/bundles/CacheBundle/EventListener/CacheClearSubscriber.php line 46 while running console command `cache:clear` {“hostname”:“[555677.cloudwaysapps.com](http://555677.cloudwaysapps.com)”,“pid”:3720}  
[2022-07-12 19:18:45] mautic.WARNING: Command `cache:clear` exited with status code 1 {“hostname”:“[555677.cloudwaysapps.com](http://555677.cloudwaysapps.com)”,“pid”:3720}

Is this saying you anything?

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 4, 2022, 5:33pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/28 "2022-08-04T17:33:24Z")

</div>

Hello techbill,

I would like to ask you about update.  
Today, 4.4.1 has shown recently, I run this command:

> composer update

and my Mautic went to installer…as I would like to install a fresh copy. Previous data was completly ereased.  
Do you have any hints how to run update via composer correctly?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [August 4, 2022, 5:52pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/29 "2022-08-04T17:52:46Z")

</div>

Do you have a backup copy of this file app/config/local.php before the update? You need it to restore it

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 4, 2022, 6:10pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/30 "2022-08-04T18:10:13Z")

</div>

Hi!  
I managed to restore the whole Mautic installation and I have this file already. I made a backup of app/config/local.php.  
Can you tell me how to run update to not to throw myself and my Mautic installation into installer process after running “composer update” via command line?

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [August 4, 2022, 6:12pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/31 "2022-08-04T18:12:56Z")

</div>

There is an issue with the composer update right now

Just run the composer update then after it finish updating, restore that one file local.php back into the /app/config/folder and clear cache.

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 4, 2022, 10:41pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/32 "2022-08-04T22:41:42Z")

</div>

Thank you! It helped:)

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 25, 2022, 6:04pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/33 "2022-08-25T18:04:55Z")

</div>

Hello techbill!

I replicated the steps with your composer.json file to do a clean installation but I faced this problem:

![obraz](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/623e15a047cd7867ee3b08dbc8ecc0a181a4f1d2.png)

Does it mean that the file composer.json that you prepared last time is out of date?

Here’s what is inside the composer.json file:

> {  
> “name”: “mautic/recommended-project”,  
> “description”: “Project template for Mautic 4 projects with composer”,  
> “type”: “project”,  
> “license”: “GPL-2.0-or-later”,  
> “homepage”: “[Mautic Releases - Mautic Community](https://www.mautic.org/mautic-releases)”,  
> “support”: {  
> “user-docs”: “[Mautic Documentation | Mautic](https://docs.mautic.org/en)”,  
> “developer-docs”: “[https://developer.mautic.org](https://developer.mautic.org)”,  
> “chat”: “[Mautic Community On Slack - Mautic Community](https://www.mautic.org/slack)”  
> },  
> “funding”: [  
> {  
> “type”: “other”,  
> “url”: “[Mautic - Open Collective](https://opencollective.com/mautic)”  
> },  
> {  
> “type”: “other”,  
> “url”: “[Sponsor @mautic on GitHub Sponsors · GitHub](https://github.com/sponsors/mautic)”  
> }  
> ],  
> “authors”: [  
> {  
> “name”: “”,  
> “role”: “”  
> }  
> ],  
> “require”: {  
> “composer/installers”: “^1.11”,  
> “mautic/core-composer-scaffold”: “4.x-dev”,  
> “mautic/core-project-message”: “4.x-dev”,  
> “mautic/core-lib”: “^4.0”,  
> “mautic/grapes-js-builder-bundle”: “^4.0”,  
> “mautic/plugin-citrix”: “^4.0”,  
> “mautic/plugin-clearbit”: “^4.0”,  
> “mautic/plugin-cloudstorage”: “^4.0”,  
> “mautic/plugin-crm”: “^4.0”,  
> “mautic/plugin-emailmarketing”: “^4.0”,  
> “mautic/plugin-focus”: “^4.0”,  
> “mautic/plugin-fullcontact”: “^4.0”,  
> “mautic/plugin-gmail”: “^4.0”,  
> “mautic/plugin-outlook”: “^4.0”,  
> “mautic/plugin-social”: “^4.0”,  
> “mautic/plugin-tagmanager”: “^4.0”,  
> “mautic/plugin-zapier”: “^4.0”,  
> “mautic/theme-aurora”: “^4.0”,  
> “mautic/theme-blank”: “^4.0”,  
> “mautic/theme-brienz”: “^4.0”,  
> “mautic/theme-cards”: “^4.0”,  
> “mautic/theme-coffee”: “^4.0”,  
> “mautic/theme-confirmme”: “^4.0”,  
> “mautic/theme-fresh-center”: “^4.0”,  
> “mautic/theme-fresh-fixed”: “^4.0”,  
> “mautic/theme-fresh-left”: “^4.0”,  
> “mautic/theme-fresh-wide”: “^4.0”,  
> “mautic/theme-goldstar”: “^4.0”,  
> “mautic/theme-mauve”: “^4.0”,  
> “mautic/theme-nature”: “^4.0”,  
> “mautic/theme-neopolitan”: “^4.0”,  
> “mautic/theme-oxygen”: “^4.0”,  
> “mautic/theme-paprika”: “^4.0”,  
> “mautic/theme-skyline”: “^4.0”,  
> “mautic/theme-sparse”: “^4.0”,  
> “mautic/theme-sunday”: “^4.0”,  
> “mautic/theme-vibrant”: “^4.0”,  
> “mautic/theme-trulypersonal”: “^4.0”  
> },  
> “repositories”: [  
> {  
> “type”: “git”,  
> “url”: “[GitHub - dennisameling/FOSOAuthServerBundle: A server side OAuth2 Bundle for Symfony](https://github.com/dennisameling/FOSOAuthServerBundle.git)”  
> }  
> ],  
> “conflict”: {  
> “mautic/mautic”: “_",  
> “mautic/core”: "_”  
> },  
> “minimum-stability”: “dev”,  
> “prefer-stable”: true,  
> “config”: {  
> “sort-packages”: true,  
> “secure-http”: false,  
> “allow-plugins”: {  
> “composer/installers”: true,  
> “symfony/flex”: true,  
> “mautic/core-composer-scaffold”: true,  
> “mautic/core-project-message”: true  
> }  
> },  
> “autoload”: {  
> “psr-4”: {  
> “MauticPlugin\”: “/home/555677.cloudwaysapps.com/hjgfecmjsc/public\_html/plugins/”  
> }  
> },  
> “extra”: {  
> “mautic-scaffold”: {  
> “locations”: {  
> “web-root”: “/home/555677.cloudwaysapps.com/hjgfecmjsc/public\_html/”  
> }  
> },  
> “installer-paths”: {  
> “/home/555677.cloudwaysapps.com/hjgfecmjsc/public\_html/app”: [  
> “type:mautic-core”  
> ],  
> “/home/555677.cloudwaysapps.com/hjgfecmjsc/public\_html/plugins/{$name}”: [  
> “type:mautic-plugin”  
> ],  
> “/home/555677.cloudwaysapps.com/hjgfecmjsc/public\_html/themes/{$name}”: [  
> “type:mautic-theme”  
> ]  
> },  
> “mautic-core-project-message”: {  
> “include-keys”: [  
> “homepage”,  
> “support”  
> ],  
> “post-create-project-cmd-message”: [  
> “\<bg=blue;fg=white\> \</\>”,  
> “\<bg=blue;fg=white\> Congratulations, you’ve installed the Mautic codebase \</\>”,  
> “\<bg=blue;fg=white\> from the mautic/recommended-project template! \</\>”,  
> “\<bg=blue;fg=white\> \</\>”,  
> “”,  
> “\<bg=yellow;fg=black\>Next steps\</\>:”,  
> " \* Install Mautic",  
> " \* Read the user guide",  
> " \* Get support: [Support - Mautic Community](https://www.mautic.org/support)",  
> " \* Get involved with the Mautic community:“,  
> " [https://www.mautic.org/getting-involved](https://www.mautic.org/getting-involved)”,  
> " \* Remove the plugin that prints this message:“,  
> " composer remove mautic/core-project-message”  
> ]  
> }  
> }  
> }

Can you please look at it and help me move on with my installation?

Kind regards,

Greg

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [August 25, 2022, 6:11pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/34 "2022-08-25T18:11:33Z")

</div>

Look like your real path have changed again … it sound like your host create a new instance each time you start fresh so you need to check your real path and see if it match what in composer.json

Go back a few post up to see how to check real path in terminal in here.

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 25, 2022, 6:49pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/35 "2022-08-25T18:49:15Z")

</div>

Thanks a lot. It helped!

I would like to ask you one thing.

Do you have the same that after installation of Mautic with “your” composer.json file such things happen:

1. Mautic icon do not show in the browser tab.
2. National flags are not shown in the contact location.
3. When someone submits a form the submitt message is showing on the separate browser window instead of above the form?

Perhaps you faced the same before?

G.

---

<div class="post-metadata">

### Author: ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)
#### Post date: [August 25, 2022, 6:55pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/36 "2022-08-25T18:55:20Z")

</div>

1. Never had that happened to me … Check see if file `favicon.ico` exists in your Mautic root folder
2. Not every location have a national flag, I am seeing only some location with flag not all.
3. I am not sure what you mean. I think form depends on where you set to redirect after submission.

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 25, 2022, 7:00pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/37 "2022-08-25T19:00:30Z")

</div>

Ok. It’s strange because this had happened when I’ve installed the Mautic for the first time with your file.  
Then I updated the instance with the inner mechnism, not with the composer and everything started to work fine. Flags were shown, icon was visible (it is there all the time!) and forms show messags in the correct way.  
It looks like I have to wait for 4.4.2…  
🙂

---

<div class="post-metadata">

### Author: ![gregy1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gregy1/32/2029_2.png) [@gregy1](https://forum.mautic.org/u/gregy1)
#### Post date: [August 25, 2022, 7:03pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/38 "2022-08-25T19:03:17Z")

</div>

Do you have the composer.json file that would install the Mautic instance not with the current version but e.g. 4.4.0?  
I could install 4.4.0 and than update to 4.4.1 to see the results.  
?

---

<div class="post-metadata">

### Author: ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)
#### Post date: [May 21, 2023, 3:33pm UTC](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656/39 "2023-05-21T15:33:35Z")

</div>

I can confirm, composer does not work on Mautic 4.4.8:

> [@Mautic 4.4.8 composer install is broken](https://forum.mautic.org/t/mautic-4-4-8-composer-install-is-broken/28097):
>
> My PHP version is : 8.0 My MySQL/MariaDB version is: MariaDB 10.6 I am Installing with composer: Following the instructions found here: These messages and errors are showing in the CLI : composer create-project mautic/recommended-project:^4 some-dir --no-interaction PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used …

[Previous page](https://forum.mautic.org/t/fresh-mautic-4-4-0-via-ssh-and-composer-problem-with-installation/24656.md?page=1)
