Hi, I have some issues in my unifi controller so I found out that was because my mongodb was 32bit, so I was following this linkhttps://help.ubnt.com/hc/en-us/articles/204911424-UniFi-How-to-remove-prune-older-data-and-adjust-mo... for the pruning procces but that did not help.
I know that the solution for this is to install mongodb 64 bit. My new issue is that I have not been able to install monodb 64-bit....
I have followed these links.
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/
https://docs.mongodb.org/manual/tutorial/install-mongodb-enterprise-on-linux/
I have use apt-get autoclean and purge but for some reason I always end with Mongodb 32bit installed.
Any Suggestion please?
System info
Linux unifi 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u3 x86_64 GNU/
Linux Release: 7.9 Codename: wheezy Description: Debian GNU/Linux 7.9 (wheezy)
Unifi 4.8.14
Mongodb corrupted regarding 2gb limit
On Tuesday, 12 April 2016 01:17:01 UTC+10, Krazhor wrote:
Hi, I have some issues in my unifi controller so I found out that was because my mongodb was 32bit, so I was following this linkhttps://help.ubnt.com/hc/en-us/articles/204911424-UniFi-How-to-remove-prune-older-data-and-adjust-mo… for the pruning procces but that did not help.
I know that the solution for this is to install mongodb 64 bit. My new issue is that I have not been able to install monodb 64-bit….
Hi,
I noticed no one has commented on this thread yet. I would suggest following up on this in the Unifi forum if you haven’t already: http://community.ubnt.com/unifi.
I expect Unifi may have some specific requirements for compatibility with their software, so I wouldn’t recommend upgrading mongod
independently of advice from someone with knowledge of Unifi’s product requirements.
I’m not familiar with the Unifi environment, but it sounds like you may have reached the ~2GB limit for data files in a 32-bit deployment with MMAP.
An alternative approach to upgrading the mongod
used inside the Unifi environment might be to:
mongod
external to the Unifi environment (note: the 64-bit version of mongod
should be the same server version as you are currently running with Unifi).mongodump
to create a backup from your 64-bit mongod
mongorestore
the pruned backupIf you do try this approach, be sure to save backups in case anything doesn’t go to plan.
Hope that helps!
Regards,
Stephen