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

    Installing mautic 4.x

    Mautic
    2
    7
    456
    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.
    • Grienauer
      Grienauer @girish last edited by

      @girish how can a cloudron user install the latest mautic Version? By default, the 3.x is used and not 4.x on the app Installation overview page.
      thx for clearing this.

      Drupal CMS and Open Source Expert, Mautic Community lead Secretary

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

        @grienauer mautic 4.x package is not working. It was initially blocked by https://github.com/mautic/mautic/issues/10453 which seems to be fixed now but the Cloudron package is still error'ing despite the above fix. Let me look into again, I think we have to report it upstream as separate issue.

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

          To give an update here, I am able to make 4.x work in the LAMP app. So, it seems there is some issue in the Cloudron app packaging. Investigating.

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

            OK, it seems to be some bug in the LDAP module - https://github.com/Monogramm/MauticLdapAuthBundle .

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

              I found the root cause. The LDAP module uses nullable booleans (i.e a bool value can set to null apart from true/false). This worked in mautic 3 but there is some regression around this in mautic 4.x - https://github.com/mautic/mautic/issues/10711 . They merged a changed recently that fixes this at https://github.com/mautic/mautic/pull/10716

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

                https://github.com/cloudron-io/MauticLdapAuthBundle/commit/961666a4c491d5e4f0681229419117f84dff007d is the fix

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

                  So, all our mautic instances updated fine. Some of the themes might have to be removed manually since it seems the config.json changed from mautic 3 to mautic 4.

                  If some pages error, check the logs in System info i.e the Logs view in https://mautic.domain.com/s/sysinfo. You might see an error in the logs like so:

                  [2022-01-25 15:07:18] mautic.CRITICAL: Uncaught PHP Exception Mautic\CoreBundle\Exception\BadConfigurationException: "Theme Blank not configured properly: builder property in the config.json" at /app/code/app/bundles/CoreBundle/Helper/ThemeHelper.php line 673 {"exception":"[object] (Mautic\\CoreBundle\\Exception\\BadConfigurationException(code: 0): Theme Blank not configured properly: builder property in the config.json at /app/code/app/bundles/CoreBundle/Helper/ThemeHelper.php:673)"} []
                  

                  To fix the above, open the file manager:

                  • Go to themes directory
                  • Delete the blank-grapejs and confimme (sic) theme directories. You might have to delete more directories depending on the error messages you see. The above error gives a hint as to what theme is causing a problem ("Theme Blank not configured properly")

                  Thanks @luckow for helping us debug.

                  1 Reply Last reply Reply Quote 4
                  • Referenced by  girish girish 
                  • Referenced by  luckow luckow 
                  • First post
                    Last post
                  Powered by NodeBB