I find the whole server crashes now, and I've only got three live devices on it for testing:

[2016-11-07 09:12:01] FATAL SignalException: SIGTERM

/usr/local/lib/ruby/2.1.0/webrick/server.rb:170:in `select'

/usr/local/lib/ruby/2.1.0/webrick/server.rb:170:in `block in start'

/usr/local/lib/ruby/2.1.0/webrick/server.rb:32:in `start'

/usr/local/lib/ruby/2.1.0/webrick/server.rb:160:in `start'

/usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'

/usr/local/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'

/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/server.rb:69:in `start'

/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in `block in server'

/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `tap'

/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `server'

/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:in `run_command!'

/usr/local/lib/ruby/gems/2.1.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in `<top (required)>'

bin/rails:4:in `require'

bin/rails:4:in `<main>'

[2016-11-07 09:12:01] INFO  going to shutdown ...

[2016-11-07 09:12:01] INFO  WEBrick::HTTPServer#start done.d

Kris 

On November 2, 2016 at 8:46 AM Kris Germann <[email protected]> wrote:

 

Typically I'll see the terminal output below when I load the web app on my end indicating the web server is serving the content to my browser:

Started GET "/devices?query=%7B%7D&sort=-summary.lastInform" for 208.79.61.232 at 2016-11-02 08:41:23 -0400

Processing by DevicesController#index as HTML

  Parameters: {"query"=>"{}", "sort"=>"-summary.lastInform"}

  Rendered application/_pagination.html.erb (5.9ms)

  Rendered devices/index.html.erb within layouts/application (16.6ms)

  Rendered layouts/_menu.html.erb (0.7ms)

Completed 200 OK in 53ms (Views: 25.2ms | ActiveRecord: 0.0ms)

However, sometimes when I load GenieACS I just get a blank page, and there are no output logs like the one above in the console.

It seems the only way to remedy this is to reset GenieACS services - which, frankly is fine, but if that's the ONLY way to fix it is there a way I can reset just the rails app via cron every few hours?

Starting the rails with:

"cd /opt/genieacs-gui

/usr/local/bin/rails server &

sleep 3"

Kris


 

_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to