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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Switch to Composer-based installation

    Mautic
    3
    9
    398
    Loading More Posts
    • 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.
    • luckow
      luckow translator last edited by

      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

      girish 1 Reply Last reply Reply Quote 2
      • girish
        girish Staff @luckow last edited by

        @luckow It already uses composer.

        luckow 1 Reply Last reply Reply Quote 2
        • luckow
          luckow translator @girish last edited by

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

          Pronouns: he/him | Primary language: German

          girish 1 Reply Last reply Reply Quote 1
          • girish
            girish Staff @luckow last edited by

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

            micmc 1 Reply Last reply Reply Quote 1
            • micmc
              micmc @girish last edited by 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.


              https://marketingtechnology.agency
              For cutting edge web technologies

              girish 1 Reply Last reply Reply Quote 2
              • girish
                girish Staff last edited by

                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 Reply Quote 0
                • girish
                  girish Staff @micmc last edited by

                  @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...

                  micmc 2 Replies Last reply Reply Quote 2
                  • micmc
                    micmc @girish last edited by

                    @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.


                    https://marketingtechnology.agency
                    For cutting edge web technologies

                    1 Reply Last reply Reply Quote 0
                    • micmc
                      micmc @girish last edited by

                      @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.


                      https://marketingtechnology.agency
                      For cutting edge web technologies

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB