Comments (9)
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.
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.
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.
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.
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.
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.
Just following up on this issue. Did you manage to get the plugin installed?
from craft-neo.
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.
That's good to hear. It was likely remnants from that past failed installation. Thanks for the update 👍
from craft-neo.
Related Issues (20)
- Chunk gc cleanup HOT 3
- Upgrade to 4.x breaking content HOT 4
- Error trying to propagate Neo field after updating translation settings HOT 2
- Neo Not Saving Changes to Field Layout HOT 2
- Exponential increase of blocks when adding an existing entry to another site HOT 5
- [Craft 5] Allow Neo fields to be reusable in field layouts HOT 1
- How to approach eager-loading in Craft 5 HOT 4
- Neo block queries return duplicate child blocks HOT 8
- [Craft 5] Action Menu won't open after a new Block is added HOT 3
- Craft keeps showing "Unsaved Changes" upon saving of an entry with Neo fields HOT 1
- Getting Invalid Field Layout Error in CP HOT 1
- Change section and site in content migration: Neo blocks lost HOT 4
- Copy / Paste of Neo Blocks HOT 1
- Javascript Error When Trying to Add a Block in Neo HOT 2
- Settings menu for fields in the layout designer not opening in Craft 5 HOT 2
- benf\neo\elements\Block::useMemoized(): Argument #1 ($use) must be of type Illuminate\Support\Collection|array|bool, benf\neo\elements\db\BlockQuery HOT 1
- Conditional asset fields not saving values after switching condition HOT 1
- [5.x] Error after changing field handle: Field is not included in the available field layouts HOT 5
- Entries from another site can be selected in the back end, but they are not output in Twig templates. HOT 2
- Entry condition applied even for single pages HOT 3
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 craft-neo.