Giter Site home page Giter Site logo

Comments (9)

benjamminf avatar benjamminf commented on August 19, 2024

Hey Steve, thanks for reporting this. As you're probably aware, 1.1.1 has had a few issues so I've taken it down until I've resolved them. Though it's strange to see a failed update, considering the migration is only two lines long (just adds a column to a table in the DB).

Can you search your Craft logs (In the CP footer, click "Server Info", then "Logs") for the following messages, and let me know if either of them show up?

  • Adding column ownerLocale to table neoblockstructures
  • Adding foreign key to neoblockstructures

from craft-neo.

smockensturm avatar smockensturm commented on August 19, 2024

I found the second string in the logs. But not the first string.

For clarity: I wouldn't call it a failed update. That was an attempt at a new install of 1.1.1 to an existing system. (With several Matrix blocks already set up and populated.) That's why I was curious about "manualupdate" in the url.

from craft-neo.

benjamminf avatar benjamminf commented on August 19, 2024

Oh okay, so this is happening when you first install Neo version 1.1.1? That seems very odd that it would immediately trigger an update. Once I fix the other issue with upgrading to 1.1.1 I'll look into this one.

from craft-neo.

benjamminf avatar benjamminf commented on August 19, 2024

I'm looking through the source of Craft's plugin service, and from what I can tell the only way a plugin update is triggered is if there exists some record of the plugin in the DB prior (in the craft_plugins table). Can you check to confirm this is or isn't the case?

from craft-neo.

smockensturm avatar smockensturm commented on August 19, 2024

Yes. It is the case. And it's curious. Could it be left over from the first time the install bombed?

Can I safely remove some tables and records as if to say Neo never existed here?

EDIT: 1.2.1 install behaves the same way.

from craft-neo.

benjamminf avatar benjamminf commented on August 19, 2024

It's possible, though Craft should've reverted the DB transaction completely. Unless inserting into the plugins table is a part of a different transaction.

You should be able to safely delete the row for the Neo plugin from the craft_plugins table. Also, remove the following tables entirely if they exist: craft_neoblocks, craft_neoblockstructures, craft_neoblocktypes, and craft_neogroups. I've done this a few times for when plugins go haywire. Of course just to be safe, do a full DB export before you do this.

from craft-neo.

benjamminf avatar benjamminf commented on August 19, 2024

Just following up on this issue. Did you manage to get the plugin installed?

from craft-neo.

smockensturm avatar smockensturm commented on August 19, 2024

Sure. We did have to delete the Neo row from craft_plugins Installed 1.2.1 without issue after clearing the database.

Not sure how we got out of sync. But all is well. Thanks again.

from craft-neo.

benjamminf avatar benjamminf commented on August 19, 2024

That's good to hear. It was likely remnants from that past failed installation. Thanks for the update 👍

from craft-neo.

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.