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

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

View File

@@ -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)