Comments (10)
So the latest Vagrant should have modified your hosts file so that heroku.local
resolves to 192.168.50.100. I'm not sure why it's not doing that. What OS are you using?
If it's OS X / Unix try adding the following to your /etc/hosts
file.
192.168.50.100 herokuwp.local
from heroku-wp.
I'm on OSX, and modifying /etc/hosts did seem to work. Not sure why it'd be behaving that way. Either way, my immediate issue is resolved. Curious if anyone else has run into something similar?
from heroku-wp.
Actually, quick update here. After doing a quick vagrant halt, vagrant up - herokuwp.local/ still resolves, but now returns nginx's "further configuration is required" welcome page, instead of Wordpress. Seems like something may not be quite right with the Vagrant set up.
from heroku-wp.
Can you do vagrant destroy
then vagrant up
and gist the logs or any errors in your error logs?
from heroku-wp.
Oh man, weird, weird, weird. So I did vagrant destroy
and vagrant up
once and got the nginx "further configuration is required" message. Just did it again to get logs for you - on the same branch - no "further configuration is required" message this time, just WP's default setup page.
Here's the logs from the successful attempt.
https://gist.github.com/aeblin/6287133a08cb82b1c520
And the logs from the attempt just prior that resulted in the "further configuration is required" message.
https://gist.github.com/aeblin/8aace6c09e9a66ab704a
Worth noting these both happened from the same branch, with no code changes, and using the same terminal window.
from heroku-wp.
Yeah that's weird, I'm not seeing any failures in the unsuccessful run. Just out of curiosity what's your Vagrant version and are you using VirtualBox or some other provider?
Edit: Ignore the second part from your gist it looks like you are using VirtualBox, what version of that are you running?
from heroku-wp.
Running VirtualBox 4.3.20 and Vagrant 1.7.2.
Things are still very inconsistent as to whether or not herokuwp.local/ resolves between vagrant halt
and vagrant up
- really strange issue.
Edit: Here's a gist of a failure I received on vagrant up
after vagrant halt
https://gist.github.com/aeblin/76e47ea91324f9f1d6e4
from heroku-wp.
@aeblin Interesting, so I wasn't able to reproduce this issue however from your logs it looks like your VM was not able to mount the shared folder to /app
within the VM. Maybe try reinstalling Vagrant and VirtualBox?
Relevant log lines:
==> herokuwp: Exporting NFS shared folders...
==> herokuwp: Preparing to edit /etc/exports. Administrator privileges will be required...
==> herokuwp: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o 'vers=3,udp' 192.168.56.1:'/Users/aeblin/heroku-wp' /app
Stdout from the command:
Stderr from the command:
stdin: is not a tty
mount.nfs: access denied by server while mounting 192.168.56.1:/Users/aeblin/heroku-wp
from heroku-wp.
It also did not add heroku.local to my hosts file. After manually adding that line, it worked fine
from heroku-wp.
This thread is pretty old and I just rebuilt the Vagrant environment in af3cd22 to fix a bunch of outstanding issues. The README was also updated in 17826d0 along with new configs for the vagrant-hostmanager
plugin is that's installed to automatically manage the hosts file on the host computer.
Given all those changes I think the issue encountered here should be resolved so I'm closing this issue.
from heroku-wp.
Related Issues (20)
- How to install from private bitbucket ? HOT 1
- include_once() error messages HOT 2
- Auto redirect to HTTPS HOT 3
- Storing images in S3 failed HOT 1
- Composer wpackagist missing file error HOT 2
- Authy has been deprecated HOT 1
- Deploy button? HOT 1
- 502 Bad Gateway HOT 4
- Non-standard mysql port HOT 3
- Composer fails RuntimeException Could not delete HOT 1
- Custom plugins are missing after composer install HOT 1
- sh: 1: ./support/app_slug_compile.sh: Permission denied HOT 1
- Mu-plugins information appears on the head HOT 2
- Themes nor Plugins cannot be added HOT 5
- Error logs not showing HOT 3
- Error establishing a database connection HOT 6
- Error running heroku run wp core install HOT 1
- Getting errors after creation of functions.php
- Error running locally
- Failure running WordPress locally. Folder mount fails on Vagrant 2.1.4 (MacOS Big Sur)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-wp.