beetboxvm / beetbox

Pre-provisioned L*MP stack
http://beetbox.rtfd.org
92 stars 19 forks source link

How to downgrade beetbox? #472

Open maykino opened 6 years ago

maykino commented 6 years ago

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.

thom8 commented 6 years ago

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.

klonos commented 6 years ago

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.

benjy commented 6 years ago

you might just need to increase the default memory limit.

Can you expand on how to do this?

thom8 commented 6 years ago

@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