After upgrading it shows WSOD with PHP error:
PHP Fatal error: Call to undefined function modalframe_parent_js()
in profiles/hostmaster/modules/hosting/task/hosting_task.module on line 736
Even running update.php doesn't help, because now required modules modalframe & jquery_ui are not enabled yet.
UPGRADE.txt should include something like:
To enable now required two new modules, modalframe & jquery_ui, cd to your Aegir platform root and run drush enable modalframe.
Or add graceful degradation, so user could log-in without WSOD and enable now required modules in the frontend.
Comments
Comment #1
adrian commentedi added an update_x function to enable the modules.
Comment #2
adrian commentedhosting_update_6000
Comment #3
anarcat commentedIs this issue fixed with that patch now?
I don't like the new dependency. :( I think that stuff should be optional in the core.
Comment #4
omega8cc commentedAdrian tested it yesterday and it worked, afaik.
But now HEAD is broken so I can't confirm that.
Comment #5
adrian commentedit can't be an optional dependency.
the module will need to be there regardless, but it will degrade without javascript.
we also have drush_make now for upgrades, which means that downloading the extra required dependencies is no longer an issue.
Comment #6
Anonymous (not verified) commentedThe php snippet above was already in CVS by the time it was mentioned, so it wasn't really a 'patch'. I'm closing this ticket as I'm confident the issue is fixed - all that remains is the task of updating UPGRADE.txt (once the upgrade path is fixed)
Comment #8
emmajane commentedI still have this problem on a new installation of Aegir. Not sure if something hasn't been pushed out, but it's still not working and dl + en jquery_ui + modalframe fixes the problem.
Comment #9
Anonymous (not verified) commentedI haven't heard of this being reproduced since the 10 months ago that it occurred. The only way I can think of that it could happen is if drush_make failed to fetch jquery_ui and modalframe (i.e, maybe drupal.org was actually down for those few seconds). But then, you'd expect that you were missing admin_menu too. Was that the case?
Did you install aegir 0.4 alpha13?
I just can't see this as a bug that could re-appear, unless it's a bug in drush_make, I install Aegir often 8 times a day and it never occurs for me.
Can you try and reinstall 0.4alpha13 and at least see if you can reproduce it each time? Then maybe we can identify a problem with your system when using drush_make
Comment #10
Anonymous (not verified) commentedI'm going to have to close this as I can never reproduce. There may have been an issue with downloading modules from drupal.org at the time you installed ( a limitation of drush make since it always requires working network/drupal.org to fetch packages), in which case you'd be missing admin_menu as well.
Please do reopen if you can debug this any further, but it sounds like a one-off to me I'm afraid, or relevant dependencies weren't present to fetch and unpack the modules.
The enabling of the dependencies in a hook_update has been present for 12 months now
Comment #11
jeff veit commentedWorth knowing if you search on this error and find this issue, as I did: I got this when installing a developer version of hostmaster from git. It happened because the project has a drush makefile which hadn't been run, so jquery_ui, modalframe and other modules were indeed missing.