[5.x]: Upgrading from 4.13.3 results in error: No entry types exist for section
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
Im trying to upgrade to Craft 5 from 4.13.3 and when running craft up the project config sync fails with error:
error: No entry types exist for section ID_HERE
- Its worth noting that the first few sections are OK but it doesnt seem to like one in particular.
- I've tried with and without rebuilding the config before the upgrade
- I've checked the section/entry type in the admin panel prior to upgrade and all seems to be well
- The section is of type single
Craft CMS version
5.5.3
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with craft up while upgrading from Craft 4.13.3 to 5.5.3, then inspect project config sync for the section reported by the error and compare its section and entry-type setup in the admin panel. Done means the upgrade completes without the “No entry types exist for section” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100