Giter Club home page Giter Club logo

Comments (12)

jonpugh avatar jonpugh commented on July 28, 2024

Don't want to close until we can confirm it's fixed.

@radimklaska Can you try a fresh 0.x install and let me know that it works by closing this issue?

Once someone confirms this fixes it I will push out a new release.

Thanks!

from devshop.

radimklaska avatar radimklaska commented on July 28, 2024

Sorry, still getting the same error. :(

from devshop.

radimklaska avatar radimklaska commented on July 28, 2024

Progress! When creating new project, on the first step, try some variations of "Project Code Name" like different lengths and/or strings containing a number.

Examples:

  • qqq - works
  • playground - fails (might be because of my previous tests)
  • playground7 - fails

from devshop.

jonpugh avatar jonpugh commented on July 28, 2024

I've tested creating projects with both of those names and I didn't have any problems.

I am not sure what's wrong with your install. This shouldn't have problems because of previous projects...

Each project, server, platform, and site node should have a row in the {hosting_context} table. It only does the saving to the table in hook_insert.

from devshop.

radimklaska avatar radimklaska commented on July 28, 2024

hosting_context looks normal...

mysql> select * from hosting_context;
+-----+------------------------------+
| nid | name                         |
+-----+------------------------------+
| 184 | dev.qqq.mydevshop.tld        |
|  10 | hostmaster                   |
| 186 | live.qqq.mydevshop.tld       |
| 190 | platform_devmaster0x20151026 |
| 125 | platform_playground7_dev     |
| 127 | platform_playground7_live    |
| 129 | platform_playground7_stage   |
| 169 | platform_playground_dev      |
| 171 | platform_playground_live     |
| 173 | platform_playground_stage    |
| 178 | platform_qqq_dev             |
| 180 | platform_qqq_live            |
| 182 | platform_qqq_stage           |
| 176 | qqq                          |
|   4 | server_localhost             |
|   2 | server_master                |
| 188 | stage.qqq.mydevshop.tld      |
+-----+------------------------------+

I will try to do more debugging... @jlmeredith How is your test going?

from devshop.

jlmeredith avatar jlmeredith commented on July 28, 2024

I attempted to run the 0.5.2 installer found here - https://raw.githubusercontent.com/opendevshop/devshop/0.5.2/install.sh - but the install failed.

Here is the install output - http://pastebin.com/UMQZ3F5X

Install ran on a clean Digital Ocean Ubuntu 14.04 x64 image.

from devshop.

radimklaska avatar radimklaska commented on July 28, 2024

That looks like connections issues or Drupal.org downtime. I would just try it again.

from devshop.

laroucheyouth avatar laroucheyouth commented on July 28, 2024

Hi guys, just ran into this exact error when trying to setup my devshop server.

from devshop.

jonpugh avatar jonpugh commented on July 28, 2024

I think this should finally be squashed in 0.5.4, released today.

Give it a try?

This was a string of problems: The "Node 0" is the web_server. If you inspect your platform node, you'll see that it was missing it's web_server.

Once in a while, the form submission from Step 2: Settings was losing the data it submitted, which included "default environment servers". I still don't know exactly when this is happening, but I've got a rough Behat test to check for it.

Then, on Step 3: Environments, each environment gets a form element for it's "web_server". The code I wrote, if there was only one web_server, was to change the element to #type => value, but I set the value to the $project object's settings, which was (sometimes) missing from Step 2.

So that is fixed. Environments on single server devshops will always default to the only one available, even if the project setting is missing it's "default server" setting.

I've also added a "Project info" block to the create wizard so you can see information about the project you are creating.

from devshop.

laroucheyouth avatar laroucheyouth commented on July 28, 2024

Wiped my install, re-installed a fresh 0.5.4 install. This time it worked! I was able to add my project properly.

from devshop.

radimklaska avatar radimklaska commented on July 28, 2024

Great, fresh 0.5.4 worked for me too. Thanks!

from devshop.

jonpugh avatar jonpugh commented on July 28, 2024

Great, closing.

from devshop.

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.