boa
boa copied to clipboard
Provision errors on site with composer based thunder platform
Hi,
I'm on BOA-4.0.2-dev release. Following https://github.com/omega8cc/boa/blob/master/docs/COMPOSER.txt I installed a composer based Thunder install (more specific the v3 release). I added the platform with:
thunder3/docroot
Platform verified and the local drush from thunder got removed. Added a website yesterday in this platform. Verified as well. All went good. Today, site can not be verified and I am getting these errors in Aegir:
Could not find provision alias named: @platform_thunder3docroot Error: Uncaught Error: Call to a member function get_services() on null in /data/disk/o1/.drush/sys/provision/Provision/Context.php:313
I have these erors as well with thunder v2 composer based distro.
Any ideas? Thanks.
Please read and follow https://github.com/omega8cc/boa/blob/master/CONTRIBUTING.txt
These are the files:
https://gist.github.com/timlie/c30bd59ff2e6c0b8131d9cd8141ae96f https://gist.github.com/timlie/2ca2ffb15245895c2f0ddb29c562cdb3
Thanks!
Please make sure you have set ~/static/control/cli.info
to 7.2
If this doesn't help, please run full upgrade:
Please switch _DB_SERIES
to 10.2
and run barracuda up-head
followed by octopus up-head o1 force
and then try to reproduce the problem again.
The included in Octopus Thunder versions is not current but can be used for comparison and debugging.
Hi,
cli.info was 7.2 I upgraded to mariadb 10.2 and did force upgrade from octopus.
After upgrade (yesterday), thunder site verifies without problem. Today (probably after daily.sh) the site throws the same errors when trying to verify.
Could not find provision alias named: @platform_thunder3docroot
Can you check if you can find the missing drush alias file in ~/undo/ directory?
Are the sites and codebase still in their path, or also moved to ~/undo/ ?
Hi,
I moved the platform alias files from ~/undo/ back to ~/.drush After that everything works fine again (verify, migrate). The day after the alias files are again in ~/undo/ directory. I have no idea why these alias files are moved to the ~/undo/ directory.
Thanks.
There was a bug in the daily.sh script before which resulted with D8 platforms using subdirectories being considered as broken. It has been fixed, but another bug prevented the hot fix update from being applied on all BOA instances. It has been fixed finally so shouldn’t happen again. We are sorry for the inconvenience.
Sent with GitHawk