# Unable to Switch to composer based installation

**URL:** <https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [February 4, 2023, 1:15pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949 "2023-02-04T13:15:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaz3e](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/shaz3e/32/236_2.png) [@Shaz3e](https://forum.mautic.org/u/Shaz3e)\
**Post date:** [February 4, 2023, 1:15pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949/1 "2023-02-04T13:15:33Z")

</div>

**Your software**  
My Mautic version is: 4.4.5  
My PHP version is: 8.0  
My Database type and version is: 5.7.41

**Your problem**  
My problem is:  
I am unable to switch to composer based installation

These errors are showing in the log:  
`- Root composer.json requires mautic/theme-paprika 4.4.6, found mautic/theme-paprika[dev-gitsplit-action-debug, dev-main, dev-features, 4.0.0-beta, ..., 4.x-dev, 5.x-dev] but it does not match the constraint.`

Steps I have tried to fix the problem:  
Please guide the steps to follow.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 4, 2023, 1:39pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949/2 "2023-02-04T13:39:24Z")

</div>

Hi there,

Seems like something might have gone wonky somewhere - the Paprika theme does have the 4.4.6 tag (check here [Tags · mautic/theme-paprika · GitHub](https://github.com/mautic/theme-paprika/tags)).

I’ll post in the Composer channel on Slack and see if anyone can give any insights.

---

<div class="post-metadata">

**Author:** ![Shaz3e](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/shaz3e/32/236_2.png) [@Shaz3e](https://forum.mautic.org/u/Shaz3e)\
**Post date:** [February 4, 2023, 1:52pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949/3 "2023-02-04T13:52:38Z")

</div>

Yes, let wait for analyze the problem in mycase

---

<div class="post-metadata">

**Author:** ![ayayron](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ayayron/32/10341_2.png) [@ayayron](https://forum.mautic.org/u/ayayron)\
**Post date:** [February 6, 2023, 9:39pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949/4 "2023-02-06T21:39:22Z")

</div>

I’ve read from Slack that it be best to wait until version 5 before using or switching to the composer-based installation.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 8, 2023, 2:38pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949/5 "2023-02-08T14:38:54Z")

</div>

Hi folks,

It seems that for some unknown reason, Packagist did not get the 4.4.6 tag for the Paprika package.

I’ve just logged into Packagist and updated it manually, and it’s now got the tag. Could you take a look and see if this resolves the problem?

Many thanks, and sorry for the issue!

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [February 18, 2023, 7:46pm UTC](https://forum.mautic.org/t/unable-to-switch-to-composer-based-installation/26949/6 "2023-02-18T19:46:32Z")

</div>

Is this working for you?

I experienced a couple of challenges trying to do a fresh install with composer and wasn’t successful.
