netgen / vagrant-ansible-ezpublish

Vagrant setup with Ansible provisioner configured for running eZ Publish projects
https://netgen.io
MIT License
23 stars 12 forks source link

Use the shiny new coinstallable ppa, and fix paths. #32

Closed vranac closed 7 years ago

emodric commented 7 years ago

@vranac

After a clean provision, I get the following in Apache log files

[Sun Nov 13 09:10:52.535575 2016] [fastcgi:error] [pid 25094:tid 139858353776384] (2)No such file or directory: [client 172.21.12.1:57920] FastCGI: failed to connect to server "/usr/lib/cgi-bin/php5-fcgi": connect() failed
[Sun Nov 13 09:10:52.536611 2016] [fastcgi:error] [pid 25094:tid 139858353776384] [client 172.21.12.1:57920] FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/php5-fcgi"
vranac commented 7 years ago

@emodric tyvm, will be fixed in few minutes

emodric commented 7 years ago

Also

vagrant@vagrant-ubuntu-trusty-64:/var/www/ezpublish$ php -v
Cannot load Zend OPcache - extension already loaded

And finally, eZ Platform requires php-mbstring, so you can install that too :)

vranac commented 7 years ago

@emodric when you have a moment, can you verify if I got the right fcgi

emodric commented 7 years ago

@vranac

Nope, still the same error log entry:

[Sun Nov 13 09:54:57.578688 2016] [fastcgi:error] [pid 28365:tid 140054951880448] (2)No such file or directory: [client 172.21.12.1:34982] FastCGI: failed to connect to server "/usr/lib/cgi-bin/php5-fcgi": connect() failed
[Sun Nov 13 09:54:57.578743 2016] [fastcgi:error] [pid 28365:tid 140054951880448] [client 172.21.12.1:34982] FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/php5-fcgi"
vranac commented 7 years ago

@emodric oh, i think I see the problem, tyvm

MarioBlazek commented 7 years ago

@vranac, @emodric after last commit I works fine. Tested on Ubuntu OS.

emodric commented 7 years ago

@MarioBlazek Are you sure? Running eZ Publish works fine in the machine?

vranac commented 7 years ago

@emodric @MarioBlazek Can you please provision from zero and report that you get a nice db error when you open the website in browser? If you both confirm it, then I can start bringing in the customizations

emodric commented 7 years ago

@vranac Yep, confirmed!

vranac commented 7 years ago

@emodric @MarioBlazek OK, this should be good to go after you confirm that the whole setup is working

emodric commented 7 years ago

We need to turn xdebug off by default. The switch was implemented before, but it looks like it's not being honored now. FPM is started with xdebug enabled.

vranac commented 7 years ago

@emodric tyvm for review, I'll hammer out the xdebug

vranac commented 7 years ago

@emodric done.

emodric commented 7 years ago

@vranac Looks good now! If there isn't anything else, I'm ready for merge!

vranac commented 7 years ago

@emodric lets wait for @MarioBlazek to confirm as well

MarioBlazek commented 7 years ago

@emodric @vranac just finished with provisioning and all works for me to.

emodric commented 7 years ago

@vranac Ready for merge and tag?

vranac commented 7 years ago

👍