Questions tagged [projectconfig]

The tag has no usage guidance.

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

Maintaining and deploying many multi-site from a single codebase

We're developing an application that uses a multi-site Craft back-end with a JS front-end, making use of GraphQL. The intention is to maintain a single codebase that can be used to deploy new and ...
0
votes
0answers
17 views

Feature Stages with Craft CMS and Project Config

We plan to use Feature Stages in the Future to have the possibilities to decouple features better on our stage environments. Currently we have one stage like: stage.domain.com and any branch can ...
0
votes
0answers
13 views

Craft CMS project.yml not syncing correctly

I am using the latest version of Craft CMS with 'useProjectConfigFile' enabled. My development process involves creating/updating Craft settings locally, committing this to Git and then deploying to ...
1
vote
1answer
66 views

Project Config On or Off for Production Server

Should Project Config ('useProjectConfigFile' => true,) be set to 'true' or 'false' on the Production server? I have been reading Craft CMS documentation, watching some CraftQuest Lessons, searching ...
2
votes
1answer
76 views

Applying project config changes with post-receive git hook

I site I'm working on uses a post-receive git hook for deploying changes to the server. At the moment, it looks like this: #!/bin/sh # default cpanel stuff branch=$(/usr/local/cpanel/3rdparty/bin/...
1
vote
1answer
106 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
281 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
55 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
28 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 ...
2
votes
0answers
94 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
93 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
203 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
189 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
39 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 ...
1
vote
1answer
61 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....
1
vote
0answers
62 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
290 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
535 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
40 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
179 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 ...
4
votes
1answer
2k 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
79 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 ...