Closed (fixed)
Project:
Varbase - The Ultimate Drupal CMS Starter Kit (Bootstrap Ready)
Version:
9.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Feb 2021 at 10:07 UTC
Updated:
10 Jun 2022 at 14:34 UTC
Jump to comment: Most recent

Comments
Comment #4
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #12
rajab natshahComment #18
rajab natshahComment #19
rajab natshahComment #20
rajab natshahComment #22
aanjaneyam commentedSorry for commenting on a closed issue but I cannot find any relevant information elsewhere.
I have been using paragraphs, bootstrap_layout and pages modules (as they originally came configured with varbase) since I first installed varbase and built a site on it. I have never enabled varbase_layout_builder module on my site. Now I want to make a move to varbase_layout_builder instead of paragraphs since layout_bulider system has now improved quite a lot and could give better site building experience.
I believe if I did not ever enable varbase_layout_builder and layout_builder modules on my site after freshly installing varbase distribution then I can just upgrade varbase_layout_builder from 9.0 to 10.0 and enable it to use for the first time. Is this correct?
If the above is correct that what steps need to be taken to update varbase_layout_builder from 9.0 to 10.0.
Or I could just change
"drupal/varbase_layout_builder": "~9.0",To"drupal/varbase_layout_builder": "~10.0",in composer.json and run thecomposer updatecommand to achieve the goal.Would the above update of varbase_layout_builder and layout_builder modules affect the functioning of the site anyhow?
Comment #23
rajab natshahThanks, Aanjaneya for following :)
It's ok to post for sure, Maybe this could be moved to the documentation of the upgrade process in
Yes, you can do that for sure.
Updated the documentation page
https://docs.varbase.vardot.com/developers/updating-varbase/version-upda...
Comment #24
aanjaneyam commentedHi Thanks for the reply,
I followed the recommendation of removing
drupal/varbase_layout_builder": "~9.0"from root composer.json and running composer update. After updating I got some styleguide error which I did not note but it disappeared after running drush cr. Now when I went to enable the varbase_layout_builder I am some how getting the following errorThe core layout_builder module is now enabled but the modules varbase_layout_builder and Varbase Landing page (Layout Builder) are not getting enabled.
Comment #25
aanjaneyam commentedI ran the composer update the 2nd and the 3rd time more times. It installed styleguide in the second attempt but missed drupal/lb_ux. It installed drupal/lb_ux on the 3rd attempt. Now I get below permanent error
I thought it only happens if one had enabled varbase_layout_builder 8.0 or 9,0 before, which I did not.
Comment #26
aanjaneyam commentedManually ran the following commands to install the possibly missing module bootstrap_layout_builder module to try to overcome the blb_layout entity issue
Then ran
Thereafter enabled the remaining module Varbase Landing page (Layout Builder). Now everything recommended appears to be enabled.
Hope it will work as intended.
Comment #27
aanjaneyam commentedFinally, I enable layout on varbase landing page (Layout Builder by checking both boxes "Enable Layout Builder" and "Allow Override For Each Entity item". Add section button was not working on the manage layout page. So I disable "Allow Override For Each Entity item" and click save. After clicking save I now get the following
Does not get resolved even after running drush cr as worked before.
Looks like I will have to revert from backup and find resolutions for so many issues.
Comment #28
aanjaneyam commentedLooks like there may be some steps/update logic missing in varbase profile when we upgrade from varbase_layout_builder (as opposed to fresh install of varbase from scratch).
Firstly It does not install/update all the required modules like styleguide, blb_layout, lb_ux in one go when we run composer update after removing
"drupal/varbase_layout_builder": "~9.0"from root composer.json.Secondly when we enable varbase_layout_builder and varbase layout builder (landing page) it does not enable/install all the needed modules and configuration needed for the intended setup. Manully installing required modules possibly does not bring in the required configurations and ends up in a broken set-up.
How should we proceed? There are so many dependent modules for layout builder setup. possibly enabling all of them at once with a single drush command may help? What should be the drush command then? drush en mod1 mod2 mod3 mod 4 mod5 .....
Comment #29
rajab natshahYou are right Aanjaneya.
Extra steps are needed.
~8.0or~9.0were not enabled )Comment #30
aanjaneyam commentedSorry for asking but I was wondering if we could have a step by step directions for the following two steps: