On 2020/07/06 13:19, Marc Peters wrote: > Hi ports@, > > sthen@ put a warning into his latest commit for the unifi Makefile: > > unifi: warn at update if the database is old and was created using mongodb's > deprecated MMAPV1 engine, doing a config backup + shutdown + remove db files > + restore will recreate with WiredTiger which has significantly smaller files > and checkpointing (and seems like it maybe a bit more robust..) > > I was wondering, what exactly to do? How would i get the engine, mongodb is > using for the unifi tables? How would i backup, as the readme of the > controller states, to do backups through tarring up > /usr/local/share/unifi/data, which acutally includes the mongodb? Backing up > over the webinterface, deleting /usr/local/share/unifi/data/* and then > starting all over until i can upload the file (which is not supposed to work > with the unix version, according to the readme at > /usr/local/share/unifi/readme.txt?
If you see the message when you update the unifi package then it is using mmapv1. If you do not see the message, it is not. > Maybe someone or sthen@ could sheld some light on this or points me to the > right direction? > > Best, > Marc That readme from upstream is wrong, backup/restore from within unifi does work. I will disable installing it in the port.