Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.54k stars 848 forks source link

Virtualbox Version Bump Incomplete #2075

Closed arkytn closed 4 years ago

arkytn commented 4 years ago

What was The Command Used To Provision

vagrant provision

What Kind of VVV Provision Was This

This was an attempt to upgrade to a new version of VVV

Logs/What Broke

---

# This file is a YAML formatted file. YAML indenting is done in spaces not
# tabs, and whitespace is significant. If you don't stick to this, it will
# fail on provision

#
# IMPORTANT, if you change this file, you have to reprovision,  no exceptions
# Do this by running either this command:
# vagrant reload --provision

# Or, if your machine is already turned on:
# vagrant provision
#

# These are your websites, and their names map on to the folders they're
# located in. See the docs for how to define these, and what all the keys
# and options are
sites:

  # latest version of WordPress, can be used for client work and testing
  # Check the readme at https://github.com/Varying-Vagrant-Vagrants/custom-site-template
  wordpress-one:
    skip_provisioning: false
    description: "A standard WP install, useful for building plugins, testing things, etc"
    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
    hosts:
      - one.wordpress.test
    custom:
      wpconfig_constants:
        WP_DEBUG: true
        WP_DEBUG_LOG: true
        WP_DISABLE_FATAL_ERROR_HANDLER: true # To disable in WP 5.2 the FER mode

  tscdev:
    skip_provisioning: false
    description: "TSC Development"
    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
    hosts:
      - tscdev.test
    custom:
      wpconfig_constants:
        WP_DEBUG: true
        WP_DEBUG_LOG: true
        WP_DISABLE_FATAL_ERROR_HANDLER: true # To disable in WP 5.2 the FER mode

  wordpress-two:
    skip_provisioning: false
    description: "A standard WP install, useful for building plugins, testing things, etc"
    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
    custom:
      # locale: it_IT
      delete_default_plugins: true
      install_plugins:
        - query-monitor
    hosts:
      - two.wordpress.test

  # The following commented out site configuration will create a standard WordPress
  # site in www/example-site/ available at http://mysite.test.
  # Remember, whitespace is significant! Tabs and spaces mean different things
  #mysite:
  #  description: "My website"
  #  repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
  #  hosts:
  #    - mysite.test

  # The wordpress-develop configuration is useful for contributing to WordPress Core.
  # It uses the built WP to serve the site
  wordpress-trunk:
    skip_provisioning: true # provisioning this one takes longer, so it's disabled by default
    description: "An svn based WP Core trunk dev setup, useful for contributor days, Trac tickets, patches"
    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template-develop.git
    hosts:
      - trunk.wordpress.test

  # The following commented out site configuration will create a environment useful
  # for contributions to the WordPress meta team, .e.g WordCamps, .org, etc:
  wordpress-meta-environment:
    skip_provisioning: true # disabled by default, this takes a long time to provision
    description: "An environment useful for contributions to the WordPress meta team."
    repo: https://github.com/WordPress/meta-environment.git
    hosts:
      - wp-meta.test
    custom:
      provision_site:
        "buddypressorg.test": true
        "jobs.wordpressnet.test": true
        "wordcamp.test": true
        "wordpressorg.test": true
        "wordpresstv.test": true

  # The following commented out site configuration will create a standard WordPress
  # site in www/example-site/ available at http://my-example-site.test.
  # Remember, whitespace is significant! Tabs and spaces mean different things
  #example-site:
  #  repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
  #  hosts:
  #    - my-example-site.test

# Utilities https://varyingvagrantvagrants.org/docs/en-US/utilities/
# are system level items that aren't websites, that install tools or packages
# the core utilities install tools such as phpmyadmin
utilities:
  core: # The core VVV utility
    - tls-ca # HTTPS SSL/TLS certificates
    - phpmyadmin # Web based database client
    #- memcached-admin # Object cache management
    #- opcache-status # opcache management
    #- webgrind # PHP Debugging
    #- mongodb # needed for Tideways/XHGui
    #- tideways # PHP profiling tool, also installs xhgui check https://varyingvagrantvagrants.org/docs/en-US/references/tideways-xhgui/
    #- php56
    #- php70
    #- php71
    #- php72
    #- php73
    #- php74

# vm_config controls how Vagrant provisions the virtual machine, and can be used to
# increase the memory given to VVV and the number of CPU cores.
# It can also be used to override the default provider being used within Vagrant.

vm_config:
  # For WP core development we recommend at least 2GB ( 2048 ),
  # If you have 4GB of RAM, lower this to 768MB or you may encounter issues
  memory: 2048
  # CPU cores:
  cores: 2

  # this tells VVV to use the prebuilt box copied from the USB drive at contributor days
  # once set to false, do not change back to true, and reprovision
  # wordcamp_contributor_day_box: false

  # Due to a limitation within Vagrant, the specified provider is only respected on a clean `vagrant up`
  # as Vagrant currently restricts you to one provider per machine
  # https://www.vagrantup.com/docs/providers/basic_usage.html#vagrant-up
  # provider: vmware_workstation

# General VVV options
general:
  # Backup the databases to the database/backups subfolder on halt/suspend/destroy, set to false to disable
  db_backup: true
  # Import the databases if they're missing from backups
  db_restore: true
  # set to true to use a synced shared folder for MariaDB database storage
  db_share_type: false
  # GitHub token to use from composer
  #github_token: xxxxxx

# Settings for the vagrant plugins supported by VVV
vagrant-plugins:
  disksize: 10GB # requires the disk size vagrant plugin

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Your Environment

Operating System: Windows

tomjn commented 4 years ago

Hello! Which version of vagrant and virtual box did you use?

Also can you show us the output of vagrant provision that failed? The config file is useful but it doesn’t contain the error message

On Sat, 15 Feb 2020 at 16:56, Arnold Bailey notifications@github.com wrote:

What was The Command Used To Provision

vagrant provision

What Kind of VVV Provision Was This

This was an attempt to upgrade to a new version of VVV Logs/What Broke


This file is a YAML formatted file. YAML indenting is done in spaces not# tabs, and whitespace is significant. If you don't stick to this, it will# fail on provision

IMPORTANT, if you change this file, you have to reprovision, no exceptions# Do this by running either this command:# vagrant reload --provision

Or, if your machine is already turned on:# vagrant provision

These are your websites, and their names map on to the folders they're# located in. See the docs for how to define these, and what all the keys# and options aresites:

latest version of WordPress, can be used for client work and testing

Check the readme at https://github.com/Varying-Vagrant-Vagrants/custom-site-template

wordpress-one: skip_provisioning: false description: "A standard WP install, useful for building plugins, testing things, etc" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git hosts:

  • one.wordpress.test custom: wpconfig_constants: WP_DEBUG: true WP_DEBUG_LOG: true WP_DISABLE_FATAL_ERROR_HANDLER: true # To disable in WP 5.2 the FER mode

    tscdev: skip_provisioning: false description: "TSC Development" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git hosts:

  • tscdev.test custom: wpconfig_constants: WP_DEBUG: true WP_DEBUG_LOG: true WP_DISABLE_FATAL_ERROR_HANDLER: true # To disable in WP 5.2 the FER mode

    wordpress-two: skip_provisioning: false description: "A standard WP install, useful for building plugins, testing things, etc" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git custom:

    locale: it_IT

    delete_default_plugins: true install_plugins:

    • query-monitor hosts:
  • two.wordpress.test

    The following commented out site configuration will create a standard WordPress

    site in www/example-site/ available at http://mysite.test.

    Remember, whitespace is significant! Tabs and spaces mean different things

    mysite:

    description: "My website"

    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git

    hosts:

    - mysite.test

    The wordpress-develop configuration is useful for contributing to WordPress Core.

    It uses the built WP to serve the site

    wordpress-trunk: skip_provisioning: true # provisioning this one takes longer, so it's disabled by default description: "An svn based WP Core trunk dev setup, useful for contributor days, Trac tickets, patches" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template-develop.git hosts:

  • trunk.wordpress.test

    The following commented out site configuration will create a environment useful

    for contributions to the WordPress meta team, .e.g WordCamps, .org, etc:

    wordpress-meta-environment: skip_provisioning: true # disabled by default, this takes a long time to provision description: "An environment useful for contributions to the WordPress meta team." repo: https://github.com/WordPress/meta-environment.git hosts:

  • wp-meta.test custom: provision_site: "buddypressorg.test": true "jobs.wordpressnet.test": true "wordcamp.test": true "wordpressorg.test": true "wordpresstv.test": true

    The following commented out site configuration will create a standard WordPress

    site in www/example-site/ available at http://my-example-site.test.

    Remember, whitespace is significant! Tabs and spaces mean different things

    example-site:

    repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git

    hosts:

    - my-example-site.test

    Utilities https://varyingvagrantvagrants.org/docs/en-US/utilities/# are system level items that aren't websites, that install tools or packages# the core utilities install tools such as phpmyadminutilities:

    core: # The core VVV utility

    • tls-ca # HTTPS SSL/TLS certificates
    • phpmyadmin # Web based database client

      - memcached-admin # Object cache management

      - opcache-status # opcache management

      - webgrind # PHP Debugging

      - mongodb # needed for Tideways/XHGui

      - tideways # PHP profiling tool, also installs xhgui check https://varyingvagrantvagrants.org/docs/en-US/references/tideways-xhgui/

      - php56

      - php70

      - php71

      - php72

      - php73

      - php74

      vm_config controls how Vagrant provisions the virtual machine, and can be used to# increase the memory given to VVV and the number of CPU cores.# It can also be used to override the default provider being used within Vagrant.

      vm_config:

      For WP core development we recommend at least 2GB ( 2048 ),

      If you have 4GB of RAM, lower this to 768MB or you may encounter issues

      memory: 2048

      CPU cores:

      cores: 2

    this tells VVV to use the prebuilt box copied from the USB drive at contributor days

    once set to false, do not change back to true, and reprovision

    wordcamp_contributor_day_box: false

    Due to a limitation within Vagrant, the specified provider is only respected on a clean vagrant up

    as Vagrant currently restricts you to one provider per machine

    https://www.vagrantup.com/docs/providers/basic_usage.html#vagrant-up

    provider: vmware_workstation

    General VVV optionsgeneral:

    Backup the databases to the database/backups subfolder on halt/suspend/destroy, set to false to disable

    db_backup: true

    Import the databases if they're missing from backups

    db_restore: true

    set to true to use a synced shared folder for MariaDB database storage

    db_share_type: false

    GitHub token to use from composer

    github_token: xxxxxx

    Settings for the vagrant plugins supported by VVVvagrant-plugins:

    disksize: 10GB # requires the disk size vagrant plugin

Possible Solution Steps to Reproduce (for bugs)

1. 2. 3. 4.

Your Environment

Operating System: Windows

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Varying-Vagrant-Vagrants/VVV/issues/2075?email_source=notifications&email_token=AAAOLZYWHWBF46GFEOTAWKLRDANFPA5CNFSM4KV2JSGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INZC2MA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOLZYMDT6BJLVRFNBS76DRDANFPANCNFSM4KV2JSGA .

arkytn commented 4 years ago

Sorry I figured out just now. I was running vagrant 2.2.6. Updating to 2.2.7 fixed the problem.

Sorry to have bothered you. I am getting a problem reprovisioning from mirror.herrbischoff.com but I figure they are temporarily down.

Arnold Bailey | WebWrights | support@webwrights.com

On Sat, Feb 15, 2020 at 11:59 AM Tom J Nowell notifications@github.com wrote:

Hello! Which version of vagrant and virtual box did you use?

Also can you show us the output of vagrant provision that failed? The config file is useful but it doesn’t contain the error message

On Sat, 15 Feb 2020 at 16:56, Arnold Bailey notifications@github.com wrote:

What was The Command Used To Provision

vagrant provision

What Kind of VVV Provision Was This

This was an attempt to upgrade to a new version of VVV Logs/What Broke


This file is a YAML formatted file. YAML indenting is done in spaces

not# tabs, and whitespace is significant. If you don't stick to this, it will# fail on provision

IMPORTANT, if you change this file, you have to reprovision, no

exceptions# Do this by running either this command:# vagrant reload --provision

Or, if your machine is already turned on:# vagrant provision

These are your websites, and their names map on to the folders

they're# located in. See the docs for how to define these, and what all the keys# and options aresites:

latest version of WordPress, can be used for client work and testing

Check the readme at

https://github.com/Varying-Vagrant-Vagrants/custom-site-template wordpress-one: skip_provisioning: false description: "A standard WP install, useful for building plugins, testing things, etc" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git hosts:

  • one.wordpress.test custom: wpconfig_constants: WP_DEBUG: true WP_DEBUG_LOG: true WP_DISABLE_FATAL_ERROR_HANDLER: true # To disable in WP 5.2 the FER mode

tscdev: skip_provisioning: false description: "TSC Development" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git hosts:

  • tscdev.test custom: wpconfig_constants: WP_DEBUG: true WP_DEBUG_LOG: true WP_DISABLE_FATAL_ERROR_HANDLER: true # To disable in WP 5.2 the FER mode

wordpress-two: skip_provisioning: false description: "A standard WP install, useful for building plugins, testing things, etc" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git custom:

locale: it_IT

