Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Meteor on Arm Linux #442

giacecco opened this Issue · 68 comments

18 participants

Gianfranco Cecconi Nick Martin Tom Wijsman thebadger412 Marcus Riemer haroldnator Seth Malaki Robert Persaud The first time machine was digital Slava Kim Ted Blackman Skaag Argonius Matthew Lieder Thomas P. Thomas Schmidt Jostein Austvik Jacobsen Tom Freudenberg Gabriel Garrett
Gianfranco Cecconi

Dear Meteor team,
Do you have any plans to port Meteor to Arm Linux, e.g. Raspbian “wheezy” running on Raspberry Pis? If so, and you need a beta tester, let me know. Thanks!


Nick Martin

No immediate plans to add official ARM support. In theory, all the dependencies should build on ARM, so you could try building the dev bundle on your platform. See

Nick Martin n1mmy closed this
Nick Martin

Oh, hah, reading the script it looks like ARM is turned off at the beginning. You can try disabling the "unsupported architecture" check and seeing if it builds.

If it does build and work, please report back. And if it doesn't, we'd gladly take a PR to make it build =)

Gianfranco Cecconi

Dear All,
I've finally had the time to try what n1mmy suggested and the outcome is at . I have simply removed from ./admin/ all references to the architecture needing being x86_64.

Compilation fails when the script attempts downloading the MongoDB binaries that unfortunately do not exist for "armv6l" (that is the architecture Raspbian Wheezy declares in uname -a).

I have then tried installing MongoDB from source, but apparently this is simply not possible because the source is written for little endian systems. The last successful attempt at porting the code was a branch of MongoDB 1.8.x, too old at the moment of writing to be relevant as MongoDB is beyond 2.2.x.

It looks like this kills the idea of running Meteor on ARM machines, at least if I don't want to use a MongoDB running on some other server.


Nick Martin

@giacecco Thanks for looking into this and writing back.

Tom Wijsman

Will have a RPi within one or two weeks, you may see me porting...

The last successful attempt at porting the code was a branch of MongoDB 1.8.x, too old at the moment of writing to be relevant as MongoDB is beyond 2.2.x.

Is this publically available somewhere?

Might be interesting to learn from its diff against MongoDB itself as well as to patch it up to 2.2.x.

Gianfranco Cecconi

Hi TomWij, this is very good news! The 1.8 port is skrabban / mongo-nonx86.

May I ask if you're thinking of just a quick hack or you're actually planning to contribute back to the MongoDB master? What's the purpose of the Meteor fork you're working on?

Tom Wijsman

Hi TomWij, this is very good news! The 1.8 port is skrabban / mongo-nonx86.

Thanks for the reference.

May I ask if you're thinking of just a quick hack or you're actually planning to contribute back to the MongoDB master?

In main instance for Meteor, but it might be interesting to take the fork upstream.

What's the purpose of the Meteor fork you're working on?

I guess you've linked that korean docs fork in error, mine is at TomWij/meteor and as you can see from the branch it's the unofficial Windows fork of Meteor which can be found at Need to bump that to 0.5.2.

Gianfranco Cecconi

Thanks, and sorry for the wrong link.

Gianfranco Cecconi

Hi All,
Someone managed to compile MongoDB 2.1.1 by changing just one source file, the instructions are at


Has anyone managed to get meteor up and running on the pi yet?

Tom Wijsman

Well, I can't get V8 and Node.js to run yet; V8 is a dependency of Node.js, if you can't get V8 to compile you can't get Node.js to compile and run...


What your having trouble with installing node? I am confused by your comment.

Gianfranco Cecconi

Guys careful not to go off topic. Node.js is far from being a problem, 0.8.x installs from source on Raspberry Pis without any issues, and older packages for Raspbian are available, too. At the moment only MongoDB is the issue, go back to my post on 16 Dec.


Here are instructions on how to install node if anyone is looking..

I have MongoDB now installed, 2.1.1 on the pi and running and I have node running fine.. I have tried to get meteor going by taking out all the "exit 1" statements from the arch checking code in /admin/ and because mongo is already installed I removed the references to it.. however meteor now bitches about stdin not being gzip or something.. I am now out of my depth..

Gianfranco Cecconi

Well it's good progress anyway, can you share the actual "stdin not being gzip" error, or, even better, a gist of the whole output of whatever command you're stuck with?

Tom Wijsman

My platform compiles Node.js using an external V8, I'll look into adapting the package script to not depend on an external V8 and compile similar to the instructions in those provided links; I'll not complain about that anymore but thanks for pointing out how you guys got it working from source (and how no external V8 does the job).

however meteor now bitches about stdin not being gzip or something.. I am now out of my depth..

@thebadger412: You need both tar and gzip on your Raspberry Pi; it might be possible that you have a different tar and gzip than you would have on your host, which can cause the fork used to do the gzip to fail. As far as I remember from having this error on Windows, you need the GNU tar and GNU gzip for this to succeed.

whatever command?

@giacecco: admin/ generates a development bundle which has the extension .tar.gz, it thus a simple call to tar czf ... at It either fails trying to pack that here or to unpack that on the first Meteor run.


here is a gist of what is going wrong for me..

@TomWij I am kinda confused what you are telling me tbh.. What do I have to tar and gzip on the Pi? Thanks btw

Tom Wijsman

@thebadger412: I've adapted my previous comment to explain that, but I'll repeat the important bit for you:

A development bundle has the extension .tar.gz.

Hence, it's important that you have a correctly working tar and gzip; preferably those from GNU.

I will download a kit containing all of Meteor's dependencies.

You do not want this to happen, since there simply isn't a development bundle for the ARM architecture; don't make it try to download one, because it will simply not work. Most likely, it fails because you are downloading a file that doesn't exist, hence it complains about it not being gzip.

What you want to do instead is generate one yourself using admin/


Hey man, so this is my generate file

because mongo is already installed and running I have commented all of the mongo code out.. I have also added the comments to all the exits on the arch checking bit..

I can see the tar line at the very end.. are you saying I should comment this out and then tar is once the bundling is complete?
I really hope we can get this thing working..


Made a little bit of progress.
A link to my generate is posted on that page. I'm able to "run" meteor, but I get a SIGBUS error. Feel free to add to the discussion if you have any tips.

Seth Malaki

Ah this would be quite awesome I imagine! I always wanted to find out whether or not we can run meteor on ARM (such as mobile phones, RPi) in the near future or so!

Robert Persaud

I've tried these steps and then some on the Samsung Series 3 Chromebook ARMv71 to no avail. It's the perfect development machine for under $300, and it's such a shame it doesn't work with meteor out of the box. Now I have to go get one of those Acers :)

The first time machine was digital

Please, add the ARM support, it doesn't seem to be a lot of work, but will allow people to run this wonderful framework on RPi's and many other embedded platforms. Please!

Slava Kim

Hi @flatr0ze,

Since people report node.js to run on ARM, why can't you just bundle your meteor app and run it with your own node (but be careful to use the correct version, Meteor 0.6.5 expects node 0.8.x) and connect to the external MongoDB cluster ( You might need to get node-fibers running as well.

Did you try any of these?

The first time machine was digital

hey there again @Slava,

I'm trying to accomplish it right now, but would rather work on my project, having the ARM support ready; if it's not a big deal, why haven't meteor developers released an ARM version?
it also currently requires many modifications to the main script.

Could you please make a reference to a material which would explain how I could use an external MongoDB cluster with meteor?

The first time machine was digital

had to recompile node.js using
./configure --without-snapshot
to fix Segmentation Fault while using npm

Ted Blackman
The first time machine was digital

Meteor developers, please, make a working ARM version, it's such a simple thing to do for you and such a hassle for us.
Many-many people use their RPi's and similar embedded ARM boards as web-servers, can you imagine how great it would be for them to start using Meteor? Please, make it work.

Ted Blackman
The first time machine was digital

We're almost there, just getting this error on Debian ARM linux:
Does anyone know what it may be?

Skaag Argonius

I managed to overcome the path.join() crash, by making sure it's a string even when it's undefined. Now I get to this error:

=> Errors prevented startup:

While building the application:
error: MDG does not publish dev_bundles for arch: os.linux.armv7l

=> Your application has errors. Waiting for file change.

Any ideas how to circumvent this?

Skaag Argonius

Ok, I circumvented this in bundler.js, and now I have meteor running on ARMv7l.
When I add the architecture in bundler.js all of a sudden the path.join() problem disappears.

Skaag Argonius

I can confirm I now have Meteor running just fine under ARMv7l, with all problems solved.
My ARM platform is an Olimex Olinuxino A13 with 512mb RAM.

Matthew Lieder

And I can confirm I have it working under ARMv6l, on a Raspberry Pi running a minimalist image of Raspbian. My changes to do so can be found here: Only thing it's currently lacking is local mongodb support, though that should be possible too.

Skaag Argonius

My latest changes include downloading and building a non-x86 version of mongo, but currently this crashes during compilation. I did manage to compile it before, so I already have a full Meteor + MongoDB running on my own ARMv7l. I am looking at the script to figure out why it is crashing in the new version. Perhaps I forgot some configure flag. It just takes FOREVER to compile on the ARMv7l platform so the debug/repair cycle is very long :-)

The first time machine was digital

@IGx89 Does it mean you're running mongodb on a remote host? If so, could you please describe how you're doing that and what happens if you get disconnected?
Thank you.

Matthew Lieder

Sure. You just set MONGO_URL before starting Meteor (an example URL is found in the README in my fork), and as for what happens if the database server goes down, at least with autopublish enabled the web server seems to continually restart until the database server is back up. I imagine (hopefully) that a production-configured meteor app would behave better -- I have about 8 total hours of experience with meteor so I'm still pretty fresh on things :)

The first time machine was digital

Oh, thanks a lot for the tip.
We're trying to save RAM on our platform, I believe this could help.

Thomas P.

Hi guys!

I also tried to run Meteor on an ARM platform (an Odroid-XU Lite - armv7l ). And, as far as I can see, it works perfectly! :smile:

Basically, what I did is : for meteor

  • Make sure you have the basic development tools : there should be a package called base-devel on your distribution's repositories, so install it!
  • Download the usual install script wget
  • Set the architecture to i686 in the install file (it will download wrong binairies but that should be OK, as we'll change them after). Use your favorite editor for that :wink: then run the install script.
  • Install node.JS and mangodb from your distribution's package provider (pacman -S mongodb nodejs on Arch Linux, apt-get install mongodb nodejs on Debian I assume...)
  • Change the binairies! Bascially, you can Symlink them. Go to ~/.meteor/tools/lastest/bin/, delete node and npm and use ln -s /path/to/node to symlink the node binairy to meteor. Do the same for npm (you can find their path using whereis).
  • While we're here, set the arch in the meteor file to i686 so that it runs.
  • Then we have to change the mongodb binairies which are in ~/.meteor/tools/lastest/mongodb/bin/. Proceed as for node and npm but here for mongod and mongo.
  • The fibers binairy is neither good. We have to change some node modules in consequence. Go to ~/.meteor/tools/lastest/lib/. You can have a look at installed modules by going to the subdirectory node_modules. In order to install the correct binairies for every module, run in ~/.meteor/tools/lastest/lib/ the command npm install $(ls node_modules/).
  • A file in Meteor is also checking the architecture. It's called archinfo.js and is located in ~/.meteor/tools/lastest/tools/. I may be wrong, but I don't think this file is served to the client so you can safely edit the line var machine = run('uname', '-m'); to var machine = "i686";. That's kind of a dirty hack, but it works perfectly so... :confused:
  • The mangodb package is also having a trouble loading a dependency called bson (it tries to load a binairy which is not compatible and causes a warning as a consequence). In order to avoid it, you have to go to ~/.meteor/packages/mongo-livedata/{some stuff (for me : 0120179b5c)}/npm and then run in npm install $(ls node_modules/).
  • I think that's it, with these steps you should be able to run a meteor app. For me, the example leaderboard worked perfectly. :sunglasses: And fixing packages is as easy as :1234: as I explained it in the pervious point with the example of mongodb.

Hope I could help!

Thomas Schmidt

Would love an Meteor installer on Raspberry Pi too.

Jostein Austvik Jacobsen

I almost got it working. I checked out @skaag's repository which I managed to build on my udoo quad (armv7l).

So to test things out I created a helloworld project: meteor create helloworld.

When I try to run meteor in the helloworld project, I get:

Error: Unsupported architecture: armv7l
    at (/home/ubuntu/meteor/tools/archinfo.js:156:15)
    at _.extend._activePluginPackages (/home/ubuntu/meteor/tools/packages.js:661:33)

So I edit archinfo.js, and add armv7l to the allowed architectures:

    else if (uname === "Linux") {
      var machine = run('uname', '-m');
      if (_.contains(["i386", "i686", "x86"], machine))
        _host = "os.linux.x86_32";
      else if (_.contains(["x86_64", "amd64", "ia64"], machine))
        _host = "os.linux.x86_64";
      else if (_.contains(["armv7l"], machine))
        _host = "os.linux.armv7l";
        throw new Error("Unsupported architecture: " + machine);

This gets me somewhat further. But now I get this error:

Error: livedata does not have a slice named 'main' that runs on architecture 'os.linux.armv7l'
    at _.extend.getSingleSlice (/home/ubuntu/meteor/tools/packages.js:880:13)
    at /home/ubuntu/meteor/tools/packages.js:909:19
    at (native)
    at (/home/ubuntu/meteor/dev_bundle/lib/node_modules/underscore/underscore.js:97:56)
    at _.extend.getDefaultSlices (/home/ubuntu/meteor/tools/packages.js:908:14)
    at _.extend.getSlices (/home/ubuntu/meteor/tools/library.js:298:18)
    at _.extend.eachUsedSlice (/home/ubuntu/meteor/tools/packages.js:621:30)
    at _.extend._activePluginPackages (/home/ubuntu/meteor/tools/packages.js:661:10)
    at _.extend._allHandlers (/home/ubuntu/meteor/tools/packages.js:697:17)
    at _.extend.registeredExtensions (/home/ubuntu/meteor/tools/packages.js:721:24)
    at slice.getSourcesFunc (/home/ubuntu/meteor/tools/packages.js:1662:41)
    at (/home/ubuntu/meteor/tools/packages.js:235:17)
    at /home/ubuntu/meteor/tools/packages.js:1041:13
    at Array.forEach (native)
    at Function._.each._.forEach (/home/ubuntu/meteor/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
    at (/home/ubuntu/meteor/tools/packages.js:1040:7)
    at _.extend.getForApp (/home/ubuntu/meteor/tools/library.js:280:9)
    at /home/ubuntu/meteor/tools/bundler.js:1621:25
    at Object.capture (/home/ubuntu/meteor/tools/buildmessage.js:175:5)
    at Object.exports.bundle (/home/ubuntu/meteor/tools/bundler.js:1555:31)
    at /home/ubuntu/meteor/tools/run.js:509:32
    at /home/ubuntu/meteor/tools/fiber-helpers.js:24:12

I'm not sure what to do from here... Ideas?

Skaag Argonius
Jostein Austvik Jacobsen

Thanks @skaag!

Most of those patches were already applied by your build script. Unfortunately it haven't brought me any further.

Would you happen to have some precompiled version available? The one that your build script tries to fetch seems to be unavailable.

Skaag Argonius
Jostein Austvik Jacobsen

I can't get any version node 0.10.x that I compile running. When running the compiled version of node, it just eats 100% of the CPU forever and does nothing. I was able to locate a DEB of node 0.10.1 which installs and works for me, and I'm now trying to find out if I can use it with some old meteor version. I can compile and run the 0.11.x series of node just fine, but it doesn't work with the meteor dependencies it seems.

I will continue trying to get things working, but it would be really convenient if arm (armv7l / armel in my case) were supported.

The first time machine was digital

0.10.28 works fine for us

Jostein Austvik Jacobsen

I switched from Linaro Ubuntu 12.04 LTS to Debian Wheezy armHF and now I get node compiled and working. Maybe it was an issue with hard float and soft float, I'm not sure.

However, now I'm having issues compiling mongodb. The main mongo repo didn't work (as expected) so I checked out mongo-nonx86. When compiling I get:

In file included from src/third_party/boost/boost/thread/pthread/mutex.hpp:14:0,
                 from src/third_party/boost/boost/thread/mutex.hpp:16,
                 from src/third_party/boost/boost/thread/pthread/thread_data.hpp:12,
                 from src/third_party/boost/boost/thread/pthread/condition_variable.hpp:10,
                 from src/third_party/boost/boost/thread/condition_variable.hpp:16,
                 from src/mongo/util/goodies.h:22,
                 from src/mongo/pch.h:78,
                 from src/mongo/shell/dbshell.cpp:18:
src/third_party/boost/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
src/third_party/boost/boost/thread/xtime.hpp:23:5: error: expected '}' before numeric constant
src/third_party/boost/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
src/third_party/boost/boost/thread/xtime.hpp:38:13: error: 'int_fast64_t' does not name a type
src/third_party/boost/boost/thread/xtime.hpp:41:13: error: 'int_fast32_t' does not name a type
src/third_party/boost/boost/thread/xtime.hpp:43:5: error: 'xtime_sec_t' does not name a type
src/third_party/boost/boost/thread/xtime.hpp:44:5: error: 'xtime_nsec_t' does not name a type
src/third_party/boost/boost/thread/xtime.hpp:46:14: error: expected type-specifier before 'system_time'
src/third_party/boost/boost/thread/xtime.hpp: In function 'xtime get_xtime(const system_time&)':
src/third_party/boost/boost/thread/xtime.hpp:64:9: error: 'struct xtime' has no member named 'sec'
src/third_party/boost/boost/thread/xtime.hpp:64:25: error: expected type-specifier
src/third_party/boost/boost/thread/xtime.hpp:64:25: error: expected '>'
src/third_party/boost/boost/thread/xtime.hpp:64:25: error: expected '('
src/third_party/boost/boost/thread/xtime.hpp:64:25: error: 'xtime_sec_t' is not a member of 'xtime'
src/third_party/boost/boost/thread/xtime.hpp:64:78: error: expected ')' before ';' token
src/third_party/boost/boost/thread/xtime.hpp:65:9: error: 'struct xtime' has no member named 'nsec'
src/third_party/boost/boost/thread/xtime.hpp:65:26: error: expected type-specifier
src/third_party/boost/boost/thread/xtime.hpp:65:26: error: expected '>'
src/third_party/boost/boost/thread/xtime.hpp:65:26: error: expected '('
src/third_party/boost/boost/thread/xtime.hpp:65:26: error: 'xtime_nsec_t' is not a member of 'xtime'
(... plus a lot more similar errors about boost xtime.hpp ...)

What is the latest version of mongodb that people have compiled successfully for ARM? I will check out some older versions in git and try compiling them as well to see if that helps. The latest version of mongodb-nonx86 as of this post is 47fbbdceb21fc2b791d22db7f01792500647daa9.

Thomas P.

@josteinaj Not a C expert, but this appears to be a problem related to LibBoost. A guide about compilation on Debian was written, you might want to have a look at it, so that you install the dev packages of libBoost made for your distribution.

Once you'll have done this, you'll be able to ask scones to build MongoDB using files installed for your distribution, editing this file (have a look at lines 17-26).

By the way, have you tried apt-get install mongo ? Who knows, there's maybe a pre-compiled version of Mango already available!

Jostein Austvik Jacobsen

Thanks @TPXP ! I'll have a look at that site.

I did try this one which starts out by installing a bunch of libboost packages:

...but I'll try your link as well.

After thing I'm trying is to add the unstable "sid" branch of debian to my debian install, which let me install pretty much the newest mongodb (sid also has the newest version of node it seems, but I won't bother with that as I managed to compile the standalone version). I symlinked mongodb/bin/mongo and mongod to /usr/bin/mongo and mongod (going by memory now, I'm not by the device to check the exact paths), and now I seem to be very close to get it working, but mongo seems to be unable to open the correct port or something. I'll post the error I get when I get back home - maybe there's just some config setting I've missed.

The installed mongodb is not statically linked unfortunately; otherwise I could've copied it into the dev_bundle and used it from there (and maybe uploaded a version somewhere for anyone else to use as well).

Jostein Austvik Jacobsen

Error I'm currently getting when trying to start meteor:

debian@udoo-debian-hfp:~/meteor/docs$ meteor
=> Running Meteor from a checkout -- overrides project version (
[[[[[ ~/meteor/docs ]]]]]

=> Started proxy.
Unexpected mongo exit code 48. Restarting.
Unexpected mongo exit code 48. Restarting.
Unexpected mongo exit code 48. Restarting.
Can't start Mongo server.
MongoDB exited because its port was closed, or was already
taken by a previous instance of MongoDB

Check for other processes listening on port 3001
or other Meteor instances running in the same project.
Thomas P.

@josteinaj Try sudo netstat -lp | grep 3001. Perhaps a process is using this port.

Also make sure mongoDB is working using mongod. Perhaps something like mongod --dbpath ~/mongodb-test (note the directory must be created).

Jostein Austvik Jacobsen

@TPXP: no other processes seem to be using port 3001. By setting --dbpath I'm able to start mongod manually; thanks!

If I run mongod without setting --dbpath, I get ERROR: dbpath (/data/db/) does not exist. I don't know what --dbpath is set to when mongod is started through meteor. meteor --dbpath /home/debian/meteor/docs/.meteor/local/db/ does not work (it gives me --dbpath: unknown option.).

Thomas P.

@josteinaj It looks like it is not the mongod process that encounters a problem, but the mongo one. Try launching mongo while mongod is running (use two terminals or launch mongod adding & at the end of the command so that it runs in background - you'll have to kill it using kill $(pidof mongod)) and ensure you get connected to MongoDB.

Anyway, meteor uses its own binaries to launch MongoDB. Therefore, you should try launching mongoDB using the binaries in (~/.meteor/tools/latest/mongodb/bin/ ). If these binaries don't work, you should remove them and create a symlink to the working mongod and mongo, using ln -s /path/to/mongo. Note you can get the path of the working mongo (the one launched from your terminal) using whereis mongo*.

Jostein Austvik Jacobsen

Yes, I've symlinked ~/meteor/dev_bundle/mongodb/bin/mongo (and mongod) to /usr/bin/mongo (and /usr/bin/mongod) already.

By setting dbpath, I can start mongod. It seems the issue is with the mongo client (mongo). The weird thing is that after I start mongod on my ARM device, I can connect to it using mongo on my laptop, but I can't connect to it using mongo on the ARM device itself (separate terminal, mongod running in the background).

debian@udoo-debian-hfp:~$ mongo --host --verbose
MongoDB shell version: 2.4.10
Sat Jun 21 10:22:12.401 versionArrayTest passed
connecting to:
Sat Jun 21 10:22:12.566 creating new connection to:
Sat Jun 21 10:22:12.567 BackgroundJob starting: ConnectBG
Sat Jun 21 10:22:18.576 Error: couldn't connect to server at src/mongo/shell/mongo.js:147
Sat Jun 21 10:22:18.577 User Assertion: 12513:connect failed
exception: connect failed
Thomas P.

@josteinaj Try using host instead of the device's IP.

Jostein Austvik Jacobsen

@TPXP: Same error.

Thomas P.

@josteinaj Can you read anything about this error in the mongod log ?

Jostein Austvik Jacobsen

There's no output to the mongod terminal when I try to connect with mongo.

Is there any way I can get more detailed debugging info?

debian@udoo-debian-hfp:~$ mongod
mongod --help for help and startup options
Sat Jun 21 11:53:34.714 
Sat Jun 21 11:53:34.715 warning: 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
Sat Jun 21 11:53:34.715 
Sat Jun 21 11:53:34.752 [initandlisten] MongoDB starting : pid=7675 port=27017 dbpath=/data/db/ 32-bit host=udoo-debian-hfp
Sat Jun 21 11:53:34.752 [initandlisten] 
Sat Jun 21 11:53:34.753 [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
Sat Jun 21 11:53:34.753 [initandlisten] **       32 bit builds are limited to less than 2GB of data (or less with --journal).
Sat Jun 21 11:53:34.753 [initandlisten] **       Note that journaling defaults to off for 32 bit and is currently off.
Sat Jun 21 11:53:34.753 [initandlisten] **       See
Sat Jun 21 11:53:34.754 [initandlisten] 
Sat Jun 21 11:53:34.754 [initandlisten] db version v2.4.10
Sat Jun 21 11:53:34.755 [initandlisten] git version: nogitversion
Sat Jun 21 11:53:34.755 [initandlisten] build info: Linux howells 3.2.0-4-mx5 #1 Debian 3.2.57-3+deb7u1 armv7l BOOST_LIB_VERSION=1_55
Sat Jun 21 11:53:34.755 [initandlisten] allocator: system
Sat Jun 21 11:53:34.755 [initandlisten] options: {}
Sat Jun 21 11:53:34.825 [websvr] admin web console waiting for connections on port 28017
Sat Jun 21 11:53:34.825 [initandlisten] waiting for connections on port 27017
debian@udoo-debian-hfp:~$ mongo
MongoDB shell version: 2.4.10
connecting to: test
Sat Jun 21 11:52:51.114 Error: couldn't connect to server at src/mongo/shell/mongo.js:145
exception: connect failed
Thomas P.

@josteinaj The error you get seems related to the mongo binary, as you can connect to the databse from a remote computer. Moreover, this issue seems to have a topic on StackOverflow, you may find the solution to your problem here : .

Jostein Austvik Jacobsen

@TPXP Thanks, that looks like the exact same error I'm facing. It seems the solution is to patch mongodb and recompile though, so I suppose that means installing the debian package with apt-get is a no-go.

I've been trying some more to compile mongo-nonx86 and it seems to compile nicely after a fixing the source code a bit. It's taking forever though, so we'll see.

Thomas P.

@josteinaj As the apt-get solution is not working properly, you should report this issue to the people in charge of the repository (or maybe even to the libboost developpers). This way, they will fix the package and make it work for everyone.

Jostein Austvik Jacobsen

Yeah I considered it initially but submitting bugs to debian wasn't exactly straight forward (probably just because I haven't done it before).

Anyway, I did it now:

Jostein Austvik Jacobsen

So I finally got it working a few days ago, and have set up instructions for setting it up here: josteinaj/meteor-udoo. The reason I didn't get mongo working earlier was that by default, debian had disabled the loopback interface, to mongo was not able to resolve localhost. I don't know if this is default in all Debian distros or just this armHF one (I'm usually using Ubuntu), but it seems strange to have it disabled by default.

Anyway, I chose to install it from the debian repos using apt-get and link to node and mongo instead of building them. But I think I could've managed to build all the binaries now that I figured out the loopback issue.

Thanks for the help everyone!

I hope there will be official support for meteor on ARM in the future!

Tom Freudenberg

Hi, today I created a fork to build an universal bundle for meteor (currently 0.9.3). It runs successfull for us on UDOO and Raspi.

Available from branch release-0.9.3-universal on:

Update on Nov 4th, 2014

Now also available for release 1.0 of meteor. I always direct the default branch to latest available release. Please check out on:

Gabriel Garrett

Hi Tom, just wondering, how do I get your script working? Everytime I try running it, I get the following error:
Unsupported architecture: armv6l
Meteor only supports i686 and x86_64 or universal for now.
To use universal architecture make sure that node and mongo packages are pre-installed.

From what I can tell, I have node installed, and mongo installed. However, whenever I call the mongo command by itself, I get a command not found error, even if
sudo /etc/init.d/mongod start
Successfully starts mongo for me. Still can't use the mongo shell, basically. Just not sure if that's required by the "universal" build.

Tom Freudenberg

Hi Gabriel ( @ggaabe ), I moved your request forward to a ticket at:


Tom Freudenberg

For anyone who is coming here by searching for running great meteor on yet unsupported architectures.

You will find an updated universal fork on The repo is kept updated always to latest meteor stable releases.

An additional blog with comments and hints from issues all over the time is available at: Help and comments are welcome! You can send me your comments via github issues or by MENU->SuggestionBox on blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.