Cronjob - Mautic

Discussion in 'Installation/Configuration' started by stef157, Nov 26, 2025 at 5:00 PM.

  1. stef157

    stef157 Member

    Hello everyone,

    I recently installed Mautic on my ISPConfig instance. Everything works relatively well except for the cronjobs.

    I am getting this error message:

    Code:
    Unable to create the "cache" directory (/var/www/clients/client2/web179/web
    /var/cache/prod).
    It seems that the cronjob is being triggered, because I see a log entry like this:
    Code:
    2025-11-26T15:56:01+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle" now to avoid errors or add an explicit @return annotation to suppress this message.

    When I connect via SSH and run the command manually (
    Code:
    php8.2 bin/console mautic:segments:update
    ), everything works fine.

    The php8.2 binary has been added correctly to the user's jailkit environment.

    Does anyone have an idea of what might be causing this issue?

    Thanks in advance for your help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Are all files in folders /var/www/clients/client2/web179/web owned by user web179 and group client2, and do you have the suexec checkbox enabled (if it's an Apache server)?
     
  3. stef157

    stef157 Member

    About the folder permissions, it's OK - owner bu web179 et client2.
    About suexec, the checkbox is enabled.

    What seems unusual is the line break, it's not due to a lack of space.
     

    Attached Files:

Share This Page