-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Message to change schema version from 7101 to 7103 when upgrading D7 site with paragraphs to Backdrop 1.21.1 on Pantheon hosting #119
Comments
@irinaz Could you test the PR I added here? |
Hi @laryn, thank you so much for working on this issue. It is definitely helping, but still see some problems. Here are my steps
This time I can complete the update but I still see the following errors
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.status' in 'field list': SELECT revision. Seems that it is related to EntityPlusController. Happy to provide more details or give you full access to this testing instance on Pantheon. |
Hi @irinaz . So, the issue happens because Backdrop's Paragraphs added a new database column to the table Apparently, in your installation, this hook_update_N has not been successfully ran, meaning that the column was never added. @laryn fixed a |
@argiepiano , thank you so much, it is amazing to get help instantly! Yes, I updated code in my instance of paragraph module with new code from this commit 53f3d4c . I do not see the problems that I had before I applied this patch, but I see next iteration of errors. Thanks again!! |
Thanks, @irinaz . EntityPlusController is just doing what Paragraphs is telling it to do - basically a database query that includes a column (status) that doesn't exist in your database. So the issue is not with Entity Plus, but rather with the upgrade itself. I could take a quick look at your test site if you want to give me access - I still have about 30 minutes of sanity before bed time haha |
Just a quick note in case @laryn takes a look at this tomorrow: I did a test-drive with a very simple Drupal site that used Paragraphs (I was sure to create a Paragraphs bundle and create some content with it). I applied #122 and proceeded to do the upgrade to Backdrop. Things worked for me. Granted, the site was very simple. The column As I mentioned above, while the error mentions EntityPlusController, the issue stems from the fact that the database table |
Thanks a lot - I am using PHP 7.2 which is set in pantheon.yml file. |
@irinaz I'm shutting down for the night but if you can still see the site, does the admin menu have a red circle indicating that there are still database updates that need to run? (Or check /core/update.php?op=info) |
@laryn thank you! I broke the site completely for now, I will start tomorrow and I will double check that I run db updates - I might have missed this step. I will post updates and links here when I can repeat all steps again. thank you and good night!! |
Okay, sounds good! |
Hi, I am upgrading D7 site with paragraphs to Backdrop 1.21.1 on Pantheon hosting, and I am getting the following error
paragraphs module can not be updated. Its schema version is 7101. Updates up to and including 7103 have been removed in this release. In order to update paragraphs module, you will first need to upgrade to the last version in which these updates were available.
I am not sure to which version I need to upgrade.
I also get the following errors
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pantheon.cache_entity_paragraphs_item' doesn't exist: TRUNCATE {cache_entity_paragraphs_item} ; Array ( ) in backdrop_flush_all_caches() (line 8584 of /code/core/includes/common.inc).
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pantheon.cache_entity_paragraphs_item' doesn't exist: TRUNCATE {cache_entity_paragraphs_item} ; Array ( )
The text was updated successfully, but these errors were encountered: