Seravo / wordpress

The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
https://seravo.com
GNU General Public License v3.0
102 stars 54 forks source link

What is the web address to view locally? #122

Closed anthonyalvarez closed 4 years ago

anthonyalvarez commented 4 years ago

Hello,

Trying to get starting with this project to make a Wordpress Local Developmet server What web address is used to open this repository locally? What is the next step to start using this? Do not know if Seravo is properly installed.

Any clues appreciated. Thank you.

Are these error messages?

What are next steps?

==> wordpress-box: Preparing network interfaces based on configuration...
    wordpress-box: Adapter 1: nat
    wordpress-box: Adapter 2: hostonly
==> wordpress-box: Forwarding ports...
    wordpress-box: 22 (guest) => 2222 (host) (adapter 1)
The adapter to attach a forwarded port to was not found. Please
verify that the given adapter is setup on the machine as a NAT
interface.

Git Bash Output

$ git clone https://github.com/Seravo/wordpress.git ~/Documents/vagrant/seravo
Cloning into 'C:/Users/antho/Documents/vagrant/seravo'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1279 (delta 4), reused 9 (delta 3), pack-reused 1264
Receiving objects: 100% (1279/1279), 356.16 KiB | 4.14 MiB/s, done.
Resolving deltas: 100% (713/713), done.

$ cd seravo/

antho@DESKTOP-LHRUNLM MINGW64 ~/Documents/vagrant/seravo (master)
$ vagrant up
Bringing machine 'wordpress-box' up with 'virtualbox' provider...
==> wordpress-box: Box 'seravo/wordpress' could not be found. Attempting to find and install...
    wordpress-box: Box Provider: virtualbox
    wordpress-box: Box Version: >= 20190513.0.0
==> wordpress-box: Loading metadata for box 'seravo/wordpress'
    wordpress-box: URL: https://vagrantcloud.com/seravo/wordpress
==> wordpress-box: Adding box 'seravo/wordpress' (v20191008.0.0) for provider: virtualbox
    wordpress-box: Downloading: https://vagrantcloud.com/seravo/boxes/wordpress/versions/20191008.0.0/providers/virtualbox.box
    wordpress-box: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
    wordpress-box: Progress: 78% (Rate: 7678k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 80% (Rate: 4193k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 83% (Rate: 8769k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 85% (Rate: 10.2M/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 87% (Rate: 5372k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 89% (Rate: 4700k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 92% (Rate: 6138k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 94% (Rate: 9066k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 96% (Rate: 7225k/s, Estimated time remaining: 0:00:    wordpress-box: Progress: 100% (Rate: 8601k/s, Estimated time remaining: --:-    wordpress-box:
    wordpress-box: Calculating and comparing box checksum...
==> wordpress-box: Successfully added box 'seravo/wordpress' (v20191008.0.0) for 'virtualbox'!
==> wordpress-box: Importing base box 'seravo/wordpress'...
==> wordpress-box: Matching MAC address for NAT networking...
==> wordpress-box: Checking if box 'seravo/wordpress' version '20191008.0.0' is up to date...
==> wordpress-box: Setting the name of the VM: seravo_wordpress-box_1574801181827_93947
==> wordpress-box: Clearing any previously set network interfaces...
==> wordpress-box: Preparing network interfaces based on configuration...
    wordpress-box: Adapter 1: nat
    wordpress-box: Adapter 2: hostonly
==> wordpress-box: Forwarding ports...
    wordpress-box: 22 (guest) => 2222 (host) (adapter 1)
The adapter to attach a forwarded port to was not found. Please
verify that the given adapter is setup on the machine as a NAT
interface.

Host port: 2222
Guest port: 22
Adapter: 1

My computer configuration

- Operating System: Win10x64
- Vagrant Version: 2.2.6
- Virtual Box Version: 6.0.14 r133895 (Qt5.6.2)

PS. Successfully installed another random vagrant box and was able to run both vagrant up and vagrant ssh commands on that box,

It seems like vagrant is setup properly.

ottok commented 4 years ago

Hello!

The problem is as you have correctly identified this:

The adapter to attach a forwarded port to was not found. Please verify that the given adapter is setup on the machine as a NAT interface.

The virtual machine did not start, so you cannot access it. I don't know on the top of my head why it says like that. I will try to find somebody who has Windows so this can be tested.

ottok commented 4 years ago

Hello @anthonyalvarez ! How did this go, this you solve it?

Actually the root cause here might be that you used Virtualbox 6.0, which is super slow (#96). This is documented in https://seravo.com/docs/development/how-to-install/. The solution is to uninstall Virtualbox 6.0 and install Virtualbox 5.2 instead.