GithubHelp home page GithubHelp logo

Comments (18)

taliyahpottruff avatar taliyahpottruff commented on August 17, 2024 3

I found a working temporary solution, although I hope it gets fixed. My speculation is that since the latest version of electrify is using an older version of MongoDB that it's bundling that older version into the app. My solution is to download the Mongo binaries from https://www.mongodb.com/download-center#community under All Version Binaries. Make sure you download the latest version. Inside of the archive you download navigate to the bin folder and copy mongod.exe or the equivalent OS file to ./resources/app/bin of your built app. I personally have only tested replacing mongod.exe but it might be a good idea to replace mongo.exe as well.

image
image
image
image

from electrify.

technicalforum avatar technicalforum commented on August 17, 2024 3

You can use mongod --storageEngine=mmapv1 --dbpath "Your Path". For more details Please go through https://technicalforum.wordpress.com/2016/12/10/mongodb-tutorial-part1/

from electrify.

k4rz4 avatar k4rz4 commented on August 17, 2024 2

I have found the solution, Meteor uses mongo 3.2.6. Download binaries for 3.2.6 you will see that they are diffrent sizes and you have to extract mongod.exe and mongo.exe. When i started mongod.exe i got error that libeay32.dll and ssleay32.dll are missing you can find them in installed mongodb directory for me "Program Files/MongoDb/server/bin/" and just copy them to app/bin

from electrify.

aboire avatar aboire commented on August 17, 2024 1

yep or download here https://indy.fulgan.com/SSL/

from electrify.

tenshis avatar tenshis commented on August 17, 2024

The weird thing is, this only happens when I use "electrify package" and it uses the mongo acquired by electrify. If I only use "electrify", so that it uses the mongodb offered by meteor, then the app works flawlessly.

Any help?

from electrify.

taliyahpottruff avatar taliyahpottruff commented on August 17, 2024

I'm getting the same error.

from electrify.

k4rz4 avatar k4rz4 commented on August 17, 2024

Are you sure it is 3.2.8? That did not helped me. Do someone has other solution?

from electrify.

harishreddy-m avatar harishreddy-m commented on August 17, 2024

I tried above steps
Copying mongo,mongo binaries from 3.0.10 version as my mongo server is 3.0.10
Got the .dll error
Copied the dll files to .electrify/bin

App starting is stuck at starting mongo...
When I tried to run bin/mongo it is giving some error with memory address in it.

from electrify.

harishreddy-m avatar harishreddy-m commented on August 17, 2024

I repeated above steps with resources/app/bin folder too.
Same problem stuck at "starting mongo..."

from electrify.

mertyildiran avatar mertyildiran commented on August 17, 2024

@TrentonPottruff Your solution seems reasonable but for me just like other comments it's stuck at starting mongo...

Do you have any idea?

from electrify.

mertyildiran avatar mertyildiran commented on August 17, 2024

@arboleya Could you take a look to this issue. I think this is important.

from electrify.

mertyildiran avatar mertyildiran commented on August 17, 2024

As @TrentonPottruff and @k4rz4 mentioned above, to make things more clear:

As of Meteor 1.4, it's using MongoDB version 3.2.6 (Announcing Meteor 1.4)

So you need exactly these binaries: win32/mongodb-win32-x86_64-2008plus-3.2.6.zip (Official)

Extract files from the zip archive then copy mongod and mongo binaries and paste into ./resources/app/bin

So temporarily solved but @arboleya needs to fix that eventually.

from electrify.

xlinbsd avatar xlinbsd commented on August 17, 2024

Hi,
Mongodb's WiredTiger engine is only supported on 64bits, that can explain some worries. It seems quite impossible to use electrify to package on recent meteor on 32bits systems for this simple reason.

from electrify.

xlinbsd avatar xlinbsd commented on August 17, 2024

@mertyildiran, arboleya do not seems alive on this project since a lot of time.

An undirect fork is here to maintain a bit this useful tool. It have problems too, but who now, if we press gently its maintainer, it can become a more useful update.

from electrify.

mertyildiran avatar mertyildiran commented on August 17, 2024

@xlinbsd Thanks for mention that.

from electrify.

xlinbsd avatar xlinbsd commented on August 17, 2024

I just did a full success packaging with mongodb 3.2.6 but not the SSL version on Win7 64bits and meteor 1.4.2.3 of a quite complex project with some npm dependencies.

mongodb-win32-x86_64-2008plus-3.2.6.zip

The ssl version cannot work for me, SSL dll not working either.

from electrify.

iaroshvictor avatar iaroshvictor commented on August 17, 2024

Use the 3.2.12 version of Mongo

from electrify.

Mairu avatar Mairu commented on August 17, 2024

I have created a fork that uses the mmapv1 storage engine on windows to solve this problem.

from electrify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.