beetbox icon indicating copy to clipboard operation
beetbox copied to clipboard

How to downgrade beetbox?

Open maykino opened this issue 6 years ago • 4 comments

I updated my beetbox with symfony project to the newest version and now after a few mins after the box is up I get the 503 Service Unavailable and the apache log says:

[Wed Apr 11 03:07:03.801245 2018] [proxy_fcgi:error] [pid 1029:tid 139999718647552] [client 10.20.1.1:56449] AH01067: Failed to read FastCGI header, referer: http://test.local/app_dev.php/login [Wed Apr 11 03:07:03.801291 2018] [proxy_fcgi:error] [pid 1029:tid 139999718647552] (104)Connection reset by peer: [client 10.20.1.1:56449] AH01075: Error dispatching request to : , referer: http://test.local/app_dev.php/login

It never happened before the update. What is the easiest way to downgrade the box.

maykino avatar Apr 11 '18 03:04 maykino

You can just remove the latest box eg. vagrant box remove --box-version=0.8.14

The only difference is that we no longer include xhprof by default, you might just need to increase the default memory limit.

thom8 avatar Apr 12 '18 00:04 thom8

Thanks @thom8 but the actual command should be vagrant box remove beet/box --box-version=0.8.14

...I always get Drush command terminated abnormally due to an unrecoverable error. with the latest 0.8.14, so I needed to downgrade back to 0.8.12.

klonos avatar Apr 20 '18 00:04 klonos

you might just need to increase the default memory limit.

Can you expand on how to do this?

benjy avatar Nov 02 '18 01:11 benjy

@benjy you can set the PHP memory limit via config.yml -- https://github.com/beetboxvm/beetbox/blob/master/.beetbox/config.yml#L20

or increase the VM memory with vagrant_memory -- https://github.com/beetboxvm/beetbox/blob/master/provisioning/ansible/config/default.config.yml#L13

thom8 avatar Nov 03 '18 02:11 thom8