Installing & Running Mautic 7 on Dreamhost Server Not Yet Possible

Mautic CRM Marketing Automation Logo

It was an exciting prospect with Mautic 7 so I thought I’d try it. Unfortunately the database version requirements are much newer than Dreamhost sites come with with their standard plan.

Upon running: $ bin/console mautic:install https://your.marketingautomation-domain.com/mautic/
Mautic Install
==============
Parsing options and arguments…
0 – Checking installation requirements…
Missing optional settings:
  – [0] The <strong>memory_limit</strong> setting in your PHP configuration is lower than the suggested minimum limit of %min_memory_limit%. Mautic can have performance issues with large datasets without sufficient memory.
  – [1] Configure <code>zend.assertions = -1</code> in php.ini for production environments for faster and more stable execution.
Continue with install anyway? [yes/no]yes
Ready to Install!
1 – Creating database…
Errors in database configuration/installation:
  – [error] Your database version (8.0.37-0ubuntu0.20.04.3) is too old for Mautic to work correctly. Supported versions are MySQL 8.4.0 (or higher) and MariaDB 10.11.0 (or higher).
Install canceled

Solution: checkout Mautic 6.0 for now. $ git checkout 6.0 and then try the following if it hangs when you log in:

Mautic 6.0 hanging during login is often caused by an outdated cache, database issues, or problems with the Mautic installation itself. To troubleshoot, clear the cache, check for database migrations, and examine the logs. If those don’t help, try manually updating the files. [1, 1, 2, 2, 3, 3]

Troubleshooting Steps:

  1. Clear Cache:
    • Run php bin/console cache:clear to remove outdated cached data. [1]
  2. Check for Updates:
    • Use php bin/console mautic:update:find to see if there are any available updates. [1]
  3. Check Database Migrations:
    • Run php bin/console doctrine:migration:status to find any outstanding database migrations. [1]
    • If migrations are pending, ensure a database backup before running php bin/console doctrine:migration:migrate. [1]
  4. Check Logs:
    • Access the Mautic logs through the system info page (cog icon &gt; System Info &gt; Log) or directly in the [mautic_root]/app/logs folder. [3]
  5. Manual File Update:
    • If other methods fail, manually back up the Mautic files and update them. [1]

Additional Tips:

  • Restart Services: If you’re running Mautic on a server, restarting services like Apache or Nginx can sometimes resolve the issue.
  • Browser Console: Check the browser’s developer console for any errors that might be displayed when trying to log in.
  • Github Issues: Search Mautic’s GitHub repository for similar issues and solutions.
  • Report the issue: If you cannot resolve the problem, consider reporting it to the Mautic community or on Mautic’s GitHub. [1, 1, 2, 2, 4]

Leave a Reply 0

Your email address will not be published. Required fields are marked *