-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unknown column 'langcode' (before Drupal database has been upgraded) #45
Comments
Should be fixed |
@docwilmot , I installed most recent version of D2B via project installer and I have another site that shows 'langcode' error in redirect table. I can send failing db to you directly for testing. |
@docwilmot and @irinaz I had this problem earlier this week on a site, the upgrade failed. I disabled the redirect module and then the upgrade worked. This is the same site in which I go the "no pending updates" problem and then uploaded the database directly. I will try this upgrade again with same database and see if the problem is still there for me. |
I made a change earlier that I expected would fix this, but I guess it didn't. So yes please send a sample db if you can, and also post the full error and at what point it actually occurs. |
@docwilmot , can this be related to backdrop/backdrop-issues#5496 (comment) ? I do not know which version of db some of sites are using when I work on an instance provided by a customer. |
Trying upgrade again and getting this error:
|
FYI - I plan to share the database with @docwilmot if it would be helpful. |
Chatting with @docwilmot in Zulip right now. Will summarize what I've found here. For me, I'm getting this error if the Redirect module was enabled on the Drupal 7 site before exporting the database. If I disable the redirect module before exporting database, I don't get this error. I did try, for potentially the wrong reasons, the following steps.
Again, if I disable redirect module before exporting database, I don't see this problem - at least regularly. I'm not sure if Redirect module is involved when Irina is doing this. If I see this error again, with the Redirect module involved, I'll report it here. For me, this error does kill the upgrade process and require one to start over from scratch. |
I am getting exactly same error on Pantheon 10.4.25-MariaDB-log Error message
|
@irinaz Your error message also mentions the Redirect module. I assume that this might be an error in the upgrade code for the redirect module? Does that make sense? |
@docwilmot , I was able to resolve this issue in the following steps
Can we add this workflow (deleting existing json files) to D2B? @hosef , thanks a lot for suggesting this during one of User Group meetings. |
Have we considered using a second database to hold the un-upgraded Drupal database until after it has been upgraded to Backdrop? We could also have alternate config storage, and keep the two in parallel until after the update has completed. Then switch the site from the operational Backdrop site over to the just-upgraded version. (or even continue to run them as multi-site) |
Yes, there was a detailed discussion about second database, and it is not an option for site builders. Alternative configuration storage idea sounds super good. |
On some sites during upgrade we see message about 'langcode' in url_alias table. Similar bug filed already in core issue
D7 upgrade: Error in upgrade related to "redirect" and "user_roles" upgrade #6367
The text was updated successfully, but these errors were encountered: