-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello! Thank for such helpful plugin for strapi!
Everything looks working except such url which I can't reach anyway
your-strapi-url/admin/settings/migrations
I followed instructions from readme and after installing plugin clear folders .cache and build.
When I going to the url, I see empty page and as well I do not see any option in navigation of admin (check screenshot)
My configuration file (config/plusing.js):
module.exports = ({ env }) => ({
email: {
config: {
provider: 'nodemailer',
providerOptions: {
host: env('SMTP_HOST', 'smtp.example.com'),
port: env('SMTP_PORT', 587),
auth: {
user: env('SMTP_USERNAME'),
pass: env('SMTP_PASSWORD'),
},
},
settings: {
defaultFrom: 'whatever',
defaultReplyTo: 'whatever',
},
},
},
'migrations': {
enabled: true,
config: {
autoStart: true,
migrationFolderPath: 'migrations'
},
},
});My packages:
"dependencies": {
"@strapi/plugin-": "file:strapi/provider-email-nodemailer@4.1.9",
"@strapi/plugin-i18n": "^4.1.9",
"@strapi/plugin-users-permissions": "^4.1.9",
"@strapi/provider-email-nodemailer": "^4.1.9",
"@strapi/strapi": "4.1.9",
"pg": "8.7.3",
"strapi-plugin-migrations": "^1.0.4"
},
I already applied one test migration and have such output:
strapi | [2022-05-05 05:12:31.688] info: -------- MIGRATION STARTED --------
strapi | [2022-05-05 05:12:31.691] info: Current migration version : v0
strapi | [2022-05-05 05:12:31.691] info: File: v1_hello_world.js in progress...
strapi | Hello world!
strapi | [2022-05-05 05:12:31.697] info: Status: migrated
strapi | [2022-05-05 05:12:31.702] info: Last version migrated : v1
strapi | [2022-05-05 05:12:31.702] info: -------- MIGRATION FINISHED --------
strapi | (node:27) Warning: [deprecated] In future versions, Strapi will stop reading directly from the environment variable API_TOKEN_SALT. Please set apiToken.salt in config/admin.js instead.
strapi | For security reasons, keep storing the secret in an environment variable and use env() to read it in config/admin.js (ex: `apiToken: { salt: env('API_TOKEN_SALT') }`). See https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.html#configuration-using-environment-variables.
strapi | (Use `node --trace-warnings ...` to show where the warning was created)
Could you advise please, what I have done wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
