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

Clearing mautic cache

Scheduled Pinned Locked Moved Mautic
4 Posts 2 Posters 974 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.
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    replied to rmdes 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
  • girishG Offline
    girishG Offline
    girish Staff
    replied to mdreira 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
  • mdreiraM Offline
    mdreiraM Offline
    mdreira translator
    replied to girish on last edited by
    #3

    @girish Thank you!

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to mdreira 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

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