Strapi Out-of-Sync with Database

Hey everyone,

We’re having an issue where our Strapi source code isn’t in sync with our database, which is causing some tables to be uneditable in the admin panel.

Basically, our database still has all the component data, but the Strapi admin panel only shows about half of it. This means we’re missing most of the entries in the Content-Type Builder under src/components.

TL;DR: Is there a way to make Strapi rebuild the src/components directory by retrieving data from the database? I’ve noticed that Strapi uses a consistent naming scheme for the database tables.

This topic has been created from a Discord post (1278984128452231199) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Feel free to mention me when you reply! And every kind of help is welcome even if it is hacky, would love to have everything work as it used to be :slight_smile:

Was able to fix the issue and retrieve the Strapi data! By recovering the files not because of the database…