You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I enabled the useProjectConfigFile setting and ran project-config/sync without knowing that it would wreck my installation.
Everything deletable like sites, sections, entry types etc. got a dateDeleted value, and i'm currently receiving the error An Error occurred while handling another error: craft\errors\SiteNotFoundException: No primary site exists when accessing the control panel.
I tried setting all the dateDeleted columns to null, including the sites - to no avail.
Shouldn't it generate a file if none exists?
Steps to reproduce
Setup a new install.
Enable useProjectConfigFile.
Run ./craft project-config/sync without visiting the CP.
The text was updated successfully, but these errors were encountered:
Description
I enabled the
useProjectConfigFile
setting and ranproject-config/sync
without knowing that it would wreck my installation.Everything deletable like sites, sections, entry types etc. got a
dateDeleted
value, and i'm currently receiving the errorAn Error occurred while handling another error: craft\errors\SiteNotFoundException: No primary site exists
when accessing the control panel.I tried setting all the dateDeleted columns to
null
, including the sites - to no avail.Shouldn't it generate a file if none exists?
Steps to reproduce
useProjectConfigFile
../craft project-config/sync
without visiting the CP.The text was updated successfully, but these errors were encountered: