System Information
- Strapi Version: Latest
- Operating System: Ubuntu
- Database: Mysql
- Node Version: v12.20.2
- NPM Version: 6.14.13
- Yarn Version: 1.22.5
Using the admin panel I created 2 collections and created a relationship between them.
Then I went to edit the relationship and now my project won’t start anymore.
I deleted the node_mudule folder and ran npm install and npm run build, but it didn’t fix my issue.
My guess is that there is a reference in my database that hasn’t been deleted.
But the error says it’s in the “model Rules” I’m not sure what to do at this point, I have some data in my database I don’t want to lose…
Anyone would know what to do?
I’m getting this error:
[2021-05-14T22:39:48.601Z] debug �~[~T�~O Server wasn’t able to start properly.
[2021-05-14T22:39:48.603Z] error Error: The attribute rule_type
is missing in the model Rules
at Object.getNature (/mnt/data/strapi/node_modules/strapi-utils/lib/models.js:92:15)
at /mnt/data/strapi/node_modules/strapi-connector-bookshelf/lib/mount-models.js:185:21
at Array.forEach ()
at updateModel (/mnt/data/strapi/node_modules/strapi-connector-bookshelf/lib/mount-models.js:178:40)
at async module.exports (/mnt/data/strapi/node_modules/strapi-connector-bookshelf/lib/mount-models.js:702:28)
at async Promise.all (index 1)
at async mountConnection (/mnt/data/strapi/node_modules/strapi-connector-bookshelf/lib/index.js:87:31)
at async Promise.all (index 0)
at async Object.initialize (/mnt/data/strapi/node_modules/strapi-database/lib/connector-registry.js:30:9)
at async DatabaseManager.initialize (/mnt/data/strapi/node_modules/strapi-database/lib/database-manager.js:43:5)
at async Strapi.load (/mnt/data/strapi/node_modules/strapi/lib/Strapi.js:354:5)
at async Strapi.start (/mnt/data/strapi/node_modules/strapi/lib/Strapi.js:196:9)