Skip to content

Instantly share code, notes, and snippets.

@malle-pietje
Created December 2, 2020 11:56
Show Gist options
  • Save malle-pietje/8359cd74a3aa7ac367b576b7135423b0 to your computer and use it in GitHub Desktop.
Save malle-pietje/8359cd74a3aa7ac367b576b7135423b0 to your computer and use it in GitHub Desktop.
Determine MongoDB StorageEngine
$ mongo --port 27117
MongoDB shell version v3.4.14
connecting to: mongodb://127.0.0.1:27117/
MongoDB server version: 3.4.14
Server has startup warnings:
2018-07-17T10:06:31.923+0100 I CONTROL [initandlisten]
2018-07-17T10:06:31.923+0100 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-07-17T10:06:31.923+0100 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2018-07-17T10:06:31.923+0100 I CONTROL [initandlisten]
> use ace
> db.serverStatus().storageEngine
@malle-pietje
Copy link
Author

malle-pietje commented Dec 2, 2020

When running a recent UniFi controller (5.X or higher) and this returns something else than WiredTiger you need to upgrade the Storage Engine or perform a fresh UniFi controller install using a recent backup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment