-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.x]: GC corrupts content/structures #12925
Comments
When you attempted on a fresh install, were you testing with the same Neo/Navigation setup? |
I installed the same plugins however I did not populate any Neo fields or Navigation. I simply created two entries, parent/child, in a structure. Happy to give it a test with populated Neo and Navigation. |
I wanted to share that I tried to reproduce this on a site with basically the same setup (Neo, Navigation, PHP 8.1, Craft 4.4.3) and didn't have any problems. The biggest difference is that the site I tried it on is MySQL-backed, not Postgres; so perhaps that's related. |
@ccchapman Can you send your database backup and Composer files into support@craftcms.com? We can try to look into it further from there. |
Done @brandonkelly. Thanks! |
I am closing this issue in favour of spicywebau/craft-neo#725 as it does appear Neo specific. |
We received reports of this occuring outside of Neo as well, and tracked it down to a PostgreSQL + garbage collection bug introduced in Craft 3.8 and 4.4. Craft 3.8.4 and 4.4.4 have just been released with a fix. |
What happened?
Description
Garbage collection (GC) is causing structures to be flattened and Neo blocks to disappear.
Steps to reproduce
craft gc/run
(I say no to trashed)craft gc/run
again (Say no to trashed again)Expected behavior
Content is impacted
Actual behavior
Reproduced on multiple attempts and multiple projects.
Could not reproduce on a fresh install of Craft.
Craft CMS version
4.4.3
PHP version
8.1
Operating system and version
No response
Database type and version
PostgreSQL 14.3, PostgreSQL 14.5
Image driver and version
No response
Installed plugins and versions
Composer info from project 1
Composer info from project 2
The text was updated successfully, but these errors were encountered: