feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

Failure to re-install after recent composer update

Open dompascal opened this issue 3 years ago • 2 comments

Description

After running a recent update via Composer, the previously installed FeedMe plugin is now uninstaled and its not possible to re-install the plugin.

Steps to reproduce

  1. Run composer update to install the latest stable version of FeedMe (4.4.1.1)
  2. Login into the Craft CMS
  3. Navigate to the Settings => Plugins
  4. Scroll down to the FeedMe plugin and the plugin is now set to uninstalled
  5. Select install and Craft returns a Couldnt install plugin error

Additional info

  • Craft CMS version: 3.7.30
  • Feed Me version: 4.1.1.1
  • PHP version: 7.4
  • Database driver & version:
  • Other plugins & versions:

dompascal avatar Jan 20 '22 19:01 dompascal

I am also having this problem, it seems to have occured after I transformed the site into a muli-site setup with both groups and languages.

2022-02-24 13:33:51 [-][5][-][warning][craft\db\mysql\Schema::rollBackSavepoint] Tried to roll back a savepoint, but it does not exist: SQLSTATE[42000]: Syntax error or access violation: 1305 SAVEPOINT LEVEL1 does not exist The SQL being executed was: ROLLBACK TO SAVEPOINT LEVEL1 2022-02-24 13:33:51 [-][5][-][error][craft\db\MigrationManager::migrateUp] Failed to apply Install (time: 0.035s). Output: > create table {{%feedme_feeds}} ...Exception: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'feedme_feeds' already exists The SQL being executed was: CREATE TABLE feedme_feeds (...

I have tried to remove feedme_-lines from mysql, as well as deleting composer.lock, vendor etc and reinstalling the system, nothing helps. Same craft setup as OP

havardlj avatar Feb 24 '22 12:02 havardlj

Wondering if this is an issue with the latest version of Craft? I have a brand new install of Craft CMS 3.7.38 and Feed-me is the first plugin I've tried. It does not install. Here are my specs:

PHP version 8.0.16 OS version Linux 4.15.0-66-generic Database driver & version MySQL 10.4.24 Image driver & version GD 8.0.16 Craft edition & version Craft Solo 3.7.38

laurabennett avatar Apr 13 '22 18:04 laurabennett