boa icon indicating copy to clipboard operation
boa copied to clipboard

Provision errors on site with composer based thunder platform

Open timlie opened this issue 5 years ago • 7 comments

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.

timlie avatar Sep 10 '19 10:09 timlie

Please read and follow https://github.com/omega8cc/boa/blob/master/CONTRIBUTING.txt

omega8cc avatar Oct 02 '19 22:10 omega8cc

These are the files:

https://gist.github.com/timlie/c30bd59ff2e6c0b8131d9cd8141ae96f https://gist.github.com/timlie/2ca2ffb15245895c2f0ddb29c562cdb3

Thanks!

timlie avatar Oct 03 '19 08:10 timlie

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.

omega8cc avatar Oct 04 '19 16:10 omega8cc

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

timlie avatar Oct 08 '19 09:10 timlie

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

omega8cc avatar Oct 08 '19 14:10 omega8cc

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.

timlie avatar Oct 24 '19 06:10 timlie

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

omega8cc avatar Oct 24 '19 06:10 omega8cc