Updated Repair MongoDB (markdown)

Lauri Ojansivu 2022-01-26 02:21:46 +02:00
parent ca2ace1895
commit deb0fd7e2b

@ -1,4 +1,8 @@
Some customer of [WeKan Commercial Support](https://wekan.team/commercial-support/) ordered restore and repair of WeKan MongoDB database at UCS appliance. Docker containers were all the time crashing and restarting. Here are commands that were used while repairing.
Some customer of [WeKan Commercial Support](https://wekan.team/commercial-support/) ordered restore and repair of WeKan MongoDB database at UCS appliance. This was needed when changing back to previous UCS 4.x major version, when in new major UCS 5.x version Docker containers were all the time crashing and restarting, or something else got broken. Here are commands that were used while repairing.
Similarly, MongoDB may require repair, if:
- MongoDB does not recover from sudden power failure cleanly
- Disk comes full, that is worst case. Recommended are daily backups, in this case sometimes repair does not work well enough.
1. SSH to UCS appliance as root:
```