-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Couldn't install plugin" after updating from Craft 2 #4
Comments
Do you see any errors in your error log pertaining to the failed installation? |
|
Thanks. May I have the stack trace that accompanied that error so I can figure out where it is taking place in the code? |
It appears that Craft 3 deletes the settings line in the SQL tables when it upgrades from Craft 2. So LinkVault looks for a line in the database that no longer exists. |
The settings column existed in Craft 3 but has apparently been removed in Craft 3.1 but I am having trouble tracking down a proper upgrade guide on how this should be handled if the plugin needs to make the jump from Craft 2 straight to Craft 3.1. I'm looking into it. |
No worries, we resolved it by adding the settings line back into the database while we installed LinkVault and just dropped it afterwards. At least we got to the bottom of it. Good luck! |
Ok, that is what I was just about to recommend, actually. I'm glad that worked! I'll add some additional checks to the upgrade process for Link Vault so others don't run into the same issue. |
Describe the bug
After updating from Craft 2 site that used LinkVault to Craft 3, I have re-installed the Craft 3 version of LinkVault. The plugin installs perfectly via composer, however, when I click 'install' in the CMS I get "Plugin couldn't be installed".
The text was updated successfully, but these errors were encountered: