Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save didotsonev/cfed7de4c67ea9a3e2d1ff9cd6a1d872 to your computer and use it in GitHub Desktop.

Select an option

Save didotsonev/cfed7de4c67ea9a3e2d1ff9cd6a1d872 to your computer and use it in GitHub Desktop.

Revisions

  1. didotsonev created this gist May 4, 2021.
    406 changes: 406 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,406 @@
    vagrant destroy && vagrant up
    homestead: Are you sure you want to destroy the 'homestead' VM? [y/N] y
    ==> homestead: Destroying VM and associated drives...
    ==> homestead: Pruning invalid NFS exports. Administrator privileges will be required...
    Bringing machine 'homestead' up with 'virtualbox' provider...
    ==> homestead: Importing base box 'laravel/homestead'...
    ==> homestead: Matching MAC address for NAT networking...
    ==> homestead: Checking if box 'laravel/homestead' version '11.1.0' is up to date...
    ==> homestead: Setting the name of the VM: homestead
    ==> homestead: Clearing any previously set network interfaces...
    ==> homestead: Preparing network interfaces based on configuration...
    homestead: Adapter 1: nat
    homestead: Adapter 2: hostonly
    homestead: Adapter 3: hostonly
    ==> homestead: Forwarding ports...
    homestead: 80 (guest) => 8000 (host) (adapter 1)
    homestead: 443 (guest) => 44300 (host) (adapter 1)
    homestead: 3306 (guest) => 33060 (host) (adapter 1)
    homestead: 4040 (guest) => 4040 (host) (adapter 1)
    homestead: 5432 (guest) => 54320 (host) (adapter 1)
    homestead: 8025 (guest) => 8025 (host) (adapter 1)
    homestead: 9600 (guest) => 9600 (host) (adapter 1)
    homestead: 27017 (guest) => 27017 (host) (adapter 1)
    homestead: 22 (guest) => 2222 (host) (adapter 1)
    ==> homestead: Running 'pre-boot' VM customizations...
    ==> homestead: Booting VM...
    ==> homestead: Waiting for machine to boot. This may take a few minutes...
    homestead: SSH address: 127.0.0.1:2222
    homestead: SSH username: vagrant
    homestead: SSH auth method: private key
    homestead:
    homestead: Vagrant insecure key detected. Vagrant will automatically replace
    homestead: this with a newly generated keypair for better security.
    homestead:
    homestead: Inserting generated public key within guest...
    homestead: Removing insecure key from the guest if it's present...
    homestead: Key inserted! Disconnecting and reconnecting using new SSH key...
    ==> homestead: Machine booted and ready!
    [homestead] GuestAdditions versions on your host (6.1.22) and guest (6.1.18) do not match.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    dctrl-tools linux-headers-5.4.0-72
    Suggested packages:
    debtags menu
    The following NEW packages will be installed:
    dctrl-tools dkms linux-headers-5.4.0-72 linux-headers-5.4.0-72-generic
    0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    Need to get 12.5 MB of archives.
    After this operation, 86.4 MB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 dctrl-tools amd64 2.24-3 [61.5 kB]
    Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 dkms all 2.8.1-5ubuntu2 [66.8 kB]
    Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-72 all 5.4.0-72.80 [11.0 MB]
    Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-72-generic amd64 5.4.0-72.80 [1,394 kB]
    Fetched 12.5 MB in 1s (13.1 MB/s)
    Selecting previously unselected package dctrl-tools.
    (Reading database ... 180760 files and directories currently installed.)
    Preparing to unpack .../dctrl-tools_2.24-3_amd64.deb ...
    Unpacking dctrl-tools (2.24-3) ...
    Selecting previously unselected package dkms.
    Preparing to unpack .../dkms_2.8.1-5ubuntu2_all.deb ...
    Unpacking dkms (2.8.1-5ubuntu2) ...
    Selecting previously unselected package linux-headers-5.4.0-72.
    Preparing to unpack .../linux-headers-5.4.0-72_5.4.0-72.80_all.deb ...
    Unpacking linux-headers-5.4.0-72 (5.4.0-72.80) ...
    Selecting previously unselected package linux-headers-5.4.0-72-generic.
    Preparing to unpack .../linux-headers-5.4.0-72-generic_5.4.0-72.80_amd64.deb ...
    Unpacking linux-headers-5.4.0-72-generic (5.4.0-72.80) ...
    Setting up linux-headers-5.4.0-72 (5.4.0-72.80) ...
    Setting up dctrl-tools (2.24-3) ...
    Setting up linux-headers-5.4.0-72-generic (5.4.0-72.80) ...
    /etc/kernel/header_postinst.d/dkms:
    * dkms: running auto installation service for kernel 5.4.0-72-generic
    ...done.
    Setting up dkms (2.8.1-5ubuntu2) ...
    Processing triggers for man-db (2.9.1-1) ...
    Copy iso file /usr/share/virtualbox/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
    Mounting Virtualbox Guest Additions ISO to: /mnt
    mount: /mnt: WARNING: device write-protected, mounted read-only.
    Installing Virtualbox Guest Additions 6.1.22 - guest version is 6.1.18
    Verifying archive integrity... All good.
    Uncompressing VirtualBox 6.1.22 Guest Additions for Linux........
    VirtualBox Guest Additions installer
    Removing installed version 6.1.18 of VirtualBox Guest Additions...
    update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
    Copying additional installer modules ...
    Installing additional modules ...
    VirtualBox Guest Additions: Starting.
    VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
    modules. This may take a while.
    VirtualBox Guest Additions: To build modules for other installed kernels, run
    VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
    VirtualBox Guest Additions: or
    VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
    VirtualBox Guest Additions: Building the modules for kernel 5.4.0-72-generic.
    update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
    VirtualBox Guest Additions: Running kernel modules will not be replaced until
    the system is restarted
    An error occurred during installation of VirtualBox Guest Additions 6.1.22. Some functionality may not work as intended.
    In most cases it is OK that the "Window System drivers" installation failed.
    Unmounting Virtualbox Guest Additions ISO from: /mnt
    Got different reports about installed GuestAdditions version:
    Virtualbox on your host claims: 6.1.18
    VBoxService inside the vm claims: 6.1.22
    Going on, assuming VBoxService is correct...
    Got different reports about installed GuestAdditions version:
    Virtualbox on your host claims: 6.1.18
    VBoxService inside the vm claims: 6.1.22
    Going on, assuming VBoxService is correct...
    Got different reports about installed GuestAdditions version:
    Virtualbox on your host claims: 6.1.18
    VBoxService inside the vm claims: 6.1.22
    Going on, assuming VBoxService is correct...
    Restarting VM to apply changes...
    ==> homestead: Attempting graceful shutdown of VM...
    ==> homestead: Booting VM...
    ==> homestead: Waiting for machine to boot. This may take a few minutes...
    ==> homestead: Machine booted and ready!
    ==> homestead: Checking for guest additions in VM...
    ==> homestead: Setting hostname...
    ==> homestead: Configuring and enabling network interfaces...
    ==> homestead: Exporting NFS shared folders...
    ==> homestead: Preparing to edit /etc/exports. Administrator privileges will be required...
    ==> homestead: Mounting NFS shared folders...
    ==> homestead: Running provisioner: file...
    homestead: /home/dean/dev/homestead/aliases => /tmp/bash_aliases
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    homestead: Invalid feature: mysql
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-fu026g.sh
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-1f6m3yk.sh
    ==> homestead: Running provisioner: Creating Certificate: dev.ks (shell)...
    homestead: Running: script: Creating Certificate: dev.ks
    homestead: Updating certificates in /etc/ssl/certs...
    homestead: rehash: warning: skipping duplicate certificate in ca.homestead.homestead.pem
    homestead: 1 added, 0 removed; done.
    homestead: Running hooks in /etc/ca-certificates/update.d...
    homestead: done.
    ==> homestead: Running provisioner: Creating Site: dev.ks (shell)...
    homestead: Running: script: Creating Site: dev.ks
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-gwnyyx.sh
    ==> homestead: Running provisioner: Creating Schedule (shell)...
    homestead: Running: script: Creating Schedule
    ==> homestead: Running provisioner: Creating Certificate: main.ks (shell)...
    homestead: Running: script: Creating Certificate: main.ks
    ==> homestead: Running provisioner: Creating Site: main.ks (shell)...
    homestead: Running: script: Creating Site: main.ks
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-1p4jwpw.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Creating Certificate: api.ks (shell)...
    homestead: Running: script: Creating Certificate: api.ks
    ==> homestead: Running provisioner: Creating Site: api.ks (shell)...
    homestead: Running: script: Creating Site: api.ks
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-cikwoc.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Creating Certificate: phpmyadmin.test (shell)...
    homestead: Running: script: Creating Certificate: phpmyadmin.test
    ==> homestead: Running provisioner: Creating Site: phpmyadmin.test (shell)...
    homestead: Running: script: Creating Site: phpmyadmin.test
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-16yx90a.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Creating Certificate: api.fm (shell)...
    homestead: Running: script: Creating Certificate: api.fm
    ==> homestead: Running provisioner: Creating Site: api.fm (shell)...
    homestead: Running: script: Creating Site: api.fm
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-cppuqh.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Creating Certificate: monter.fm (shell)...
    homestead: Running: script: Creating Certificate: monter.fm
    ==> homestead: Running provisioner: Creating Site: monter.fm (shell)...
    homestead: Running: script: Creating Site: monter.fm
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-pvuvu2.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Creating Certificate: api.dentes.den (shell)...
    homestead: Running: script: Creating Certificate: api.dentes.den
    ==> homestead: Running provisioner: Creating Site: api.dentes.den (shell)...
    homestead: Running: script: Creating Site: api.dentes.den
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-1xxb6fs.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Creating Certificate: teletopia.ks (shell)...
    homestead: Running: script: Creating Certificate: teletopia.ks
    ==> homestead: Running provisioner: Creating Site: teletopia.ks (shell)...
    homestead: Running: script: Creating Site: teletopia.ks
    ==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-zoo5ov.sh
    ==> homestead: Running provisioner: Checking for old Schedule (shell)...
    homestead: Running: script: Checking for old Schedule
    ==> homestead: Running provisioner: Clear Variables (shell)...
    homestead: Running: script: Clear Variables
    ==> homestead: Running provisioner: Restarting Cron (shell)...
    homestead: Running: script: Restarting Cron
    ==> homestead: Running provisioner: Restart Webserver (shell)...
    homestead: Running: script: Restart Webserver
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: ks_dev (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: ks_dev
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: ks_main (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: ks_main
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: ks_test (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: ks_test
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: ks_api (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: ks_api
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: ks_api_test (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: ks_api_test
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: fm_dev (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: fm_dev
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: fm_test (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: fm_test
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: dentes_dev (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: dentes_dev
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Creating MySQL / MariaDB Database: dentes_test (shell)...
    homestead: Running: script: Creating MySQL / MariaDB Database: dentes_test
    homestead: We didn't find a PID for mariadb, skipping $DB creation
    ==> homestead: Running provisioner: Update Composer (shell)...
    homestead: Running: script: Update Composer
    homestead: Upgrading to version 2.0.13 (stable channel).
    homestead:
    homestead: Use composer self-update --rollback to return to version 2.0.12
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-r7olrw.sh
    ==> homestead: Running provisioner: Update motd (shell)...
    homestead: Running: script: Update motd
    ==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20210504-5109-kkwyj4.sh
    homestead: Reading package lists...
    homestead: Building dependency tree...
    homestead:
    homestead: Reading state information...
    homestead: curl is already the newest version (7.68.0-1ubuntu2.5).
    homestead: The following NEW packages will be installed:
    homestead: jq libjq1
    homestead: 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    homestead: Need to get 171 kB of archives.
    homestead: After this operation, 450 kB of additional disk space will be used.
    homestead: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libjq1 amd64 1.6-1ubuntu0.20.04.1 [121 kB]
    homestead: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 jq amd64 1.6-1ubuntu0.20.04.1 [50.2 kB]
    homestead: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    homestead: Fetched 171 kB in 0s (490 kB/s)
    homestead: Selecting previously unselected package libjq1:amd64.
    homestead: (Reading database ...
    (Reading database ... 45%atabase ... 5%
    homestead: (Reading database ... 50%
    homestead: (Reading database ... 55%
    homestead: (Reading database ... 60%
    homestead: (Reading database ... 65%
    homestead: (Reading database ... 70%
    homestead: (Reading database ... 75%
    homestead: (Reading database ... 80%
    homestead: (Reading database ... 85%
    homestead: (Reading database ... 90%
    homestead: (Reading database ... 95%
    (Reading database ... 210609 files and directories currently installed.)
    homestead: Preparing to unpack .../libjq1_1.6-1ubuntu0.20.04.1_amd64.deb ...
    homestead: Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
    homestead: Selecting previously unselected package jq.
    homestead: Preparing to unpack .../jq_1.6-1ubuntu0.20.04.1_amd64.deb ...
    homestead: Unpacking jq (1.6-1ubuntu0.20.04.1) ...
    homestead: Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
    homestead: Setting up jq (1.6-1ubuntu0.20.04.1) ...
    homestead: Processing triggers for man-db (2.9.1-1) ...
    homestead: Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
    homestead: % Total % Received % Xferd Average Speed Time Time Time Curre
    homestead: nt
    homestead: Dload Upload Total
    homestead: Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 90 100 90 0 0 416
    homestead: 0 --:--:-- --:--:-- --:-
    homestead: -:-- 416
    homestead: jq: error (at <stdin>:4): Cannot index string with string "name"
    homestead: http://: Invalid host name.
    homestead: ERROR 1049 (42000): Unknown database 'ks'
    homestead: Generating locales (this might take a while)...
    homestead: en_AG.UTF-8
    homestead: ...
    homestead: done
    homestead: en_AU.UTF-8
    homestead: ...
    homestead: done
    homestead: en_BW.UTF-8
    homestead: ...
    homestead: done
    homestead: en_CA
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_DK
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_GB
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_HK
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_IE
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_IL
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_IN
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_NG
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_NZ
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_PH
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_SG
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_US
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_ZA
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_ZM
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: en_ZW
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: nb_NO
    homestead: .UTF-8
    homestead: ...
    homestead: done
    homestead: Generation complete.
    homestead: Reading package lists...
    homestead: Building dependency tree...
    homestead: Reading state information...
    homestead: Package libssl1.0-dev is not available, but is referred to by another package.
    homestead: This may mean that the package is missing, has been obsoleted, or
    homestead: is only available from another source
    homestead: E
    homestead: :
    homestead: Package 'libssl1.0-dev' has no installation candidate
    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.