- Issue created by @Manav
- Status changed to Needs review
about 1 year ago 10:19am 16 August 2023 - 🇮🇳India keshavv India
@manav You can remove the patch as module Bootstrap Basic Image Gallery → already released for Drupal 10.
Apologies but something in this procedure is NOT working.
what do you mean "You can remove the patch as module"
To use the demo we are suppose to edit your install stuff so it does not patch? How?
- 🇮🇱Israel jsacksick
I just reviewed this, Kickstart installs properly for me. And we do need the patch as there was no 1.7 version release so it's still needed for the 1.6 version.
Also this issue belongs to the wrong project.
- 🇺🇸United States jasonmacer
I am getting this issue as well.
I am attempting to install Commerce Kickstart from scratch using the following commands:
$ composer create-project -s dev centarro/commerce-kickstart-project portal4 --ignore-platform-req=php <-- ignore is due to square/square having a php requirement of up to 8.2 and i'm running 8.2.12 -->
it starts the install and at the end of this I receive the following error for "Applying patches for drupal/bootstrap_basic_image_gallery"
Could not apply patch! Skipping. The error was: cannot apply patch https://www.drupal.org/files/issues/2023-06-01/3363948-3.patch → in pathces.php line 331: cannot apply patch #3363948 - Fix D10 compatibility issues ...
$ cd portal4
$ composer require drupal/commerce_demo:^3.0 --ignore-platform-req=php <-- same reason as above -->it starts the install and again at the end i get the same error as above stating it cannot install the patch.
Then when i visit domain.com/portal4/web/ i only get the file listing when I then try to go to domain.com/portal4/web/core/install.php i get a 500 error.
When i compare a default drupal composer install to the kickstart one, there seems to be quite a few files missing and I have a feeling it is due to the error not applying the patch and killing the install. OR am i missing something here?
- 🇩🇰Denmark Stizzi
If the error occurs on an Oracle Linux (8) (and Fedora?), one possibility for the error could be this.
Try this in project folder:
Runcomposer install -vvv
Look for:
sh: patch: command not found
If the error message can be confirmed...
Rundnf install --assumeyes --quiet patch
I don't know if
--assumeyes --quiet
are necessary, I don't know anything about this OS, but I would think they can be dispensed with, but it works with them anyway. The problem is not on Ubuntu, but may be other distros are missing this "patch installation". - 🇺🇸United States jasonmacer
@Stizzi is correct, and his suggestion did correct the issue. By running
sudo dnf install -y patch
the issue was resolved and I was able to run both commands.Now i'm just working to resolve the issue of a timeout!
Thank you @Stizzi.
- Status changed to RTBC
about 1 year ago 1:10am 8 November 2023 - 🇺🇸United States jasonmacer
For some reason it did not do the update for the "reviewed & tested by the community" on my last comment.
To reiterate, the installation of the patch (at least on fedora based systems) resolves the issues.
Jason
- Status changed to Closed: works as designed
about 1 year ago 7:40am 8 November 2023