Closed jstevens79 closed 1 year ago
I'm having the same issue
Craft version: 4.2.7
Issue solved at my end, after rebuilding my docker containers, it took an old db backup
Mine gives "You need to be on at least Feed Me 4.4.0 before you can update to Feed Me 5.0.4." in devmode
Did you rebooted the database lately? or can you get a database dump from a running environment with the correct project yaml? That did the trick for me to sync that database with my local one.
I saw that my plugins table in the database wasn't showing all the plugins and the 4.4.0 is running on Craft 3, not Craft 4.
I tried starting with a completely new DB and Craft 4 install and still ran into the issue.
I'm also seeing this issue on a recently updated Craft 4 site.
It turns out my site had Feedme installed at one time, and the database tables remained. I removed any reference of Feedme from the project config, and applied, which removed those tables. I was then able to get v5 installed successfully.
EDIT: Actually, I had to manually remove the craft_feedme_feeds table because that still remained, and there was a migration error when installing v5
Hi @jstevens79, thanks for reaching out. I can’t replicate this behaviour on a clean Craft 4 installation. When updating from Craft 3 to 4, which version of Feed Me did you have installed for Craft 3?
Going to close this out because it sounds like it's not a Feed Me-specific issue, but various issues with updating Craft and plugins in general.
If anyone still runs into it, comment back and we'll investigate on a case-by-case basis.
@angrybrad I'm currently getting this error:
Exception 'yii\web\HttpException' with message 'You need to be on at least Feed Me 4.4.8 before you can update to Feed Me 5.3.0.'
in /vendor/craftcms/cms/src/services/Plugins.php:245
after upgrading a site from Craft 3 to Craft 4 where the Feed Me plugin was set to disabled, but updated to 4.8.0 while in Craft 3. This error shows up if I enable the plugin.
In
craft/vendor/craftcms/feed-me/src/Plugin.php
line 64 it says:
public string $minVersionRequired = '4.4.8';
The problem is, 4.4.8 of Feed Me doesn't exist under the github tags, so you can't edit the composer.json down to 4.4.8 to try and sort it. I can't switch back to 4.8.0 as that requires Craft 3, and I can't uninstall the plugin because to do that I have to enable the plugin which causes the error, even on the command line.
Any ideas?
in the database table in plugins
- this is the last time Craft thought it was updated. It was updated to 4.8.0 in Craft 3 via the craft CP but not enabled.
I manually changed this to 4.8.0, and then enabled the plugin (and it didnt error this time), so I could uninstall it :D
Description
Tried updating a Craft 3 instance to 4, but this plugin caused Craft to crash. Tried creating an entirely new install of Craft 4 with a new DB and ran into the same issue when installing this plugin.
The error: "You need to be on at least Feed Me 4.4.2 before you can update to Feed Me 5.0.4".
I tried both installing from the plugin store as well as editing the composer file. Both installed correctly initially, but then changed the version identifier in the Craft DB afterward.
Steps to reproduce