Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mautic
  3. Switch to Composer-based installation

Switch to Composer-based installation

Scheduled Pinned Locked Moved Mautic
9 Posts 3 Posters 1.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by
    #1

    Guess what:
    https://docs.mautic.org/en/setup/switch-to-composer

    Up until Mautic 4, users could download Mautic as a ZIP file and install it on any PHP server. [...] Next to that, Mautic recently introduced the Marketplace which isn't compatible with this installation method.
    

    To be compatible with the Marketplace (and because the next major version of Mautic will use Composer as the default method), we should switch to the Composer-based installation in the app package.

    I have no idea what that means in terms of time commitment, but I'm willing to test. Ping me if you need testers 🙂

    Pronouns: he/him | Primary language: German

    girishG 1 Reply Last reply
    2
    • luckowL luckow

      Guess what:
      https://docs.mautic.org/en/setup/switch-to-composer

      Up until Mautic 4, users could download Mautic as a ZIP file and install it on any PHP server. [...] Next to that, Mautic recently introduced the Marketplace which isn't compatible with this installation method.
      

      To be compatible with the Marketplace (and because the next major version of Mautic will use Composer as the default method), we should switch to the Composer-based installation in the app package.

      I have no idea what that means in terms of time commitment, but I'm willing to test. Ping me if you need testers 🙂

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @luckow It already uses composer.

      luckowL 1 Reply Last reply
      2
      • girishG girish

        @luckow It already uses composer.

        luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote on last edited by
        #3

        @girish 7866d78b-5002-4428-99ef-38f99568151e-image.png
        (Information from a Cloudron Mautic.app Backend)

        Pronouns: he/him | Primary language: German

        girishG 1 Reply Last reply
        1
        • luckowL luckow

          @girish 7866d78b-5002-4428-99ef-38f99568151e-image.png
          (Information from a Cloudron Mautic.app Backend)

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @luckow Oh thanks, we do use composer to install the deps. I think they want to install mautic itself via composer.

          micmcM 1 Reply Last reply
          1
          • girishG girish

            @luckow Oh thanks, we do use composer to install the deps. I think they want to install mautic itself via composer.

            micmcM Online
            micmcM Online
            micmc
            wrote on last edited by micmc
            #5

            @girish said in Switch to Composer-based installation:

            @luckow Oh thanks, we do use composer to install the deps. I think they want to install mautic itself via composer.

            What @luckow is referring to is that plugins can be installed by accessing the marketplace from within the Mautic app now.

            The screenshot above is what we can see from inside the app stating we cannot use the market place because it claims we're not using Composer.

            Now, that brings another issue with that Composer thing apparently.

            My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

            Apparently we need to apply that update within Mautic as well so it'd be completed. We receive this notification inside the app.
            mautic update notification.png


            Though when we try to update it seems we cannot do it because files cannot be extracted because of dir permission of all evidences.
            mautic update stopped.png


            We are being told that updating through the UI is deprecated and won't work anymore with version 5, with the notification of the update available.
            update available in mautic.png


            But as we can see, the update you push to Cloudron is not updating the app itself, the app is assuming we're not yet using Composer, and file permission is preventing us from manually applying the update to the app. 😞

            Here's the log after the missed update:

            Aug 16 15:18:28 [Tue Aug 16 19:18:28.687822 2022] [php7:warn] [pid 35418] [client 172.18.0.1:45860] PHP Warning: ZipArchive::extractTo(): Read-only file system in /app/code/app/bundles/CoreBundle/Controller/AjaxController.php on line 522, referer: https://the.mautic.app/s/update
            

            It seems there's some update path that needs to be reviewed. Otherwise, the app works great.

            Ignorance is not an excuse anymore!
            https://AutomateKit.com

            girishG 1 Reply Last reply
            2
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              I see something like this:

              855d783f-8c04-4a7d-8669-440bb152b8cb-image.png

              There are only 4 things listed and all are very old. https://www.mautic.org/marketplace has a lot more but they don't get listed, looks like they are still building it.

              1 Reply Last reply
              0
              • micmcM micmc

                @girish said in Switch to Composer-based installation:

                @luckow Oh thanks, we do use composer to install the deps. I think they want to install mautic itself via composer.

                What @luckow is referring to is that plugins can be installed by accessing the marketplace from within the Mautic app now.

                The screenshot above is what we can see from inside the app stating we cannot use the market place because it claims we're not using Composer.

                Now, that brings another issue with that Composer thing apparently.

                My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

                Apparently we need to apply that update within Mautic as well so it'd be completed. We receive this notification inside the app.
                mautic update notification.png


                Though when we try to update it seems we cannot do it because files cannot be extracted because of dir permission of all evidences.
                mautic update stopped.png


                We are being told that updating through the UI is deprecated and won't work anymore with version 5, with the notification of the update available.
                update available in mautic.png


                But as we can see, the update you push to Cloudron is not updating the app itself, the app is assuming we're not yet using Composer, and file permission is preventing us from manually applying the update to the app. 😞

                Here's the log after the missed update:

                Aug 16 15:18:28 [Tue Aug 16 19:18:28.687822 2022] [php7:warn] [pid 35418] [client 172.18.0.1:45860] PHP Warning: ZipArchive::extractTo(): Read-only file system in /app/code/app/bundles/CoreBundle/Controller/AjaxController.php on line 522, referer: https://the.mautic.app/s/update
                

                It seems there's some update path that needs to be reviewed. Otherwise, the app works great.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @micmc said in Switch to Composer-based installation:

                My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

                I guess you meant 4.4.1. This I can confirm, something is odd...

                micmcM 2 Replies Last reply
                2
                • girishG girish

                  @micmc said in Switch to Composer-based installation:

                  My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

                  I guess you meant 4.4.1. This I can confirm, something is odd...

                  micmcM Online
                  micmcM Online
                  micmc
                  wrote on last edited by
                  #8

                  @girish said in Switch to Composer-based installation:

                  @micmc said in Switch to Composer-based installation:

                  My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

                  I guess you meant 4.4.1. This I can confirm, something is odd...

                  Yes, 4.4.1 is what I meant.

                  Ignorance is not an excuse anymore!
                  https://AutomateKit.com

                  1 Reply Last reply
                  0
                  • girishG girish

                    @micmc said in Switch to Composer-based installation:

                    My installation is running 4.4.0, this is what we see at the bottom of the page inside my Mautic app. Though the update module of my Mautic installation in Cloudron says my version is 4.1.1

                    I guess you meant 4.4.1. This I can confirm, something is odd...

                    micmcM Online
                    micmcM Online
                    micmc
                    wrote on last edited by
                    #9

                    @girish Amazing!

                    The new update has fixed the above described problem and we have been able to update and are now running version 4.4.2 of Mautic.

                    Great job! Thanks.

                    Ignorance is not an excuse anymore!
                    https://AutomateKit.com

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search