Skip to content

Instantly share code, notes, and snippets.

@dbatten5
Created January 16, 2019 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbatten5/2ff7c4fbe79dd94aef4326dd05afc3bc to your computer and use it in GitHub Desktop.
Save dbatten5/2ff7c4fbe79dd94aef4326dd05afc3bc to your computer and use it in GitHub Desktop.
vagrant up
[Homestead] vagrant destroy && vagrant up 59dfd90
==> homestead-7: VM not created. Moving on...
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Importing base box 'laravel/homestead'...
==> homestead-7: Matching MAC address for NAT networking...
==> homestead-7: Checking if box 'laravel/homestead' version '7.0.0' is up to date...
==> homestead-7: Setting the name of the VM: homestead-7
==> homestead-7: Clearing any previously set network interfaces...
==> homestead-7: Preparing network interfaces based on configuration...
homestead-7: Adapter 1: nat
homestead-7: Adapter 2: hostonly
==> homestead-7: Forwarding ports...
homestead-7: 80 (guest) => 8000 (host) (adapter 1)
homestead-7: 443 (guest) => 44300 (host) (adapter 1)
homestead-7: 3306 (guest) => 33060 (host) (adapter 1)
homestead-7: 4040 (guest) => 4040 (host) (adapter 1)
homestead-7: 5432 (guest) => 54320 (host) (adapter 1)
homestead-7: 8025 (guest) => 8025 (host) (adapter 1)
homestead-7: 27017 (guest) => 27017 (host) (adapter 1)
homestead-7: 22 (guest) => 2222 (host) (adapter 1)
==> homestead-7: Running 'pre-boot' VM customizations...
==> homestead-7: Booting VM...
==> homestead-7: Waiting for machine to boot. This may take a few minutes...
homestead-7: SSH address: 127.0.0.1:2222
homestead-7: SSH username: vagrant
homestead-7: SSH auth method: private key
homestead-7:
homestead-7: Vagrant insecure key detected. Vagrant will automatically replace
homestead-7: this with a newly generated keypair for better security.
homestead-7:
homestead-7: Inserting generated public key within guest...
homestead-7: Removing insecure key from the guest if it's present...
homestead-7: Key inserted! Disconnecting and reconnecting using new SSH key...
==> homestead-7: Machine booted and ready!
==> homestead-7: Checking for guest additions in VM...
homestead-7: The guest additions on this VM do not match the installed version of
homestead-7: VirtualBox! In most cases this is fine, but in rare cases it can
homestead-7: prevent things such as shared folders from working properly. If you see
homestead-7: shared folder errors, please make sure the guest additions within the
homestead-7: virtual machine match the version of VirtualBox you have installed on
homestead-7: your host and reload your VM.
homestead-7:
homestead-7: Guest Additions Version: 5.2.8_KernelUbuntu r120774
homestead-7: VirtualBox Version: 6.0
==> homestead-7: Setting hostname...
==> homestead-7: Configuring and enabling network interfaces...
==> homestead-7: Mounting shared folders...
homestead-7: /vagrant => /Users/mettrrltd/Homestead
homestead-7: /home/vagrant/code/builder => /Users/mettrrltd/Sites/builder
==> homestead-7: Running provisioner: file...
homestead-7: /Users/mettrrltd/Homestead/aliases => /tmp/bash_aliases
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
homestead-7:
homestead-7: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCq0KuxNvyx6JRkQasbTqxc7f6olI1/NKg2JwDAbmw/t04b1UtUI1mgHLwNu6WKB9dpX5yS4rcjXYC8MbuSJXsFovGj8osCAVDROP5o9MjysGs3UnFQGynu4ThYoDa1eEAOQBi6Zi/GjJlW+2igIJwwou1Wa+MQx2GaxejIY5JnxJOgOnWuA8VW+mTe1tVp6US/8TIe5bsE/oPs1ZU9Fswst01TUCt2ad9+w7aIUNkkTc6rnSRQzEWp3TbSphgR6HRD7IgorOtnJaOMIa5OGBFOMQBVgm4QgmKKcbafkEGYUZURMCeKN2AWvnHNbtl7OZibWekE8AM93Uwgd57F9bUsLxPj9wcxRmHCoJJmrI0AS3CUoBfP4i/d3VuP5/4gfr+5lZlK4bJe4XdKDbYkic77OEhfspZLOsBEjQ3mK/rTcQfsjw3R/V4zTrV8DS3n5MLSh1AMcNYYXjEoIATUNsyjWg8jq5/ul/Z7+pNlL89sfS9wMdL+ZAT+KcBqkkPrlvAE1qbiJOaCHGd9Etqbt3qU2KR/9X4mhBAvQboMvZe+rrY3//XIshTXLZaaege8DxvcN4QD5+nh72EqmBan6A1alHmMZVOSqs8jmlwMgQdRS7dnoqdSXm/qvT/LneSG+e5kAcvDH7Ue7Rac8R8yT64PBgcO1s08hyPob7qrndfXkw== dominic.batten@googlemail.com
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: /var/folders/m5/4j4109ln3zg1qyk1lns3mw340000gn/T/vagrant-shell20190116-68160-tagda4.sh
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Creating Certificate: local.builder
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Creating Site: local.builder
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Checking for old Schedule
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Clear Variables
homestead-7: sed: can't read /etc/php/5.6/fpm/pool.d/www.conf: No such file or directory
homestead-7: sed: can't read /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Restarting Cron
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Restarting Nginx
homestead-7: Failed to restart php5.6-fpm.service: Unit php5.6-fpm.service not found.
homestead-7: Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service not found.
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Installing Elasticsearch
homestead-7: Hit:1 http://ppa.launchpad.net/nginx/development/ubuntu bionic InRelease
homestead-7: Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
homestead-7: Hit:3 https://deb.nodesource.com/node_8.x bionic InRelease
homestead-7: Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
homestead-7: Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
homestead-7: Hit:6 https://cli-assets.heroku.com/apt ./ InRelease
homestead-7: Get:7 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [3,226 B]
homestead-7: Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
homestead-7: Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
homestead-7: Get:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease [15.4 kB]
homestead-7: Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [242 kB]
homestead-7: Get:12 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [185 kB]
homestead-7: Get:13 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [91.3 kB]
homestead-7: Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [109 kB]
homestead-7: Get:15 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [112 kB]
homestead-7: Get:16 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [63.7 kB]
homestead-7: Get:17 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [34.6 kB]
homestead-7: Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [423 kB]
homestead-7: Hit:19 http://packages.blackfire.io/debian any InRelease
homestead-7: Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [488 kB]
homestead-7: Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [182 kB]
homestead-7: Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [702 kB]
homestead-7: Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [710 kB]
homestead-7: Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [175 kB]
homestead-7: Get:25 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main i386 Packages [1,556 B]
homestead-7: Get:26 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main amd64 Packages [1,556 B]
homestead-7: Get:27 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main Translation-en [928 B]
homestead-7: Fetched 3,786 kB in 2s (1,525 kB/s)
homestead-7: Reading package lists...
homestead-7: Hit:1 http://ppa.launchpad.net/nginx/development/ubuntu bionic InRelease
homestead-7: Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
homestead-7: Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
homestead-7: Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
homestead-7: Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
homestead-7: Hit:6 https://deb.nodesource.com/node_8.x bionic InRelease
homestead-7: Hit:7 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
homestead-7: Hit:8 https://cli-assets.heroku.com/apt ./ InRelease
homestead-7: Hit:9 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
homestead-7: Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease
homestead-7: Hit:11 http://packages.blackfire.io/debian any InRelease
homestead-7: Reading package lists...
homestead-7: Reading package lists...
homestead-7: Building dependency tree...
homestead-7: Reading state information...
homestead-7: The following additional packages will be installed:
homestead-7: gsfonts-x11 java-common oracle-java8-set-default
homestead-7: Suggested packages:
homestead-7: binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core
homestead-7: ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho
homestead-7: | ttf-sazanami-mincho ttf-arphic-uming
homestead-7: The following NEW packages will be installed:
homestead-7: gsfonts-x11 java-common oracle-java8-installer oracle-java8-set-default
homestead-7: 0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
homestead-7: Need to get 54.4 kB of archives.
homestead-7: After this operation, 274 kB of additional disk space will be used.
homestead-7: Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main amd64 oracle-java8-installer all 8u191-1~webupd8~1 [33.1 kB]
homestead-7: Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 java-common all 0.63ubuntu1~02 [7,032 B]
homestead-7: Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 gsfonts-x11 all 0.25 [7,264 B]
homestead-7: Get:4 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main amd64 oracle-java8-set-default all 8u191-1~webupd8~1 [6,968 B]
homestead-7: dpkg-preconfigure: unable to re-open stdin: No such file or directory
homestead-7: Fetched 54.4 kB in 0s (552 kB/s)
homestead-7: Selecting previously unselected package java-common.
homestead-7: (Reading database ...
homestead-7: (Reading database ... 5%
homestead-7: (Reading database ... 10%
(Reading database ... 35% database ... 15%
(Reading database ... 55% database ... 40%
homestead-7: (Reading database ... 60%
homestead-7: (Reading database ... 65%
homestead-7: (Reading database ... 70%
homestead-7: (Reading database ... 75%
homestead-7: (Reading database ... 80%
homestead-7: (Reading database ... 85%
homestead-7: (Reading database ... 90%
homestead-7: (Reading database ... 95%
(Reading database ... 186294 files and directories currently installed.)
homestead-7: Preparing to unpack .../java-common_0.63ubuntu1~02_all.deb ...
homestead-7: Unpacking java-common (0.63ubuntu1~02) ...
homestead-7: Selecting previously unselected package oracle-java8-installer.
homestead-7: Preparing to unpack .../oracle-java8-installer_8u191-1~webupd8~1_all.deb ...
homestead-7: oracle-license-v1-1 license has already been accepted
homestead-7: Unpacking oracle-java8-installer (8u191-1~webupd8~1) ...
homestead-7: Setting up java-common (0.63ubuntu1~02) ...
homestead-7: Setting up oracle-java8-installer (8u191-1~webupd8~1) ...
homestead-7: No /var/cache/oracle-jdk8-installer/wgetrc file found.
homestead-7: Creating /var/cache/oracle-jdk8-installer/wgetrc and
homestead-7: using default oracle-java8-installer wgetrc settings for it.
homestead-7: Downloading Oracle Java 8...
homestead-7: --2019-01-16 14:45:01-- http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz
homestead-7: Resolving download.oracle.com (download.oracle.com)...
homestead-7: 92.122.200.140
homestead-7: Connecting to download.oracle.com (download.oracle.com)|92.122.200.140|:80...
homestead-7: connected.
homestead-7: HTTP request sent, awaiting response...
homestead-7: 302 Moved Temporarily
homestead-7: Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz [following]
homestead-7: --2019-01-16 14:45:01-- https://edelivery.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz
homestead-7: Resolving edelivery.oracle.com (edelivery.oracle.com)...
homestead-7: 23.43.64.234
homestead-7: Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.43.64.234|:443...
homestead-7: connected.
homestead-7: HTTP request sent, awaiting response...
homestead-7: 302 Moved Temporarily
homestead-7: Location: http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz?AuthParam=1547650021_96df6b56d39f24a306626b4a6879523d [following]
homestead-7: --2019-01-16 14:45:01-- http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz?AuthParam=1547650021_96df6b56d39f24a306626b4a6879523d
homestead-7: Connecting to download.oracle.com (download.oracle.com)|92.122.200.140|:80...
homestead-7: connected.
homestead-7: HTTP request sent, awaiting response...
homestead-7: 301 Moved Permanently
homestead-7: Location: https://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz?AuthParam=1547650021_96df6b56d39f24a306626b4a6879523d [following]
homestead-7: --2019-01-16 14:45:01-- https://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz?AuthParam=1547650021_96df6b56d39f24a306626b4a6879523d
homestead-7: Connecting to download.oracle.com (download.oracle.com)|92.122.200.140|:443...
homestead-7: connected.
homestead-7: HTTP request sent, awaiting response...
homestead-7: 404 Not Found
homestead-7: 2019-01-16 14:45:02 ERROR 404: Not Found.
homestead-7:
homestead-7: download failed
homestead-7: Oracle JDK 8 is NOT installed.
homestead-7: dpkg: error processing package oracle-java8-installer (--configure):
homestead-7: installed oracle-java8-installer package post-installation script subprocess returned error exit status 1
homestead-7: E: Sub-process /usr/bin/dpkg returned an error code (1)
homestead-7: Warning: apt-key output should not be parsed (stdout is not a terminal)
homestead-7: OK
homestead-7: deb https://artifacts.elastic.co/packages/6.x/apt stable main
homestead-7: Hit:1 http://ppa.launchpad.net/nginx/development/ubuntu bionic InRelease
homestead-7: Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
homestead-7: Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
homestead-7: Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
homestead-7: Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
homestead-7: Hit:7 https://deb.nodesource.com/node_8.x bionic InRelease
homestead-7: Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
homestead-7: Hit:6 https://cli-assets.heroku.com/apt ./ InRelease
homestead-7: Hit:9 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
homestead-7: Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease
homestead-7: Ign:11 https://artifacts.elastic.co/packages/6.x/apt stable InRelease
homestead-7: Get:12 https://artifacts.elastic.co/packages/6.x/apt stable Release [5,116 B]
homestead-7: Get:13 https://artifacts.elastic.co/packages/6.x/apt stable Release.gpg [473 B]
homestead-7: Hit:14 http://packages.blackfire.io/debian any InRelease
homestead-7: Get:15 https://artifacts.elastic.co/packages/6.x/apt stable/main i386 Packages [33.9 kB]
homestead-7: Get:16 https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 Packages [37.9 kB]
homestead-7: Fetched 77.4 kB in 1s (54.5 kB/s)
homestead-7: Reading package lists...
homestead-7: Reading package lists...
homestead-7: Building dependency tree...
homestead-7:
homestead-7: Reading state information...
homestead-7: The following NEW packages will be installed:
homestead-7: elasticsearch
homestead-7: 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
homestead-7: 1 not fully installed or removed.
homestead-7: Need to get 113 MB of archives.
homestead-7: After this operation, 168 MB of additional disk space will be used.
homestead-7: Get:1 https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 elasticsearch all 6.5.4 [113 MB]
homestead-7: dpkg-preconfigure: unable to re-open stdin: No such file or directory
homestead-7: Fetched 113 MB in 2min 9s (876 kB/s)
homestead-7: Selecting previously unselected package elasticsearch.
homestead-7: (Reading database ...
homestead-7: (Reading database ... 5%
homestead-7: (Reading database ... 10%
homestead-7: (Reading database ... 15%
homestead-7: (Reading database ... 20%
homestead-7: (Reading database ... 25%
homestead-7: (Reading database ... 30%
homestead-7: (Reading database ... 35%
homestead-7: (Reading database ... 40%
homestead-7: (Reading database ... 45%
homestead-7: (Reading database ... 50%
homestead-7: (Reading database ... 55%
homestead-7: (Reading database ... 60%
homestead-7: (Reading database ... 65%
homestead-7: (Reading database ... 70%
homestead-7: (Reading database ... 75%
homestead-7: (Reading database ... 80%
homestead-7: (Reading database ... 85%
homestead-7: (Reading database ... 90%
homestead-7: (Reading database ... 95%
homestead-7: (Reading database ... 100%
homestead-7: (Reading database ...
homestead-7: 186332 files and directories currently installed.)
homestead-7: Preparing to unpack .../elasticsearch_6.5.4_all.deb ...
homestead-7: could not find java; set JAVA_HOME or ensure java is in PATH
homestead-7: dpkg: error processing archive /var/cache/apt/archives/elasticsearch_6.5.4_all.deb (--unpack):
homestead-7: new elasticsearch package pre-installation script subprocess returned error exit status 1
homestead-7: Errors were encountered while processing:
homestead-7: /var/cache/apt/archives/elasticsearch_6.5.4_all.deb
homestead-7: E
homestead-7: :
homestead-7: Sub-process /usr/bin/dpkg returned an error code (1)
homestead-7: update-rc.d: error: unable to read /etc/init.d/elasticsearch
homestead-7: sed: can't read /etc/elasticsearch/elasticsearch.yml: No such file or directory
homestead-7: Failed to enable unit: Unit file elasticsearch.service does not exist.
homestead-7: Failed to start elasticsearch.service: Unit elasticsearch.service not found.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment