Closed wizonesolutions closed 8 years ago
What version of Vlad are you running this config with?
I can confirm it works with VBox.
Could you run the following so we can see if anything else appears out of date?
echo "VirtualBox `VBoxManage --version`"; vagrant --version; ansible --version; vagrant plugin list
Taken from Vlad docs: http://vlad-docs.readthedocs.org/en/latest/contributing/submitting_issues/
Well, I'm using Parallels, so that wouldn't help diagnose. @legal90, could something about the software makeup of parallels/ubuntu-14.04
vary a lot from that of ubuntu/trusty64
?
@danbohea I was on 1.1.6-dev
/ 6148115dd7a40a4e652f2967e8892c7fe6bd41f1
Sorry, that was a bit daft. I'll blame the after lunch fog that that. Removing the first part should allow it to work.
vagrant --version; ansible --version; vagrant plugin list
As for the version of ubuntu I'm not sure. I may need to get a copy of parallels to experiment with :)
Vagrant 1.7.4
ansible 1.9.3
configured module search path = None
protobox (0.0.2)
vagrant-berkshelf (4.0.4)
- Version Constraint: >=2.0.1
vagrant-cachier (1.2.1)
vagrant-digitalocean (0.7.7)
vagrant-hostmanager (1.6.1)
vagrant-hostsupdater (0.0.11)
vagrant-omnibus (1.4.1)
vagrant-parallels (1.4.1)
vagrant-protobox (0.0.2)
vagrant-share (1.1.4, system)
vagrant-triggers (0.5.1)
vagrant-vbguest (0.10.0)
Here's my list. Nothing too different really. I'm pointing towards Parallels being at fault here, but happy to change Vlad to allow it to work in that environment :)
Vagrant 1.7.4
ansible 1.9.1
configured module search path = None
vagrant-cachier (1.2.0)
vagrant-hostsupdater (0.0.11)
vagrant-share (1.1.4, system)
vagrant-triggers (0.5.0)
I just had a similar issue with VirtualBox. Details:
(default Ansible verbosity)
TASK: [php | install php packages] ********************************************
failed: [192.168.100.102] => (item=php5,php5-cli,php5-common,php5-dev,php5-gd,php5-gmp,php5-mysql,php5-xmlrpc,php-soap,php5-curl,php5-mcrypt,php-apc,php-pear) => {"failed": true, "item": "php5,php5-cli,php5-common,php5-dev,php5-gd,php5-gmp,php5-mysql,php5-xmlrpc,php-soap,php5-curl,php5-mcrypt,php-apc,php-pear"}
Extracting templates from packages: 100%
Creating config file /etc/php5/mods-available/pdo.ini with new version
php5_invoke: Enable module pdo for cli SAPI
Creating config file /etc/php5/mods-available/opcache.ini with new version
php5_invoke: Enable module opcache for cli SAPI
dpkg: dependency problems prevent configuration of php5-json:
php5-json depends on phpapi-20121212; however:
Package phpapi-20121212 is not installed.
dpkg: error processing package php5-json (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-cli:
php5-cli depends on php5-json; however:
Package php5-json is not configured yet.
dpkg: error processing package php5-cli (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php-pear:
php-pear depends on php5-cli; however:
Package php5-cli is not configured yet.
dpkg: error processing package php-pear (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
php5-json
php5-cli
php-pear
E: Sub-process /usr/bin/dpkg returned an error code (1)
stdout: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
autoconf automake autotools-dev debhelper dh-apparmor dh-php5
fontconfig-config fonts-dejavu-core gettext intltool-debian
libapache2-mod-php5 libasprintf-dev libcroco3 libfontconfig1 libgd3
libgettextpo-dev libgettextpo0 libjbig0 libjpeg-turbo8 libjpeg8 libltdl-dev
libltdl7 libmail-sendmail-perl libmcrypt4 libonig2 libpcre3-dev libpcrecpp0
libqdbm14 libssl-dev libssl-doc libsys-hostname-long-perl libtiff5 libtool
libunistring0 libvpx1 m4 php-auth-sasl php-http-request php-mail
php-mail-mime php-net-dime php-net-smtp php-net-socket php-net-url php5-apcu
php5-json php5-readline pkg-php-tools po-debconf shtool zlib1g-dev
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc dh-make
apparmor-easyprof gettext-doc libgd-tools libtool-doc libmcrypt-dev mcrypt
automaken gfortran fortran95-compiler gcj-jdk php5-user-cache
libmail-box-perl
The following NEW packages will be installed:
autoconf automake autotools-dev debhelper dh-apparmor dh-php5
fontconfig-config fonts-dejavu-core gettext intltool-debian
libapache2-mod-php5 libasprintf-dev libcroco3 libfontconfig1 libgd3
libgettextpo-dev libgettextpo0 libjbig0 libjpeg-turbo8 libjpeg8 libltdl-dev
libltdl7 libmail-sendmail-perl libmcrypt4 libonig2 libpcre3-dev libpcrecpp0
libqdbm14 libssl-dev libssl-doc libsys-hostname-long-perl libtiff5 libtool
libunistring0 libvpx1 m4 php-apc php-auth-sasl php-http-request php-mail
php-mail-mime php-net-dime php-net-smtp php-net-socket php-net-url php-pear
php-soap php5 php5-apcu php5-cli php5-common php5-curl php5-dev php5-gd
php5-gmp php5-json php5-mcrypt php5-mysql php5-readline php5-xmlrpc
pkg-php-tools po-debconf shtool zlib1g-dev
0 upgraded, 64 newly installed, 0 to remove and 12 not upgraded.
Need to get 0 B/15.1 MB of archives.
After this operation, 62.2 MB of additional disk space will be used.
Selecting previously unselected package libcroco3:amd64.
(Reading database ... 65145 files and directories currently installed.)
Preparing to unpack .../libcroco3_0.6.8-2ubuntu1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.8-2ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.34-1ubuntu1_all.deb ...
Unpacking fonts-dejavu-core (2.34-1ubuntu1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.0-0ubuntu4.1_all.deb ...
Unpacking fontconfig-config (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.0-0ubuntu4.1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.3.0-0ubuntu2) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.0-2ubuntu4.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.0-2ubuntu4.1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.3_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.3-7ubuntu0.3) ...
Selecting previously unselected package libvpx1:amd64.
Preparing to unpack .../libvpx1_1.3.0-2_amd64.deb ...
Unpacking libvpx1:amd64 (1.3.0-2) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.1.0-5+deb.sury.org~trusty+1_amd64.deb ...
Unpacking libgd3:amd64 (2.1.0-5+deb.sury.org~trusty+1) ...
Selecting previously unselected package libunistring0:amd64.
Preparing to unpack .../libunistring0_0.9.3-5ubuntu3_amd64.deb ...
Unpacking libunistring0:amd64 (0.9.3-5ubuntu3) ...
Selecting previously unselected package libgettextpo0:amd64.
Preparing to unpack .../libgettextpo0_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking libgettextpo0:amd64 (0.18.3.1-1ubuntu3) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libpcrecpp0:amd64.
Preparing to unpack .../libpcrecpp0_1%3a8.31-2ubuntu2.1_amd64.deb ...
Unpacking libpcrecpp0:amd64 (1:8.31-2ubuntu2.1) ...
Selecting previously unselected package php5-common.
Preparing to unpack .../php5-common_5.6.14+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-common (5.6.14+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package libonig2.
Preparing to unpack .../libonig2_5.9.1-1ubuntu1_amd64.deb ...
Unpacking libonig2 (5.9.1-1ubuntu1) ...
Selecting previously unselected package libqdbm14.
Preparing to unpack .../libqdbm14_1.8.78-3_amd64.deb ...
Unpacking libqdbm14 (1.8.78-3) ...
Selecting previously unselected package php5-json.
Preparing to unpack .../php5-json_1.3.7-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-json (1.3.7-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php5-cli.
Preparing to unpack .../php5-cli_5.6.14+dfsg-1+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-cli (5.6.14+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php-pear.
Preparing to unpack .../php-pear_5.6.14+dfsg-1+deb.sury.org~trusty+1_all.deb ...
Unpacking php-pear (5.6.14+dfsg-1+deb.sury.org~trusty+1) ...
Selecting previously unselected package php-net-url.
Preparing to unpack .../php-net-url_1.0.15-3_all.deb ...
Unpacking php-net-url (1.0.15-3) ...
Selecting previously unselected package php-net-socket.
Preparing to unpack .../php-net-socket_1.0.14-1_all.deb ...
Unpacking php-net-socket (1.0.14-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up php5-common (5.6.14+dfsg-1+deb.sury.org~trusty+1) ...
Setting up libonig2 (5.9.1-1ubuntu1) ...
Setting up libqdbm14 (1.8.78-3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
msg: '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'php5' 'php5-cli' 'php5-common' 'php5-dev' 'php5-gd' 'php5-gmp' 'php5-mysql' 'php5-xmlrpc' 'php-soap' 'php5-curl' 'php5-mcExtracting templates from packages: 100%
Creating config file /etc/php5/mods-available/pdo.ini with new version
php5_invoke: Enable module pdo for cli SAPI
Creating config file /etc/php5/mods-available/opcache.ini with new version
php5_invoke: Enable module opcache for cli SAPI
dpkg: dependency problems prevent configuration of php5-json:
php5-json depends on phpapi-20121212; however:
Package phpapi-20121212 is not installed.
dpkg: error processing package php5-json (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-cli:
php5-cli depends on php5-json; however:
Package php5-json is not configured yet.
dpkg: error processing package php5-cli (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php-pear:
php-pear depends on php5-cli; however:
Package php5-cli is not configured yet.
dpkg: error processing package php-pear (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
php5-json
php5-cli
php-pear
E: Sub-process /usr/bin/dpkg returned an error code (1)
FATAL: all hosts have already failed -- aborting
webserver_hostname: 'eti.local'
webserver_hostname_aliases:
- www.eti.local
boxipaddress: "192.168.100.102"
boxname: "eti"
host_synced_folder: "../docroot"
aux_synced_folder: "../vlad_aux"
# SSH Settings
use_host_id: true
# CPUs and memory to be allocated to the guest VM from the host machine
vm_cpus: "auto"
vm_memory: "auto"
php_version: "5.6"
vlad_private_files_dir: true
db_import_up: true
Vagrant 1.7.2
ansible 1.9.2
configured module search path = None
vagrant-cachier (1.2.0)
vagrant-hostsupdater (0.0.11)
vagrant-share (1.1.4, system)
vagrant-triggers (0.5.0)
I should add that PHP 5.5 installs fine with the same settings bar php_version
obviously.
@wizonesolutions In your Vagrantfile
can you try swapping out the base box for bento/ubuntu-14.04
and trying again? I don't have a copy of parallels to test, and it'd be good to know if #308 would fix this.
The bento/ubuntu-14.04 box is now the standard Ubuntu 14 box in the current dev
branch. @wizonesolutions can you retest with current dev?
Just tested, I no longer get any problems with this on dev
(VirtualBox).
@wizonesolutions Are you still seeing this or has updating to latest dev fixed this for you?
Will check as soon as I can, but I can just open an issue or comment if I have problems, yeah? I'm somewhat more interested in PHP 7 now, but I do have a D7 site I can try 5.6 on :)
On Fri, Jan 15, 2016 at 11:09 AM, Dan Bohea notifications@github.com wrote:
@wizonesolutions https://github.com/wizonesolutions Are you still seeing this or has updating to latest dev fixed this for you?
— Reply to this email directly or view it on GitHub https://github.com/hashbangcode/vlad/issues/279#issuecomment-171920879.
OK, will close this issue then. Please open a new one if you find this issue with PHP 5.6 still exists.
To confirm — all good with Bento :+1:
If you find it works on VBox, it might be an issue with Parallels' box build and I could hit them up. Here's my config: