diff --git a/docs/content/troubleshooting/errors-after-update.md b/docs/content/troubleshooting/errors-after-update.md new file mode 100644 index 0000000000..0d71348619 --- /dev/null +++ b/docs/content/troubleshooting/errors-after-update.md @@ -0,0 +1,17 @@ +# Errors After Update + +If you run into errors after updating Medusa and its dependencies, it's highly recommended to check the [Upgrade Guides](../advanced/backend/upgrade-guides/index.mdx) if there is a specific guide for your version. These guides include steps required to perform after upgrading Medusa. + +If there's no upgrade guide for your version, make sure that you ran the `migrations` command in the root directory of your Medusa server: + +```bash +medusa migrations run +``` + +This ensures your server has the latest database structure required. Then, try running your Medusa server again and check whether the same error occurs. + +--- + +## See Also + +- [Migrations](../advanced/backend/migrations/index.md) \ No newline at end of file diff --git a/www/docs/sidebars.js b/www/docs/sidebars.js index 259e647159..aa32efedaa 100644 --- a/www/docs/sidebars.js +++ b/www/docs/sidebars.js @@ -693,6 +693,11 @@ module.exports = { id: "troubleshooting/common-installation-errors", label: "Installation Errors", }, + { + type: "doc", + id: "troubleshooting/errors-after-update", + label: "Errors After Update", + }, { type: "doc", id: "troubleshooting/database-error",