Questions tagged [project.yaml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
428 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 ...
2
votes
1answer
51 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/...
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 ...
1
vote
1answer
118 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
56 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
51 views

Database migrations on environments - in which env do I apply updates to Craft and Plugins?

When developing a Craft 3 site on a multi-environment setup, where would I apply the Craft and Plugin updates? Should I apply them locally and then commit and replace the database in the dev env, or ...
1
vote
1answer
24 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 ...
1
vote
1answer
40 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
36 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 ...
1
vote
1answer
26 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
201 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 ...
0
votes
0answers
38 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 ...
0
votes
0answers
32 views

Every time cache gets cleared, Craft requires a “Project config sync” which leaves a 503 error meanwhile

It started to happen after updating Craft's version to 3.2. This is a problem for us since we clear caches often, and sometimes it doesn't get noticed and the site is down for a while. Our Craft ...
0
votes
0answers
247 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 ...