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

Comments

redndahead’s picture

Alright 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.

redndahead’s picture

Assigned: oneguru » Unassigned
Status: Active » Needs review

Here 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?

redndahead’s picture

StatusFileSize
new4.88 KB

Uh I mean here is the patch.

ferdi’s picture

@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!

redndahead’s picture

Weird 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?

ferdi’s picture

Just committed this , with some changes. It would be great if someone can test
http://drupal.org/cvs?commit=436578

omega8cc’s picture

StatusFileSize
new3.22 KB
new2.99 KB
new541 bytes
new1.01 KB

I'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.

omega8cc’s picture

@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

omega8cc’s picture

I should mention, that the patch for imagefield_crop is by mrfelton, taken from http://drupal.org/node/656280.

ferdi’s picture

Thanks @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.

ferdi’s picture

We dont use aegir so it's hard for me to test it; patches are more then welcome

NeoID’s picture

I can at least conform that it doesn't work. It starts to install, but never finishes.
Are the patches omega8cc mentions applied?

NeoID’s picture

My 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...

ldweeks’s picture

I'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...

ldweeks’s picture

I fixed it by making sure that views got installed before calendar. I'm pretty sure that's the issue.