I keep getting this:

Find command files for phase 3 (max=)
-
Undefined index: db_prefix install_8.inc:105
-
Undefined variable: config install_8.inc:112
-
Undefined variable: config install_8.inc:113

On this install like https://www.drupal.org/project/brainstorm_profile where all files are in one directory I get the above errors and sites cannot be installed.

When I use composer and the install is in a subdirectory it seems to work fine.
This is an example where the install is placed in a 'html' directory when composer is used:
https://www.drupal.org/project/social

Workaround:
I had to move all profile modules, themes, libraries to the regular library, theme, and module folder.

Comments

SocialNicheGuru created an issue. See original summary.

colan’s picture

Status: Active » Postponed (maintainer needs more info)

Is this now solved by #2838489: Support drupal being in a subdirectory of a git repo? Looks like that would fix the OpenSocial problem.

jon pugh’s picture

Status: Postponed (maintainer needs more info) » Fixed

Enable "Git Integration" at Admin > Hosting (admin/hosting)

When you add a platform, look for "Repository docroot" and make sure to enter the valid location in your git repo.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

socialnicheguru’s picture

but i wasn't using a git repo

colan’s picture

Status: Closed (fixed) » Active

Just ran into this myself. I don't think Git's relevant here either.

Is anyone else seeing this earlier in the debugging output?

Calling hook drush_db_pre_provision_install [1.83 sec, 9.92 MB]                                                                      [debug]
Executing: mysql -u intntnllyInvalid -h 'localhost' -P '3306' -e "SELECT VERSION\(\)"
  ERROR 1045 (28000): Access denied for user 'intntnllyInvalid'@'localhost' (using password: NO)
socialnicheguru’s picture

yes @Colan

tejasvaidya01’s picture

I am also getting the same 'Undefined variable' error and same mysql error on debug.(Using 7.x-3.190 and platform Drupal 9.3.22)

@colan Did you find a fix for this?