Needs review
Project:
OpenScholar
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2010 at 16:49 UTC
Updated:
11 Dec 2010 at 12:45 UTC
Jump to comment: Most recent file
I received the following error messages when trying to install SCHOLAR-2-0-BETA8 using Aegir:
The external command could not be executed due to an application error.
WD php: Table 'site_577.cache_views' doesn't exist query: DELETE FROM cache_views in /var/aegir/SCHOLAR-2-0-BETA8/sites/all/modules/contrib/calendar/calendar.install on line 105.
WD php: Table 'site_577.cache_views' doesn't exist query: DELETE FROM cache_views in /var/aegir/SCHOLAR-2-0-BETA8/sites/all/modules/contrib/calendar/calendar.install on line 55.
Any ideas would be helpful. Thanks - Jerry
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | activity.patch | 1.01 KB | omega8cc |
| #7 | imagefield_crop.patch | 541 bytes | omega8cc |
| #7 | openscholar.profile.patch | 2.99 KB | omega8cc |
| #7 | openscholar_projects.profile.patch | 3.22 KB | omega8cc |
| #3 | 888086-module_dependency-1.patch | 4.88 KB | redndahead |
Comments
Comment #1
redndahead commentedAlright looking at install profiles it seems the modules have to be installed in requirement order. Currently it's just alphabetical. I'll look at creating a patch that puts them in the right order.
Comment #2
redndahead commentedHere is the patch. There is one module permissions_api that is in the install profile, but I don't think it's in the download. Maybe we can remove it?
Comment #3
redndahead commentedUh I mean here is the patch.
Comment #4
ferdi commented@redndahead, your _openscholar_core_modules() looks good. I'm not sure about the changes in _openscholar_scholar_modules(). Almost every module there depends on "vsite". i.e. I got an error "function vsite_get_vsite() not found ... in scholar_front.module , line 11".
Did you do any testing with aegir ?
thanks!
Comment #5
redndahead commentedWeird because it says vsite depends on vsite_taxonomy, vsite_widgets
And the modules that depend on vsite are vsite_design, vsite_domain and vsite_ga
Maybe the dependencies are wrong?
Also it seems weird that vsite depends on scholar_links Is there a reason for this?
Comment #6
ferdi commentedJust committed this , with some changes. It would be great if someone can test
http://drupal.org/cvs?commit=436578
Comment #7
omega8cc commentedI'm attaching 4 patches we are using to fix all issues with provisioning OpenScholar sites in Aegir. I hope it works also for standalone installs, but we didn't test it yet. At least for Aegir, those patches makes it fully compatible.
Comment #8
omega8cc commented@ferdi
Please consider reverting your commit, since our patches resolve all issues, however now it will not apply probably to the HEAD after your change. We had to patch 2 modules and both install profiles, using your latest version 2.0-beta8-3.1. It was not enough to change the order of modules.
Thanks
Comment #9
omega8cc commentedI should mention, that the patch for imagefield_crop is by mrfelton, taken from http://drupal.org/node/656280.
Comment #10
ferdi commentedThanks @omega8cc
As we discussed in #openscholar it's better to have upstream patches to the corresponding project issue queue.
We have made quite some changes in the install profile. There is only one install profile for both personal / projects version of OS. Aegir testing is needed.
Comment #11
ferdi commentedWe dont use aegir so it's hard for me to test it; patches are more then welcome
Comment #12
NeoID commentedI can at least conform that it doesn't work. It starts to install, but never finishes.
Are the patches omega8cc mentions applied?
Comment #13
NeoID commentedMy best bet is that the new "setup chooser choice" is the problem.
In the previous version, aegir asked if you want to setup a personal site or a project site. However, as the choice now is at the end of the install, it looks like aegir doesn't like it and hangs on that point...
Comment #14
ldweeks commentedI'm getting this exact same error on a custom installation profile that I've written. Have you guys figured out anything further? I'll post back if I find anything...
Comment #15
ldweeks commentedI fixed it by making sure that views got installed before calendar. I'm pretty sure that's the issue.