Closed leonsgithub closed 6 years ago
Are you on the latest version of mautic (2.13.0)?
Do the following:
composer install
from the command lineThanks it works I wrote this script to automate this for next upgrade ``#!/bin/bash MT_DIR=/var/www/mautic;
rm $MT_DIR/composer.json rm $MT_DIR/composer.lock rm $MT_DIR/vendors -rf rm $MT_DIR/app/cache/* -rf
cd $MT_DIR wget https://raw.githubusercontent.com/mautic/mautic/2.13.1/composer.json
composer install chown -R www-data:www-data $MT_DIR
@leonsgithub This is not a preferable approach. Because if you remove the composer.json the rss feed plugin won't be linked / updated anymore. You should be able to update mautic from the GUI or CLI without any issue now.
I think installed mautic from the download on the mautic website (not through github). That download is missing the composer.json. So now you have it it should be fine.
Hi Chris,
I was happy to see that you wrote this module. But when i tried to install it on the server it broke the mautic installation. I'm a bit of a noob so i could not undo the install of the email bundle and ended doing a bit of a reinstall.
This was the output:
root@bmx:/var/www/mautic# composer require raow/mautic-rss-to-email-bundle Using version ^1.0 for raow/mautic-rss-to-email-bundle ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev)
Removing willdurand/oauth-server-bundle (dev-master)
Installing mautic/composer-plugin (1.0.0) Loading from cache
Installing simplepie/simplepie (1.5.1) Loading from cache
Installing raow/mautic-rss-to-email-bundle (v1.0) Loading from cache
simplepie/simplepie suggests installing mf2/mf2 (Microformat module that allows for parsing HTML for microformats) Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead. Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead. Writing lock file Generating autoload files