System Information
- Strapi Version: 3.6.8
- Operating System: Ubuntu 18.04.5 on Azure
- Database: MariaDB
- Node Version: 16.3.2
- NPM Version: 8.1.2
- Yarn Version:
Hey,
i’m trying to migrate my v3 to v4 and am struggling.
What I did:
- cleared .cache/, node_modules, .package-json.lock and yarn .lock
- changed strapi dependencies to new dependencies with namespaces
- changed the database connection
module.exports = () => ({
connection: {
client: ‘mysql’,
connector: ‘bookshelf’,
connection:{
server: SERVER,
port: PORT
database: DATABASE_NAME,
user: DATABASE_USERNAME,
password: DATABASE_PASSWORD,
}
}
}); - ran npm install → no problem
- ran npm run build → no problem
- ran npm run dev → strapi fires up and deletes my database! Login is not possible due to missing private keys.
Any ideas anybody? Thanks a lot in advance.