Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Mar 2012 at 17:18 UTC
Updated:
29 May 2012 at 16:20 UTC
Jump to comment: Most recent file
When I attempt to use site install, I get the following error:
drush si panopoly --db-url=mysql://some-db-credentials --account-pass=admin
Fatal error: Call to undefined function apps_profile_apps_select_form_panopoly() in /Applications/MAMP/htdocs/panopoly-7.x-1.0-beta1/includes/install.core.inc on line 473
Note that this is after moving solrphpclient to sites/all/libraries/SolrPhpClient as suggested.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | panopoly-command-line-install-1491258-12.patch | 1.32 KB | David_Rothstein |
| #11 | panopolyaegirfix-1491258-11.patch | 872 bytes | discipolo |
Comments
Comment #1
aaronbaumanreproduced this.
bumped to critical as this is preventing install completely.
Comment #2
aaronbaumanSeems like this is an issue only for non-interactive install (e.g. aegir / provision).
Comment #3
omega8cc commentedWe are debugging it already and will report on the progress: #1500120: Add Open Academy to Octopus.
Comment #4
moshe weitzman commentedGot this too.
Note that site-install can pass params on the CLI to the installer so one could potentially enable apps and such from Drush. Would be cool if some examples of this were in the README for panopoly. You could conceivably ship with a drush commandfile containing a shell alias (or a new command) that issues an option laden instance of site-install.
Comment #5
BManuel commentedSubscribing
Comment #6
ashooner commentedJust to clarify: the problem is Panopoly requiring an interactive install, which does not take place in Aegir? Is there any additional patching required on the Provision side beyond #1088472: Introduce simple switch for changing write permissions to support apps (Drupal App Store) with plugin manager disabled? Would Moshe's suggestion be appropriate/realistic to add to the Panopoly profile?
Comment #7
omega8cc commented@ashooner
There is nothing to be done on the Provision or Drush side.
This needs to be fixed in the profile itself, as it was done in the past for other profiles, so they just skip their interactive extra forms/requirements, using some sane defaults instead with simple
if{} else{}like below:Comment #8
BManuel commentedDoes the Panopoly maintainers have an ETA for this fix?
Comment #9
jeremiahtre.in commentedYeah, dude.
Running into this isn't a huge deal, because we're going to have to get used to bringing up 30+ multisites with Panopoly at our university. I think we'll be able to set it up in our sleepz (how saddening).
However, how cool to just paste-in:
drush site-install[...]!We're totally for some more automation up-in-hur.
Comment #10
populist commentedI don't have a use case that involves installing this with the CLI, but happy to add this to the list of things to investigate and improve for the next version!
Comment #11
discipolo commentedso this patch should just skip everything without setting defaults when installing via drush si or aegir?
Comment #12
David_Rothstein commentedI don't think I understand the above patch or why it would be a good idea to define an entirely different code path for UI-based and command-line installs.
How about the attached patch instead? It works for me; after applying the patch and running "drush site-install panopoly" everything installs fine.
A couple of caveats:
Comment #13
webchickI can confirm this fixes the problem w/ Drush installs. What you're left with though ain't pretty. 403 error on the home page, and if you attempt to install the "basic page" app that degrades to a WSOD. I think David's right though that these are upstream issues. And still, better than a fatal error during install. :)
Comment #14
populist commentedAlright - I went ahead and committed David's patch from #13 and had previously made a change to default the theme_default to the ever popular Bartik. This now allows Panopoly to complete the Drush install.
As mentioned, there are still some issues with the Apps module and default content so I changed the issue to reflect that need. I will also check into the Apps integration since I know a fair bit about that to make sure that process works smoothly.
Comment #15
populist commentedWe should now be good to go with the Apps module as per #1561652: Allow Apps to Be Installed with Drush During Site Install which has been pushed to the Panopoly 7.x-1.x-dev branch.
Comment #16
rowbotony commentedCan someone instruct me on how to download a panopoly-7.x-1.x-dev.tgz? I've follwed the version control/git instructrions and am presented with a panopoly directory with the following files:
but when I
drush make build-panopoly.makedrush asks me "Make new site in the current directory?" I say (y) but end up with the same files, no drupal core files are created. I've also tried todrush make --tar build-panopoly.make panopoly-devno tarball is made... guess I'm just not understanding these make files that are included with panoply git.Sorry if this is an obvious n00b question, but I'd really like to get Panoply in to my Aegir development environment, and I think it can happen now on the panoply-7.x-1.x-dev branch, I just can't figure out how to build it :/
Thank you,
--Tony
Comment #17
jeremiahtre.in commentedTony,
I know you're trying the 7.x-1.x-dev download, but maybe give the 7.x-1.0-beta3 package a shot. It looks like the same commit that enables drush support is within it.
I know when I tried the dev it wasn't working for me.
Additionally, #1565996: Panopoly Search Can Block Install - Web or Drush might help you. Someone posted a quick solution for drush/Aegir, in response to my issue.
Peace!
jtreinau
Comment #18
rowbotony commentedThanks for the info about the commit in beta3. I just tried beta3 again this morning but am still getting Site install errors with Aegir. The Aegir Platform installs properly, but the Site install fails with app errors. I'm using Aegir 1.8 and Drush 4.5.
I think I'll try to manually create a site and then import it to Aegir, that should work fine until this apps issue is resolved maybe in beta4 or Aegir 1.9. Thanks again! --Tony
Comment #19
jeremiahtre.in commentedTony,
Sorry to hear that!
http://drupal.org/node/1565996#comment-5986720 may help! It essentially tells
sedto edit in place the.infofile.Now, the user's personal fix didn't clearly articulate whether this was done as a two-part command, or all on one line. Not sure how clever, or verbose, they were.
I think partially what's holding back this smooth install (for graphical and command) is the dependency on the Search app. Albeit, it would be fine to be left in, should the Search app install properly.
Happy to help,
jtreinau
Comment #20
rowbotony commentedYES!! http://drupal.org/node/1565996#comment-5986720 worked! Thank you!!
Comment #21
jeremiahtre.in commentedHeck yeah!
Glad to hear it,
jtreinau