GithubHelp home page GithubHelp logo

Comments (11)

timabbott avatar timabbott commented on May 22, 2024

Which digitalocean machine type were you using? Could be you don't have enough memory.

from zulip.

lfaraone avatar lfaraone commented on May 22, 2024

It also looks like you're using VirtualBox inside an already-virtualized environment. Can you use the LXC provider for Vagrant instead?

from zulip.

ccope avatar ccope commented on May 22, 2024

Note that you'll also need to switch the vagrant box name in order to use LXC, if you go that route. use fgrehm/trusty64-lxc.

@lfaraone If a user has a dedicated ubuntu vm, could they just skip vagrant and use the provisioning script from the Vagrantfile?:

sudo git clone https://github.com/zulip/zulip.git /srv/zulip
sudo apt-get update
sudo apt-get install -y python-pbs
python /srv/zulip/provision.py

from zulip.

timabbott avatar timabbott commented on May 22, 2024

Yes, that should work (we do basically that in the .travis.yml file)

from zulip.

timabbott avatar timabbott commented on May 22, 2024

@ccope @lfaraone is the problem here that our "vagrant up" instructions should include "--provider=LXC" or something?

from zulip.

lfaraone avatar lfaraone commented on May 22, 2024

@timabbott:

our "vagrant up" instructions should include "--provider=LXC" or something?
Well, we'll fall back to VirtualBox if you didn't install vagrant-lxc-plugin.

@Cam:

If a user has a dedicated ubuntu vm, could they just skip vagrant and use the provisioning script from the Vagrantfile?:
Yes.

from zulip.

ccope avatar ccope commented on May 22, 2024

If you want to support LXC, you'll need to add a section to the vagrant configuration to override the box name.

config.vm.provider "lxc" do |lxc, override|
  override.vm.box = "fgrehm/trusty64-lxc"
end

from zulip.

timabbott avatar timabbott commented on May 22, 2024

@ccope this is our Vagrantfile, which I think already does that: https://github.com/zulip/zulip/blob/master/Vagrantfile

from zulip.

ccope avatar ccope commented on May 22, 2024

Oh hey, whaddya know, I missed it. I'm used to Vagrantfiles defaulting to Virtualbox and having overrides for lxc, not the other way around.

from zulip.

flashjames avatar flashjames commented on May 22, 2024

@ccope

config.vm.provider "lxc" do |lxc, override|
override.vm.box = "fgrehm/trusty64-lxc"
end

Solved it.

Here's how the file looks after edits.
https://www.dropbox.com/s/z3evf4jxbljpqoy/Screenshot%202015-10-01%2016.46.41.png?dl=0

"Which digitalocean machine type were you using? Could be you don't have enough memory."
Ubuntu box with 512 ram

from zulip.

timabbott avatar timabbott commented on May 22, 2024

@jenso OK just FYI 512MB of RAM is lower than we recommend right now (see #32 for discussion of how we can improve this), so you may experience OOM issues if you try running a server with that little RAM in production.

from zulip.

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.