Your software
My Mautic version is: 7.2.2
My PHP version is: 8.4
My Database type and version is: MariaDB 11.4
Your problem
My problem is: Unable to enter site and complete installer steps / database connection after running composer recommended project.
“mautic The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator. after installing”
These errors are showing in the log:
[2026-10-31T19:01:56.363798+00:00] mautic.ERROR: Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template (“The file /mysite.com/mautic/var/sass/app.output.css doesn’t exist, run php bin/console sass:build”)
Tried to run sass:build got error.
Downloaded Mautic 7.2.2 zip and copied over missing /var/sass and /var/dart-sass folders
Ran sass:build and it completed.
Got 504 Gateway Time-out, checked log again:
[2026-10-31T19:20:09.085773+00:00] app.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("These files are missing: /mysite.com/mautic/node_modules/mousetrap/mousetrap.js, /mysite.com/mautic/node_modules/jquery/dist/jquery.js, /mysite.com/mautic/node_modules/jquery-form/src/jquery.form.js,
There is no /mautic/node_modules directory created after running the composer installer, nor does this directory exist in the zip file download either.
It would seem that the installer is missing files/directories that are supposed to be there.