goblindegook / VVV-Redis

Add Redis to your VVV setup
GNU General Public License v2.0
9 stars 2 forks source link

vvv-redis not installing #1

Closed montchr closed 9 years ago

montchr commented 9 years ago

I'd like to use your project to set up Redis with a new VVV install, but it just doesn't seem to be working out of the box.

It looks like the script asks for user input but is aborted so that required packages don't install… but I ran the script line by line myself and still when I go to redis.vvv, nothing displays.

Here's the relevant console output from the init script:

==> default:  * Setting up Redis...
==> default: Ign http://security.ubuntu.com trusty-security InRelease
==> default: Ign http://archive.ubuntu.com trusty InRelease
==> default: Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
==> default: Ign http://archive.ubuntu.com trusty-updates InRelease
==> default: Get:2 http://security.ubuntu.com trusty-security Release [62.0 kB]
==> default: Hit http://archive.ubuntu.com trusty Release.gpg
==> default: Get:3 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
==> default: Hit http://archive.ubuntu.com trusty Release
==> default: Get:4 http://archive.ubuntu.com trusty-updates Release [62.0 kB]
==> default: Ign http://ppa.launchpad.net trusty InRelease
==> default: Ign http://nginx.org trusty InRelease
==> default: Get:5 http://security.ubuntu.com trusty-security/main Sources [64.7 kB]
==> default: Hit http://ppa.launchpad.net trusty Release.gpg
==> default: Hit http://nginx.org trusty Release.gpg
==> default: Get:6 http://security.ubuntu.com trusty-security/universe Sources [17.4 kB]
==> default: Hit http://archive.ubuntu.com trusty/main Sources
==> default: Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [200 kB]
==> default: Hit http://archive.ubuntu.com trusty/universe Sources
==> default: Hit http://archive.ubuntu.com trusty/main amd64 Packages
==> default: Hit http://ppa.launchpad.net trusty Release
==> default: Hit http://nginx.org trusty Release
==> default: Hit http://archive.ubuntu.com trusty/universe amd64 Packages
==> default: Hit http://archive.ubuntu.com trusty/main Translation-en
==> default: Hit http://ppa.launchpad.net trusty/main Sources
==> default: Get:8 http://security.ubuntu.com trusty-security/universe amd64 Packages [85.3 kB]
==> default: Hit http://nginx.org trusty/nginx Sources
==> default: Hit http://archive.ubuntu.com trusty/universe Translation-en
==> default: Get:9 http://archive.ubuntu.com trusty-updates/main Sources [160 kB]
==> default: Hit http://ppa.launchpad.net trusty/main amd64 Packages
==> default: Hit http://security.ubuntu.com trusty-security/main Translation-en
==> default: Hit http://nginx.org trusty/nginx amd64 Packages
==> default: Hit http://security.ubuntu.com trusty-security/universe Translation-en
==> default: Hit http://ppa.launchpad.net trusty/main Translation-en
==> default: Get:10 http://archive.ubuntu.com trusty-updates/universe Sources [99.4 kB]
==> default: Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [411 kB]
==> default: Get:12 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [243 kB]
==> default: Ign http://nginx.org trusty/nginx Translation-en_US
==> default: Hit http://archive.ubuntu.com trusty-updates/main Translation-en
==> default: Ign http://nginx.org trusty/nginx Translation-en
==> default: Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
==> default: Ign http://archive.ubuntu.com trusty/main Translation-en_US
==> default: Ign http://archive.ubuntu.com trusty/universe Translation-en_US
==> default: Fetched 1,406 kB in 2s (487 kB/s)
==> default: Reading package lists...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following packages were automatically installed and are no longer required:
==> default:   libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
==> default:   libgl1-mesa-glx libglapi-mesa libllvm3.4 libpciaccess0 libtxc-dxtn-s2tc0
==> default:   libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
==> default:   libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxfont1 libxkbfile1
==> default:   libxrandr2 libxshmfence1 libxxf86vm1 x11-xkb-utils xfonts-base
==> default:   xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
==> default: Use 'apt-get autoremove' to remove them.
==> default: The following extra packages will be installed:
==> default:   libjemalloc1 redis-tools
==> default: The following NEW packages will be installed:
==> default:   libjemalloc1 php5-redis redis-server redis-tools
==> default: 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 515 kB of archives.
==> default: After this operation, 1,631 kB of additional disk space will be used.
==> default: Do you want to continue?
==> default:  [Y/n]
==> default: Abort.
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following packages were automatically installed and are no longer required:
==> default:   libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
==> default:   libgl1-mesa-glx libglapi-mesa libllvm3.4 libpciaccess0 libtxc-dxtn-s2tc0
==> default:   libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
==> default:   libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxfont1 libxkbfile1
==> default:   libxrandr2 libxshmfence1 libxxf86vm1 x11-xkb-utils xfonts-base
==> default:   xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
==> default: Use 'apt-get autoremove' to remove them.
==> default: The following extra packages will be installed:
==> default:   libdanga-socket-perl libgearman-client-perl libgearman7 libstring-crc32-perl
==> default:   libsys-syscall-perl
==> default: The following NEW packages will be installed:
==> default:   gearman-server libdanga-socket-perl libgearman-client-perl libgearman7
==> default:   libstring-crc32-perl libsys-syscall-perl php5-gearman
==> default: 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 200 kB of archives.
==> default: After this operation, 959 kB of additional disk space will be used.
==> default: Do you want to continue?
==> default:  [Y/n]
==> default: Abort.
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following packages were automatically installed and are no longer required:
==> default:   libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgl1-mesa-dri
==> default:   libgl1-mesa-glx libglapi-mesa libllvm3.4 libpciaccess0 libtxc-dxtn-s2tc0
==> default:   libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
==> default:   libxcb-sync1 libxcomposite1 libxdamage1 libxfixes3 libxfont1 libxkbfile1
==> default:   libxrandr2 libxshmfence1 libxxf86vm1 x11-xkb-utils xfonts-base
==> default:   xfonts-encodings xfonts-utils xserver-common xserver-xorg-core
==> default: Use 'apt-get autoremove' to remove them.
==> default: The following extra packages will be installed:
==> default:   python-meld3
==> default: The following NEW packages will be installed:
==> default:   python-meld3 supervisor
==> default: 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 353 kB of archives.
==> default: After this operation, 1,692 kB of additional disk space will be used.
==> default: Do you want to continue?
==> default:  [Y/n]
==> default: Abort.
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 26060
==> default:  * Cloning PHPRedMin...
==> default: Cloning into 'phpredmin'...
==> default: vvv-init.sh: line 24: /etc/supervisor/conf.d/phpredmin.conf: No such file or directory
==> default: supervisor: unrecognized service
==> default: Cleaning the virtual machine's /etc/hosts file...
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default:  * Added redis.vvv from /srv/www/redis.vvv/vvv-hosts
==> default:  * Added vvv.dev from /srv/www/vvv-hosts
==> default:  * Added local.wordpress.dev from /srv/www/vvv-hosts
==> default:  * Added local.wordpress-trunk.dev from /srv/www/vvv-hosts
==> default:  * Added src.wordpress-develop.dev from /srv/www/vvv-hosts
==> default:  * Added build.wordpress-develop.dev from /srv/www/vvv-hosts
==> default: -----------------------------
==> default: Provisioning complete in 126 seconds
==> default: External network connection established, packages up to date.
==> default: For further setup instructions, visit http://vvv.dev
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: stdin: is not a tty
==> default: mysql stop/waiting
==> default: mysql start/running, process 26166
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: stdin: is not a tty
==> default:  * Restarting nginx nginx
==> default:    ...done.
goblindegook commented 9 years ago

Thanks for reporting the issue! Please check the latest commit for the fix.