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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Installing mautic 4.x

Scheduled Pinned Locked Moved Mautic
7 Posts 2 Posters 525 Views
    • 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.
  • GrienauerG Offline
    GrienauerG Offline
    Grienauer
    replied to girish on last edited by
    #1

    @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

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to Grienauer on last edited by
    #2

    @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
    2
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #3

    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
    2
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #4

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

    1 Reply Last reply
    4
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #5

    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
    2
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #6

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

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

    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
    4
  • girishG girish referenced this topic on
  • luckowL luckow referenced this topic on

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.