Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website down and run with meteor doesnt work #217

Open
petrk94 opened this issue Aug 26, 2018 · 13 comments
Open

Website down and run with meteor doesnt work #217

petrk94 opened this issue Aug 26, 2018 · 13 comments
Labels

Comments

@petrk94
Copy link

petrk94 commented Aug 26, 2018

Hello,

I just tried to run it, but, well meteor give a error message:
can you help?
Thanks

$meteor
[[[[[ /var/www/virtual/xxxxx/peermind.xxxxx.de ]]]]]

=> Started proxy.
=> A patch (Meteor 1.6.1.4) for your current release is available!
   Update this project now with 'meteor update --patch'.
=> Started MongoDB.
api: updating npm dependencies -- mime-types...
/home/xxxxx/.meteor/packages/coffeescript/.1.11.1_3.15qetf5.4k85++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
      throw error;
      ^

Error: ENOENT: no such file or directory, open '/var/www/virtual/xxxxx/peermind.xxxxx.de/packages/balancetext/vendor/jquery.balancetext.js'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at wrapper (/tools/fs/files.js:1558:35)
    at wrap.makeCacheKey (/tools/fs/optimistic.js:25:15)
    at Entry._reallyRecompute (/home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/optimism/lib/entry.js:215:26)
    at Entry._recomputeIfDirty (/home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/optimism/lib/entry.js:179:17)
    at Entry.recompute (/home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/optimism/lib/entry.js:46:20)
    at optimistic (/home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/optimism/lib/index.js:50:18)
    at _.values.forEach.source (/tools/isobuild/compiler.js:558:22)
    at Array.forEach (<anonymous>)
    at /tools/isobuild/compiler.js:494:21
    at files.withCache (/tools/isobuild/compiler.js:184:28)
    at Object.withCache (/tools/fs/files.js:1658:12)
    at /tools/isobuild/compiler.js:183:11
    at Array.forEach (<anonymous>)
    at Function._.each._.forEach (/home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
    at Object.compile (/tools/isobuild/compiler.js:178:5)
    at /tools/isobuild/isopack-cache.js:362:30
    at /tools/utils/buildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:352:34
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:350:23
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.enterJob (/tools/utils/buildmessage.js:324:26)
    at IsopackCache._loadLocalPackage (/tools/isobuild/isopack-cache.js:317:18)
    at Profile.time (/tools/isobuild/isopack-cache.js:251:16)
    at Function.time (/tools/tool-env/profile.js:305:10)
    at /tools/isobuild/isopack-cache.js:250:17
    at /tools/utils/buildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:352:34
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:350:23
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.enterJob (/tools/utils/buildmessage.js:324:26)
    at IsopackCache._ensurePackageLoaded (/tools/isobuild/isopack-cache.js:241:20)
    at /tools/isobuild/isopack-cache.js:77:14
    at /tools/packaging/package-map.js:57:7
    at Function._.each._.forEach (/home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
    at exports.PackageMap.eachPackage (/tools/packaging/package-map.js:49:7)
    at IsopackCache.buildLocalPackages (/tools/isobuild/isopack-cache.js:76:24)
    at /tools/project-context.js:847:25
    at /tools/utils/buildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:352:34
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:350:23
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.enterJob (/tools/utils/buildmessage.js:324:26)
    at ProjectContext._buildLocalPackages (/tools/project-context.js:846:18)
    at /tools/project-context.js:285:9
    at /tools/utils/buildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:352:34
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:350:23
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.enterJob (/tools/utils/buildmessage.js:324:26)
    at ProjectContext._completeStagesThrough (/tools/project-context.js:275:18)
    at Profile.run (/tools/project-context.js:267:12)
    at Function.run (/tools/tool-env/profile.js:490:12)
    at ProjectContext.prepareProjectForBuild (/tools/project-context.js:266:13)
    at /tools/runners/run-app.js:554:29
    at /tools/utils/buildmessage.js:271:13
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:264:29
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:262:18
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:253:23
    at exports.EnvironmentVariable.withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.capture (/tools/utils/buildmessage.js:252:19)
    at bundleApp (/tools/runners/run-app.js:553:31)
    at AppRunner._runOnce (/tools/runners/run-app.js:622:35)
    at AppRunner._fiber (/tools/runners/run-app.js:880:28)
    at /tools/runners/run-app.js:408:12

@petrk94
Copy link
Author

petrk94 commented Aug 26, 2018

ok I this information from my hoster

Executable: /home/xxxxx/.meteor/packages/meteor-tool/.1.6.0_1.10s56dy.asfa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
working directory: /var/www/virtual/xxxxx/peermind.xxxxx.de

The problem is, that the software used more than 968 MB and got killed by the server management system :/

@mitar
Copy link
Member

mitar commented Aug 26, 2018

I suggest you remove /home/xxxxx/.meteor and reinstall Meteor again.

@mitar
Copy link
Member

mitar commented Aug 26, 2018

Do you use the Docker image?

@mitar mitar added the question label Aug 26, 2018
@petrk94
Copy link
Author

petrk94 commented Aug 26, 2018

@mitar I try to remove .meteor
No, docker image is not possible on the hoster.

@mitar
Copy link
Member

mitar commented Aug 27, 2018

So did removing .meteor help? Is there some hard limit on disk space? Maybe what happens is that during building it hits it and cannot write necessary files?

If you cannot run Docker images, you could do that you locally build Meteor app using meteor bundle command and that will produce tgz for you, and then you can copy it over to the server. You have to do npm install there, but it might be overall smaller (no need for Meteor itself). See here.

@petrk94
Copy link
Author

petrk94 commented Aug 27, 2018

why not providing a ready to use meteor app?

@mitar
Copy link
Member

mitar commented Aug 27, 2018

What do you mean? This is ready to use Meteor app. You have a problem that you have a disk space limit, so we are trying to find a workaround for this limit.

@petrk94
Copy link
Author

petrk94 commented Aug 27, 2018

@mitar
No no, the disc space is not the problem. The problem is that the memory, RAM, is has consuming too much, that's why the hoster has killed the application on my account. That's the Problem.

@mitar
Copy link
Member

mitar commented Aug 27, 2018

Aha. I understood that it is about the disk space.

Anyway, my recommendation is the same. Instead of using Meteor/PeerMind in development mode, which seems based on the error that you are doing, which takes a lot of memory and everything else because it does much more then just run the app, you should deploy the app. You can use Docker for that, or you can use any of other approaches to deploying a Meteor app I linked to you above. I think doing a proper deployment will help in your case.

@petrk94
Copy link
Author

petrk94 commented Aug 31, 2018

@mitar unfortunately I can not use docker, what is the "productive" deployment?

@mitar
Copy link
Member

mitar commented Sep 1, 2018

Production deployment. This means something you deploy for end-users which are then using the app. See here for more information.

Yes, I understand that you cannot use Docker, so I linked you other ways you can use deploy Meteor app. Here is the link again: https://guide.meteor.com/deployment.html#custom-deployment

@petrk94
Copy link
Author

petrk94 commented Sep 1, 2018

@mitar I know what is production deployment, but I mean how to run peermind on my sharedhost without the meteor dev deploy?

@mitar
Copy link
Member

mitar commented Sep 1, 2018

I don't understand. Have you read the link I provided to you? It is written there how to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants