Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Unknown configuration section 'hostsupdater' on vagrant up #1741

Closed
GuibertLo opened this issue Mar 21, 2018 · 14 comments
Closed

Unknown configuration section 'hostsupdater' on vagrant up #1741

GuibertLo opened this issue Mar 21, 2018 · 14 comments

Comments

@GuibertLo
Copy link

GuibertLo commented Mar 21, 2018

Issue Type

  • Bug Report / Support Request

Your Environment

Vagrant 2.0.2, VirtualBox 5.2.6 r120293 (Qt5.6.2)

Your OS

  • Windows (10 professional)

Full console output

https://gist.github.com/GuibertLo/682d06e8ab59772e4a9a95d092d30fc5

Summary

Hi, I tried to build and launch my Drupal VM, but I get this error message all the time. I run a console with admin rights, I don't have any special char in my userfolder, I allowed the virutal CPU in my computer's BIOS.... I don't know what to try next.
Does anybody know how to resolve this issue?
Thanks!

@geerlingguy
Copy link
Owner

If you try vagrant up again, does it work on the second try? Usually that just means the plugin wasn't installed (though the plugin auto install should fix it... but sometimes it takes two tries).

@GuibertLo
Copy link
Author

Sorry for the delay. I already tried those solutions, and none of them worked. And I've already tried to launch several times in a row the vagrant up command.

@Ornitier
Copy link

Ornitier commented Apr 19, 2018

Same as @GuibertLo here.

Windows 10 Pro
Vagrant 2.0.3 (fresh install)
Version 5.2.8 r121009 (Qt5.6.2) (fresh install)

Plugins :

> vagrant plugin list
vagrant-hostsupdater (1.1.1.160)
vagrant-vbguest (0.15.1)

Launch :

> vagrant up
Bringing machine 'drupalvm' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

Vagrant:
* Unknown configuration section 'hostsupdater'.

Tried to :

  • install plugin,
  • uninstall and install plugin,
  • uninstall and vagrant up to install as dependency,

nothing works...

@geerlingguy
Copy link
Owner

I'll try to reproduce on my Windows 10 machine soon. Thanks for continuing to try out fixes!

@Ornitier
Copy link

Ornitier commented May 8, 2018

I update Vagrant today (2.1.0), same problem.
Tried to purge and reinstall plugins, same thing.

@geerlingguy
Copy link
Owner

Do you have a custom Vagrantfile.local? Also, have you customized the Vagrantfile at all? Anything special or custom about your project or does this happen if you just download vanilla Drupal VM and try a vagrant up with it?

@oxyc
Copy link
Collaborator

oxyc commented May 11, 2018

Also worth posting the output from vagrant up --debug as a gist. Might find something off there

@Ornitier
Copy link

Hello @geerlingguy and @oxyc

No custom Vagrantfile.local.
I just tweak a little custom.config (gist => https://gist.github.com/Ornitier/c8a4276cafba287cad99dbd330c6cbbc)
And the debug gist => https://gist.github.com/Ornitier/fba4b14a05f9c12317b218e6898985b0 (this one on Vagrant 2.0.4)

@oxyc
Copy link
Collaborator

oxyc commented May 11, 2018

There's this at least

DEBUG global: Loading plugin vagrant-hostsupdater with default require: vagrant-hostsupdater
DEBUG global: Failed to load plugin vagrant-hostsupdater with default require.
DEBUG global: Loading plugin vagrant-hostsupdater with slash require: vagrant/hostsupdater
WARN global: Failed to load plugin vagrant-hostsupdater. Assuming library and moving on.
DEBUG global: Successfully loaded plugin vagrant-hostsupdater.

@oxyc
Copy link
Collaborator

oxyc commented May 11, 2018

Could you try installing an older version for example:

vagrant plugin install vagrant-hostsupdater --plugin-version=1.0.2

@Ornitier
Copy link

Ornitier commented May 11, 2018

Hello @oxyc
Same, here is the log : https://gist.github.com/Ornitier/3a7b85ed5f409ebead02affec9759d2b

Update June 8th : same problem with drupal-vm-4.9

@geerlingguy
Copy link
Owner

Do you know if this is still an error? Also, is everyone experiencing this issue running Windows, or is it happening on other OSes as well? And what version of Vagrant do you have installed?

@geerlingguy
Copy link
Owner

I am closing issues more than 6 months old which are not approved feature requests or definitively reproducible bugs affecting most users of Drupal VM; if you feel like this is still a reproducible issue with Drupal VM or something that should still be worked on, please open a new issue in the Drupal VM issue queue. I am trying to clean up some older issues which were hard or impossible to reproduce and debug.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants