1.17 Installation on Ubuntu 14.04 - Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status widget loading".. Never Completes

I have setup TheForeman 1.17.1-0 in a Development install on AWS.

ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler
errors using other versions)
WEBrick 1.3.1
ALL Ports open from Server to my IP

I changed Rails to listen on all interfaces as:

require 'rails/commands/server'
module Rails
class Server
alias :default_options_bk :default_options
def default_options
default_options_bk.merge!(Host: '0.0.0.0')
end
endend

Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status
widget loading"… Never Completes

Output from Log:

00:36:43 rails.1 | started with pid 19240

00:36:43 webpack.1 | started with pid 19241

00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open
'.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' }

00:36:45 webpack.1 | Project is running at http://localhost:3808/

00:36:45 webpack.1 | webpack output is served from /webpack/

00:36:51 rails.1 | DEPRECATION WARNING: config.serve_static_files is
deprecated and will be removed in Rails 5.1.

00:36:51 rails.1 | Please use config.public_file_server.enabled instead.

00:36:51 rails.1 | (called from <class:Application> at
/root/foreman/config/application.rb:218)

00:36:51 rails.1 | => Booting WEBrick

00:36:51 rails.1 | => Rails 5.0.6 application starting in development on
http://0.0.0.0:5000

00:36:51 rails.1 | => Run rails server -h for more startup options

00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING:
ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no
effect and will be removed without replacement. (called from <top
(required)> at /root/foreman/config/environment.rb:5)

00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run
apipie:cache rake task to speed up API calls.

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not
work with foreman gem, use script/foreman-start-dev

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
before_filter is deprecated and will be removed in Rails 5.1. Use
before_action instead. (called from <top (required)> at
/root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
after_filter is deprecated and will be removed in Rails 5.1. Use
after_action instead. (called from <top (required)> at
/root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
before_filter is deprecated and will be removed in Rails 5.1. Use
before_action instead. (called from <top (required)> at
/root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
after_filter is deprecated and will be removed in Rails 5.1. Use
after_action instead. (called from <top (required)> at
/root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
alias_method_chain is deprecated. Please, use Module#prepend instead. From
module, you can access the original method using super. (called from <top
(required)> at /root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
Using a dynamic :controller segment in a route is deprecated and will be
removed in Rails 5.2. (called from block in <top (required)> at
/root/foreman/config/routes.rb:17)

00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1

00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14)
[x86_64-linux-gnu]

00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start:
pid=19242 port=5000

00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c

00:37:08 webpack.1 | Version: webpack 3.6.0

00:37:08 webpack.1 | Time: 22521ms

00:37:08 webpack.1 | Asset Size Chunks Chunk
Names

00:37:08 webpack.1 | bundle.js 17.5 MB 0 [emitted] [big]
bundle

00:37:08 webpack.1 | vendor.js 75.7 kB 1 [emitted]
vendor

00:37:08 webpack.1 | bundle.css 81.7 kB 0 [emitted]
bundle

00:37:08 webpack.1 | manifest.json 153 bytes [emitted]

00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js
4.22 kB {0} [built]

00:37:08 webpack.1 | [322] multi
(webpack)-dev-server/client?http://localhost:3808 webpack/hot/dev-server
./webpack/assets/javascripts/bundle.js 52 bytes {0} [built]

00:37:08 webpack.1 | [323]
(webpack)-dev-server/client?http://localhost:3808 7.23 kB {0} [built]

00:37:08 webpack.1 | [371] (webpack)/hot/dev-server.js 1.61 kB {0} [built]

00:37:08 webpack.1 | [373] ./webpack/assets/javascripts/bundle.js 1.46 kB
{0} [built]

00:37:08 webpack.1 | [414]
./node_modules/expose-loader?jstz!./node_modules/jstz/index.js 88 bytes {0}
[built]

00:37:08 webpack.1 | [420]
./node_modules/expose-loader?JsDiff!./node_modules/diff/lib/index.js 94
bytes {0} [built]

00:37:08 webpack.1 | [431] ./webpack/assets/javascripts/bundle_flot.js 240
bytes {0} [built]

00:37:08 webpack.1 | [438]
./webpack/assets/javascripts/bundle_multiselect.js 83 bytes {0} [built]

00:37:08 webpack.1 | [441] ./webpack/assets/javascripts/bundle_select2.js
108 bytes {0} [built]

00:37:08 webpack.1 | [446]
./webpack/assets/javascripts/bundle_datatables.js 103 bytes {0} [built]

00:37:08 webpack.1 | [450] ./webpack/assets/javascripts/foreman_users.js
2.86 kB {0} [built]

00:37:08 webpack.1 | [451]
./webpack/assets/javascripts/foreman_ssh_keys.js 608 bytes {0} [built]

00:37:08 webpack.1 | [452] ./webpack/assets/javascripts/foreman_trends.js
479 bytes {0} [built]

00:37:08 webpack.1 | [453]
./webpack/assets/javascripts/foreman_hostgroups.js 1.23 kB {0} [built]

00:37:08 webpack.1 | + 835 hidden modules

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!node_modules/select2/select2-bootstrap.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./node_modules/select2/select2-bootstrap.css 3.58
kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!node_modules/datatables.net-bs/css/dataTables.bootstrap.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./node_modules/datatables.net-bs/css/dataTables.bootstrap.css
5.28 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css
724 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/notifications/notifications.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/notifications/notifications.scss
5.69 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss
637 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss
862 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss
1.52 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css
726 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss
752 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/LoaderStyles.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/LoaderStyles.css
380 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!node_modules/select2/select2.css:

00:37:08 webpack.1 | [0] ./node_modules/select2/select2.png 861
bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/select2/select2-spinner.gif
2.51 kB {0} [built]

00:37:08 webpack.1 | [2]
./node_modules/css-loader!./node_modules/select2/select2.css 20.7 kB {0}
[built]

00:37:08 webpack.1 | [3] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | [4] ./node_modules/select2/select2x2.png 1.17
kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!node_modules/multiselect/css/multi-select.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./node_modules/multiselect/css/multi-select.css
2.69 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | [2] ./node_modules/multiselect/img/switch.png
4.15 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/common/commonStyles.css:

00:37:08 webpack.1 | [0]
./node_modules/css-loader!./webpack/assets/javascripts/react_app/common/commonStyles.css
201 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss
1.75 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist
node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/disk.scss:

00:37:08 webpack.1 | [0]
./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/disk.scss
2.64 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | webpack: Compiled successfully.

00:37:26 rails.1 | 2017-10-12T00:37:26 [app] [W] DEPRECATION WARNING:
You didn't set secret_key_base. Read the upgrade documentation to learn
more about this new config option. (called from env_config at
/var/lib/gems/2.4.0/gems/railties-5.0.6/lib/rails/application.rb:246)

00:37:26 rails.1 | 2017-10-12T00:37:26 d106ae33 [app] [I] Started GET
"/dashboard" for $MYIP at 2017-10-12 00:37:26 +0000

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Processing by
DashboardController#index as HTML

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Current user:
admin (administrator)

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [D] Setting current
user thread-local variable to admin

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Session for
Admin User is expired.

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Redirected to
http://{$MYSERVERIP}:5000/users/login

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Filter chain
halted as :session_expiry rendered or redirected

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Completed 302
Found in 100ms (ActiveRecord: 19.7ms)

00:37:27 rails.1 | |

00:37:27 rails.1 | |

00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [I] Started GET
"/users/login" for $MYIP at 2017-10-12 00:37:27 +0000

00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [I] Processing by
UsersController#login as HTML

00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [D] Setting current
user thread-local variable to nil

00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [I] Rendering
users/login.html.erb within layouts/login

00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendered
users/_welcome_box.html.erb (8.1ms)

00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendered
users/login.html.erb within layouts/login (1764.6ms)

00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendering
layouts/base.html.erb

00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendered
layouts/base.html.erb (553.3ms)

00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Completed 200
OK in 2352ms (Views: 2345.0ms | ActiveRecord: 1.7ms)

00:37:29 rails.1 | |

00:37:29 rails.1 | |

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Started POST
"/users/login" for $MYIP at 2017-10-12 00:37:32 +0000

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Processing by
UsersController#login as HTML

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Parameters:
{"utf8"=>"✓", "authenticity_token"=>"$SOMESTRING==",
"login"=>{"login"=>"admin", "password"=>"[FILTERED]"}, "commit"=>"Log In"}

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Setting current
user thread-local variable to nil

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Current user:
foreman_admin (administrator)

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Setting current
user thread-local variable to foreman_admin

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Setting current
user thread-local variable to nil

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Post-login
processing for admin

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Current user:
foreman_admin (administrator)

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Setting current
user thread-local variable to foreman_admin

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Setting current
user thread-local variable to nil

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Current user:
admin (administrator)

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [D] Setting current
user thread-local variable to admin

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Redirected to
http://{$MYSERVERIP}:5000/dashboard

00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Completed 302
Found in 177ms (ActiveRecord: 19.0ms)

00:37:32 rails.1 | |

00:37:32 rails.1 | |

00:37:32 rails.1 | 2017-10-12T00:37:32 a099e33c [app] [I] Started GET
"/dashboard" for $MYIP at 2017-10-12 00:37:32 +0000

00:37:33 rails.1 | 2017-10-12T00:37:33 a099e33c [app] [I] Processing by
DashboardController#index as HTML

00:37:33 rails.1 | 2017-10-12T00:37:33 a099e33c [app

Hi Lisa,

The Foreman dev setup basically needs two webservers running: One to
serve the rails app via http and one to server webpacked javascript code.

I suspect, that the connection to the latter does not work. The two
webservers are started using foreman (not "our forman", but a process
manager gem with the same name). You can take a look at the Procfile to
see what's going on. You can customize the startup with environment
variables.

export RAILS_STARTUP='puma -w 3 -p 3000 --preload'

export WEBPACK_OPTS='… more options …'

bundle exec foreman start

Timo

··· Am 12.10.17 um 02:56 schrieb Lisa Kachold: > I have setup TheForeman 1.17.1-0 in a Development install on AWS. > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] > (gem/bundler errors using other versions) > WEBrick 1.3.1 > ALL Ports open from Server to my IP > > I changed Rails to listen on all interfaces as: > > >require'rails/commands/server'moduleRailsclassServeralias:default_options_bk > :default_options defdefault_options > default_options_bk.merge!(Host:'0.0.0.0')endendend| > > Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration > Status widget loading".. Never Completes > > Output from Log: > > 00:36:43 rails.1 | started with pid 19240 > > 00:36:43 webpack.1 | started with pid 19241 > > 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open > '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } > > 00:36:45 webpack.1 | Project is running at http://localhost:3808/ > > 00:36:45 webpack.1 | webpack output is served from /webpack/ > > 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is > deprecated and will be removed in Rails 5.1. > > 00:36:51 rails.1 | Please use `config.public_file_server.enabled` instead. > > 00:36:51 rails.1 |(called from at > /root/foreman/config/application.rb:218) > > 00:36:51 rails.1 | => Booting WEBrick > > 00:36:51 rails.1 | => Rails 5.0.6 application starting in development > on http://0.0.0.0:5000 > > 00:36:51 rails.1 | => Run `rails server -h` for more startup options > > 00:36:51 rails.1 | 2017-10-12T00:36:51[app] [W] DEPRECATION WARNING: > ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, > has no effect and will be removed without replacement. (called from > at /root/foreman/config/environment.rb:5) > > 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run > apipie:cache rake task to speed up API calls. > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] WARNING: Pry will not > work with foreman gem, use script/foreman-start-dev > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: > alias_method_chain is deprecated. Please, use Module#prepend instead. > From module, you can access the original method using super. (called > from at /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58[app] [W] DEPRECATION WARNING: > Using a dynamic :controller segment in a route is deprecated and will > be removed in Rails 5.2. (called from block in at > /root/foreman/config/routes.rb:17) > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFOWEBrick 1.3.1 > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFOruby 2.4.2 (2017-09-14) > [x86_64-linux-gnu] > > 00:36:59 rails.1 | [2017-10-12 00:36:59] > INFOWEBrick::HTTPServer#start: pid=19242 port=5000 > > 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c > > 00:37:08 webpack.1 | Version: webpack 3.6.0 > > 00:37:08 webpack.1 | Time: 22521ms > > 00:37:08 webpack.1 | Asset SizeChunksChunk Names > > 00:37:08 webpack.1 | bundle.js17.5 MB 0[emitted][big]bundle > > 00:37:08 webpack.1 | vendor.js75.7 kB 1[emitted] vendor > > 00:37:08 webpack.1 |bundle.css81.7 kB 0[emitted] bundle > > 00:37:08 webpack.1 | manifest.json153 bytes[emitted] > > 00:37:08 webpack.1 | [55] > ./webpack/assets/javascripts/foreman_tools.js 4.22 kB {0} [built] > > 00:37:08 webpack.1 |[322] multi > (webpack)-dev-server/client?http://localhost:3808 > webpack/hot/dev-server ./webpack/assets/javascripts/bundle.js 52 bytes > {0} [built] > > 00:37:08 webpack.1 |[323] > (webpack)-dev-server/client?http://localhost:3808 7.23 kB {0} [built] > > 00:37:08 webpack.1 |[371] (webpack)/hot/dev-server.js 1.61 kB {0} [built] > > 00:37:08 webpack.1 |[373] ./webpack/assets/javascripts/bundle.js 1.46 > kB {0} [built] > > 00:37:08 webpack.1 |[414] > ./node_modules/expose-loader?jstz!./node_modules/jstz/index.js 88 > bytes {0} [built] > > 00:37:08 webpack.1 |[420] > ./node_modules/expose-loader?JsDiff!./node_modules/diff/lib/index.js > 94 bytes {0} [built] > > 00:37:08 webpack.1 |[431] ./webpack/assets/javascripts/bundle_flot.js > 240 bytes {0} [built] > > 00:37:08 webpack.1 |[438] > ./webpack/assets/javascripts/bundle_multiselect.js 83 bytes {0} [built] > > 00:37:08 webpack.1 |[441] > ./webpack/assets/javascripts/bundle_select2.js 108 bytes {0} [built] > > 00:37:08 webpack.1 |[446] > ./webpack/assets/javascripts/bundle_datatables.js 103 bytes {0} [built] > > 00:37:08 webpack.1 |[450] > ./webpack/assets/javascripts/foreman_users.js 2.86 kB {0} [built] > > 00:37:08 webpack.1 |[451] > ./webpack/assets/javascripts/foreman_ssh_keys.js 608 bytes {0} [built] > > 00:37:08 webpack.1 |[452] > ./webpack/assets/javascripts/foreman_trends.js 479 bytes {0} [built] > > 00:37:08 webpack.1 |[453] > ./webpack/assets/javascripts/foreman_hostgroups.js 1.23 kB {0} [built] > > 00:37:08 webpack.1 | + 835 hidden modules > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/select2/select2-bootstrap.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./node_modules/select2/select2-bootstrap.css > 3.58 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/datatables.net-bs/css/dataTables.bootstrap.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./node_modules/datatables.net-bs/css/dataTables.bootstrap.css > 5.28 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css > 724 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/notifications/notifications.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/notifications/notifications.scss > 5.69 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss > 637 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss > 862 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss > 1.52 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css > 726 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss > 752 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/LoaderStyles.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/LoaderStyles.css > 380 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/select2/select2.css: > > 00:37:08 webpack.1 |[0] ./node_modules/select2/select2.png 861 bytes > {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/select2/select2-spinner.gif > 2.51 kB {0} [built] > > 00:37:08 webpack.1 |[2] > ./node_modules/css-loader!./node_modules/select2/select2.css 20.7 kB > {0} [built] > > 00:37:08 webpack.1 |[3] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 |[4] ./node_modules/select2/select2x2.png 1.17 kB > {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/multiselect/css/multi-select.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./node_modules/multiselect/css/multi-select.css > 2.69 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 |[2] ./node_modules/multiselect/img/switch.png 4.15 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/common/commonStyles.css: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/common/commonStyles.css > 201 bytes {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss > 1.75 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/disk.scss: > > 00:37:08 webpack.1 |[0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/disk.scss > 2.64 kB {0} [built] > > 00:37:08 webpack.1 |[1] ./node_modules/css-loader/lib/css-base.js 1.51 > kB {0} [built] > > 00:37:08 webpack.1 | webpack: Compiled successfully. > > 00:37:26 rails.1 | 2017-10-12T00:37:26[app] [W] DEPRECATION WARNING: > You didn't set `secret_key_base`. Read the upgrade documentation to > learn more about this new config option. (called from env_config at > /var/lib/gems/2.4.0/gems/railties-5.0.6/lib/rails/application.rb:246) > > 00:37:26 rails.1 | 2017-10-12T00:37:26d106ae33 [app] [I] Started GET > "/dashboard" for $MYIP at 2017-10-12 00:37:26 +0000 > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [I] Processing by > DashboardController#index as HTML > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [I] Current user: > admin (administrator) > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [D] Setting > current user thread-local variable to admin > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [I] Session for > Admin User is expired. > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [I] Redirected to > http://{$MYSERVERIP}:5000/users/login > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [I] Filter chain > halted as :session_expiry rendered or redirected > > 00:37:27 rails.1 | 2017-10-12T00:37:27d106ae33 [app] [I] Completed 302 > Found in 100ms (ActiveRecord: 19.7ms) > > 00:37:27 rails.1 || > > 00:37:27 rails.1 || > > 00:37:27 rails.1 | 2017-10-12T00:37:276305c7bb [app] [I] Started GET > "/users/login" for $MYIP at 2017-10-12 00:37:27 +0000 > > 00:37:27 rails.1 | 2017-10-12T00:37:276305c7bb [app] [I] Processing by > UsersController#login as HTML > > 00:37:27 rails.1 | 2017-10-12T00:37:276305c7bb [app]

I have setup TheForeman 1.17.1-0 in a Development install on AWS.

ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler
errors using other versions)
WEBrick 1.3.1
ALL Ports open from Server to my IP

I changed Rails to listen on all interfaces as:

No need for that at all, just type:
BIND=0.0.0.0 foreman start

require 'rails/commands/server'
module Rails
class Server
alias :default_options_bk :default_options
def default_options
default_options_bk.merge!(Host: '0.0.0.0')
end
endend

Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status
widget loading"… Never Completes

Output from Log:

00:36:43 rails.1 | started with pid 19240

00:36:43 webpack.1 | started with pid 19241

00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open
'.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' }

00:36:45 webpack.1 | Project is running at http://localhost:3808/

00:36:45 webpack.1 | webpack output is served from /webpack/

00:36:51 rails.1 | DEPRECATION WARNING: config.serve_static_files is
deprecated and will be removed in Rails 5.1.

00:36:51 rails.1 | Please use config.public_file_server.enabled instead.

00:36:51 rails.1 | (called from <class:Application> at
/root/foreman/config/application.rb:218)

00:36:51 rails.1 | => Booting WEBrick

00:36:51 rails.1 | => Rails 5.0.6 application starting in development on
http://0.0.0.0:5000

00:36:51 rails.1 | => Run rails server -h for more startup options

00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING:
ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no
effect and will be removed without replacement. (called from <top
(required)> at /root/foreman/config/environment.rb:5)

00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run
apipie:cache rake task to speed up API calls.

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not
work with foreman gem, use script/foreman-start-dev

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
before_filter is deprecated and will be removed in Rails 5.1. Use
before_action instead. (called from <top (required)> at
/root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
after_filter is deprecated and will be removed in Rails 5.1. Use
after_action instead. (called from <top (required)> at /root/foreman/config/
environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
before_filter is deprecated and will be removed in Rails 5.1. Use
before_action instead. (called from <top (required)> at
/root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
after_filter is deprecated and will be removed in Rails 5.1. Use
after_action instead. (called from <top (required)> at /root/foreman/config/
environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
alias_method_chain is deprecated. Please, use Module#prepend instead. From
module, you can access the original method using super. (called from <top
(required)> at /root/foreman/config/environment.rb:5)

00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING:
Using a dynamic :controller segment in a route is deprecated and will be
removed in Rails 5.2. (called from block in <top (required)> at
/root/foreman/config/routes.rb:17)

00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1

00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14)
[x86_64-linux-gnu]

00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start:
pid=19242 port=5000

00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c

00:37:08 webpack.1 | Version: webpack 3.6.0

00:37:08 webpack.1 | Time: 22521ms

00:37:08 webpack.1 | Asset Size Chunks Chunk
Names

00:37:08 webpack.1 | bundle.js 17.5 MB 0 [emitted] [big]
bundle

00:37:08 webpack.1 | vendor.js 75.7 kB 1 [emitted]
vendor

00:37:08 webpack.1 | bundle.css 81.7 kB 0 [emitted]
bundle

00:37:08 webpack.1 | manifest.json 153 bytes [emitted]

00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js
4.22 kB {0} [built]

00:37:08 webpack.1 | [322] multi (webpack)-dev-server/client?ht
tp://localhost:3808 webpack/hot/dev-server
./webpack/assets/javascripts/bundle.js
52 bytes {0} [built]

00:37:08 webpack.1 | [323] (webpack)-dev-server/client?ht
tp://localhost:3808 7.23 kB {0} [built]

00:37:08 webpack.1 | [371] (webpack)/hot/dev-server.js 1.61 kB {0} [built]

00:37:08 webpack.1 | [373] ./webpack/assets/javascripts/bundle.js 1.46 kB
{0} [built]

00:37:08 webpack.1 | [414] ./node_modules/expose-loader?
jstz!./node_modules/jstz/index.js 88 bytes {0} [built]

00:37:08 webpack.1 | [420] ./node_modules/expose-loader?
JsDiff!./node_modules/diff/lib/index.js 94 bytes {0} [built]

00:37:08 webpack.1 | [431] ./webpack/assets/javascripts/bundle_flot.js 240
bytes {0} [built]

00:37:08 webpack.1 | [438] ./webpack/assets/javascripts/bundle_multiselect.js
83 bytes {0} [built]

00:37:08 webpack.1 | [441] ./webpack/assets/javascripts/bundle_select2.js
108 bytes {0} [built]

00:37:08 webpack.1 | [446] ./webpack/assets/javascripts/bundle_datatables.js
103 bytes {0} [built]

00:37:08 webpack.1 | [450] ./webpack/assets/javascripts/foreman_users.js
2.86 kB {0} [built]

00:37:08 webpack.1 | [451] ./webpack/assets/javascripts/foreman_ssh_keys.js
608 bytes {0} [built]

00:37:08 webpack.1 | [452] ./webpack/assets/javascripts/foreman_trends.js
479 bytes {0} [built]

00:37:08 webpack.1 | [453] ./webpack/assets/javascripts/foreman_hostgroups.js
1.23 kB {0} [built]

00:37:08 webpack.1 | + 835 hidden modules

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!node_modules/select2/select2-bootstrap.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
node_modules/select2/select2-bootstrap.css 3.58 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!node_modules/datatables.net-bs/css/dataTables.bootstrap.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
node_modules/datatables.net-bs/css/dataTables.bootstrap.css 5.28 kB {0}
[built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!webpack/assets/javascripts/react_app/components/statistics/
StatisticsChartsListStyles.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css
724 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/components/notifications/
notifications.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/components/notifications/notifications.scss
5.69 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/
components/toastNotifications/toastListitem/Toast.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/
components/toastNotifications/toastListitem/Toast.scss 637 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/components/common/charts/
PieChart/PieChart.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss
862 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/
vmware/controller/controller.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/
vmware/controller/controller.scss 1.52 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!webpack/assets/javascripts/react_app/components/common/
MessageBoxStyles.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css
726 bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/components/hosts/powerStatus/
powerStatusInner/PowerStatusInner.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/
components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss 752
bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!webpack/assets/javascripts/react_app/components/common/LoaderStyles.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
webpack/assets/javascripts/react_app/components/common/LoaderStyles.css 380
bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!node_modules/select2/select2.css:

00:37:08 webpack.1 | [0] ./node_modules/select2/select2.png 861
bytes {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/select2/select2-spinner.gif
2.51 kB {0} [built]

00:37:08 webpack.1 | [2] ./node_modules/css-loader!./
node_modules/select2/select2.css 20.7 kB {0} [built]

00:37:08 webpack.1 | [3] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | [4] ./node_modules/select2/select2x2.png 1.17
kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!node_modules/multiselect/css/multi-select.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
node_modules/multiselect/css/multi-select.css 2.69 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | [2] ./node_modules/multiselect/img/switch.png
4.15 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js!webpack/assets/javascripts/react_app/common/commonStyles.css:

00:37:08 webpack.1 | [0] ./node_modules/css-loader!./
webpack/assets/javascripts/react_app/common/commonStyles.css 201 bytes {0}
[built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/
vmware/StorageContainer.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss
1.75 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | Child extract-text-webpack-plugin
node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.
js?sourceMap!node_modules/sass-loader/lib/loader.js?
sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/
vmware/controller/disk/disk.scss:

00:37:08 webpack.1 | [0] ./node_modules/css-loader?
sourceMap!./node_modules/sass-loader/lib/loader.js?
sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/
vmware/controller/disk/disk.scss 2.64 kB {0} [built]

00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js
1.51 kB {0} [built]

00:37:08 webpack.1 | webpack: Compiled successfully.

00:37:26 rails.1 | 2017-10-12T00:37:26 [app] [W] DEPRECATION WARNING:
You didn't set secret_key_base. Read the upgrade documentation to learn
more about this new config option. (called from env_config at
/var/lib/gems/2.4.0/gems/railties-5.0.6/lib/rails/application.rb:246)

00:37:26 rails.1 | 2017-10-12T00:37:26 d106ae33 [app] [I] Started GET
"/dashboard" for $MYIP at 2017-10-12 00:37:26 +0000

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Processing by
DashboardController#index as HTML

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Current user:
admin (administrator)

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [D] Setting current
user thread-local variable to admin

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Session for
Admin User is expired.

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Redirected to
http://{$MYSERVERIP}:5000/users/login

00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Filter chain
halted as :session_expiry rendered or redirected

··· On Oct 12, 2017 3:56 AM, "Lisa Kachold" wrote:

Timo,

Thanks for the suggestion; I will try it and let you know.

··· On Wednesday, October 11, 2017 at 11:32:06 PM UTC-7, Timo Goebel wrote: > > Hi Lisa, > > The Foreman dev setup basically needs two webservers running: One to serve > the rails app via http and one to server webpacked javascript code. > > I suspect, that the connection to the latter does not work. The two > webservers are started using foreman (not "our forman", but a process > manager gem with the same name). You can take a look at the Procfile to see > what's going on. You can customize the startup with environment variables. > > > export RAILS_STARTUP='puma -w 3 -p 3000 --preload' > > export WEBPACK_OPTS='... more options ...' > > bundle exec foreman start > > > Timo > Am 12.10.17 um 02:56 schrieb Lisa Kachold: > > I have setup TheForeman 1.17.1-0 in a Development install on AWS. > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler > errors using other versions) > WEBrick 1.3.1 > ALL Ports open from Server to my IP > > I changed Rails to listen on all interfaces as: > > require 'rails/commands/server' > module Rails > class Server > alias :default_options_bk :default_options > def default_options > default_options_bk.merge!(Host: '0.0.0.0') > end > endend > > > Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status > widget loading".. Never Completes > > Output from Log: > > 00:36:43 rails.1 | started with pid 19240 > > 00:36:43 webpack.1 | started with pid 19241 > > 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open > '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } > > 00:36:45 webpack.1 | Project is running at http://localhost:3808/ > > 00:36:45 webpack.1 | webpack output is served from /webpack/ > > 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is > deprecated and will be removed in Rails 5.1. > > 00:36:51 rails.1 | Please use `config.public_file_server.enabled` > instead. > > 00:36:51 rails.1 | (called from at > /root/foreman/config/application.rb:218) > > 00:36:51 rails.1 | => Booting WEBrick > > 00:36:51 rails.1 | => Rails 5.0.6 application starting in development > on http://0.0.0.0:5000 > > 00:36:51 rails.1 | => Run `rails server -h` for more startup options > > 00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING: > ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no > effect and will be removed without replacement. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run > apipie:cache rake task to speed up API calls. > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not > work with foreman gem, use script/foreman-start-dev > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > alias_method_chain is deprecated. Please, use Module#prepend instead. From > module, you can access the original method using super. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > Using a dynamic :controller segment in a route is deprecated and will be > removed in Rails 5.2. (called from block in at > /root/foreman/config/routes.rb:17) > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1 > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14) > [x86_64-linux-gnu] > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start: > pid=19242 port=5000 > > 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c > > 00:37:08 webpack.1 | Version: webpack 3.6.0 > > 00:37:08 webpack.1 | Time: 22521ms > > 00:37:08 webpack.1 | Asset Size Chunks Chunk > Names > > 00:37:08 webpack.1 | bundle.js 17.5 MB 0 [emitted] [big] > bundle > > 00:37:08 webpack.1 | vendor.js 75.7 kB 1 [emitted] > vendor > > 00:37:08 webpack.1 | bundle.css 81.7 kB 0 [emitted] > bundle > > 00:37:08 webpack.1 | manifest.json 153 bytes [emitted] > > 00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js > 4.22 kB {0} [built] > > 00:37:08 webpack.1 | [322] multi (webpack)-dev-server/client? > http://localhost:3808 webpack/hot/dev-server > ./webpack/assets/javascripts/bundle.js 52 bytes {0} [built] > > 00:37:08 webpack.1 | [323] (webpack)-dev-server/client? > http://localhost:3808 7.23 kB {0} [built] > > 00:37:08 webpack.1 | [371] (webpack)/hot/dev-server.js 1.61 kB {0} > [built] > > 00:37:08 webpack.1 | [373] ./webpack/assets/javascripts/bundle.js 1.46 > kB {0} [built] > > 00:37:08 webpack.1 | [414] > ./node_modules/expose-loader?jstz!./node_modules/jstz/index.js 88 bytes {0} > [built] > > 00:37:08 webpack.1 | [420] > ./node_modules/expose-loader?JsDiff!./node_modules/diff/lib/index.js 94 > bytes {0} [built] > > 00:37:08 webpack.1 | [431] ./webpack/assets/javascripts/bundle_flot.js > 240 bytes {0} [built] > > 00:37:08 webpack.1 | [438] > ./webpack/assets/javascripts/bundle_multiselect.js 83 bytes {0} [built] > > 00:37:08 webpack.1 | [441] > ./webpack/assets/javascripts/bundle_select2.js 108 bytes {0} [built] > > 00:37:08 webpack.1 | [446] > ./webpack/assets/javascripts/bundle_datatables.js 103 bytes {0} [built] > > 00:37:08 webpack.1 | [450] ./webpack/assets/javascripts/foreman_users.js > 2.86 kB {0} [built] > > 00:37:08 webpack.1 | [451] > ./webpack/assets/javascripts/foreman_ssh_keys.js 608 bytes {0} [built] > > 00:37:08 webpack.1 | [452] > ./webpack/assets/javascripts/foreman_trends.js 479 bytes {0} [built] > > 00:37:08 webpack.1 | [453] > ./webpack/assets/javascripts/foreman_hostgroups.js 1.23 kB {0} [built] > > 00:37:08 webpack.1 | + 835 hidden modules > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/select2/select2-bootstrap.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./node_modules/select2/select2-bootstrap.css 3.58 > kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/datatables.net-bs/css/dataTables.bootstrap.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./node_modules/datatables.net-bs/css/dataTables.bootstrap.css > 5.28 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css > 724 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/notifications/notifications.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/notifications/notifications.scss > 5.69 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss > 637 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss > 862 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss > 1.52 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css > 726 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss > 752 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/LoaderStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/LoaderStyles.css > 380 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/select2/select2.css: > > 00:37:08 webpack.1 | [0] ./node_modules/select2/select2.png 861 > bytes {0} [built] > > 00:37:08 webpack.1 | [1] > ./node_modules/select2/select2-spinner.gif 2.51 kB {0} [built] > > 00:37:08 webpack.1 | [2] > ./node_modules/css-loader!./node_modules/select2/select2.css 20.7 kB {0} > [built] > > 00:37:08 webpack.1 | [3] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | [4] ./node_modules/select2/select2x2.png 1.17 > kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/multiselect/css/multi-select.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./node_modules/multiselect/css/multi-select.css > 2.69 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | [2] ./node_modules/multiselect/img/switch.png > 4.15 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/common/commonStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/common/commonStyles.css > 201 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/StorageContainer.scss > 1.75 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/disk.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/disk.scss > 2.64 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | webpack: Compiled successfully. > > 00:37:26 rails.1 | 2017-10-12T00:37:26 [app] [W] DEPRECATION WARNING: > You didn't set `secret_key_base`. Read the upgrade documentation to learn > more about this new config option. (called from env_config at > /var/lib/gems/2.4.0/gems/railties-5.0.6/lib/rails/application.rb:246) > > 00:37:26 rails.1 | 2017-10-12T00:37:26 d106ae33 [app] [I] Started GET > "/dashboard" for $MYIP at 2017-10-12 00:37:26 +0000 > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Processing by > DashboardController#index as HTML > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Current user: > admin (administrator) > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [D] Setting > current user thread-local variable to admin > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Session for > Admin User is expired. > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Redirected to > http://{$MYSERVERIP}:5000/users/login > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Filter chain > halted as :session_expiry rendered or redirected > > 00:37:27 rails.1 | 2017-10-12T00:37:27 d106ae33 [app] [I] Completed 302 > Found in 100ms (ActiveRecord: 19.7ms) > > 00:37:27 rails.1 | | > > 00:37:27 rails.1 | | > > 00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [I] Started GET > "/users/login" for $MYIP at 2017-10-12 00:37:27 +0000 > > 00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [I] Processing by > UsersController#login as HTML > > 00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [D] Setting > current user thread-local variable to nil > > 00:37:27 rails.1 | 2017-10-12T00:37:27 6305c7bb [app] [I] Rendering > users/login.html.erb within layouts/login > > 00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendered > users/_welcome_box.html.erb (8.1ms) > > 00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendered > users/login.html.erb within layouts/login (1764.6ms) > > 00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendering > layouts/base.html.erb > > 00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Rendered > layouts/base.html.erb (553.3ms) > > 00:37:29 rails.1 | 2017-10-12T00:37:29 6305c7bb [app] [I] Completed 200 > OK in 2352ms (Views: 2345.0ms | ActiveRecord: 1.7ms) > > 00:37:29 rails.1 | | > > 00:37:29 rails.1 | | > > 00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Started POST > "/users/login" for $MYIP at 2017-10-12 00:37:32 +0000 > > 00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Processing by > UsersController#login as HTML > > 00:37:32 rails.1 | 2017-10-12T00:37:32 8ddda9e6 [app] [I] Parameters: > {"utf8"=>"✓", "authenticity_token"=>"$SOMESTRING==", > "login"=>{"login"=>"adm

ohadlevy - This will be the ultimate solution for Listening on all ports in
17.1 Development

For "listening on all ports for Foreman 1.17.1" - starting up via:

"BIND=0.0.0.0 foreman start" fails with Json errors for Bundler (which
shines light on the Menu dropdown javascript issues).

Strange that the tests didn't catch this? I will resolve the bundler
version and ensure my Ruby stack.

Thanks again!

root@ip-172-31-16-198:~/foreman# BIND=0.0.0.0 foreman start

15:44:16 rails.1 | started with pid 20056

15:44:16 webpack.1 | started with pid 20057

15:44:17 rails.1 | /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:315:in
`check_for_activated_spec!': You have already activated json 2.0.4, but
your Gemfile requires json 1.8.6. Since json is a default gem, you can
either remove your dependency on it or try updating to a newer version of
bundler that supports json as a default gem. (Gem::LoadError)

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:33:in
`block in setup'

15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each'

15:44:17 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in
`map'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in
`setup'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb:107:in `setup'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/setup.rb:20:in
`<top (required)>'

15:44:17 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:17 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:17 rails.1 | from /root/foreman/config/boot.rb:16:in `<top
(required)>'

15:44:17 rails.1 | from /root/foreman/bin/rails:8:in `require_relative'

15:44:17 rails.1 | from /root/foreman/bin/rails:8:in `<top (required)>'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in
`load'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in
`call'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in
`call'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'

15:44:17 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top
(required)>'

15:44:17 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:17 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:17 rails.1 | from /root/foreman/bin/spring:13:in `<top (required)>'

15:44:17 rails.1 | from bin/rails:3:in `load'

15:44:17 rails.1 | from bin/rails:3:in `<main>'

15:44:18 rails.1 | /var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:315:in
`check_for_activated_spec!': You have already activated json 2.0.4, but
your Gemfile requires json 1.8.6. Since json is a default gem, you can
either remove your dependency on it or try updating to a newer version of
bundler that supports json as a default gem. (Gem::LoadError)

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:33:in
`block in setup'

15:44:18 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each'

15:44:18 rails.1 | from /usr/lib/ruby/2.4.0/forwardable.rb:229:in `each'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in
`map'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:28:in
`setup'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb:107:in `setup'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/setup.rb:20:in
`<top (required)>'

15:44:18 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:18 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:18 rails.1 | from /root/foreman/config/boot.rb:16:in `<top
(required)>'

15:44:18 rails.1 | from /root/foreman/bin/rails:8:in `require_relative'

15:44:18 rails.1 | from /root/foreman/bin/rails:8:in `<top (required)>'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in
`load'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in
`call'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in
`call'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'

15:44:18 rails.1 | from
/var/lib/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top
(required)>'

15:44:18 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:18 rails.1 | from
/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'

15:44:18 rails.1 | from /root/foreman/bin/spring:13:in `<top (required)>'

15:44:18 rails.1 | from bin/rails:3:in `load'

15:44:18 rails.1 | from bin/rails:3:in `<main>'

15:44:18 webpack.1 | { [Error: ENOENT: no such file or directory, open
'.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' }

15:44:18 rails.1 | exited with code 1

15:44:18 system | sending SIGTERM to all processes

15:44:19 webpack.1 | terminated by SIGTERM

15:44:19 | Project is running at http://0.0.0.0:3808/

15:44:19 | webpack output is served from /webpack/

··· On Thursday, October 12, 2017 at 1:14:48 AM UTC-7, ohadlevy wrote: > > > > On Oct 12, 2017 3:56 AM, "Lisa Kachold" > wrote: > > I have setup TheForeman 1.17.1-0 in a Development install on AWS. > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux-gnu] (gem/bundler > errors using other versions) > WEBrick 1.3.1 > ALL Ports open from Server to my IP > > I changed Rails to listen on all interfaces as: > > No need for that at all, just type: > BIND=0.0.0.0 foreman start > > > require 'rails/commands/server' > module Rails > class Server > alias :default_options_bk :default_options > def default_options > default_options_bk.merge!(Host: '0.0.0.0') > end > endend > > > Missing Dashboard Menu MouseOver Drop Downs && "Host Configuration Status > widget loading".. Never Completes > > Output from Log: > > 00:36:43 rails.1 | started with pid 19240 > > 00:36:43 webpack.1 | started with pid 19241 > > 00:36:45 webpack.1 | { [Error: ENOENT: no such file or directory, open > '.env'] errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' } > > 00:36:45 webpack.1 | Project is running at http://localhost:3808/ > > 00:36:45 webpack.1 | webpack output is served from /webpack/ > > 00:36:51 rails.1 | DEPRECATION WARNING: `config.serve_static_files` is > deprecated and will be removed in Rails 5.1. > > 00:36:51 rails.1 | Please use `config.public_file_server.enabled` > instead. > > 00:36:51 rails.1 | (called from at > /root/foreman/config/application.rb:218) > > 00:36:51 rails.1 | => Booting WEBrick > > 00:36:51 rails.1 | => Rails 5.0.6 application starting in development > on http://0.0.0.0:5000 > > 00:36:51 rails.1 | => Run `rails server -h` for more startup options > > 00:36:51 rails.1 | 2017-10-12T00:36:51 [app] [W] DEPRECATION WARNING: > ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no > effect and will be removed without replacement. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:55 rails.1 | The Apipie cache is turned off. Enable it and run > apipie:cache rake task to speed up API calls. > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] WARNING: Pry will not > work with foreman gem, use script/foreman-start-dev > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > before_filter is deprecated and will be removed in Rails 5.1. Use > before_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > after_filter is deprecated and will be removed in Rails 5.1. Use > after_action instead. (called from at > /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > alias_method_chain is deprecated. Please, use Module#prepend instead. From > module, you can access the original method using super. (called from (required)> at /root/foreman/config/environment.rb:5) > > 00:36:58 rails.1 | 2017-10-12T00:36:58 [app] [W] DEPRECATION WARNING: > Using a dynamic :controller segment in a route is deprecated and will be > removed in Rails 5.2. (called from block in at > /root/foreman/config/routes.rb:17) > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick 1.3.1 > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO ruby 2.4.2 (2017-09-14) > [x86_64-linux-gnu] > > 00:36:59 rails.1 | [2017-10-12 00:36:59] INFO WEBrick::HTTPServer#start: > pid=19242 port=5000 > > 00:37:08 webpack.1 | Hash: 1d1afa88f456ce25e96c > > 00:37:08 webpack.1 | Version: webpack 3.6.0 > > 00:37:08 webpack.1 | Time: 22521ms > > 00:37:08 webpack.1 | Asset Size Chunks Chunk > Names > > 00:37:08 webpack.1 | bundle.js 17.5 MB 0 [emitted] [big] > bundle > > 00:37:08 webpack.1 | vendor.js 75.7 kB 1 [emitted] > vendor > > 00:37:08 webpack.1 | bundle.css 81.7 kB 0 [emitted] > bundle > > 00:37:08 webpack.1 | manifest.json 153 bytes [emitted] > > 00:37:08 webpack.1 | [55] ./webpack/assets/javascripts/foreman_tools.js > 4.22 kB {0} [built] > > 00:37:08 webpack.1 | [322] multi (webpack)-dev-server/client? > http://localhost:3808 webpack/hot/dev-server > ./webpack/assets/javascripts/bundle.js 52 bytes {0} [built] > > 00:37:08 webpack.1 | [323] (webpack)-dev-server/client? > http://localhost:3808 7.23 kB {0} [built] > > 00:37:08 webpack.1 | [371] (webpack)/hot/dev-server.js 1.61 kB {0} > [built] > > 00:37:08 webpack.1 | [373] ./webpack/assets/javascripts/bundle.js 1.46 > kB {0} [built] > > 00:37:08 webpack.1 | [414] > ./node_modules/expose-loader?jstz!./node_modules/jstz/index.js 88 bytes {0} > [built] > > 00:37:08 webpack.1 | [420] > ./node_modules/expose-loader?JsDiff!./node_modules/diff/lib/index.js 94 > bytes {0} [built] > > 00:37:08 webpack.1 | [431] ./webpack/assets/javascripts/bundle_flot.js > 240 bytes {0} [built] > > 00:37:08 webpack.1 | [438] > ./webpack/assets/javascripts/bundle_multiselect.js 83 bytes {0} [built] > > 00:37:08 webpack.1 | [441] > ./webpack/assets/javascripts/bundle_select2.js 108 bytes {0} [built] > > 00:37:08 webpack.1 | [446] > ./webpack/assets/javascripts/bundle_datatables.js 103 bytes {0} [built] > > 00:37:08 webpack.1 | [450] ./webpack/assets/javascripts/foreman_users.js > 2.86 kB {0} [built] > > 00:37:08 webpack.1 | [451] > ./webpack/assets/javascripts/foreman_ssh_keys.js 608 bytes {0} [built] > > 00:37:08 webpack.1 | [452] > ./webpack/assets/javascripts/foreman_trends.js 479 bytes {0} [built] > > 00:37:08 webpack.1 | [453] > ./webpack/assets/javascripts/foreman_hostgroups.js 1.23 kB {0} [built] > > 00:37:08 webpack.1 | + 835 hidden modules > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/select2/select2-bootstrap.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./node_modules/select2/select2-bootstrap.css 3.58 > kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/datatables.net-bs/css/dataTables.bootstrap.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./node_modules/datatables.net-bs/css/dataTables.bootstrap.css > 5.28 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/statistics/StatisticsChartsListStyles.css > 724 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/notifications/notifications.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/notifications/notifications.scss > 5.69 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/toastNotifications/toastListitem/Toast.scss > 637 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/common/charts/PieChart/PieChart.scss > 862 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/controller.scss > 1.52 kB {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/MessageBoxStyles.css > 726 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js?sourceMap!node_modules/sass-loader/lib/loader.js?sourceMap!webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader?sourceMap!./node_modules/sass-loader/lib/loader.js?sourceMap!./webpack/assets/javascripts/react_app/components/hosts/powerStatus/powerStatusInner/PowerStatusInner.scss > 752 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!webpack/assets/javascripts/react_app/components/common/LoaderStyles.css: > > 00:37:08 webpack.1 | [0] > ./node_modules/css-loader!./webpack/assets/javascripts/react_app/components/common/LoaderStyles.css > 380 bytes {0} [built] > > 00:37:08 webpack.1 | [1] ./node_modules/css-loader/lib/css-base.js > 1.51 kB {0} [built] > > 00:37:08 webpack.1 | Child extract-text-webpack-plugin > node_modules/extract-text-webpack-plugin/dist > node_modules/css-loader/index.js!node_modules/select2/select2.css: > > 0

>
> SOLUTION: (thanks to ohadlevy)*
>
> Here's the Json version issue: Need to move to Json 1.8.6 from default
> Json 2.0.4:
>
> gem list --local | grep json
>
> fog-json (1.0.2)
>
> json (1.8.6)
>
> multi_json (1.12.2)
>
> po_to_json (1.0.1)
>
> rack-jsonp (1.3.1)
>
> To remove a default gem and rebuild bundle:
>
> gem install json -v 2.0.4
>
> gem uninstall json -v 2.0.4
>
> bundle install
>
> locate json-2.0.4.gemspec
>
> mv json-2.0.4.gemspec /usr/local/src/oldgems/2.0.4/
>
> bundle install
>
> Suggestion from ovahlevy that showed me the error output for Json. I was
> using: bundle exec foreman start from
> 'Setup Development Environment':
> Foreman :: Contribute
>
> BIND=0.0.0.0 foreman start
>
>
> Now webrick and rails for foreman listen on all ports!
>
> AND Javascript work GREAT!
>
>
>>
>> ohadlevy - This will be the ultimate solution for Listening on all ports
>> in 17.1 Development
>>
>> For "listening on all ports for Foreman 1.17.1" - starting up via:
>>
>> "BIND=0.0.0.0 foreman start" fails with Json errors for Bundler (which
>> shines light on the Menu dropdown javascript issues).
>>
>> Strange that the tests didn't catch this? I will resolve the bundler
>> version and ensure my Ruby stack.
>>
>> Thanks again!
>>
>>

··· On Thursday, October 12, 2017 at 9:55:24 AM UTC-7, Lisa Kachold wrote: > On Thursday, October 12, 2017 at 8:50:04 AM UTC-7, Lisa Kachold wrote: