docs: added a troubleshooting guide for updates (#3057)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-01-18 14:49:47 +02:00
1 parent 107cd4de4c
commit 8417757d92
2 files changed
+22

No files matched your search

@@ -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)
+5
View File
@@ -693,6 +693,11 @@ module.exports = {
id: "troubleshooting/common-installation-errors", id: "troubleshooting/common-installation-errors",
label: "Installation Errors", label: "Installation Errors",
}, },
{
type: "doc",
id: "troubleshooting/errors-after-update",
label: "Errors After Update",
},
{ {
type: "doc", type: "doc",
id: "troubleshooting/database-error", id: "troubleshooting/database-error",