mirror of https://github.com/statping/statping
Updated Issues and Solutions (markdown)
parent
3bc9391098
commit
9b8eec05b7
|
@ -13,7 +13,7 @@ If your Statping instance is only showing a blank white page, this means there's
|
||||||
|
|
||||||
## Database Migration Errors
|
## Database Migration Errors
|
||||||
If you notice a database error during migration, you can reset your Statping instance while keeping previous data so you won't have to re-input.
|
If you notice a database error during migration, you can reset your Statping instance while keeping previous data so you won't have to re-input.
|
||||||
- In your Statping directory (contains config.yml) run command: `statping export`. This will export all elements into a timestamped JSON file.
|
- In your Statping directory (contains config.yml) run command: `statping export`. This will export all elements into a timestamped JSON file. This file will not include previous hits or failures.
|
||||||
- Delete `assets` folder if you have one.
|
- Delete `assets` folder if you have one.
|
||||||
- Delete and Recreate MySQL, Postgres database, or delete `statping.db`.
|
- Delete and Recreate MySQL, Postgres database, or delete `statping.db`.
|
||||||
- Import previous data by running: `statping import backup.json` (replace backup.json with your exported filename)
|
- Import previous data by running: `statping import backup.json` (replace backup.json with your exported filename)
|
Loading…
Reference in New Issue