delete_default_plugins: true install_plugins:

  • query-monitor hosts:
  • two.wordpress.test

The following commented out site configuration will create a standard

WordPress

site in www/example-site/ available at http://mysite.test.

Remember, whitespace is significant! Tabs and spaces mean different

things

mysite:

description: "My website"

repo:

https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git

hosts:

- mysite.test

The wordpress-develop configuration is useful for contributing to

WordPress Core.

It uses the built WP to serve the site

wordpress-trunk: skip_provisioning: true # provisioning this one takes longer, so it's disabled by default description: "An svn based WP Core trunk dev setup, useful for contributor days, Trac tickets, patches" repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template-develop.git hosts:

  • trunk.wordpress.test

The following commented out site configuration will create a

environment useful

for contributions to the WordPress meta team, .e.g WordCamps, .org,

etc: wordpress-meta-environment: skip_provisioning: true # disabled by default, this takes a long time to provision description: "An environment useful for contributions to the WordPress meta team." repo: https://github.com/WordPress/meta-environment.git hosts:

  • wp-meta.test custom: provision_site: "buddypressorg.test": true "jobs.wordpressnet.test": true "wordcamp.test": true "wordpressorg.test": true "wordpresstv.test": true

The following commented out site configuration will create a standard

WordPress

site in www/example-site/ available at http://my-example-site.test.

Remember, whitespace is significant! Tabs and spaces mean different

things

example-site:

repo:

https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git

hosts:

- my-example-site.test

Utilities https://varyingvagrantvagrants.org/docs/en-US/utilities/

are system level items that aren't websites, that install tools or packages# the core utilities install tools such as phpmyadminutilities: core: # The core VVV utility

  • tls-ca # HTTPS SSL/TLS certificates
  • phpmyadmin # Web based database client

    - memcached-admin # Object cache management

    - opcache-status # opcache management

    - webgrind # PHP Debugging

    - mongodb # needed for Tideways/XHGui

    - tideways # PHP profiling tool, also installs xhgui check

    https://varyingvagrantvagrants.org/docs/en-US/references/tideways-xhgui/

    - php56

    - php70

    - php71

    - php72

    - php73

    - php74

    vm_config controls how Vagrant provisions the virtual machine, and can

    be used to# increase the memory given to VVV and the number of CPU cores.# It can also be used to override the default provider being used within Vagrant. vm_config:

    For WP core development we recommend at least 2GB ( 2048 ),

    If you have 4GB of RAM, lower this to 768MB or you may encounter issues

    memory: 2048

    CPU cores:

    cores: 2

this tells VVV to use the prebuilt box copied from the USB drive at

contributor days

once set to false, do not change back to true, and reprovision

wordcamp_contributor_day_box: false

Due to a limitation within Vagrant, the specified provider is only

respected on a clean vagrant up

as Vagrant currently restricts you to one provider per machine

https://www.vagrantup.com/docs/providers/basic_usage.html#vagrant-up

provider: vmware_workstation

General VVV optionsgeneral:

Backup the databases to the database/backups subfolder on

halt/suspend/destroy, set to false to disable db_backup: true

Import the databases if they're missing from backups

db_restore: true

set to true to use a synced shared folder for MariaDB database storage

db_share_type: false

GitHub token to use from composer

github_token: xxxxxx

Settings for the vagrant plugins supported by VVVvagrant-plugins:

disksize: 10GB # requires the disk size vagrant plugin

Possible Solution Steps to Reproduce (for bugs)

1. 2. 3. 4.

Your Environment

Operating System: Windows

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/Varying-Vagrant-Vagrants/VVV/issues/2075?email_source=notifications&email_token=AAAOLZYWHWBF46GFEOTAWKLRDANFPA5CNFSM4KV2JSGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INZC2MA , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAAOLZYMDT6BJLVRFNBS76DRDANFPANCNFSM4KV2JSGA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Varying-Vagrant-Vagrants/VVV/issues/2075?email_source=notifications&email_token=AAQB7SMQVL4QQJVQMLQTX73RDANNZA5CNFSM4KV2JSGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3RY7I#issuecomment-586620029, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQB7SOFA2S3EVGGH6R3KJ3RDANNZANCNFSM4KV2JSGA .

tomjn commented 4 years ago

mirror.herrbischoff.com is up, it may just be connection issues between your ISP and that particular mirror, in the past people who've had similar issues notice it goes away when they switch to a different wifi network or provider

tomjn commented 4 years ago

I'm going to mark this as closed, comment back if it's still an issue and we can reopen

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.