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

    Clearing mautic cache

    Mautic
    2
    4
    855
    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.
    • mdreira
      mdreira translator @rmdes last edited by

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

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

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

          @girish Thank you!

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

            @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 Reply Quote 2
            • First post
              Last post
            Powered by NodeBB