Closed ntwb closed 8 years ago
I didn't get any 404s, but I did get quite a few other errors.
Fatal error: Class 'WP_Parser\Plugin' not found
Fatal error: require_once(): Failed opening required '/srv/www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/../../translate.wordpressorg.dev/public_html/glotpress/locales/locales.php'
- The ../../
might be throwing it off, or maybe just the change to loading it from the meta-repository
Git checkout.@ntwb, if you're still seeing the 404s, can you run vagrant provision 2>&1 | tee wme-provision.log
and copy the output to a Gist?
plan.wordcamp.dev - I'm not sure was it removed from the db, but it was probably by accident. That's ok, though, because it's not being used anymore on production. That content was migrated to the handbooks on make/Community, so we can just remove the link in the wp-meta.dev dashboard
👍 Fix is in #70
The ../../ might be throwing it off, or maybe just the change to loading it from the meta-repository Git checkout.
I'd have loved to have done this, but I want to be able to commit to meta.svn
as needed from within VVV the meta environment, hence the switch to Git wasn't an option 😞
if you're still seeing the 404s, can you run vagrant provision 2>&1 | tee wme-provision.log and copy the output to a Gist?
Done -> https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc
FWIW, everything under www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/wp-content
looks correct, plugins, themes, translations, mu-plugins...
Ahhh... But there is no WordPress at:
www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/
It should be located in:
www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/wordpress
There's half a dozen of these errors:
==> default: Error: This does not seem to be a WordPress install.
==> default: Pass --path=`path/to/wordpress` or run `wp core download`.
https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc#file-wme-provision-log-L308 https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc#file-wme-provision-log-L309 https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc#file-wme-provision-log-L397 https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc#file-wme-provision-log-L399 https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc#file-wme-provision-log-L505 https://gist.github.com/ntwb/6a374e9b44072b286e35a4c5a81ee4bc#file-wme-provision-log-L507
So two sites only include /wordpress
buddypressorg.dev
Does include wordpress
wp core download --path=$SITE_DIR/wordpress --allow-root
wordcamp.dev
Does include wordpress
wp core download --path=$SITE_DIR/wordpress --allow-root
And fives sites do not:
api.wordpress.org
Does not include wordpress
jobs.wordpressnet.dev
Does not include wordpress
wp core download --version=nightly --path=$SITE_DIR/wordpress
translates.wordpressorg.dev
Does not include wordpress
, which is correct, this is GlotPress 1.x, no WordPress requiredwordpressorg.dev
Does not include wordpress
wp core download --version=nightly --path=$SITE_DIR/wordpress
wordpresstv.dev
Does not include wordpress
wp core download --version=nightly --path=$SITE_DIR/wordpress
So the culprit appears to be wp core download --version=nightly --path=$SITE_DIR/wordpress
as wp core download --path=$SITE_DIR/wordpress --allow-root
works fine for the two sites that use it.
FYI wp core download --version=nightly
I think only working in WP-CLI 0.24.0
.
FYI wp core download --version=nightly I think only working in WP-CLI 0.24.0.
Yes, I think that is the case, checking wp --version
results in WP-CLI 0.25.0-alpha
I'll continue to investigate further in the morning
I think @grappler meant that it's only available since 0.24.0
, not that it was added in 0.24.0
, and then removed in 0.25.0
. It's still there in the master
branch and I can run it in 0.25.0
.
VVV updates WP-CLI to the master
branch during the provision process, and that should happen before the vvv-init.sh
scripts are called.
Maybe the problem is the lack of the --allow-root
parameter? We had to add that in #6, but at the time I thought it was only a safety measure for older VVV installs. I could have been wrong, though; we have had some permission issues related to WP-CLI lately in #48 and #53.
Right, will play around with adding --allow-root
in a bit 👍
In the meantime, manually copying the /wordpress
folder from the buddypressorg.dev
site to the wordpressorg.dev
site appears to fix the core of the problem, WordPress is now available, that said, new errors for some sub sites now exist:
Fatal error: Class 'WP_Parser\Plugin' not found
see #71@ntwb, I was able to reproduce it and 5b2c796 fixes it for me. Would you mind verifying that it's fixed for you too?
All good @iandunn, working as expected 👍
Updated VVV and WME Repos locally:
==> default: # Updating jobs.wordpressnet.dev
==> default: #
==> default: From git://meta.git.wordpress.org
==> default: * branch master -> FETCH_HEAD
==> default: Already up-to-date.
==> default: Error: This does not seem to be a WordPress install.
==> default: Pass --path=`path/to/wordpress` or run `wp core download`.
==> default: Error: This does not seem to be a WordPress install.
==> default: Pass --path=`path/to/wordpress` or run `wp core download`.
==> default: # Updating wordpresstv.dev
==> default: #
==> default: From git://meta.git.wordpress.org
==> default: * branch master -> FETCH_HEAD
==> default: Already up-to-date.
==> default: Error: This does not seem to be a WordPress install.
==> default: Pass --path=`path/to/wordpress` or run `wp core download`.
==> default: Error: This does not seem to be a WordPress install.
==> default: Pass --path=`path/to/wordpress` or run `wp core download`.
Which seems right, both sites already exist, but due to previous original issues can't be updated, deleting the sites and re-provisioning should resolve these.
Deleting both sites above fixed these, working as expected.
(The same "should" have occured for wordpressorg.dev
but didn't as I manually rebuilt this site so I could get work done.)
Awesome, thanks :)
The
translate.wordpressorg.dev
will be covered in #54The above is from a brand new VVV & WME install, I've not yet been able to narrow down the root cause, will continue to poke around.