cms icon indicating copy to clipboard operation
cms copied to clipboard

Your project config YAML files contain pending changes.

Open ryanpcmcquen opened this issue 5 years ago • 12 comments

Description

Keep getting this message even after running a ./craft project-config/apply and even ./craft project-config/apply --force.

Your project config YAML files contain pending changes. Review
Screen Shot 2020-12-22 at 1 48 28 PM

Steps to reproduce

  1. Have a lot of YAML changes.
  2. Attempt to apply them.

Additional info

  • Craft version: 3.5.16
  • PHP version: 7.x

ryanpcmcquen avatar Dec 22 '20 21:12 ryanpcmcquen

Weird. Can you please send a database backup, your Composer files, and the contents of your config/project/ folder into [email protected]? We can look into it further from there.

brandonkelly avatar Dec 31 '20 02:12 brandonkelly

@TonyDeStefano

ryanpcmcquen avatar Dec 31 '20 03:12 ryanpcmcquen

Hello. I'm coming here with a similar case. Have you guys found out the culprit?

davidwebca avatar May 03 '21 23:05 davidwebca

Not sure it ever got fixed, I moved on to a new company that doesn't use Craft.

ryanpcmcquen avatar May 29 '21 16:05 ryanpcmcquen

@brandonkelly I've been having this issue intermittently for years. Sometimes, I get it immediately after updating a plugin via the GUI. Other times I might get it after git pull && composer install && php craft up.

Here's the variation I'm seeing on a client's site right now; it always looks like this, with the empty curly brackets and categoryGroups, although I don't know if the GUID is always the same:

image

proimage avatar Feb 22 '24 16:02 proimage

@proimage Weird. Would you be able to send a database backup and your config/project/ folder over to [email protected]?

brandonkelly avatar Feb 25 '24 23:02 brandonkelly

@proimage Weird. Would you be able to send a database backup and your config/project/ folder over to [email protected]?

Sure thing, but the DB backup is too large for an email. ~~Got a preferred method of file transfer?~~ Nevermind, I just sent it as a Google Drive link.

proimage avatar Feb 26 '24 14:02 proimage

@proimage was this ever resolved or the root cause determined?

westhouseit avatar May 14 '25 10:05 westhouseit

@proimage was this ever resolved or the root cause determined?

@westhouseit Yes, actually... sometimes the config/project directory gets these junk-looking folder names... In the sample I sent to P&T, the names were ._4oY and ._gmb. Remove those and the issue should be gone. Note that they might be hidden from view.

proimage avatar May 19 '25 18:05 proimage

@proimage I just wondered about a root cause so that perhaps the creation of these temp directories can be prevented.

westhouseit avatar May 19 '25 21:05 westhouseit

@proimage I just wondered about a root cause so that perhaps the creation of these temp directories can be prevented.

We had this issue a while back, it happened when Craft didn't have permissions to write in config/project folder.

dusan-stojnic avatar May 28 '25 07:05 dusan-stojnic

@proimage I just wondered about a root cause so that perhaps the creation of these temp directories can be prevented.

We had this issue a while back, it happened when Craft didn't have permissions to write in config/project folder.

Thanks, that's an interesting insight. I'll see if this is the issue if it crops up again.

westhouseit avatar May 30 '25 09:05 westhouseit