Failing to run Trellis on Solus

Hi everyone,

trying to modernize my WP Workflow I happened to find roots.io and started reading the docs yesterday. I am a total noob at Vagrant itself and currently trying to run Trellis on my Solux Linux Laptop but can’t vagrant up.

What I did:

  • Create the project directory in my /home
  • Clone trellis and bedrock from github
  • Configured wordpress_sites and vault ymls
  • run vagrant up

First the output was

Installing plugin vagrant-bindfs
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /home/fabian/roots.io/trellis/Vagrantfile
Line number: 0
Message: Errno::EMFILE: Too many open files - socket(2) - udp

ulimit was set to 1024, so I upped to 4096 and ran vagrant up again

Installing plugin vagrant-bindfs
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /home/fabian/roots.io/trellis/Vagrantfile
Line number: 0
Message: SystemStackError: stack level too deep

I’d really appreciate any hints on where to go from here :slight_smile:

Can you try installing it manually? vagrant plugin install vagrant-bindfs

1 Like

Also check what version of Vagrant you’re running with $ vagrant --version. I’m seeing some google results about this error, Ansible, and older versions of Vagrant.

Thanks a lot for the quick reply!

Here’s my output

/usr/lib64/ruby/2.3.0/resolv.rb:111:in `=~': stack level too deep (SystemStackError)
from /usr/lib64/ruby/2.3.0/resolv.rb:111:in `each_address'
from /usr/lib64/ruby/2.3.0/resolv.rb:94:in `getaddress'
from /usr/lib64/ruby/2.3.0/resolv.rb:45:in `getaddress'
from /usr/lib64/ruby/2.3.0/resolv-replace.rb:12:in `getaddress'
from /usr/lib64/ruby/2.3.0/resolv-replace.rb:34:in `bind'
from /usr/lib64/ruby/2.3.0/resolv.rb:657:in `bind_random_port'
from /usr/lib64/ruby/2.3.0/resolv.rb:759:in `block in initialize'
from /usr/lib64/ruby/2.3.0/resolv.rb:744:in `each'
 ... 2680 levels...
from /usr/lib64/ruby/2.3.0/net/http.rb:1384:in `request'
from /usr/lib64/ruby/2.3.0/net/http.rb:1142:in `get'
from /usr/lib64/ruby/gems/2.3.0/gems/hashicorp-checkpoint-0.1.5/lib/checkpoint.rb:91:in `check'
from /usr/lib64/ruby/gems/2.3.0/gems/vagrant-2.0.2/lib/vagrant/util/checkpoint_client.rb:78:in `block in check'

Thanks for replying so fast!

It’s 2.0.2

That’s pretty weird, and bad. I’d suggest re-installing Vagrant and trying a newer version.

I’ll try a reinstall, thanks! Isn’t 2.0.2 the current version?

Oh I guess it is :slight_smile: just a re-install then

Tried and didn’t help. I also tried to install VCCW, so apparently this is a problem with the Solus Package or something - I’ll check with their support (or hop to a bigger distro), thanks!