![]() ![]() Open Terminal and move to your working directory:.tgz package and any extra extracted files can be deleted as we only need the mongo binary. Locate the bin/mongo binary file, and copy it to your working directory.Move the downloaded package to your working directory, and extract it by double-clicking it or using the application of your choice.You can also download 2.4.14 here directly: 2.4.14.tgz.tgz release that corresponds to your server's CPU architecture. Visit the MongoDB official download website, and download the.For repair purposes, we will call this directory /repair. These UniFi Consoles do not experience this type of database corruption. If you still have suspected database issues please migrate to a Cloud Key Gen2 Plus or Dream Machine Pro. This can be changed with:Ĭhown -R unifi:unifi /usr/lib/unifi/data/db/Ĭhown -R unifi:unifi /usr/lib/unifi/logs/server.log Note: If this process was performed as root the file ownership may have changed.Mongod -dbpath /usr/lib/unifi/data/db -logpath /usr/lib/unifi/logs/mongod.log -repair Mv -vi /usr/lib/unifi/data/db/journal /usr/lib/unifi/data/db/journal-$(date -I) In some cases, where the journal is corrupted, it will be helpful to run the following command before repairing the database, to move it to another location:.The UniFi Network application service will not start due to database errors.An error 400 is generated when trying to open UniFi Network.Settings-only backups cannot complete, or are created but are unable to be restored due to corruption.Backups including statistics data cannot be generated. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |