Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2012 at 19:35 UTC
Updated:
30 May 2014 at 10:04 UTC
Jump to comment: Most recent
Comments
Comment #1
anarcat commentedRah this one is weird. We are using the drush invoke properly, or at least the same way as elsewhere - the only difference is we fork there... Hence the following patch actually fixes the problem:
... but then radically changes the behavior of that code - it doesn't fork anymore! Weird that this is related...
Comment #2
omega8cc commentedYeah, drush wants you to purge its internal cache first. I have discovered this while trying Aegir 2.x with Drush 5.7:
Comment #3
omega8cc commentedSo we use in BOA installer something like:
It should go after adding Provision but before running hostmaster install.
Comment #4
anarcat commentedNow that's really weird. When do you run this command? Seems to me this should be part of the debian package, at the very least...
It nevertheless doesn't fix my problem, which seems to be unrelated to that issue. I still get the error after clearing the cache.
Comment #5
anarcat commentedI have fixed this in 26dfbd2, but I'd be very curious to hear more about that cache clear and if it is really necessary - in which case we should probably add it at the end of the provision postinst script in the Debian package and the manual install inscructions!
Comment #6
omega8cc commentedYes, it should be a part of the install - or we should add that
--strict=0option, probably.We use this in our custom install script which is basically a fork of previous manual install script in Aegir, so it allows us to add/test things like that.
Note that we have tried this with Aegir 2.x head and Drush 5.7
Comment #7
anarcat commentedIt would be nice if such improvements are contributed back to the main project in the future. At least filing a bug would have helped pinpoint such a problem...
Comment #8
anarcat commentedLet's move the discussions about the cache-clear into #1843044: install may fail without a cache-clear drush?.