Install and Mongodb

149 views
Skip to first unread message

Darryl

unread,
Sep 3, 2021, 4:23:56 AM9/3/21
to Unified-RED
Interesting project, thanks for all the effort
I have installed mongodb from the command line and Unified Red from the pallette manager. 
Changed the settings .js to include admin Auth
When I get to Unified Redf setup it will not connect to mongodb and the message is

MongoDB connection failed: Server at localhost:27017 reports maximum wire version 0, but this version of the Node.js Driver requires at least 2 (MongoDB 2.6)

I have googled and this seems to be related to Raspbian and the suggestion is to install Ubuntu onto the pi instead of Raspbian

Any advice appreciated

Darryl

Darryl

unread,
Sep 3, 2021, 5:31:31 AM9/3/21
to Unified-RED
I have worked around this by installing mongodb in a docker container on a different machine and then using Unified Red setup to connect to that instance of Mongodb

Samy Arbid

unread,
Sep 3, 2021, 9:13:46 AM9/3/21
to Unified-RED
Hi Darryl,

MongoDB stopped supporting 32-bit operating systems a while ago, Raspbian is 32-bit. For embedded applications, we recommend using SQLite. Using an external database server works too though!

Thanks,
Samy

Reply all
Reply to author
Forward
0 new messages