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. Clearing mautic cache

Clearing mautic cache

Scheduled Pinned Locked Moved Mautic
4 Posts 2 Posters 2.1k Views 2 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.
  • rmdesR rmdes

    As often asking the right question push the good answers to arise :

    the plugin directory NEED to be called : GrapesJsBuilderBundle
    so when you wget https://github.com/Webmecanik/plugin-grapesjs-builder/archive/mautic3x.zip
    make sure it has the correct name.

    I'm not sure how to clear the cache on Mautic but if you restart the app on cloudron it does the job
    and then the GrapeJS plugin appear just fine in the plugin list :
    122f4abf-5244-4b36-b7f9-08549223088f-image.png

    you can then activate it
    d4fb9916-fb7c-460d-a6ec-7bd63ca93c9c-image.png

    And voila !

    edit 2 : how to clear the cache on Mautic 3 ?
    php app/console cache:clear in the /app/code directory

    edit 3 : back to strange lands, it seems the plugin is visible, activated, I don't see any log errors but I can't see the MJML/GrapeJS editor interface (like I see on my other Mautic instance) I'm stuck with the good old Mautic editing interface I have no idea where to go from there, I'll keep digging !

    mdreiraM Offline
    mdreiraM Offline
    mdreira
    translator
    wrote on last edited by
    #1

    @rmdes said in New Email Builder:

    php app/console cache:clear in the /app/code directory

    Is not working for me today, terminal show: "Could not open input file: app/console"

    I need to clear mautic cache, but I cant understand how to do it in cloudron.

    girishG 1 Reply Last reply
    0
    • mdreiraM mdreira

      @rmdes said in New Email Builder:

      php app/console cache:clear in the /app/code directory

      Is not working for me today, terminal show: "Could not open input file: app/console"

      I need to clear mautic cache, but I cant understand how to do it in cloudron.

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

      @mdreira Per https://docs.mautic.org/en/troubleshooting, you have to delete the cache directory. In Cloudron, the cache directory can be cleared as rm -rf /run/mautic/var/cache/* . Restarting the app also clears the cache.

      To use the CLI, you have to use it like below.

      sudo -E -u www-data php /app/code/bin/console
      
      mdreiraM 1 Reply Last reply
      1
      • girishG girish

        @mdreira Per https://docs.mautic.org/en/troubleshooting, you have to delete the cache directory. In Cloudron, the cache directory can be cleared as rm -rf /run/mautic/var/cache/* . Restarting the app also clears the cache.

        To use the CLI, you have to use it like below.

        sudo -E -u www-data php /app/code/bin/console
        
        mdreiraM Offline
        mdreiraM Offline
        mdreira
        translator
        wrote on last edited by
        #3

        @girish Thank you!

        girishG 1 Reply Last reply
        0
        • mdreiraM mdreira

          @girish Thank you!

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

          @mdreira I tried this just to make sure 🙂 and it does seem to work.

          root@18fbc0ef-26ec-4e20-af56-cafd68111536:/app/code# sudo -E -u www-data php /app/code/bin/console cache:clear
          
           // Clearing the cache for the prod environment with debug false                                                        
          
                                                                                                                                  
           [OK] Cache for the "prod" environment (debug=false) was successfully cleared.                                          
                                                                                                                                  
          
          1 Reply Last reply
          2
          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