Git Product home page Git Product logo

Comments (8)

bradp avatar bradp commented on August 22, 2024

Just pushed an update to the vv-install branch, which gets pulled down during provision. Should be all good to go now.

from vv.

israelcurtis avatar israelcurtis commented on August 22, 2024

worked great for plugins and themes, but setting the options still throws the error (so no theme activated, etc)

==> default: Installing mu-plugins...
==> default: Cloning into 'WDS-Required-Plugins'...
==> default: setting up options...
==> default: Error: YIKES! It looks like you're running this as root. You probably meant to run this as the user tha
t your WordPress install exists under.
==> default: 
==> default: If you REALLY mean to run this as root, we won't stop you, but just bear in mind that any code on this 
site will then have full control of your server, making it quite DANGEROUS.
==> default: 
==> default: If you'd like to continue as root, please run this again, adding this flag:  --allow-root
==> default: 
==> default: If you'd like to run it as the user that this site is under, you can run the following to become the re
spective user:
==> default: 
==> default:     sudo -u USER -i -- wp <command>
==> default: Error: YIKES! It looks like you're running this as root. You probably meant to run this as the user tha
t your WordPress install exists under.
==> default: 
==> default: If you REALLY mean to run this as root, we won't stop you, but just bear in mind that any code on this 
site will then have full control of your server, making it quite DANGEROUS.
==> default: 
==> default: If you'd like to continue as root, please run this again, adding this flag:  --allow-root
==> default: 
==> default: If you'd like to run it as the user that this site is under, you can run the following to become the re
spective user:
==> default: 
==> default:     sudo -u USER -i -- wp <command>

now it looks like the root warning fired twice in this section, even though I only have one option declared in my blueprint:

{
  "somatic": {
    "themes": [
      "automattic/_s"
    ],
    "mu_plugins": [
      "https://github.com/WebDevStudios/WDS-Required-Plugins.git"
    ],
    "plugins": [
      "somatic-framework",
      "debug-this",
      "what-template-file-am-i-viewing",
      "custom-post-type-permalinks",
      "debug-bar",
      "debug-bar-console",
      "simple-page-ordering",
      "restricted-site-access",
      "enable-media-replace",
      "user-switching",
      "regenerate-thumbnails",
      "file-un-attach",
      "antivirus",
      "if-menu",
      "custom-upload-dir",
      "jetpack"
    ],
    "options": [
      "active_theme::_s"
    ],
    "defines": [
      "WP_DEBUG::true"
    ]
  }
}

from vv.

bradp avatar bradp commented on August 22, 2024

I'll see if I can replicate this issue, and I'll try to get a fix out.

Thanks!

from vv.

bradp avatar bradp commented on August 22, 2024

Actually, just pushed out a fix for this now.

Should work great for new sites with blueprints.

from vv.

israelcurtis avatar israelcurtis commented on August 22, 2024

hmmm... still getting error on options. just tried to provision a new site.

from vv.

bradp avatar bradp commented on August 22, 2024

Just pushed an update to fix the options - try it now.

from vv.

israelcurtis avatar israelcurtis commented on August 22, 2024

ok, the root error is gone, but the option is still not set (_s is not active theme, twentyfourteen is).

==> default: setting up options...
==> default: Error: Could not delete 'active_theme' option. Does it exist?
==> default: Adding constants to wp-config.php...
==> default: Blueprint set up.

from vv.

bradp avatar bradp commented on August 22, 2024

Oops - turns out the option name is current_theme.

Its been fixed in the file that vv pulls down, so new sites should be good to go.

from vv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.