commit ce49b12dafeba8aa9716b8dbdba1faf9b2798fa5 Author: alexandre_gain_mt3s <2+alexandre_gain_mt3s@noreply.git.mt3.solutions> Date: Sat Nov 21 11:34:54 2026 +0000 Add Home diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..a899630 --- /dev/null +++ b/Home.md @@ -0,0 +1,81 @@ + + +

Installing the MT3S Marketing Program Bundle on Mautic

+

Package: mt3s/mautic-marketing-program-bundle +Repository: https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle +Tested with: Mautic 7.x (Composer-based install), release v1.0.0 (pre-release, needs wider testing)

+

Prerequisites

+ +
+

Run all commands as the web server user (usually www-data), not as root. Running as root creates root-owned files and cache that break the Mautic UI and trigger Git "dubious ownership" errors on later updates.

+
+
# Open a shell as the web user from the Mautic root directory
+cd /var/www/html
+su -s /bin/bash www-data
+
+

Installation steps

+

1. Declare the Git repository in Composer

+

The package is not on Packagist, so Composer must be told where to find it:

+
composer config repositories.mt3s-marketing-program vcs \
+  https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle.git
+
+

2. Require the plugin

+
composer require mt3s/mautic-marketing-program-bundle:^1.0
+
+

Composer installs the plugin into docroot/plugins/MT3SMarketingProgramBundle and runs Mautic's post-install scripts (asset build, cache warmup). This can take a few minutes. The Sass deprecation warnings in the output come from Mautic core and are harmless.

+

3. Register the plugin in Mautic

+
php bin/console mautic:plugins:reload
+
+

4. Run database migrations (if the plugin ships any)

+
php bin/console doctrine:migrations:status
+php bin/console doctrine:migrations:migrate --no-interaction
+
+

5. Clear the cache

+
php bin/console cache:clear
+
+

6. Verify in the UI

+
    +
  1. Log in to Mautic as an administrator.
  2. +
  3. Go to Settings → Plugins.
  4. +
  5. Confirm MT3S Marketing Program Bundle is listed. Open it and publish or configure it if required.
  6. +
+

Then check that the menu items, permissions (Settings → Roles) and any new objects provided by the plugin are visible.

+

Updating to a new version

+
composer update mt3s/mautic-marketing-program-bundle
+php bin/console mautic:plugins:reload
+php bin/console doctrine:migrations:migrate --no-interaction
+php bin/console cache:clear
+
+

To pin a specific version, require it explicitly, e.g. composer require mt3s/mautic-marketing-program-bundle:1.0.0. Each update triggers Mautic's asset regeneration, so schedule it off-peak.

+

Rolling back

+
composer require mt3s/mautic-marketing-program-bundle:<previous-version>
+php bin/console mautic:plugins:reload
+php bin/console cache:clear
+
+

If the new version added database migrations, roll them back first (or restore a DB backup). Always back up the database before updating.

+

Troubleshooting

+ +Symptom | Cause | Fix +-- | -- | -- +found ...[dev-main] but it does not match the constraint ^1.0 | No semver tag visible to Composer | Check that tag v1.0.0 exists on the repo, then run composer clear-cache and retry +detected dubious ownership in repository | Plugin folder owned by a different user than the one running Composer | Run Composer as www-data, or delete docroot/plugins/MT3SMarketingProgramBundle and reinstall +Permission errors or blank pages in the UI after install | Composer or console was run as root | chown -R www-data:www-data docroot/plugins docroot/assets var then cache:clear as www-data +Plugin not listed in Settings → Plugins | Plugins not reloaded or cache stale | Re-run mautic:plugins:reload and cache:clear +Composer cannot access the repo (401/403) | Repository private or credentials missing | Add credentials: composer config --global http-basic.git.mt3.solutions + + +

Notes

+ +

A few optional additions for the wiki, which I can draft if useful: a Docker-specific variant (commands wrapped in docker exec -u www-data), a short "what this plugin does" section, or a compatibility matrix once more Mautic versions are tested.

+ + + \ No newline at end of file