I installed it this way:
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/trusty64"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.define "graylog" do |graylog|
graylog.vm.provision "shell", path: "provision1.sh"
graylog.vm.network :forwarded_port, guest: 80, host: 8888
graylog.vm.network :public_network, type: :dhcp
config.vm.define "nginx" do |nginx|
nginx.vm.provision "shell", path: "provision.sh"
nginx.vm.network :forwarded_port, guest: 80, host: 3000, id: "nginx"
nginx.vm.network :public_network, type: :dhcp
and the provision1.sh as:
when I ssh my graylog it works, but when trying to surf graylog through the web interface I get the following:
Graylog is restarting…
There is no Graylog web application running at the moment, please reload this page in a minute. It can take up to 1-2 minutes until all services are running properly. In case this is a permanent error, check the following:
Check if all services are running - sudo graylog-ctl status shows an overview of all running services
Check for errors in log files - Relevant services write log files here: /var/log/graylog/*/current
Ask for help - If there is no way to fix the issue ask for help: https://github.com/Graylog2/graylog2-images/issues