Giter VIP home page Giter VIP logo

Comments (9)

mariussturm avatar mariussturm commented on July 17, 2024

Thanks for the report, will look into it!

from graylog2-images.

slava-vishnyakov avatar slava-vishnyakov commented on July 17, 2024

👍 thanks

from graylog2-images.

slava-vishnyakov avatar slava-vishnyakov commented on July 17, 2024

In the meantime this works (maybe it's actually good idea to add this to README?):

sudo docker run -t -p 9000:9000 -p 12021:12021 -e GRAYLOG2_PASSWORD=myadmin mc2labs/graylog2

from graylog2-images.

eabay avatar eabay commented on July 17, 2024

Facing the same issue. 0.92.0 version from https://packages.graylog2.org/releases/graylog2-omnibus/ubuntu/graylog2_latest.deb is broken. Any chance to go back to the previous version?

BTW, I maintain mc2labs/graylog2 image and it is broken too because of the automated build :(

from graylog2-images.

mariussturm avatar mariussturm commented on July 17, 2024

Could you try graylog2_latest.deb again? I just updated to 0.92.1

from graylog2-images.

eabay avatar eabay commented on July 17, 2024

Nope, not worked for me.

Recipe: ntp::default
  * apt_package[ntp] action install
    * No version specified, and no candidate version available for ntp
    ================================================================================
    Error executing action `install` on resource 'apt_package[ntp]'
    ================================================================================

    Chef::Exceptions::Package
    -------------------------
    No version specified, and no candidate version available for ntp

    Resource Declaration:
    ---------------------
    # In /opt/graylog2/embedded/cookbooks/ntp/recipes/default.rb

     28:     package ntppkg
     29:   end

    Compiled Resource:
    ------------------
    # Declared in /opt/graylog2/embedded/cookbooks/ntp/recipes/default.rb:28:in `block in from_file'

    apt_package("ntp") do
      action :install
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      package_name "ntp"
      timeout 900
      cookbook_name :ntp
      recipe_name "default"
    end
Recipe: graylog2::elasticsearch
  * service[elasticsearch] action restart

    ================================================================================
    Error executing action `restart` on resource 'service[elasticsearch]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of /opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv restart /opt/graylog2/service/elasticsearch ----
    STDOUT: timeout: run: /opt/graylog2/service/elasticsearch: (pid 219) 18s, got TERM
    STDERR:
    ---- End output of /opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv restart /opt/graylog2/service/elasticsearch ----
    Ran /opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv restart /opt/graylog2/service/elasticsearch returned 1

    Resource Declaration:
    ---------------------
    # In /opt/graylog2/embedded/cookbooks/runit/definitions/runit_service.rb

    190:     service params[:name] do
    191:       control_cmd = node[:runit][:sv_bin]
    192:       if params[:owner]
    193:         control_cmd = "#{node[:runit][:chpst_bin]} -u #{params[:owner]} #{control_cmd}"
    194:       end
    195:       provider Chef::Provider::Service::Simple

    Compiled Resource:
    ------------------
    # Declared in /opt/graylog2/embedded/cookbooks/runit/definitions/runit_service.rb:190:in `block in from_file'

    service("elasticsearch") do
      params {:directory=>"/opt/graylog2/sv", :only_if=>false, :finish_script=>false, :control=>[], :run_restart=>true, :active_directory=>"/opt/graylog2/service", :init_script_template=>nil, :owner=>"root", :group=>"root", :template_name=>"elasticsearch", :start_command=>"start", :stop_command=>"stop", :restart_command=>"restart", :status_command=>"status", :options=>{:log_directory=>"/var/log/graylog2/elasticsearch", :install_directory=>"/opt/graylog2", :max_memory=>"1000m", :directory=>nil, :only_if=>false, :finish_script=>false, :control=>[], :run_restart=>true, :active_directory=>nil, :init_script_template=>nil, :owner=>"root", :group=>"root", :template_name=>nil, :start_command=>"start", :stop_command=>"stop", :restart_command=>"restart", :status_command=>"status", :options=>{}, :log_options=>{}, :env=>{}, :action=>:enable, :down=>false}, :log_options=>{"svlogd_size"=>209715200, "svlogd_num"=>30, "svlogd_timeout"=>86400, "svlogd_filter"=>"gzip", "svlogd_udp"=>nil, "svlogd_prefix"=>nil, "udp_log_shipping_host"=>nil, "udp_log_shipping_port"=>514, "enable"=>true, "log_directory"=>"/var/log/graylog2/elasticsearch", "data_directory"=>"/var/opt/graylog2/data/elasticsearch", "enabled"=>true}, :env=>{}, :action=>:enable, :down=>false, :name=>"elasticsearch"}
      provider Chef::Provider::Service::Simple
      action [:nothing]
      supports {:restart=>true, :status=>true}
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      service_name "elasticsearch"
      pattern "elasticsearch"
      start_command "/opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv start /opt/graylog2/service/elasticsearch"
      stop_command "/opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv stop /opt/graylog2/service/elasticsearch"
      status_command "/opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv status /opt/graylog2/service/elasticsearch"
      restart_command "/opt/graylog2/embedded/bin/chpst -u root /opt/graylog2/embedded/bin/sv restart /opt/graylog2/service/elasticsearch"
      cookbook_name :graylog2
      recipe_name "elasticsearch"
    end

  * ruby_block[reload elasticsearch svlogd configuration] action create
    - execute the ruby block reload elasticsearch svlogd configuration
Running handlers:
[2014-12-12T15:18:47+00:00] ERROR: Running exception handlers
Running handlers complete
[2014-12-12T15:18:47+00:00] ERROR: Exception handlers complete
[2014-12-12T15:18:47+00:00] FATAL: Stacktrace dumped to /opt/graylog2/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 96 resources updated in 55.365957059 seconds
[2014-12-12T15:18:48+00:00] ERROR: Chef::Exceptions::MultipleFailures
[2014-12-12T15:18:48+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

from graylog2-images.

mariussturm avatar mariussturm commented on July 17, 2024

Thanks,
at least another error will investigate further...

from graylog2-images.

mariussturm avatar mariussturm commented on July 17, 2024

Latest omnibus package + this Dockerfile https://github.com/Graylog2/graylog2-images/blob/master/docker/Dockerfile
should fix the issue.
Thanks for reporting!

from graylog2-images.

eabay avatar eabay commented on July 17, 2024

It works, thanks for the fix!

from graylog2-images.

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.