Questions tagged [projectconfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

Trouble updating Craft when allowAdminChanges is false

I've just updated a multi-environment site from Craft 3.3.5 to 3.4.5. Here's our config/general.php (irrelevant bits removed): return [ '*' => [ 'allowAdminChanges' => false, ...
1
vote
1answer
72 views

Should delta.yaml be committed to git?

Getting started with CraftCMS 3.1's project config files and I can't find any documentation about whether storage/config-deltas/delta.yaml should be committed to git
1
vote
1answer
31 views

project.yaml synchronize error (not usable anymore)

I had a table field and created a new super table field to try something. After that I removed my table field and gave my super table field the same handle like the old table field had. I did it ...
2
votes
0answers
25 views

How to protect elements that are being edited during project-config/sync?

Some situations: An editor is editing an entry in the CP while an admin runs project-config/sync. A user starts a front end form to create a new entry before project-config/sync is run, but submits ...
0
votes
0answers
35 views

Project config only partially syncing

Not sure if this belongs here but decided to post it after all... I've set up a craft site (Version 3.3.x) and since we're about to add more sites to it etc, we decided to start using a project ...
1
vote
1answer
45 views

Craft CMS Project Config file override

Hi I am using Craft CMS with the project config file to keep various environments in sync. This generally works fine but I have run into an issue with plugin settings. I am using the Contact Forms ...
1
vote
1answer
81 views

Project file changes causing `SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY'`

I switched over to use project file settings and now I occasionally get a constraint violation when trying to run the craft projectconfig/sync command. I think this is a bug, because the UPDATE `...
3
votes
1answer
102 views

Login Page Logo and Site Icon with Project Config

How does one configure the rebrand options (Login Page Logo and Site Icon) with project config enabled? The fields to upload these files usually appear under Settings > General. This is only visible ...
1
vote
1answer
23 views

Sections in local & LIVE out of sync

I created a new section (single) on my local environment. Then I pushed it to LIVE. There it is not showing up in the entries CP. But it is showing up in the settings. So I guess the project.yaml ...
0
votes
0answers
45 views

Removing Plugin from Project.yaml

I'm trying to remove a rogue plugin from my Project.yaml - it's refusing to go! It's not in composer.json It's not in composer.lock It's not in my plugins DB table. It's not in my plugins CP list. ...
1
vote
1answer
44 views

Redactor migration might fail with allowAdminChanges & useProjectConfigFile false

One of the recent Craft updates (something close to 3.1.25) also brought a redactor migration (https://github.com/craftcms/redactor/blob/v2/src/migrations/m190225_003922_split_cleanup_html_settings....
0
votes
0answers
225 views

Error while syncing project config: Applying changes from project.yaml … error: Undefined index: fieldGroup

Started working on an existing Craft 3 project that didn't use project.yaml. Turned it on but I am having trouble getting the project.yaml file to sync with the production database. If I run ./craft ...
1
vote
0answers
50 views

Should project config be used during development when migrating from Craft 2?

I'm looking for general advice on the best approach to handle a reasonable sized Craft 2 site to Craft 3.1, related to DB changes. Because the Craft 2 project is live and constantly changing, I ...
1
vote
1answer
176 views

Response: {“error”:“Undefined index: fieldGroup”}

I've recently had to handle a massive merge on a Craft project which resulted in many conflicts in the project.yaml file. I tried to clean up the merge conflicts as best as I can. And now I have this ...
3
votes
1answer
392 views

project.yaml stopped syncing changes in the staging process

I'am a bit helpless at the moment, because my project staging workflow using project.yaml stopped working and a) I don't know why and b) have no clue if I can solve it. Problem: Until some days ago ...
0
votes
0answers
37 views

Cannot add new field when Project Config enabled

I'm working locally and am unable to create or edit fields if I have project config enabled in general.php '*' => [ 'useProjectConfigFile' => true, ], If I change that to false I can add ...
2
votes
1answer
144 views

Is it possible to create a Craft boilerplate out of a project.yaml file?

I have setup a boilerplate for Craft sites with a homepage Single setup, plugins installed, common field types setup and a few other jobs I have to do every single time I start a new project. I was ...
2
votes
1answer
1k views

Is there a way to apply project.yaml changes on deployment?

Love the new new project config functionality, but if there are changes that need to be synchronised the site essentially goes down until the changes are applied manually. I wondered if anyone had a ...
3
votes
1answer
70 views

How do I know if a plugin supports Craft 3.1's project config?

Craft version 3.1 introduced the project config file. The documentation mentions "plugins may not support it yet:" Any plugins that are storing configuration settings outside of their main plugin ...